A2A
Each deployment as an agent other agents can call, over the A2A protocol.
POST/v1/a2a/{deployment_id}A2A JSON-RPC: send a message, stream, get, list or cancel.
Push notifications are not offered; subscribe to webhooks instead. An A2A exchange is a conversation; an A2A task is its work.
Request2 fields
Path
deployment_idstringrequiredThe deployment's id (dep_...). The /v1/deployments routes also take its name.
- Type
string
Headers
Vestra-UserstringYour id for the user this call acts for.
- Type
string
Answers 200
No sample in your language for this route, so here it is over HTTP.
curl -X POST "$VESTRA_BASE_URL/v1/a2a/{deployment_id}" \ -H "Authorization: Bearer $VESTRA_API_KEY"