curl --request POST \ --url https://api.sequinstream.com/api/postgres_databases/{id_or_name}/refresh_tables
Copy
Ask AI
{ "success": true}
Postgres databases
Refresh tables
Synchronously refresh Sequin’s cache of all of a Postgres database’s tables.
POST
/
postgres_databases
/
{id_or_name}
/
refresh_tables
Refresh tables
Copy
Ask AI
curl --request POST \ --url https://api.sequinstream.com/api/postgres_databases/{id_or_name}/refresh_tables
Copy
Ask AI
{ "success": true}
Sequin is able to detect schema changes right away. Use this endpoint only if you want to eliminate race conditions.For example, in test you might want to add a table to your source database and then make an immediate call to setup a sink with that table. It could be a good idea to call this endpoint after creating the table to ensure the table has propagated to Sequin.