> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptbank.club/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a Prompt — GET /api/v1/prompts/{promptId}

> Retrieve a single prompt by its numeric ID. Returns the full prompt object including title, prompt text, type, status, images, and vault memberships.

Fetch the complete details of a single prompt using its unique numeric ID. The response includes all metadata fields — the prompt text, type, platform, status, any associated images, and the full list of vault IDs the prompt belongs to.

<Note>
  **GET** `https://www.promptbank.club/api/v1/prompts/{promptId}`
</Note>

## Path Parameters

<ParamField path="promptId" type="integer" required>
  The unique numeric ID of the prompt you want to retrieve.
</ParamField>

## Example Request

```bash theme={null}
curl https://www.promptbank.club/api/v1/prompts/42 \
  -H 'Authorization: Bearer pb_live_...'
```

## Example Response

```json theme={null}
{
  "data": {
    "id": 42,
    "title": "Cinematic sunset portrait",
    "prompt": "A cinematic portrait at golden hour, warm tones, shallow depth of field",
    "promptType": "image",
    "platform": "fal.ai",
    "status": "active",
    "images": [
      {
        "url": "https://cdn.promptbank.club/images/42/output-1.webp",
        "width": 896,
        "height": 1120,
        "createdAt": "2024-06-01T12:10:00Z"
      }
    ],
    "vaultIds": [7],
    "createdAt": "2024-06-01T12:00:00Z",
    "updatedAt": "2024-06-01T12:05:00Z"
  },
  "error": null
}
```

If no prompt with the given `promptId` exists in your account, the API returns **404 Not Found** with a descriptive `error` message.


## Related topics

- [Delete Prompt — DELETE /api/v1/prompts/{promptId}](/api-reference/prompts/delete.md)
- [List Prompts — GET /api/v1/prompts | Prompt Bank](/api-reference/prompts/list.md)
- [Update Prompt — PATCH /api/v1/prompts/{promptId}](/api-reference/prompts/update.md)
