---
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

---

[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)
