v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
AI

Cancel AI task

Stopping a previously launched AI-task without waiting for it to be fully completed.

The task will be moved to "REVOKED" status.

post/streaming/ai/tasks/{task_id}/cancel

Path parameters

task_idstring required

ID of the task to be cancelled

Response

Accepted. AI-task has been cancelled successfully

resultstring

A textual explicit description of the result of the operation

Example response

{
  "result": "Task has been cancelled successfully."
}