End a session
Sessions
End a session
Ends an active session.
POST
End a session
Authorizations
Secret key (sk_live_...)
Path Parameters
Unique identifier for the session (prefixed with sess_).
Response
OK
A session object representing an isolated compute session for executing tasks.
Unique identifier for the session, prefixed with sess_.
Always session.
Session status: queued, running, idle, completing, completed, or failed.
Total session runtime in milliseconds.
Task runs executed within this session.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.