> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a dataset version

> Get one version of a dataset, with the number of datapoints it added, edited, and removed.



## OpenAPI

````yaml https://raw.githubusercontent.com/honeyhiveai/honeyhive-openapi/main/data_plane_openapi.yaml get /v1/projects/{project_id}/datasets/{dataset_id}/versions/{dataset_version}
openapi: 3.1.0
info:
  title: HoneyHive Data Plane API
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: 1.21.0
servers:
  - url: https://api.dp1.us.honeyhive.ai
security: []
tags:
  - name: Charts
    description: >
      Define and manage saved charts. Charts are visualizations that aggregate
      metrics over time with bucketing, filters, and groupings.
  - name: Configurations
    description: >
      Manage prompt configurations, i.e. model parameters, message templates,
      and response settings that can be versioned and deployed without code
      changes.
  - name: Data Plane Api Keys
    description: >
      Create fine-grained data plane API keys for a project from a provisioning
      flow, using an organization-rooted key that is permitted to create keys.
  - name: Datapoints
    description: >
      Manage individual records inside datasets, including batch creation and
      mapping to source events.
  - name: Datasets
    description: >
      Curate collections of datapoints used as test sets for evaluations and
      experiments.
  - name: Evaluators
    description: >
      Manage project-scoped evaluator definitions, immutable versions,
      publication and archival. Requires a fine-grained data plane API key.
  - name: Events
    description: >
      Read and write trace events. Events are the spans that capture every step
      of an AI application's execution.
  - name: Experiments
    description: >
      Run, retrieve, and compare evaluation runs to measure how prompt or
      configuration changes affect agent performance.
  - name: Ingestion Api Keys
    description: >
      Create ingestion API keys for a project from a provisioning flow, using an
      organization-rooted data plane key that is permitted to create keys. An
      ingestion key is the credential an application sends traces with.
  - name: Metric Versions
    description: >
      Snapshot, list, and deploy versions of a metric's definition so changes
      can be reviewed and rolled back without losing history.
  - name: Metrics
    description: >
      Define and run evaluators, i.e. automated quality checks that score traces
      against criteria like accuracy, safety, or correctness.
  - name: Queues
    description: >
      Manage annotation queues for human review of traces, turning expert
      feedback into labeled datasets.
  - name: Sessions
    description: >
      Group related trace events into sessions, the top-level container for a
      multi-step or multi-service AI interaction.
paths:
  /v1/projects/{project_id}/datasets/{dataset_id}/versions/{dataset_version}:
    get:
      tags:
        - Datasets
      summary: Get a dataset version
      description: >-
        Get one version of a dataset, with the number of datapoints it added,
        edited, and removed.
      operationId: getDatasetVersion
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            type: string
          description: The unique identifier of the project that owns the dataset
        - in: path
          name: dataset_id
          required: true
          schema:
            type: string
          description: The unique identifier of the dataset
        - in: path
          name: dataset_version
          required: true
          schema:
            type: integer
            minimum: 1
            maximum: 2147483647
          description: The version number
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDatasetVersionResponse'
        '400':
          description: Bad request (the version is not a positive integer)
        '404':
          description: >-
            The project holds no such dataset, or the dataset has no such
            version
      security:
        - DataPlaneApiKey: []
components:
  schemas:
    GetDatasetVersionResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/DatasetVersion'
      required:
        - success
        - data
      additionalProperties: false
    DatasetVersion:
      type: object
      properties:
        dataset_id:
          type: string
          minLength: 1
        version:
          type: integer
          minimum: 1
          maximum: 2147483647
        added:
          type: integer
          minimum: 0
          description: Datapoints added in this version
        edited:
          type: integer
          minimum: 0
          description: Datapoints whose content changed in this version
        removed:
          type: integer
          minimum: 0
          description: Datapoints removed in this version
        created_at:
          type: string
          format: date-time
          description: >-
            When the version was recorded. Version 1 of a dataset that held
            datapoints before versioning carries the dataset's created_at.
        created_by_actor_type:
          type:
            - string
            - 'null'
          description: >-
            Type of the authenticated actor whose request recorded the version,
            such as USER or FINE_GRAINED_API_KEY_DP. Null for version 1 of a
            dataset that held datapoints before versioning.
        created_by_actor_id:
          type:
            - string
            - 'null'
          description: >-
            Id of that actor: the user id, or the API key id. Null when
            created_by_actor_type is null.
        label:
          type:
            - string
            - 'null'
          description: >-
            A short note describing the version, such as what changed in it.
            Null when the version has none.
      required:
        - dataset_id
        - version
        - added
        - edited
        - removed
        - created_at
        - created_by_actor_type
        - created_by_actor_id
        - label
      additionalProperties: false
  securitySchemes:
    DataPlaneApiKey:
      type: http
      scheme: bearer
      description: >-
        A fine-grained data plane API key (values begin with `hh_fgdp_`). Rooted
        at an organization, workspace, or project, it carries the permissions
        chosen when it was created, and only the operations whose paths begin
        with `/v1/projects/{project_id}/` accept it. Create one in the HoneyHive
        app under the project's, workspace's, or organization's **Settings → API
        Keys**, on the **Data Plane** tab.

````

## Related topics

- [Datasets](https://docs.honeyhive.ai/v2/cli-reference/ref/datasets.md)
- [GetDatasetVersionRequest](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/datasets/GetDatasetVersionRequest.md)
- [GetDatasetVersionResponse](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/datasets/GetDatasetVersionResponse.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.