Cancel Task
Cancel a running task.
POST
Cancel Task
Behavior:
- Sets task status to
CANCELLED - Stops the running agent execution
- Any pending events are discarded
Path Parameters
Response
Successful Response
Task response model with optional related data based on relationships
Available options:
IDLE, CANCELED, COMPLETED, FAILED, RUNNING, TERMINATED, TIMED_OUT, DELETED Cancel Task