---
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
      - `compatibleHarnesses` HarnessCompatibility[], nullable
        - `type` string, required
      - `description` string
      - `iconUrl` string
      - `instructions` ResourceRef
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `tag` string
      - `mcpServers` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `tag` string
      - `modelName` string
      - `modelProvider` string
      - `plugins` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `tag` string
      - `skills` ResourceRef[], nullable
        - `kind` string, required
        - `name` string, required
        - `namespace` string
        - `tag` string
      - `source` AgentSource
        - `image` string
        - `protocol` 'A2A' | 'HTTP'
        - `repository` Repository
          - `branch` string
          - `commit` string
          - `credentialsRef` LocalSecretReference
            - `name` string, required
          - `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
      - `details` unknown
  - `nextCursor` string

## Other responses

- `default` — Error

## Changes

- **2026-08-20** `1c78ed1aace9` — 1 info
  - added the optional property `items/items/spec/source/repository/credentialsRef` to the response with the `200` status
- **2026-08-04** `efe6438524aa` — 1 info
  - added the optional property `items/items/spec/iconUrl` to the response with the `200` status
- **2026-08-03** `2ae9fab6bde4` — 1 info
  - added the optional property `items/items/spec/source/protocol` to the response with the `200` status
- **2026-07-30** `056ffcb14755` — 2 info
  - added the optional property `items/items/spec/modelName` to the response with the `200` status
  - added the optional property `items/items/spec/modelProvider` to the response with the `200` status
- **2026-07-29** `0b524c0aa4ed` — 2 warning
  - removed the optional property `items/items/spec/modelName` from the response with the `200` status
  - removed the optional property `items/items/spec/modelProvider` 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/d34de2400d39/schema)
