Cancel Response
Changed onCancel a queued or running response. Canceling a running response (Stop) also cancels every queued response in the thread that answers a user message. Canceling a queued response (withdraw) cancels only that response; the running response and other queued responses continue. Cancellation is idempotent after the response becomes terminal. Each canceled response still produces a finalized assistant message with outcome canceled in the thread history. Canceling a response that ended steered or merged stops the response that continues its work, with the same effect as Stop.
Authorization uses the linked account before any cancellation.
Request
- Base URLhttps://api.clearstreet.com
- AuthHTTP bearer
Path parameters
Query parameters
Lists only conversations for this account, or unlinked conversations when omitted. Other reads authorize the resource's linked account. Omit when no account is selected; empty values and the string null are invalid.
Response
Cancellation accepted (idempotent)
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"metadata": {
"page_number": 1,
"total_items": 42,
"total_pages": 5
}
}Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
for the
queryrequest parameteraccount_id, the min was set to1.00 - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the
queryrequest parameteraccount_idbecame optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking