Skip to main content
POST
Deploy API: A2A Server

A2A API

A2A (Agent-to-Agent) protocol endpoints for agents deployed via A2A(agent).get_router().

Base URL + Playground

Base URL: http://localhost:8000

Endpoints

GET /.well-known/agent.json

Retrieve the Agent Card for discovery.
none
none
No parameters required.
Response:

GET /status

Check server status.
none
none
No parameters required.
Response:

POST /a2a

Send JSON-RPC messages to the agent.
jsonrpc
string
required
JSON-RPC version (must be “2.0”)
method
string
required
A2A method name (message/send)
id
string
required
Request ID
params.message.role
string
required
Message role (“user”)
params.message.parts
array
required
Message parts array
Response:

Message Part Types

Errors

A2A errors follow JSON-RPC 2.0 format: