v1

latestOpenAPI 3.0.02026-07-26242779.3 KB

Stop an agent session

Stops an active session of a deployed agent and cleans up its resources.

delete/agents/{agentName}/sessions/{sessionId}

Path parameters

agentNamestring required

Name of the agent

sessionIdstring uuid required

UUID of the session to stop

Response

Session stopped successfully

statusstring

Status of the stop operation

session_idstring uuid

Session ID of the stopped session

Example response

{
  "status": "terminated",
  "session_id": "639f91d8-d511-4677-a83b-bd7564d5d92f"
}