---
docId: doc_3c852ad9d2db4d05855de6c75a29c967
title: List APIs
description: List the workspace's custom APIs with their state and the result of their last test.
api:
  group: herramientas/apis-personalizadas
  auth: bearer
  operations:
    - operationId: listApiTools
      method: GET
      path: /v1/tools/apis
      postmanName: List APIs
---

<script>
  import { Ways } from '$lib/components';
</script>

# List APIs

Find a workspace API by its name, state or destination. Use its `id` as `integrationId` to [read its definition and slots](/api-reference/custom-apis/get). The list also includes a summary of its last test.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl "https://api.platic.ai/v1/tools/apis" \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.tools.apis.list();
```

</Ways.Way>
</Ways>

## Query parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `workspace` | string | Only if the credential covers several workspaces: the workspace you read. Required in that case | — |

## Response

```json
{
  "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](/api-reference/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](/api-reference/custom-apis/get).
- To see only the ones already in the catalog, use [`GET /v1/tools?kind=api`](/api-reference/tools/list).
