a2a_registration
Discover Agent Card
Fetch the upstream agent's well-known card so the UI can show the admin which skills/capabilities the agent exposes.
Only proxy admins can call this — the UI uses it during agent registration, and we don't want arbitrary keys probing internal URLs.
Example:
curl -X POST "http://localhost:4000/v1/a2a/discover" \
-H "Authorization: Bearer <admin_key>" \
-H "Content-Type: application/json" \
-d '{"url": "https://upstream-agent.example.com"}'
post/v1/a2a/discover
Request body
Response
Successful Response