Skip to main content
Delete a session along with its session_turns and session_items rows. The operation is irreversible.

Endpoint

Authentication

Authorization: Bearer <api_key> or Authorization: ApiKey <key>. Optional if AGENT_CLOUD_API_KEY is unset.

Path parameters

string
required
Session identifier.

Response

string
Deleted session identifier.
string
Always agent.session.deleted.
boolean
Always true on success.

Example