Cancel A2A v0.3 task
POST/v2/agents/:agent_key/v1/tasks/:task_id:cancel
Cancels a running task. Returns the canonical state of the task after cancellation. If the task is already terminal, returns 409.
Request
Responses
- 200
- 404
- 409
The task state after cancellation.
Task not found.
Task is not currently running.