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

# Get Prompt

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

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/admin/prompts/{prompt_key}`
- Auth: HTTP bearer

Get a single AI prompt template.

## Path parameters

- `prompt_key` string, required

## Response `200`

Successful Response

- AdminPromptResponse: Single AI prompt template returned by GET/PUT /api/admin/prompts/{key}.
  - `id` integer, required
  - `key` string, required
  - `title` string, nullable
  - `prompt_template` string, required
  - `model` string, required
  - `max_output_tokens` integer, nullable
  - `temperature` unknown
  - `is_active` boolean
  - `updated_by` string, nullable
  - `updated_at` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/natlex/apis/stellara-api.md) · [All operations](https://skmtc.dev/natlex/apis/stellara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/natlex/apis/stellara-api/revisions/e576f046b61f?raw)
