Sessions

Stop a session

POST /v1/sessions/{id}/stop
Permission
write:sessions
Tokens
API key, CLI user token, Session token

Stop a session. The message the agent is on ends stopped, queued messages are cancelled, and the session goes idle. The recorded history remains available.

Path parameters

idstringrequired
{
}

Response

sessionSessionrequired

The session.

On this page

No Headings
Schedule a demo