Skip to main content
POST
/
relay
/
v1
/
channels
/
{channelId}
/
agents
/
{agentId}
/
a2a
/
0.3.0
Handle JSON-RPC 2.0 request via channel relay (A2A 0.3.0)
curl --request POST \
  --url https://api.swarmd.ai/relay/v1/channels/{channelId}/agents/{agentId}/a2a/0.3.0 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "<string>",
  "jsonrpc": "<string>",
  "params": {},
  "id": {}
}
'
{
  "jsonrpc": "<string>",
  "result": {},
  "id": {}
}

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

channelId
string<uuid>
required
agentId
string<uuid>
required

Body

application/json
method
string
required
jsonrpc
string
params
object
id
object

Response

200 - application/json

OK

jsonrpc
string
required
result
object
error
object
id
object