A2A JSON-RPC endpoint for an agent
JSON-RPC 2.0 endpoint implementing the A2A methods SendMessage, SendStreamingMessage, GetTask,
CancelTask and GetExtendedAgentCard. SendStreamingMessage responds with text/event-stream; the others
with a single JSON-RPC response. GetExtendedAgentCard returns the authenticated, richer AgentCard.
Protocol errors are returned as JSON-RPC error objects with HTTP 200. The target namespace is supplied
in the message metadata.namespace; the acting user is taken from the bearer token.
Request and response bodies follow the A2A 1.0 spec (https://a2a-protocol.org).
Authorizations
Use a Bearer token for authentication. Submit the token using the Authorization
header: Authorization: Bearer <token>.
Path Parameters
Body
The body is of type object.
Response
A JSON-RPC response, or (for SendStreamingMessage) an SSE stream of JSON-RPC responses.
The response is of type object.