## GET /v1/reviews/prompts

List the built-in prompts a reviewer can use, each with its current text.

Required permissions: read:reviews.
API key: Supported.
CLI user token: Supported.
Session token: Requires the ellipsis:api scope, and the session's permissions.ellipsis rules must allow the operation.
Higher permission levels include lower levels: read < write < delete.

### Response

```text
{
  "prompts": [
    {
      "name": "find_bugs",
      "text": str,
      "title": str
    }
  ]
}
```

### Python

```python
import os

from ellipsis import Ellipsis

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.reviews.prompts.list()
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const result = await client.reviews.prompts.list();
console.log(result);
```

### cURL

```bash
curl "https://api.ellipsis.dev/v1/reviews/prompts" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

### Response schema

```json
{
  "properties": {
    "prompts": {
      "items": {
        "properties": {
          "name": {
            "const": "find_bugs",
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "title",
          "text"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "prompts"
  ],
  "type": "object"
}
```
