Tasks

Send a message or manage a task (A2A JSON-RPC 2.0)

The A2A JSON-RPC endpoint. A2A 1.0 (send the header A2A-Version: 1.0): SendMessage, GetTask, CancelTask. A2A 0.3 (no header): message/send, tasks/get, tasks/cancel. A message carries one data part naming a tool and its arguments, { tool, args }; the skill follows from the tool. Reuse a messageId to retry safely: the first task is returned and nothing is charged twice. The older tasks/send form ({ skill, input }) still works.

post/api/a2a/tasks

Request

  • Base URL: https://api.andru-ai.com
  • URL: https://api.andru-ai.com/api/a2a/tasks
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

jsonrpc'2.0' required
method'SendMessage' | 'GetTask' | 'CancelTask' | 'message/send' | 'tasks/get' | 'tasks/cancel' | 'tasks/send' required
idstring

Response

Task created and queued

jsonrpc'2.0'
resultobject
errorobject
idstring

Changes

No recorded changes to this operation across all 1 revision of this API.