Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.litellm-agent-platform.ai/llms.txt

Use this file to discover all available pages before exploring further.

Stops a running session and cleans up its sandbox pod. The session is marked dead and the pod is terminated. Use this endpoint to release cluster resources when you are finished with a session.

Request

POST /api/v1/managed_agents/sessions/{session_id}/stop
Headers
HeaderValue
AuthorizationBearer <MASTER_KEY>

Path parameters

session_id
string
required
The unique ID of the session to stop.

Response

Returns 200 OK on success.

Example

curl -X POST "https://<your-platform-host>/api/v1/managed_agents/sessions/ses_01kabc/stop" \
  -H "Authorization: Bearer $MASTER_KEY"