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

# Get Prompt By Id

`GET /prompts/{prompt_id}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/prompts/{prompt_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **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.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
