---
title: "Get Prompt"
method: GET
path: "/api/admin/prompts/{prompt_id}"
tags: ["Prompts"]
---

# Get Prompt

`GET /api/admin/prompts/{prompt_id}`

## Request

- Base URL: `https://data.getplace.io` (the document declares no server; this is the origin it was published from)
- URL: `https://data.getplace.io/api/admin/prompts/{prompt_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`

Get a prompt with all its versions.

## Path parameters

- `prompt_id` integer, required

## Response `200`

Successful Response

- PromptResponse
  - `id` integer, required
  - `name` string, required
  - `description` string, nullable, required
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required
  - `versions` PromptVersionResponse[]
    - `id` string, uuid, required
    - `version` integer, required
    - `system_prompt` string, nullable, required
    - `user_prompt` string, required
    - `model` string, required
    - `temperature` number, required
    - `is_current` boolean, required
    - `notes` string, nullable, required
    - `created_at` string, date-time, nullable, required
    - `updated_at` string, date-time, nullable, required
  - `current_version` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getplace/apis/getplace-insights-api.md) - [All operations](https://skmtc.dev/getplace/apis/getplace-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getplace/apis/getplace-insights-api/revisions/0f337387603f?raw)
