> ## 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.

# List the datapoints of a dataset version

> Fetch a snapshot of a dataset's datapoints at a given version, newest first by created_at. Each datapoint has the content it had at that version, even if it was edited later. Deleted datapoints are omitted from all versions, including versions that predate the deletion.



## 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}/datapoints
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}/datapoints:
    get:
      tags:
        - Datasets
      summary: List the datapoints of a dataset version
      description: >-
        Fetch a snapshot of a dataset's datapoints at a given version, newest
        first by created_at. Each datapoint has the content it had at that
        version, even if it was edited later. Deleted datapoints are omitted
        from all versions, including versions that predate the deletion.
      operationId: listDatasetVersionDatapoints
      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
        - in: query
          name: page
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
          description: Page number for pagination
        - in: query
          name: limit
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          description: Number of results per page
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDatasetVersionDatapointsResponse'
        '400':
          description: >-
            Bad request (the version is not a positive integer, or an invalid
            page or limit)
        '404':
          description: >-
            The project holds no such dataset, or the dataset has no such
            version
      security:
        - DataPlaneApiKey: []
components:
  schemas:
    ListDatasetVersionDatapointsResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: array
          items:
            $ref: '#/components/schemas/DatasetVersionDatapoint'
          description: >-
            Datapoints the dataset held at the version, newest first by
            created_at
        pagination:
          $ref: '#/components/schemas/Pagination'
      required:
        - success
        - data
        - pagination
      additionalProperties: false
    DatasetVersionDatapoint:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        inputs:
          type: object
          additionalProperties: {}
        history:
          type: array
          items:
            type: object
            additionalProperties: {}
        ground_truth:
          type:
            - object
            - 'null'
          additionalProperties: {}
        metadata:
          type:
            - object
            - 'null'
          additionalProperties: {}
        linked_event:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When the datapoint was last updated. Equals created_at for a
            datapoint that was never updated. For a datapoint edited after this
            version, this is the time of its last edit at or before the version.
            Otherwise it is the datapoint's current updated_at, which writes to
            fields outside the snapshot also advance. Null on some legacy
            datapoints.
      required:
        - id
        - inputs
        - history
        - ground_truth
        - metadata
        - linked_event
        - created_at
        - updated_at
      additionalProperties: false
    Pagination:
      type: object
      properties:
        page:
          type: integer
          minimum: 1
        limit:
          type: integer
          minimum: 1
        total:
          type: integer
          minimum: 0
        total_unfiltered:
          type: integer
          minimum: 0
        total_pages:
          type: integer
          minimum: 0
        has_next:
          type: boolean
        has_prev:
          type: boolean
      required:
        - page
        - limit
        - total
        - total_unfiltered
        - total_pages
        - has_next
        - has_prev
  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)
- [Datasets Methods](https://docs.honeyhive.ai/v2/sdk-reference/typescript/ref/datasets/index.md)
- [List dataset versions](https://docs.honeyhive.ai/v2/api-reference-autogen/datasets/list-dataset-versions.md)


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