cURL
API Reference
Post agents a2atasks cancel
POST
cURL
Authorizations
JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer
Path Parameters
ID of the agent that owns the task
Pattern:
^[cC][^\s-]{8,}$ID of the task to cancel
Pattern:
^[cC][^\s-]{8,}$Body
application/json
Parameters for canceling an A2A task
Response
200 - application/json
OK
Full A2A task representation
Unique task identifier
Pattern:
^[cC][^\s-]{8,}$ID of the receiving agent
Pattern:
^[cC][^\s-]{8,}$Organization that owns the receiving agent
Pattern:
^[cC][^\s-]{8,}$Sender DID
Receiver DID
Task type
Current status of the A2A task
Available options:
submitted, working, input_required, completed, failed, canceled Task input payload
Task output payload
Error details if task failed
Status change history
Task creation timestamp
Last update timestamp
