# Fetch a specific eval suite version

GET

/v1/eval-suites/{suiteId}/versions/{version}

```sh
curl --request GET \
  --url https://example.com/v1/eval-suites/example/versions/example \
  --header 'Authorization: Bearer <token>'
```

## Authorizations

- **[bearerAuth](https://docs.kindgi.com/v0.1.8/reference/api.md#bearerauth)**

## Parameters

### Path Parameters

**suiteId**

required

string

\>= 1 characters

EvalSuiteId — stable string chosen by the caller (e.g. `acme.drafting-accuracy`).

**version**

required

string

/^\d+\\.\d+\\.\d+$/

Semver version string of the eval suite (e.g. `1.2.0`).

## Responses

### 200

Eval suite at that version.

application/json

object

**id**

required

string

\>= 1 characters

**tenantId**

required

string format: uuid

**projectId**

The test set’s project: every version of a test set is in the one project. Absent when the runtime doesn’t record it: a pack `kindgi dev` serves from disk, or a runtime before Kindgi 0.1.6.

string format: uuid

**version**

required

Semver — publishing a modified suite produces a new version.

string

/^\d+\\.\d+\\.\d+$/

**kind**

required

string

Allowed values: accuracy pairwise regression human-review benchmark custom judged

**description**

string

**spec**

required

Kind-specific suite body. For `accuracy`, typically `{ cases: [{ input, expectedOutput }], grader?: { adapterId, config? } }`. For `pairwise`, typically `{ prompts, variantA, variantB }`. For `regression`, typically `{ baseline, cases }`. For `human-review`, typically `{ rubric, reviewerRole }`. For `benchmark`, typically `{ benchmark: { name, version } }`. For `custom`, typically `{ handler: { modulePath, entrypointPath }, cases }`.

object

**_key_**

additional properties

any

**unregisteredAt**

Present only on an unregistered version: one `GET …/versions?includeTombstoned=true` lists, or a retired test set (every version unregistered) as `GET /v1/eval-suites?includeRetired=true` lists it.

string format: date-time

##### Example

```json
{
  "kind": "accuracy"
}
```

### 401

Missing / malformed / expired / revoked bearer token.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

### 404

No eval suite at that (id, version) under this tenant.

application/json

object

**error**

required

object

**code**

required

Stable machine-readable discriminant. Values match domain error codes (see `docs/API-ROUTE-CONVENTIONS.md` §4.3).

string

**message**

required

string

**details**

Optional, kind-specific.

object

**_key_**

additional properties

any

**requestId**

required

Server-assigned request id; also echoed via `X-Request-Id` header.

string

##### Examplegenerated

```json
{
  "error": {
    "code": "example",
    "message": "example",
    "details": {},
    "requestId": "example"
  }
}
```

## See also

- [`GET /v1/eval-suites/{suiteId}`: Fetch an eval suite (latest version)](https://docs.kindgi.com/v0.1.8/reference/api/operations/evalsuitesget.md)
- [`GET /v1/eval-suites/{suiteId}/versions`: List versions of an eval suite](https://docs.kindgi.com/v0.1.8/reference/api/operations/evalsuitesversionslist.md)
- [`POST /v1/eval-suites/{suiteId}/versions/from-judgments`: Build a test set from judgments](https://docs.kindgi.com/v0.1.8/reference/api/operations/evalsuitesbuildfromjudgments.md)
- [`GET /v1/eval-suites/{suiteId}/versions/{version}/cases`: List the cases of a judged eval suite version](https://docs.kindgi.com/v0.1.8/reference/api/operations/evalsuiteslistcases.md)
- [Every error code](https://docs.kindgi.com/v0.1.8/reference/errors.md)
