Disconnect an escalation
SDK platic.agents.escalations.disconnect()
Stop using an escalation on this agent by sending its escalationId. As with connecting it, the change creates a version from the published one and publishes it immediately. The escalation remains in the library and on other agents; open cases do not change.
Example
curl -X DELETE https://api.platic.ai/v1/agents/$AGENT_ID/escalations/$ESCALATION_ID \
-H "Authorization: Bearer $PLATIC_API_KEY" await platic.agents.escalations.disconnect("agent_123", "escalation_123"); Path parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
agentId | string | Agent id | ✓ |
escalationId | string | Escalation id | ✓ |
Request body
It takes no body.
Response
200 OK with the escalations the agent has left, the new version and the publication.
{
"status": "success",
"data": {
"changed": true,
"items": [
{ "escalationId": "Et7hQ2mVx9LpRk3s", "enabled": true }
],
"version": {
"versionId": "v9",
"number": 9,
"basedOnVersionId": "v8",
"restoredFromVersionId": null,
"copiedFrom": null,
"createdAt": "2026-11-12T17:20:00.000Z",
"createdBy": { "kind": "api_key", "keyId": "Ak7Pz2Lm9Qx4Wc6e" },
"source": "api",
"via": null,
"note": ""
},
"publication": {
"agentId": "Ag6bV8nM1qW3eR5t",
"publication": { "versionId": "v9", "number": 9 },
"last": {
"publicationId": "p6",
"action": "publish",
"versionId": "v9",
"previousVersionId": "v8",
"createdAt": "2026-11-12T17:20:00.000Z",
"createdBy": { "kind": "api_key", "keyId": "Ak7Pz2Lm9Qx4Wc6e" },
"source": "api",
"via": null,
"note": ""
}
}
}
} The same fields as Connect an escalation. If the escalation wasn't connected, changed is false and nothing is published.
Errors
| Status | details.code | When |
|---|---|---|
403 | FORBIDDEN | The credential can't edit this agent |
404 | AGENT_NOT_FOUND | The agent doesn't exist in the workspace or was deleted |
409 | DRAFT_PENDING | The agent's draft has unpublished changes. Publish it first, or make the change in assistance.escalations of the draft and publish it with the rest |
409 | COPY_INCOMPLETE | The agent is a copy whose files didn't finish connecting |
409 | CONFLICT | Someone else changed the agent at the same time. Try again |
The format and codes for the rest of the API are in Errors.
Notes
- It needs the Agents permission and being able to edit the agent.
- For the agent to stop using the escalation without removing it, send it with
enabled: falsein Connect an escalation. - For no agent to use it, archive it.
- From an AI agent, the tool is
disconnect_agent_escalation.