Skip to main content
POST
/
relay
/
v1
/
agents
/
{agentId}
/
a2a
/
0.3.0
/
tasks
/
{taskId}
:cancel
Cancel a task
curl --request POST \
  --url https://api.swarmd.ai/relay/v1/agents/{agentId}/a2a/0.3.0/tasks/{taskId}:cancel \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

agentId
string<uuid>
required
taskId
string
required

Response

200 - application/json

OK

The response is of type object.