List APIs
SDK platic.tools.apis.list()
Find a workspace API by its name, state or destination. Use its id as integrationId to read its definition and slots. The list also includes a summary of its last test.
Example
curl "https://api.platic.ai/v1/tools/apis" \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.tools.apis.list(); Query parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
workspace | string | Only if the credential covers several workspaces: the workspace you read. Required in that case | — |
Response
{
"status": "success",
"data": [
{
"id": "RuzoaswTBBrhutHyKYZn",
"name": "order_lookup",
"toolName": "api_order_lookup",
"description": "Looks up the status of an Example Store order by its number.",
"status": "enabled",
"method": "GET",
"url": "https://api.example-store.com/orders/{{orderId}}",
"variableCount": 1,
"lastTestOutcome": null,
"lastTestAt": null,
"createdAt": "2026-10-28T12:05:03.902Z",
"updatedAt": "2026-10-28T12:18:44.117Z"
}
]
} Response fields
| Field | Type | Description |
|---|---|---|
data[].id | string | The integrationId. When the API is published, it is also its toolId in the catalog |
data[].name | string | The short name you defined |
data[].toolName | string | The name the agent sees: api_<name> |
data[].description | string | What the agent reads to decide when to use it |
data[].status | string | draft, enabled or paused |
data[].method | string | null | HTTP method of the request |
data[].url | string | Destination URL. Empty if the draft does not have one yet |
data[].variableCount | number | Total variables, including the ones the agent does not see |
data[].lastTestOutcome | string | null | Result of the last test made from Platica's editor: success, http-error, network-error, schema-error, mapping-error, file-error or secret-in-response. Tests made with this API do not change it |
data[].lastTestAt | string | null | Date of that test, ISO 8601 |
data[].createdAt, updatedAt | string | null | Dates in ISO 8601 |
data has the APIs ordered by update date, newest first. The list is not paginated, so it has no nextPageToken.
Errors
| Status | details.code | When |
|---|---|---|
400 | INVALID_REQUEST | The credential covers several workspaces and workspace is missing or is not one of them |
401 | UNAUTHENTICATED | The credential is missing or not valid |
403 | FORBIDDEN | The person behind the token does not have access to Integrations |
See Errors for the full shape of an error.
Notes
- The list does not have
secrets[],verifiedornextStep. To know what an API is missing, get it. - To see only the ones already in the catalog, use
GET /v1/tools?kind=api.