---
docId: doc_bb958ef24fa34c5c8dbf446cbb70a533
title: List agent escalations
description: Returns the escalations connected to the agent's published version, in order, and whether each one is active.
api:
  group: agentes/escalaciones
  auth: bearer
  operations:
    - operationId: listAgentEscalations
      method: GET
      path: '/v1/agents/{agentId}/escalations'
      postmanName: List agent escalations
---

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

# List agent escalations

Check which escalations an agent has and which are active. The list uses the **published version** and keeps the connection order. To read each escalation’s configuration, use its id in [escalations](/api-reference/escalations/list) with `?ids=`.

## Example

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

```bash
curl https://api.platic.ai/v1/agents/$AGENT_ID/escalations \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

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

```ts
await platic.agents.escalations.list("agent_123");
```

</Ways.Way>
</Ways>

## Path parameters

| Parameter | Type | Description | Required |
|-----------|------|-------------|----------|
| `agentId` | string | Agent id | ✓ |

## Response

`200 OK`

```json
{
  "status": "success",
  "data": {
    "agentId": "Ag6bV8nM1qW3eR5t",
    "versionId": "v7",
    "publication": { "versionId": "v7", "number": 7 },
    "assistanceEnabled": true,
    "items": [
      { "escalationId": "Et7hQ2mVx9LpRk3s", "enabled": true },
      { "escalationId": "Et2pL8kN4mQ6rS1v", "enabled": false }
    ]
  }
}
```

| Field | Type | Description |
|-------|------|-------------|
| `agentId` | string | Agent id |
| `versionId` | string | The published version the escalations come from |
| `publication` | object | The published version: `versionId` and `number` |
| `assistanceEnabled` | boolean | Whether the agent's assistance is turned on. Turned off, the agent doesn't escalate even if it has escalations connected |
| `items` | array | The connected escalations, in order: `escalationId` and `enabled`. With `enabled: false` the escalation stays connected, but the agent doesn't use it |

## Errors

| Status | `details.code` | When |
|--------|----------------|------|
| `404` | `AGENT_NOT_FOUND` | The agent doesn't exist in the workspace or was deleted |

The format and codes for the rest of the API are in [Errors](/api-reference/errors).

## Notes

- It needs the Agents permission.
- An archived escalation can stay in `items`, but the agent no longer uses it.
- From an AI agent, the tool is [`list_agent_escalations`](/mcp/tools#escalations).
