---
title: "List all prompts with project filter"
method: GET
path: "/v1/prompts"
tags: ["Prompts"]
---

# List all prompts with project filter

`GET /v1/prompts`

Returns a list of prompts. If the project_id query parameter is not provided, returns an empty list by default. Users can filter by a project they can reach.

## Query parameters

- `project_id` string, uuid
- `project` string, uuid
- `archived` boolean

## Response `200`

A list of prompts

- object
  - `prompts` Prompt[]
    - `id` string, uuid, required — Unique identifier.
    - `project_id` string, uuid, required — Unique identifier of the project the prompt belongs to.
    - `slug` string, required — Unique slug within the project.
    - `name` string, required — Name of the prompt container.
    - `description` string, required — Brief summary explaining the prompt purpose.
    - `status` 'active' | 'archived', required — Current status of the prompt container (active, archived).
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/px0-ai/apis/px0-api.md) · [All operations](https://skmtc.net/px0-ai/apis/px0-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/px0-ai/px0-api/versions/3ed72443989d/schema)
