Sessions
Delete a session
Removes the chat and everything hanging off it: its timeline, files, todos, and sub-agent sessions.
Removes the chat and everything hanging off it: its timeline, files, todos, and sub-agent sessions.
Authorization
api_key sessions:writeAuthorizationBearer <token>
An atk_-prefixed API key, created under Settings → API keys.
In: header
Scope: sessions:write
Path Parameters
session_id*string
Session id
Format
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty