cURL
Cancel session
Cancel an in-progress session. If the session is currently processing or queued, any running stream is aborted and the session is transitioned to failed. If the session is already completed or failed, its current state is returned unchanged.
The response carries a session envelope but only id, agent_id, and state are populated.
POST
cURL
Authorizations
Path Parameters
ID of the session to cancel.
