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

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Path Parameters

agentId
string<uuid>
required

Body

application/json

The body is of type object.

Response

200 - application/json

OK

jsonrpc
string
required
result
object
error
object
id
object