---
title: "Get a prompt"
method: GET
path: "/prompts/{id}"
tags: ["Prompts"]
---

# Get a prompt

`GET /prompts/{id}`

## Request

- Base URL: `https://api.savanto.ai`
- URL: `https://api.savanto.ai/prompts/{id}`
- Auth: HTTP bearer

Retrieve a single prompt by external ID.

## Path parameters

- `id` string, required

## Response `200`

Prompt details

- object
  - `object` 'prompt', required
  - `requestId` string, required
  - `data` Prompt, required
    - `id` string
    - `title` string
    - `prompt` string, required
    - `description` string
    - `cannedResponse` string
    - `responseFormat` string
    - `overrideMode` string
    - `postIds` string[]
    - `productIds` string[]
    - `followUpIds` string[]
    - `tags` string[]
    - `categories` string[]
    - `status` string
    - `priority` number
    - `icon` string
    - `createdAt` string
    - `updatedAt` string
    - `activeFrom` string
    - `activeTo` string
    - `metadata` object

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `413`: Payload too large
- `429`: Rate limit exceeded

---

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