---
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.
- `tag` string — Restrict the result set to one tag value (tagged artifact kinds only).
- `latestOnly` boolean — Only return the literal latest tag per (namespace, name). Equivalent to tag=latest for tagged kinds.
- `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
      - `tag` string
      - `uid` string
      - `updatedAt` string, date-time
    - `spec` AgentSpec, required
      - `description` string
      - `mcpServers` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `tag` string
      - `modelName` string
      - `modelProvider` string
      - `source` AgentSource
        - `image` string
        - `repository` Repository
          - `branch` string
          - `commit` string
          - `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
      - `raw` unknown
  - `nextCursor` string

## Other responses

- `default` — Error

## Changes

- **2026-05-21** `54fc2c423f6b` — 1 info
  - added the optional property `items/items/status/raw` to the response with the `200` status
- **2026-05-13** `7d8191f7e661` — 1 info
  - added the new optional `query` request parameter `tag`
- **2026-05-12** `43bc4c5bd46a` — 2 info
  - added the optional property `items/items/spec/source/repository/branch` to the response with the `200` status
  - added the optional property `items/items/spec/source/repository/commit` to the response with the `200` status
- **2026-05-11** `fde81ad37999` — 4 warning
  - removed the optional property `items/items/spec/framework` from the response with the `200` status
  - removed the optional property `items/items/spec/language` from the response with the `200` status
  - removed the optional property `items/items/spec/prompts` from the response with the `200` status
  - removed the optional property `items/items/spec/skills` from the response with the `200` status
- **2026-05-11** `9ed64a022233` — 4 warning, 4 info
  - removed the optional property `items/items/metadata/version` from the response with the `200` status
  - removed the optional property `items/items/spec/mcpServers/items/version` from the response with the `200` status
  - removed the optional property `items/items/spec/prompts/items/version` from the response with the `200` status
  - removed the optional property `items/items/spec/skills/items/version` from the response with the `200` status
  - …4 more

[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/54fc2c423f6b/schema)
