---
title: "List Agent (scoped by ?namespace)"
method: GET
path: "/v0/agents"
---

# List Agent (scoped by ?namespace)

`GET /v0/agents`

## Query parameters

- `namespace` string — Namespace (defaults to 'default'; 'all' lists across all namespaces).
- `limit` integer — Max items to return (default 50).
- `cursor` string — Opaque pagination cursor.
- `labels` string — Label selector: key=value,key2=value2.
- `latestOnly` boolean — Only return rows with is_latest_version=true.
- `includeTerminating` boolean — Include rows with a deletionTimestamp.

## Response `200`

OK

- ListOutputAgentBody
  - `items` Agent[], nullable, required
    - `apiVersion` string, required
    - `kind` string, required
    - `metadata` ObjectMeta, required
      - `annotations` object
      - `createdAt` string, date-time
      - `deletionTimestamp` string, date-time
      - `labels` object
      - `name` string, required
      - `namespace` string
      - `uid` string
      - `updatedAt` string, date-time
      - `version` string
    - `spec` AgentSpec, required
      - `description` string
      - `framework` string
      - `language` string
      - `mcpServers` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `version` string
      - `modelName` string
      - `modelProvider` string
      - `prompts` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `version` string
      - `skills` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `version` string
      - `source` AgentSource
        - `image` string
        - `repository` Repository
          - `subfolder` string
          - `url` string
      - `title` string
    - `status` Status
      - `conditions` Condition[], nullable
        - `lastTransitionTime` string, date-time
        - `message` string
        - `reason` string
        - `status` string, required
        - `type` string, required
  - `nextCursor` string

## Other responses

- `default` — Error

## Changes

- **2026-05-07** `1f7dac4e4622` — 6 breaking
  - the response property `errors` became nullable for the status `default`
  - the response property `items` became nullable for the status `200`
  - the response property `items/items/spec/mcpServers` became nullable for the status `200`
  - the response property `items/items/spec/prompts` became nullable for the status `200`
  - …2 more
- **2026-05-06** `844352c0303e` — 1 info
  - added the optional property `items/items/metadata/uid` to the response with the `200` status
- **2026-05-01** `d53a127a9bd6` — 1 warning
  - removed the optional property `items/items/spec/telemetryEndpoint` from the response with the `200` status
- **2026-05-01** `606e5741f140` — 2 warning, 1 info
  - removed the optional property `items/items/spec/image` from the response with the `200` status
  - removed the optional property `items/items/spec/repository` from the response with the `200` status
  - added the optional property `items/items/spec/source` to the response with the `200` status
- **2026-04-30** `0893e77fb04a` — 3 warning
  - deleted the `query` request parameter `semantic`
  - deleted the `query` request parameter `semanticThreshold`
  - removed the optional property `semanticScores` from the response with the `200` status

[Full history](https://skmtc.dev/agentregistry-dev/apis/agentregistry/changes/v0/agents/get.md)

---

[API](https://skmtc.dev/agentregistry-dev/apis/agentregistry.md) · [All operations](https://skmtc.dev/agentregistry-dev/apis/agentregistry/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentregistry-dev/agentregistry/revisions/e70ce4a71abe/schema)
