v57

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-2161198428.4 KB
Omni AI

Cancel Response

Cancel a response.

Requests cancellation of a queued or running response. If the response has already reached a terminal status, this is an idempotent success. A canceled turn still produces a final assistant message with outcome canceled in the thread history.

delete/v1/omni-ai/responses/{response_id}

Path parameters

response_idstring uuid required

Response identifier to cancel

Query parameters

account_idinteger required

Account ID for the request

Response

Cancellation accepted (idempotent)

Example response

{
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero"
  }
}