botruntime
API ReferenceChat API

Cancel Integration Operation

Requests best-effort cancellation. A queued operation is cancelled immediately. A running local attempt receives a cancellation signal, but the generic fallback has no provider Cancel adapter and cannot confirm that remote work stopped.

POST
/v1/chat/integration-operations/{operationId}/cancel

Path Parameters

operationId*string

Durable operation id

Formatuuid

Header Parameters

x-bot-id*string

Bot id

Response Body

application/json

curl -X POST "https://example.com/v1/chat/integration-operations/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel" \  -H "x-bot-id: string"
{  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",  "status": "queued",  "actionType": "string",  "resourceKey": "string",  "attempt": 0,  "progress": 0,  "progressMessage": "string",  "deadline": "2019-08-24T14:15:22Z",  "result": {},  "error": {    "code": "string",    "message": "string"  },  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "startedAt": "2019-08-24T14:15:22Z",  "finishedAt": "2019-08-24T14:15:22Z"}
Empty