List databases
SDK platic.tools.databases.list()
Returns all the connections in the workspace, sorted by name, in a single list.
Example
curl https://api.platic.ai/v1/tools/databases \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.tools.databases.list(); Response
200 OK. data is the list of connections, each with the fields in get a database except nextStep.
{
"status": "success",
"data": [
{
"id": "Xb2mQe7LtR9sKd4fHw1N",
"name": "store",
"description": "Orders, customers, and inventory of the online store.",
"engine": "postgres",
"host": "db.example.com",
"port": 5432,
"database": "store",
"user": "readonly",
"ssl": "require",
"status": "enabled",
"hiddenTables": ["payments"],
"hiddenColumns": ["customers.phone"],
"pageSize": 50,
"timeoutSeconds": 5,
"password": { "state": "bound", "secretId": "7e4a1c9b3d5f7a0c2e4b6d8f0a1c3e5b7d9f1a3c5e7b9d0f2a4c6e8b0d2f4a6c" },
"tools": [
{ "id": "Xb2mQe7LtR9sKd4fHw1N_list_tables", "name": "db_store_list_tables", "tool": "list_tables" },
{ "id": "Xb2mQe7LtR9sKd4fHw1N_describe_table", "name": "db_store_describe_table", "tool": "describe_table" },
{ "id": "Xb2mQe7LtR9sKd4fHw1N_query", "name": "db_store_query", "tool": "query" },
{ "id": "Xb2mQe7LtR9sKd4fHw1N_next_page", "name": "db_store_next_page", "tool": "next_page" }
],
"lastTest": { "ok": true, "at": "2026-11-14T16:01:12.000Z", "version": "PostgreSQL 16.4", "tableCount": 3 },
"createdAt": "2026-11-14T16:00:00.000Z",
"updatedAt": "2026-11-14T16:01:12.000Z"
}
]
} Errors
| Status | details.code | When it happens |
|---|---|---|
403 | FORBIDDEN | The person behind the token does not have access to Integrations |
Notes
- When listing,
password.statesaysboundif there is a password, without checking it. To know whether it is still authorized, get the connection. - A workspace has up to 20 connections, so the list is not paginated.