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:
^[0-9A-HJKMNP-TV-Z]{26}$ID of the task to cancel
Pattern:
^[0-9A-HJKMNP-TV-Z]{26}$Body
application/json
Parameters for canceling an A2A task
Response
200 - application/json
OK
Full A2A task representation
Unique task identifier
Pattern:
^[0-9A-HJKMNP-TV-Z]{26}$ID of the receiving agent
Pattern:
^[0-9A-HJKMNP-TV-Z]{26}$Organization that owns the receiving agent
Pattern:
^[0-9A-HJKMNP-TV-Z]{26}$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
