# List a benchmark's scorings

`GET /v1/benchmarks/{benchmark_id}/scorings`

Lists the scorings of the benchmark's own images, one per product
category: requesting a scoring again for a category replaces that
category's scoring. Newest request first, then by scoring id. Page
with `limit` and `offset`; the `Vizit-Total-Count` response header
carries the number of scorings.

Scorings of a collection against this benchmark are not listed.
`benchmark_id` is always this benchmark and `retailer` is always
`null`. A scoring that ended in `ERROR` carries `error_code`.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | no | integer | Number of items to return. |
| `offset` | query | no | integer | Number of items to skip. |

## Responses

### 200 — A page of scorings

**application/json**

- **array**
  - items:
    - **object** — A scoring of a benchmark's or collection's images under one product
category: an item of a benchmark's scorings list, or the `last_scoring` of
a benchmark or collection. Exactly one of `benchmark_id` or `retailer` is
set.

      - `id` (string, required) — The scoring id.
      - `benchmark_id` (any, required) — The custom benchmark scored against; `null` when `retailer` is set.
      - `retailer` (any, required) — The retailer whose Vizit benchmark was scored against; `null` for a custom benchmark.
      - `product_category_id` (string, required)
      - `product_category_name` (string, required)
      - `status` (enum: "PROCESSING" | "COMPLETED" | "ERROR", required) — Lifecycle status shared by asynchronous operations: `PROCESSING` while
work is in flight, then `COMPLETED` or `ERROR`.

      - `requested_at` (string, required)
      - `ready_at` (any, required) — When the scoring completed; `null` until then.
      - `error_code` (any) — Why the scoring failed; `null` unless `status` is `ERROR`.

### 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 — Check `error_code`:
  - NOT_FOUND: custom benchmarks are not enabled for your organization
  - BENCHMARK_NOT_FOUND: no such custom benchmark in your default workspace, including a Vizit benchmark id


**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
