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.
Example response
{
"session_id": "trs_1a2b3c4d5e6f",
"deleted": true
}