v63

latestOpenAPI 3.0.0Proprietaryraw.githubusercontent.com2026-08-0110571.8 MB
Tool Router

Delete a tool router session

Deletes a tool router session. The session immediately stops being retrievable and executable — subsequent requests against it (including its MCP URL) return 404 — and any compute sandboxes attached to the session are shut down. The record is retained internally for audit purposes. Deleting an already-deleted session returns 404.

delete/api/v3.1/tool_router/session/{session_id}

Path parameters

session_idstring toolRouterSessionId required

The unique identifier of the tool router session

Example:trs_1a2b3c4d5e6f

The unique identifier of the tool router session

Response

Session successfully deleted.

session_idstring toolRouterSessionId required

The unique identifier of the deleted tool router session

deletedtrue required

Always true — present to make the outcome explicit

Example response

{
  "session_id": "trs_1a2b3c4d5e6f",
  "deleted": true
}