---
title: "List prompts"
description: ""
---

<a id="playground-button:docs/apis/prompts/list-prompts"></a>

**POST** `https://api.respan.ai/api/prompts/list/`

## Servers

`https://api.respan.ai`: Respan API Server

<a id="request.auth"></a>

## Authentication

<a id="request.auth.Authorization"></a>

### RespanApiKey

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer &lt;RESPAN_API_KEY&gt;. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -&gt; Providers or respan_params.credential_override in the request body, not in this authentication field.

HTTP scheme: `bearer`; format: `Respan API key`.


```http
Authorization: Bearer $RESPAN_API_KEY
```


**Or:**

### DashboardJwt

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.

HTTP scheme: `bearer`; format: `Dashboard JWT`.


```http
Authorization: Bearer $RESPAN_DASHBOARD_JWT
```


<a id="request.query"></a>

## Query parameters


| Parameter | Type | Required | Description and constraints |
| --- | --- | --- | --- |
| <a id="request.query.page"></a>`page` | `integer` | Optional | Page number.<br />Default: `1`<br />Example: `1` |
| <a id="request.query.page_size"></a>`page_size` | `integer` | Optional | Number of prompts per page. Maximum is 100.<br />Default: `25`<br />Maximum: `100`<br />Example: `25` |
| <a id="request.query.sort_by"></a>`sort_by` | `string` | Optional | Sort field. Prefix with `-` for descending. Common values are `-id` and `-current_version__updated_at`.<br />Allowed: `"-id"`, `"id"`, `"-current_version__updated_at"`, `"current_version__updated_at"`<br />Default: `-id`<br />Example: `"-current_version__updated_at"` |


<a id="request"></a>

## Request body

A request body is required.

### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Required body | - |
| <a id="request.body.filters"></a>`filters` | `object` | Optional | Each key is a field to filter on, and each value is a condition: `{"<field>": {"operator": "<operator>", "value": [...]}}`. A prompt must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.<br /><br />**Operators:** `""` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `""` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[""]`.<br /><br />**Fields:** `prompt_id`, `prompt_slug`, `name`, `description`, `starred`, `commit_count`, `creator_email`, version fields through `current_version__<field>` or `live_version__<field>` (for example `current_version__model` or `current_version__updated_at`), `tags` (prompts with any of the given tag IDs), and `is_deleted` (send `"value": true` to get deleted prompts instead of active ones). Unsupported fields return a 400 error.<br /><br />**Example:**<br /><br />```json<br />{<br />  "name": {"operator": "icontains", "value": ["support"]},<br />  "current_version__model": {"operator": "in", "value": ["gpt-5.5", "claude-sonnet-4-5-20250929"]}<br />}<br />``` |
| `filters.prompt_id` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.prompt_id.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.prompt_id.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.prompt_id.value[]` | `any` | Array item | - |
| `filters.prompt_slug` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.prompt_slug.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.prompt_slug.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.prompt_slug.value[]` | `any` | Array item | - |
| `filters.name` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.name.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.name.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.name.value[]` | `any` | Array item | - |
| `filters.description` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.description.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.description.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.description.value[]` | `any` | Array item | - |
| `filters.starred` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.starred.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.starred.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.starred.value[]` | `any` | Array item | - |
| `filters.tags` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.tags.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.tags.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.tags.value[]` | `any` | Array item | - |
| `filters.current_version__updated_at` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.current_version__updated_at.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.current_version__updated_at.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.current_version__updated_at.value[]` | `any` | Array item | - |
| `filters.current_version__created_at` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.current_version__created_at.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.current_version__created_at.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.current_version__created_at.value[]` | `any` | Array item | - |
| `filters.is_deleted` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.is_deleted.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.is_deleted.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.is_deleted.value[]` | `any` | Array item | - |


<details class="api-schema-source">
<summary>OpenAPI request schema</summary>


````json
{
  "type": "object",
  "properties": {
    "filters": {
      "type": "object",
      "description": "Each key is a field to filter on, and each value is a condition: `{\"<field>\": {\"operator\": \"<operator>\", \"value\": [...]}}`. A prompt must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.\n\n**Operators:** `\"\"` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `\"\"` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[\"\"]`.\n\n**Fields:** `prompt_id`, `prompt_slug`, `name`, `description`, `starred`, `commit_count`, `creator_email`, version fields through `current_version__<field>` or `live_version__<field>` (for example `current_version__model` or `current_version__updated_at`), `tags` (prompts with any of the given tag IDs), and `is_deleted` (send `\"value\": true` to get deleted prompts instead of active ones). Unsupported fields return a 400 error.\n\n**Example:**\n\n```json\n{\n  \"name\": {\"operator\": \"icontains\", \"value\": [\"support\"]},\n  \"current_version__model\": {\"operator\": \"in\", \"value\": [\"gpt-5.5\", \"claude-sonnet-4-5-20250929\"]}\n}\n```",
      "properties": {
        "prompt_id": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "prompt_slug": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "name": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "description": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "starred": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "tags": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "current_version__updated_at": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "current_version__created_at": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "is_deleted": {
          "$ref": "#/components/schemas/FilterValue"
        }
      }
    }
  }
}
````

</details>

##### Example


```json
{
  "filters": {
    "name": {
      "operator": "icontains",
      "value": [
        "support"
      ]
    },
    "starred": {
      "operator": "",
      "value": [
        true
      ]
    }
  }
}
```


<a id="response"></a>

## Responses

### 200

Paginated list of prompts.

#### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Body | Example: `{"count":42,"next":"https://api.respan.ai/api/prompts/list/?page=2","previous":null,"results":[{"id":"prompt_abc123","name":"Customer Support Assistant","description":"Handles customer support queries with empathy","prompt_slug":"customer-support-assistant","tags":[{"id":"tag_abc123","name":"support","color":"#3B82F6","created_at":"2026-01-01T00:00:00Z","updated_at":"2026-01-01T00:00:00Z"}],"current_version":{"version":3,"model":"gpt-4o","updated_at":"2026-01-20T10:30:00Z"},"live_version":{"version":2,"model":"gpt-4o-mini","updated_at":"2026-01-15T08:00:00Z"},"created_at":"2026-01-01T00:00:00Z","updated_at":"2026-01-20T10:30:00Z"}]}` |
| <a id="response.body.count"></a>`count` | `integer` | Optional | Number of results on this page, not the total. Request pages until `next` is null to get every result. |
| <a id="response.body.next"></a>`next` | `string or null` | Optional | Next page URL. |
| <a id="response.body.previous"></a>`previous` | `string or null` | Optional | Previous page URL. |
| <a id="response.body.results"></a>`results` | `array<object>` | Optional | - |
| `results[]` | `object` | Array item | Example: `{"id":"prompt_abc123","name":"Customer Support Assistant","description":"Handles customer support queries with empathy","prompt_slug":"customer-support-assistant","tags":[{"id":"tag_abc123","name":"support","color":"#3B82F6","created_at":"2026-01-01T00:00:00Z","updated_at":"2026-01-01T00:00:00Z"}],"current_version":{"version":3,"model":"gpt-4o","updated_at":"2026-01-20T10:30:00Z"},"live_version":{"version":2,"model":"gpt-4o-mini","updated_at":"2026-01-15T08:00:00Z"},"created_at":"2026-01-01T00:00:00Z","updated_at":"2026-01-20T10:30:00Z"}` |
| `results[].id` | `string` | Optional | - |
| `results[].name` | `string` | Optional | - |
| `results[].description` | `string or null` | Optional | - |
| `results[].prompt_slug` | `string or null` | Optional | - |
| `results[].tags` | `array<object>` | Optional | - |
| `results[].tags[]` | `object` | Array item | - |
| `results[].tags[].id` | `string` | Optional | - |
| `results[].tags[].name` | `string` | Optional | - |
| `results[].tags[].color` | `string` | Optional | - |
| `results[].tags[].created_at` | `string` | Optional | Format: `date-time` |
| `results[].tags[].updated_at` | `string` | Optional | Format: `date-time` |
| `results[].current_version` | `object or null` | Optional | The prompt's current version, as the full version object that Get a prompt version returns. |
| `results[].current_version.version` | `integer` | Optional | - |
| `results[].current_version.model` | `string` | Optional | - |
| `results[].current_version.updated_at` | `string` | Optional | Format: `date-time` |
| `results[].live_version` | `object or null` | Optional | The deployed version, as the full version object that Get a prompt version returns. `null` until a version is deployed. |
| `results[].live_version.version` | `integer` | Optional | - |
| `results[].live_version.model` | `string` | Optional | - |
| `results[].live_version.updated_at` | `string` | Optional | Format: `date-time` |


<details class="api-schema-source">
<summary>OpenAPI response schema</summary>


```json
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of results on this page, not the total. Request pages until `next` is null to get every result."
    },
    "next": {
      "type": "string",
      "nullable": true,
      "description": "Next page URL."
    },
    "previous": {
      "type": "string",
      "nullable": true,
      "description": "Previous page URL."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "prompt_slug": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "color": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          },
          "current_version": {
            "type": "object",
            "nullable": true,
            "properties": {
              "version": {
                "type": "integer"
              },
              "model": {
                "type": "string"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time"
              }
            },
            "description": "The prompt's current version, as the full version object that Get a prompt version returns."
          },
          "live_version": {
            "type": "object",
            "nullable": true,
            "properties": {
              "version": {
                "type": "integer"
              },
              "model": {
                "type": "string"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time"
              }
            },
            "description": "The deployed version, as the full version object that Get a prompt version returns. `null` until a version is deployed."
          }
        },
        "example": {
          "id": "prompt_abc123",
          "name": "Customer Support Assistant",
          "description": "Handles customer support queries with empathy",
          "prompt_slug": "customer-support-assistant",
          "tags": [
            {
              "id": "tag_abc123",
              "name": "support",
              "color": "#3B82F6",
              "created_at": "2026-01-01T00:00:00Z",
              "updated_at": "2026-01-01T00:00:00Z"
            }
          ],
          "current_version": {
            "version": 3,
            "model": "gpt-4o",
            "updated_at": "2026-01-20T10:30:00Z"
          },
          "live_version": {
            "version": 2,
            "model": "gpt-4o-mini",
            "updated_at": "2026-01-15T08:00:00Z"
          },
          "created_at": "2026-01-01T00:00:00Z",
          "updated_at": "2026-01-20T10:30:00Z"
        }
      }
    }
  },
  "example": {
    "count": 42,
    "next": "https://api.respan.ai/api/prompts/list/?page=2",
    "previous": null,
    "results": [
      {
        "id": "prompt_abc123",
        "name": "Customer Support Assistant",
        "description": "Handles customer support queries with empathy",
        "prompt_slug": "customer-support-assistant",
        "tags": [
          {
            "id": "tag_abc123",
            "name": "support",
            "color": "#3B82F6",
            "created_at": "2026-01-01T00:00:00Z",
            "updated_at": "2026-01-01T00:00:00Z"
          }
        ],
        "current_version": {
          "version": 3,
          "model": "gpt-4o",
          "updated_at": "2026-01-20T10:30:00Z"
        },
        "live_version": {
          "version": 2,
          "model": "gpt-4o-mini",
          "updated_at": "2026-01-15T08:00:00Z"
        },
        "created_at": "2026-01-01T00:00:00Z",
        "updated_at": "2026-01-20T10:30:00Z"
      }
    ]
  }
}
```

</details>

<a id="response.error"></a>

### 403

The API key is missing, invalid or expired.

#### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Body | - |
| `detail` | `string` | Required in parent | - |


<details class="api-schema-source">
<summary>OpenAPI response schema</summary>


```json
{
  "type": "object",
  "required": [
    "detail"
  ],
  "properties": {
    "detail": {
      "type": "string"
    }
  }
}
```

</details>

##### Example


```json
{
  "detail": "Your API key is invalid or expired, please check your API key in the platform settings."
}
```


## OpenAPI source

The operation and referenced components below retain the complete OpenAPI definitions, including constraints and examples.

<!-- openapi-operation:start -->
<details class="api-schema-source">
<summary>OpenAPI operation</summary>


````json
{
  "summary": "List prompts",
  "operationId": "listPrompts",
  "tags": [
    "Prompts"
  ],
  "parameters": [
    {
      "name": "page",
      "in": "query",
      "schema": {
        "type": "integer",
        "default": 1
      },
      "description": "Page number.",
      "example": 1
    },
    {
      "name": "page_size",
      "in": "query",
      "schema": {
        "type": "integer",
        "default": 25,
        "maximum": 100
      },
      "description": "Number of prompts per page. Maximum is 100.",
      "example": 25
    },
    {
      "name": "sort_by",
      "in": "query",
      "schema": {
        "type": "string",
        "default": "-id",
        "enum": [
          "-id",
          "id",
          "-current_version__updated_at",
          "current_version__updated_at"
        ]
      },
      "description": "Sort field. Prefix with `-` for descending. Common values are `-id` and `-current_version__updated_at`.",
      "example": "-current_version__updated_at"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "filters": {
              "type": "object",
              "description": "Each key is a field to filter on, and each value is a condition: `{\"<field>\": {\"operator\": \"<operator>\", \"value\": [...]}}`. A prompt must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.\n\n**Operators:** `\"\"` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `\"\"` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[\"\"]`.\n\n**Fields:** `prompt_id`, `prompt_slug`, `name`, `description`, `starred`, `commit_count`, `creator_email`, version fields through `current_version__<field>` or `live_version__<field>` (for example `current_version__model` or `current_version__updated_at`), `tags` (prompts with any of the given tag IDs), and `is_deleted` (send `\"value\": true` to get deleted prompts instead of active ones). Unsupported fields return a 400 error.\n\n**Example:**\n\n```json\n{\n  \"name\": {\"operator\": \"icontains\", \"value\": [\"support\"]},\n  \"current_version__model\": {\"operator\": \"in\", \"value\": [\"gpt-5.5\", \"claude-sonnet-4-5-20250929\"]}\n}\n```",
              "properties": {
                "prompt_id": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "prompt_slug": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "name": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "description": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "starred": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "tags": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "current_version__updated_at": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "current_version__created_at": {
                  "$ref": "#/components/schemas/FilterValue"
                },
                "is_deleted": {
                  "$ref": "#/components/schemas/FilterValue"
                }
              }
            }
          }
        },
        "example": {
          "filters": {
            "name": {
              "operator": "icontains",
              "value": [
                "support"
              ]
            },
            "starred": {
              "operator": "",
              "value": [
                true
              ]
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Paginated list of prompts.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "description": "Number of results on this page, not the total. Request pages until `next` is null to get every result."
              },
              "next": {
                "type": "string",
                "nullable": true,
                "description": "Next page URL."
              },
              "previous": {
                "type": "string",
                "nullable": true,
                "description": "Previous page URL."
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string",
                      "nullable": true
                    },
                    "prompt_slug": {
                      "type": "string",
                      "nullable": true
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "color": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updated_at": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "current_version": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "version": {
                          "type": "integer"
                        },
                        "model": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "description": "The prompt's current version, as the full version object that Get a prompt version returns."
                    },
                    "live_version": {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "version": {
                          "type": "integer"
                        },
                        "model": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "description": "The deployed version, as the full version object that Get a prompt version returns. `null` until a version is deployed."
                    }
                  },
                  "example": {
                    "id": "prompt_abc123",
                    "name": "Customer Support Assistant",
                    "description": "Handles customer support queries with empathy",
                    "prompt_slug": "customer-support-assistant",
                    "tags": [
                      {
                        "id": "tag_abc123",
                        "name": "support",
                        "color": "#3B82F6",
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z"
                      }
                    ],
                    "current_version": {
                      "version": 3,
                      "model": "gpt-4o",
                      "updated_at": "2026-01-20T10:30:00Z"
                    },
                    "live_version": {
                      "version": 2,
                      "model": "gpt-4o-mini",
                      "updated_at": "2026-01-15T08:00:00Z"
                    },
                    "created_at": "2026-01-01T00:00:00Z",
                    "updated_at": "2026-01-20T10:30:00Z"
                  }
                }
              }
            },
            "example": {
              "count": 42,
              "next": "https://api.respan.ai/api/prompts/list/?page=2",
              "previous": null,
              "results": [
                {
                  "id": "prompt_abc123",
                  "name": "Customer Support Assistant",
                  "description": "Handles customer support queries with empathy",
                  "prompt_slug": "customer-support-assistant",
                  "tags": [
                    {
                      "id": "tag_abc123",
                      "name": "support",
                      "color": "#3B82F6",
                      "created_at": "2026-01-01T00:00:00Z",
                      "updated_at": "2026-01-01T00:00:00Z"
                    }
                  ],
                  "current_version": {
                    "version": 3,
                    "model": "gpt-4o",
                    "updated_at": "2026-01-20T10:30:00Z"
                  },
                  "live_version": {
                    "version": 2,
                    "model": "gpt-4o-mini",
                    "updated_at": "2026-01-15T08:00:00Z"
                  },
                  "created_at": "2026-01-01T00:00:00Z",
                  "updated_at": "2026-01-20T10:30:00Z"
                }
              ]
            }
          }
        }
      }
    },
    "403": {
      "$ref": "#/components/responses/InvalidApiKey"
    }
  },
  "security": [
    {
      "RespanApiKey": []
    },
    {
      "DashboardJwt": []
    }
  ]
}
````

</details>
<!-- openapi-operation:end -->

<!-- openapi-path-item:start -->
<details class="api-schema-source">
<summary>OpenAPI path metadata</summary>


```json
{}
```

</details>
<!-- openapi-path-item:end -->

<!-- openapi-components:start -->
<details class="api-schema-source">
<summary>Referenced OpenAPI components</summary>


```json
{
  "responses": {
    "InvalidApiKey": {
      "description": "The API key is missing, invalid or expired.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "detail"
            ],
            "properties": {
              "detail": {
                "type": "string"
              }
            }
          },
          "example": {
            "detail": "Your API key is invalid or expired, please check your API key in the platform settings."
          }
        }
      }
    }
  },
  "schemas": {
    "FilterValue": {
      "type": "object",
      "description": "A filter condition with an operator and value.",
      "required": [
        "value"
      ],
      "properties": {
        "operator": {
          "type": "string",
          "description": "Comparison operator. An empty string means equals.",
          "enum": [
            "",
            "not",
            "in",
            "not_in",
            "lt",
            "lte",
            "gt",
            "gte",
            "contains",
            "not_contains",
            "icontains",
            "startswith",
            "not_startswith",
            "endswith",
            "not_endswith",
            "empty",
            "not_empty"
          ],
          "default": "",
          "example": "gte"
        },
        "value": {
          "type": "array",
          "description": "Value(s) to filter by.",
          "items": {},
          "example": [
            0.01
          ]
        }
      }
    }
  },
  "securitySchemes": {
    "DashboardJwt": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "Dashboard JWT",
      "description": "Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.",
      "x-fern-bearer": {
        "name": "dashboardJwt",
        "env": "RESPAN_DASHBOARD_JWT"
      }
    },
    "RespanApiKey": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "Respan API key",
      "description": "Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.",
      "x-fern-bearer": {
        "name": "respanApiKey",
        "env": "RESPAN_API_KEY"
      }
    }
  }
}
```

</details>
<!-- openapi-components:end -->
