---
title: "Get Agents"
method: GET
path: "/v1/agents"
tags: ["[beta] A2A Agents"]
---

# Get Agents

`GET /v1/agents`

Example usage:
```
curl -X GET "http://localhost:4000/v1/agents"       -H "Content-Type: application/json"       -H "Authorization: Bearer your-key"     ```

Pass `?health_check=true` to filter out agents whose URL is unreachable:
```
curl -X GET "http://localhost:4000/v1/agents?health_check=true"       -H "Content-Type: application/json"       -H "Authorization: Bearer your-key"     ```

Returns: List[AgentResponse]

## Query parameters

- `health_check` boolean — When true, performs a GET request to each agent's URL. Agents with reachable URLs (HTTP status < 500) and agents without a URL are returned; unreachable agents are filtered out.

## Response `200`

Successful Response

- AgentResponse[]
  - `agent_id` string, required
  - `agent_name` string, required
  - `litellm_params` object, nullable
  - `agent_card_params` object, required
  - `object_permission` object, nullable
  - `spend` number, nullable
  - `tpm_limit` integer, nullable
  - `rpm_limit` integer, nullable
  - `session_tpm_limit` integer, nullable
  - `session_rpm_limit` integer, nullable
  - `static_headers` object, nullable
  - `extra_headers` string[], nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `created_by` string, nullable
  - `updated_by` string, nullable

## Other responses

- `422` — Validation Error

## Changes

> 14 revisions in range; 12 could not be searched.

- **2026-08-29** `404bba17aabe` — 2 info
  - api tag `[beta] A2A Agents` added
  - api tag `agents` removed

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/agents/get.md)

---

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