---
title: "List the saved prompts"
method: GET
path: "/assistant/prompts/"
tags: ["assistant-prompt"]
---

# List the saved prompts

`GET /assistant/prompts/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/assistant/prompts/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Response `200`

Successful Response

- AssistantPromptListSchema: Every prompt this workspace is offered, built-in ones first.
  - `prompts` AssistantPromptReadSchema[], required
    - `body` string, required: The message pressing the card puts in the composer.
    - `built_in` boolean, required: Whether we wrote it. A built-in cannot be edited or deleted.
    - `created_at` string, date-time, nullable
    - `id` string, uuid, nullable: Null for a built-in prompt, which is defined in our code rather than saved.
    - `key` string, required: Stable identifier for this card across both kinds: the built-in's key, or the saved prompt's id.
    - `title` string, required: What the card is called.
    - `updated_at` string, date-time, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
