# List custom benchmarks

`GET /v1/benchmarks`

Lists the custom benchmarks in your organization's default workspace,
sorted by `sort_by` and `sort_direction`. Deleted benchmarks and Vizit
benchmarks are never listed. Page with `limit` and `offset`; the
`Vizit-Total-Count` response header carries the number of benchmarks
that match the filters.

Custom benchmarks must be enabled for your organization. Until they
are, every benchmark and collection route answers `404 NOT_FOUND`.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `scope` | query | no | enum: "hero" | "carousel" | Keep benchmarks of this scope. |
| `name_like` | query | no | string | Case-insensitive substring match on the benchmark name. |
| `product_category_id` | query | no | string | Keep benchmarks whose last scoring was under this product category. |
| `sort_by` | query | no | enum: "created_at" | "updated_at" | "name" | Field to sort by. |
| `sort_direction` | query | no | enum: "asc" | "desc" | Sort direction. |
| `limit` | query | no | integer | Number of items to return. |
| `offset` | query | no | integer | Number of items to skip. |

## Responses

### 200 — A page of custom benchmarks

**application/json**

- **array**
  - items:
    - **object** — A custom benchmark: a set of your own images that other images are
ranked against. Custom benchmarks live in your organization's default
workspace.

      - `id` (string, required)
      - `name` (string, required)
      - `description` (any, required)
      - `scope` (enum: "hero" | "carousel", required) — The image type a custom benchmark holds and scores: `hero` or
`carousel`. It is fixed when the benchmark is created.

      - `asset_type` (any, required) — Label for a benchmark of Other carousel assets, such as `Recipe`;
`null` for a hero benchmark or a standard carousel benchmark.

      - `image_count` (integer, required) — Visible images in the benchmark.
      - `minimum_images` (integer, required) — Images needed before the benchmark can score.
      - `recommended_images` (integer, required) — Images recommended for a stable benchmark.
      - `created_at` (string, required)
      - `updated_at` (string, required)
      - `last_scoring` (any, required) — The latest scoring of the benchmark's own images; `null` before the
first one.


### 400 — Check `error_code`:
  - NO_DEFAULT_PORTFOLIO: your organization has no default portfolio
  - NO_DEFAULT_WORKSPACE: your default portfolio has no default workspace


**application/json**

- **object** — Standardized error format for all `/v1/*` endpoints. `error_code` is a
stable SCREAMING_SNAKE_CASE identifier clients can switch on.

  - `detail` (string) — Human-readable error message
  - `status_code` (integer) — HTTP status code
  - `error_code` (string) — Stable machine-readable error code
  - `request_id` (any) — Request identifier for correlation
  - `extra` (any) — Endpoint-specific additional context. For example,
IMAGE_DOWNLOAD_FAILED populates extra.failed_urls with per-URL
failure reasons so clients can triage bulk submissions.

  - `timestamp` (string)

### 401 — Missing or invalid Bearer token

### 404 — Custom benchmarks are not enabled for your organization (error_code NOT_FOUND)

**application/json**

- **object** — Standardized error format for all `/v1/*` endpoints. `error_code` is a
stable SCREAMING_SNAKE_CASE identifier clients can switch on.

  - `detail` (string) — Human-readable error message
  - `status_code` (integer) — HTTP status code
  - `error_code` (string) — Stable machine-readable error code
  - `request_id` (any) — Request identifier for correlation
  - `extra` (any) — Endpoint-specific additional context. For example,
IMAGE_DOWNLOAD_FAILED populates extra.failed_urls with per-URL
failure reasons so clients can triage bulk submissions.

  - `timestamp` (string)

### 422 — Request validation failed (error_code VALIDATION_ERROR)

**application/json**

- **object** — Standardized error format for all `/v1/*` endpoints. `error_code` is a
stable SCREAMING_SNAKE_CASE identifier clients can switch on.

  - `detail` (string) — Human-readable error message
  - `status_code` (integer) — HTTP status code
  - `error_code` (string) — Stable machine-readable error code
  - `request_id` (any) — Request identifier for correlation
  - `extra` (any) — Endpoint-specific additional context. For example,
IMAGE_DOWNLOAD_FAILED populates extra.failed_urls with per-URL
failure reasons so clients can triage bulk submissions.

  - `timestamp` (string)

### 429 — Rate limit exceeded for this organization
