---
title: "Get dataset version by hash"
method: GET
path: "/v1/private/datasets/{id}/versions/hash/{versionHash}"
tags: ["Datasets"]
---

# Get dataset version by hash

`GET /v1/private/datasets/{id}/versions/hash/{versionHash}`

## Request

- Base URL: `http://localhost:5173/api`
- URL: `http://localhost:5173/api/v1/private/datasets/{id}/versions/hash/{versionHash}`
- Auth: none declared

Get a specific version by its version hash

## Path parameters

- `versionHash` string, required
- `id` string, uuid, required

## Response `200`

Dataset version

- DatasetVersionPublic
  - `id` string, uuid
  - `dataset_id` string, uuid
  - `version_hash` string
  - `tags` string[]
  - `is_latest` boolean: Indicates whether this is the latest version of the dataset
  - `version_name` string: Sequential version name formatted as 'v1', 'v2', etc.
  - `items_total` integer: Total number of items in this version
  - `items_added` integer: Number of items added since last version
  - `items_modified` integer: Number of items modified since last version
  - `items_deleted` integer: Number of items deleted since last version
  - `change_description` string
  - `metadata` object
  - `evaluators` EvaluatorItemPublic[]: Default evaluators for items in this version
    - `name` string, required
    - `type` 'llm_judge' | 'code_metric', required
    - `config` JsonNodePublic, required
  - `execution_policy` ExecutionPolicyPublic: Default execution policy for items in this version
    - `runs_per_item` integer
    - `pass_threshold` integer
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string

## Other responses

- `404`: Version not found

## Changes

- **2026-10-20** `ea2f109f562f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/datasets/:id/versions/hash/:versionHash/get.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) - [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/comet-ml/apis/opik-rest-api/revisions/0067fada8962?raw)
