---
title: "Retrieve Prompt"
method: GET
path: "/v1/prompts/{prompt_id}"
tags: ["Prompts"]
---

# Retrieve Prompt

`GET /v1/prompts/{prompt_id}`

## Request

- Base URL: `https://api.lightsage.com`
- URL: `https://api.lightsage.com/v1/prompts/{prompt_id}`
- Auth: API key in header `X-Lightsage-Api-Key`

Returns a prompt, including its topic, platforms, tags, and lifecycle status.

## Path parameters

- `prompt_id` string, required

## Response `200`

Successful Response

- PublicPrompt
  - `id` string, required
  - `topic_id` string, required
  - `text` string, required
  - `is_branded` boolean: Whether the prompt text names your own brand. Detected when the prompt is created, and can be set explicitly.
  - `language_id` string, nullable
  - `region_id` string, nullable
  - `status` 'active' | 'inactive' | 'archived', required: The prompt lifecycle status. Only `active` prompts run on schedule.
  - `topic` PublicPromptTopic
    - `id` string, required
    - `name` string, required
    - `created_at` string, nullable
    - `updated_at` string, nullable
  - `platforms` PublicPromptPlatform[]
    - `id` string, required
    - `name` string, required
  - `tags` PublicPromptTag[]
    - `id` string, required
    - `name` string, required
    - `created_at` string, nullable
    - `updated_at` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 8 revisions in range; 1 not diffed.

- **2026-05-15** `820f778732b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usesapient/apis/sapient-public-api/changes/v1/prompts/:prompt_id/get.md)

---

[API](https://skmtc.dev/usesapient/apis/sapient-public-api.md) - [All operations](https://skmtc.dev/usesapient/apis/sapient-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usesapient/apis/sapient-public-api/revisions/14890dfe867e?raw)
