# Retrieve a collection scoring

`GET /v1/collections/{collection_id}/scorings/{scoring_id}`

Returns the progress of a collection scoring. Poll until `status`
leaves `PROCESSING`: it reaches `COMPLETED` once every image is
scored or unreadable, and `ERROR` if it is still incomplete 30
minutes after the request, with `error_code` saying why.

A scoring of another collection answers
`404 COLLECTION_SCORING_NOT_FOUND`.

## Responses

### 200 — Scoring progress

**application/json**

- **object** — Progress of a scoring. It reaches `COMPLETED` once every image is scored
or unreadable, and `ERROR` if it is still incomplete 30 minutes after the
request.

  - `status` (enum: "PROCESSING" | "COMPLETED" | "ERROR", required) — Lifecycle status shared by asynchronous operations: `PROCESSING` while
work is in flight, then `COMPLETED` or `ERROR`.

  - `scored_images` (integer, required)
  - `total_images` (integer, required)
  - `failed_image_ids` (array<string>, required) — Images whose file could not be read; they count toward `total_images` but are never scored.
    - items:
      - **string**
  - `ready_at` (any, required) — When the scoring completed; `null` until then.
  - `error_code` (any, required) — 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
  - COLLECTION_NOT_FOUND: no such collection in your default workspace
  - COLLECTION_SCORING_NOT_FOUND: no such scoring of this collection


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