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

# Get dataset by id

`GET /v1/private/datasets/{id}`

Get dataset by id

## Path parameters

- `id` string, uuid, required

## Response `200`

Dataset resource

- DatasetPublic
  - `id` string, uuid
  - `name` string, required
  - `project_id` string, uuid — Project ID. Takes precedence over project_name when both are provided.
  - `type` 'dataset' | 'evaluation_suite'
  - `visibility` 'private' | 'public'
  - `tags` string[]
  - `description` string
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string
  - `experiment_count` integer
  - `dataset_items_count` integer
  - `optimization_count` integer
  - `most_recent_experiment_at` string, date-time
  - `last_created_experiment_at` string, date-time
  - `most_recent_optimization_at` string, date-time
  - `last_created_optimization_at` string, date-time
  - `status` 'unknown' | 'processing' | 'completed' | 'failed'
  - `latest_version` DatasetVersionSummaryPublic — Summary of the latest dataset version
    - `id` string, uuid — Unique identifier of the version
    - `version_hash` string — Hash of the version content
    - `version_name` string — Sequential version name formatted as 'v1', 'v2', etc.
    - `change_description` string — Description of changes in this version
    - `tags` string[] — Tags associated with this version

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
