Agents

Delete a session

Delete a session now: cancel its active run, end its session sandbox, and delete its messages, runs, approvals and stored tool output. Usage and billing records of its runs stay, without a link to the session. A deleted session is not found.

delete/v1/agents/{agent_id}/sessions/{session_id}

Request

  • Base URL
    https://api.dexto.ai
  • URL
    https://api.dexto.ai/v1/agents/{agent_id}/sessions/{session_id}
  • Auth
    HTTP bearer

Path parameters

agent_idstring required
session_idstring required

Response

Successful response.

deletedtrue required
idstring uuid required

The deleted session's id.

object'agent_session' required

Changes

No recorded changes to this operation across all 1 revision of this API.