---
title: "Get Prompt By Id"
method: GET
path: "/api/v1/prompt/{prompt_id}"
tags: ["Prompt"]
---

# Get Prompt By Id

`GET /api/v1/prompt/{prompt_id}`

Gets an prompt by its id

## Path parameters

- `prompt_id` string, uuid, required

## Response `200`

Successful Response

- IGetResponseBaseIPromptRead
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IPromptRead
    - `name` string, nullable
    - `description` string, nullable
    - `prompt_template` string, nullable
    - `owner_type` 'user' | 'system', required
    - `id` union, required
      - string, uuid
      - string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/insighto/apis/ragify.md) · [All operations](https://skmtc.net/insighto/apis/ragify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/insighto/ragify/revisions/cdca56191be9/schema)
