attacca
Sessions

Delete a session

Removes the chat and everything hanging off it: its timeline, files, todos, and sub-agent sessions.

DELETE
/v1/sessions/{session_id}

Removes the chat and everything hanging off it: its timeline, files, todos, and sub-agent sessions.

Authorization

api_key sessions:write
AuthorizationBearer <token>

An atk_-prefixed API key, created under Settings → API keys.

In: header

Scope: sessions:write

Path Parameters

session_id*string

Session id

Formatuuid

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty