---
title: "Get the latest Prompt"
method: GET
path: "/v0/prompts/{name}"
---

# Get the latest Prompt

`GET /v0/prompts/{name}`

## Path parameters

- `name` string, required

## Query parameters

- `namespace` string — Namespace (internal; defaults to 'default').

## Response `200`

OK

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

## Other responses

- `default` — Error

## Changes

- **2026-08-04** `efe6438524aa` — 1 info
  - added the optional property `spec/iconUrl` to the response with the `200` status
- **2026-05-21** `2405fa410fce` — 1 warning, 1 info
  - removed the optional property `status/raw` from the response with the `200` status
  - added the optional property `status/details` to the response with the `200` status
- **2026-05-21** `54fc2c423f6b` — 1 info
  - added the optional property `status/raw` to the response with the `200` status
- **2026-05-11** `9ed64a022233` — 1 warning, 1 info
  - removed the optional property `metadata/version` from the response with the `200` status
  - added the optional property `metadata/tag` to the response with the `200` status
- **2026-05-07** `1f7dac4e4622` — 2 breaking
  - the response property `errors` became nullable for the status `default`
  - the response property `status/conditions` became nullable for the status `200`

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