Complete API documentation for the Agent-to-Agent (A2A) Protocol implementation
{base_url}
is your Evo AI server URL (e.g., http://localhost:8000
){agent_id}
is the unique identifier of the target agentx-api-key
Standard API key authentication for secure agent access.Method | Purpose | Type |
---|---|---|
message/send | Send synchronous messages | HTTP Request |
message/stream | Send streaming messages | Server-Sent Events |
tasks/get | Get task status | HTTP Request |
tasks/cancel | Cancel running task | HTTP Request |
tasks/pushNotificationConfig/set | Configure webhooks | HTTP Request |
tasks/pushNotificationConfig/get | Get webhook config | HTTP Request |
tasks/resubscribe | Resubscribe to task | HTTP Request |
agent/authenticatedExtendedCard | Get agent metadata | HTTP Request |
Standard JSON-RPC Fields
"2.0"
(string)A2A-Specific IDs
contextId
:
contextId
contextId
in resultcontextId
in paramsdata:mime/type;base64,
header.
Only include the pure Base64 content in the bytes
field.message/stream
method, responses are delivered via Server-Sent Events:
Code | Description | Resolution |
---|---|---|
-32700 | Parse error | Check JSON syntax |
-32600 | Invalid request | Verify JSON-RPC 2.0 format |
-32601 | Method not found | Check method name spelling |
-32602 | Invalid params | Verify parameter structure |
-32603 | Internal error | Server-side issue, retry later |
-32000 | Agent error | Agent-specific error, check message |
Default Limits
Rate Limit Headers