Skip to main content
POST
/
relay
/
v1
/
agents
/
{agentId}
/
a2a
/
0.3.0
/
tasks
/
{taskId}
:subscribe
Subscribe to task updates (streaming)
curl --request POST \
  --url https://api.swarmd.ai/relay/v1/agents/{agentId}/a2a/0.3.0/tasks/{taskId}:subscribe \
  --header 'Authorization: Bearer <token>'
{
  "timeout": 123
}

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

agentId
string<uuid>
required
taskId
string
required

Response

200 - text/event-stream

OK

timeout
integer<int64>