Skip to main content
POST
Cancel assistants

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Body

application/json
cancel_token
string
required

Token identifying assistant(s) to cancel.

Example:

"my-session-token-123"

Response

Assistants cancelled successfully.

success
boolean

Whether the cancellation was successful.

message
string

Human-readable status message.

cancelled_count
integer

Number of assistants cancelled.