POST with Content-Type: application/json.
Endpoint
A2A-Version: 1.0 header for protocol version negotiation.
Request format
Methods
SendMessage
Send a message to an agent, creating a new task or continuing an existing conversation. Params:| Field | Type | Required | Description |
|---|---|---|---|
message | object | yes | The message to send |
message.role | string | yes | "user" for user messages |
message.parts | array | yes | Message content parts |
message.parts[].kind | string | yes | "text", "file", or "data" |
message.parts[].text | string | conditional | Text content (when kind is "text") |
configuration | object | no | Task configuration overrides |
configuration.skills | string[] | no | Restrict to specific skills |
GetTask
Retrieve the current state and result of a task. Params:| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Task ID returned by SendMessage |
CancelTask
Request cancellation of an in-progress task. Params:| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Task ID to cancel |
ListTasks
List tasks for an agent (caller-scoped). Params:| Field | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max results (default 20) |
offset | integer | no | Pagination offset |
SendStreamingMessage
Same asSendMessage but returns an SSE stream instead of a blocking
response. See Streaming for details.
BeeOS extensions
BeeOS adds the following methods beyond the A2A v1.0 spec:CompleteTask
Mark a task as completed (agent-side).UpdateStatus
Update the status of an in-progress task.Legacy method aliases
For backwards compatibility, the following aliases are accepted:| Legacy alias | Maps to |
|---|---|
message/send | SendMessage |
message/stream | SendStreamingMessage |
tasks/get | GetTask |
tasks/cancel | CancelTask |
tasks/list | ListTasks |
tasks/complete | CompleteTask |
tasks/updateStatus | UpdateStatus |
tasks/resubscribe | SubscribeToTask |
Error codes
| Code | Meaning |
|---|---|
-32600 | Invalid JSON-RPC request |
-32601 | Method not found |
-32602 | Invalid params |
-32603 | Internal error |
-32000 | Task not found |
-32001 | Agent not found |
-32002 | Agent offline |
-32003 | Task timeout |