---
title: "Get Agent Card"
method: GET
path: "/a2a/{agent_id}/.well-known/agent-card.json"
tags: ["a2a"]
---

# Get Agent Card

`GET /a2a/{agent_id}/.well-known/agent-card.json`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/a2a/{agent_id}/.well-known/agent-card.json`
- Auth: API key in header `x-litellm-api-key`

Get the agent card for an agent (A2A discovery endpoint).

Supports both standard paths:
- /.well-known/agent-card.json
- /.well-known/agent.json

The URL in the agent card is rewritten to point to the LiteLLM proxy,
so all subsequent A2A calls go through LiteLLM for logging and cost tracking.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 4 info
  - api tag `a2a` added
  - api tag `[beta] A2A Agents` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/a2a/:agent_id/.well-known/agent-card.json/get.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/d5f05778d196?raw)
