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

# Get Agent Card

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

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

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
