post/agents/{agentId}/a2a/tasks/{taskId}/cancel

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/agents/{agentId}/a2a/tasks/{taskId}/cancel
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

agentIdstring required

ID of the agent that owns the task

taskIdstring required

ID of the task to cancel

Request body

object required

Parameters for canceling an A2A task

Response

OK

idstring required

Unique task identifier

agentIdstring required

ID of the receiving agent

orgIdstring required

Organization that owns the receiving agent

fromDidstring required

Sender DID

toDidstring required

Receiver DID

typestring required

Task type

status'submitted' | 'working' | 'input_required' | 'completed' | 'failed' | 'canceled' required

Current status of the A2A task

inputobject required

Task input payload

outputobject nullable required

Task output payload

createdAtstring date-time required

Task creation timestamp

updatedAtstring date-time required

Last update timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.