Skip to main content
GET
Get the A2A AgentCard for an agent
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

GET /api/v2/agents/getCard?id=<agentId> returns the AgentCard for one agent by its agentId or its definition id, under the same visibility as getAgent: a missing id, a missing agent, a PERSONAL agent, and an agent you may not read all answer 404 resource_missing. Before 2026-09-30 this route answered 404 for every call. The card’s skills lists the agent’s granted skills by id; it is omitted when the agent has none. version, inputModes, and outputModes are omitted when unset.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

agentId
string
required

Response

A2A AgentCard

data
object
required

The Agent-to-Agent (A2A) discovery card for an agent the caller may read. Capabilities are fixed; each skill carries only its id and name.

meta
object
required