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

# List Prompt (scoped by ?namespace)

`GET /v0/prompts`

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

- ListOutputPromptBody
  - `items` Prompt[], 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` PromptSpec, required
      - `content` string
      - `description` string
      - `iconUrl` 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

> 53 revisions in range; 2 could not be searched.

- **2026-08-04** `efe6438524aa` — 1 info
  - added the optional property `items/items/spec/iconUrl` to the response with the `200` status
- **2026-05-21** `2405fa410fce` — 1 warning, 1 info
  - removed the optional property `items/items/status/raw` from the response with the `200` status
  - added the optional property `items/items/status/details` to the response with the `200` status
- **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-11** `9ed64a022233` — 1 warning, 1 info
  - removed the optional property `items/items/metadata/version` from the response with the `200` status
  - added the optional property `items/items/metadata/tag` to the response with the `200` status

[Full history](https://skmtc.dev/agentregistry-dev/apis/agentregistry/changes/v0/prompts/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)
