---
title: "Lists the MCP prompts of one product, or of every product the customer holds, with what each asks, the tier it requires and whether the customer may run it; without a customer, a product is required."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sherpo.io/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Sherpo customer API › prompt

`GET /v1/stores/{store}/products/{product}/prompts`

## Authentication

Requires one of the following:

- `bearer`, http, header `Authorization`, scopes: `read`
- `publishableKey`, apiKey, in header, header `Publishable-Key`

## Path parameters

- `store` (`listProductPrompts.path.store`; string, required) — A hostname of the store.
- `product` (`listProductPrompts.path.product`; string, required) — An id, or `slug:<slug>`.
  - minLength 1

## Query parameters

- `runnable` (`listProductPrompts.query.runnable`; boolean, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.sherpo.io/customer/v1/stores/<store>/products/<product>/prompts' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.sherpo.io/customer/v1/stores/<store>/products/<product>/prompts';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.sherpo.io/customer/v1/stores/<store>/products/<product>/prompts"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Lists the MCP prompts of one product, or of every product the customer holds, with what each asks, the tier it requires and whether the customer may run it; without a customer, a product is required.

#### Example

```json
{
  "items": [
    {
      "id": "string",
      "name": "string",
      "title": "string",
      "description": "string",
      "arguments": [
        {
          "name": "string",
          "description": "string",
          "required": true
        }
      ],
      "product": {
        "id": "string",
        "slug": "string",
        "title": "string"
      },
      "requires": {
        "kind": "everyone"
      },
      "access": "string"
    }
  ],
  "truncated": true
}
```

- `items` (`listProductPrompts.response.200.items`; array<object>, required)
  - `id` (`listProductPrompts.response.200.items.id`; string, required)
  - `name` (`listProductPrompts.response.200.items.name`; string, required)
  - `title` (`listProductPrompts.response.200.items.title`; any of, required)
    - any of: `string`, `null`
  - `description` (`listProductPrompts.response.200.items.description`; any of, required)
    - any of: `string`, `null`
  - `arguments` (`listProductPrompts.response.200.items.arguments`; array<object>, required)
    - `name` (`listProductPrompts.response.200.items.arguments.name`; string, required)
    - `description` (`listProductPrompts.response.200.items.arguments.description`; any of, required)
      - any of: `string`, `null`
    - `required` (`listProductPrompts.response.200.items.arguments.required`; boolean, required)
  - `product` (`listProductPrompts.response.200.items.product`; object, required)
    - `id` (`listProductPrompts.response.200.items.product.id`; string, required)
    - `slug` (`listProductPrompts.response.200.items.product.slug`; string, required)
    - `title` (`listProductPrompts.response.200.items.product.title`; string, required)
  - `requires` (`listProductPrompts.response.200.items.requires`; any of, required)
    - any of: `object`, `object`, `object`
  - `access` (`listProductPrompts.response.200.items.access`; string, required)
- `truncated` (`listProductPrompts.response.200.truncated`; boolean, required)

### default

A problem; see https://api.sherpo.io/customer/docs/errors.

#### Example

```json
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "context": {},
  "reached_core": true,
  "core_answer": "string"
}
```

- `type` (`listProductPrompts.response.default.type`; string, required)
  - format `uri`
- `title` (`listProductPrompts.response.default.title`; string, required)
- `status` (`listProductPrompts.response.default.status`; integer, required)
- `detail` (`listProductPrompts.response.default.detail`; string, required)
- `code` (`listProductPrompts.response.default.code`; string, optional)
- `context` (`listProductPrompts.response.default.context`; object, optional)
- `reached_core` (`listProductPrompts.response.default.reached_core`; boolean, optional)
- `core_answer` (`listProductPrompts.response.default.core_answer`; string, optional)


Source: https://docs.sherpo.io/customer-api/reference/list-product-prompts/index.md
