palbaseDocs

Palbase ai · API

POST/ai/a2a

Execute A2A JSON-RPC 2.0 request

Handle A2A JSON-RPC 2.0 methods (tasks/send, tasks/get, tasks/cancel) for agents with expose_a2a enabled.

Called by your server, with the project's secret key.

Request body

jsonrpcstring · optional
idstring · optional
methodstring · required
paramsobject · optional
curl
curl -X POST "https://<your-ref>.palbase.studio/ai/a2a" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{"method":"string"}'

Responses

200JSON-RPC 2.0 response

400The request is malformed, or names what this module does not offer (the error names which)

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation CallA2ARPC of ai's contract.