---
title: "Returns the paged prompts of a benchmark."
method: GET
path: "/benchmark/{benchmarkId}/prompts"
tags: ["Benchmark"]
---

# Returns the paged prompts of a benchmark.

`GET /benchmark/{benchmarkId}/prompts`

## Path parameters

- `benchmarkId` string, required

## Query parameters

- `page` integer
- `page_size` integer
- `sort` string[]
- `id` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `created_at` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `identifier` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `english_prompt` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `original_prompt` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `tag_values` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `tag_categories` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `origin_source` object
  - `eq` string
  - `neq` string
  - `gt` string
  - `gte` string
  - `lt` string
  - `lte` string
  - `contains` string
  - `starts_with` string
  - `ends_with` string
  - `in` string[]
  - `not_contains` string
- `logic` 'and' | 'or'

## Response `200`

OK

- GetPromptsByBenchmarkEndpointPagedResultOfOutput
  - `total` integer, required
  - `page` integer, required
  - `pageSize` integer, required
  - `items` GetPromptsByBenchmarkEndpointOutput[], required
    - `id` string, required — The unique identifier of the prompt.
    - `englishPrompt` string, nullable — The prompt text translated to English.
    - `originalPrompt` string, nullable — The prompt text as originally provided.
    - `promptAsset` union
      - object
        - `_t` 'FileAsset', required
        - `fileName` string, required
        - `metadata` MetadataModelCollection, required
        - `identifier` string, required
      - object
        - `_t` 'MultiAsset', required
        - `assets` IAsset[], required
        - `metadata` MetadataModelCollection, required
        - `identifier` string, required
      - object
        - `_t` 'NullAsset', required
        - `metadata` MetadataModelCollection, required
        - `identifier` string, required
      - object
        - `_t` 'TextAsset', required
        - `text` string, required
        - `metadata` MetadataModelCollection, required
        - `identifier` string, required
    - `identifier` string, required — The identifier associated with the prompt.
    - `createdAt` string, date-time, required — The timestamp when the prompt was created.
    - `tags` Tag[], required — The tags associated with the prompt, each with an optional category.
      - `value` string, required
      - `category` string, nullable
    - `origin` Origin
      - `source` string, required
  - `totalPages` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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