---
title: "Get Prompt By Id"
method: GET
path: "/prompts/{prompt_id}"
tags: ["PROMPT_LIBRARY"]
deprecated: true
---

# Get Prompt By Id

`GET /prompts/{prompt_id}`

> **Deprecated.**

Get a single prompt by ID.
Returns the prompt if the user has access to it.

## Path parameters

- `prompt_id` string, uuid, required

## Response `200`

Successful Response

- PromptResponse — Response schema for a single prompt
  - `id` string, uuid, required
  - `title` string, required
  - `description` string, nullable
  - `prompt_text` string, required
  - `tags` string[]
  - `teams` integer[], nullable
  - `created_by` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `last_used_at` string, date-time, nullable
  - `attributes` object
  - `is_public` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
