---
title: "List writing prompts"
method: GET
path: "/prompts"
tags: ["Prompts"]
---

# List writing prompts

`GET /prompts`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/prompts`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Query parameters

- `workspace_id` string: Filter by workspace ID
- `category` string: Filter by category

## Response `200`

OK

- PromptResponse[], nullable
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `category` string, required: Prompt category
  - `created_at` string, required: Creation time (ISO 8601)
  - `example` string, required: Full example post for the prompt (may be empty)
  - `id` string, required: Prompt ID
  - `is_built_in` boolean, required: Whether this is a built-in prompt
  - `text` string, required: Prompt text
  - `user_id` string: User ID (if custom)
  - `workspace_id` string: Workspace ID (if custom)

## Other responses

- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
