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

# List prompts

`GET /prompts`

## Request

- Base URL: `https://api.openscale.so/v1`
- URL: `https://api.openscale.so/v1/prompts`
- Auth: HTTP bearer

Your account's prompts at their latest versions, newest first. Paged with `limit`, `order` and `after` (a prompt id).

## Query parameters

- `limit` integer
- `order` 'asc' | 'desc'
- `after` string

## Response `200`

A list of prompts.

- object
  - `object` 'list'
  - `data` object[]
    - `id` string, required
    - `object` 'prompt', required
    - `name` string, nullable
    - `version` string, required
    - `latest_version` string, required
    - `variables` string[], required
    - `created_at` integer
    - `version_created_at` integer
  - `first_id` string, nullable
  - `last_id` string, nullable
  - `has_more` boolean

---

[API](https://skmtc.dev/openscale/apis/openscale-api.md) - [All operations](https://skmtc.dev/openscale/apis/openscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openscale/apis/openscale-api/revisions/587e72b44932?raw)
