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

await platic.tools.apis.list();

Query parameters

ParameterTypeDescriptionRequired
workspacestringOnly 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

FieldTypeDescription
data[].idstringThe integrationId. When the API is published, it is also its toolId in the catalog
data[].namestringThe short name you defined
data[].toolNamestringThe name the agent sees: api_<name>
data[].descriptionstringWhat the agent reads to decide when to use it
data[].statusstringdraft, enabled or paused
data[].methodstring | nullHTTP method of the request
data[].urlstringDestination URL. Empty if the draft does not have one yet
data[].variableCountnumberTotal variables, including the ones the agent does not see
data[].lastTestOutcomestring | nullResult 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[].lastTestAtstring | nullDate of that test, ISO 8601
data[].createdAt, updatedAtstring | nullDates in ISO 8601

data has the APIs ordered by update date, newest first. The list is not paginated, so it has no nextPageToken.

Errors

Statusdetails.codeWhen
400INVALID_REQUESTThe credential covers several workspaces and workspace is missing or is not one of them
401UNAUTHENTICATEDThe credential is missing or not valid
403FORBIDDENThe 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[], verified or nextStep. To know what an API is missing, get it.
  • To see only the ones already in the catalog, use GET /v1/tools?kind=api.