---
title: "Retrieve a datapoint"
method: GET
path: "/v2/datasets/{dataset_id}/datapoints/{datapoint_id}"
tags: ["Datasets"]
---

# Retrieve a datapoint

`GET /v2/datasets/{dataset_id}/datapoints/{datapoint_id}`

## Request

- Base URL: `https://my.orq.ai`
- URL: `https://my.orq.ai/v2/datasets/{dataset_id}/datapoints/{datapoint_id}`
- Auth: HTTP bearer

Retrieves a datapoint object.

## Path parameters

- `dataset_id` string, required
- `datapoint_id` string, required

## Response `200`

OK

- Datapoint: A datapoint stores the inputs, messages, and expected output used in dataset evaluations.
  - `inputs` object: Structured variables passed to the prompt or workflow.
  - `messages` unknown[]: A JSON array containing dynamically typed values.
    - unknown
  - `expected_output` string: Reference output expected for this datapoint.
  - `evaluations` unknown[]: A JSON array containing dynamically typed values.
    - unknown
  - `dataset_id` string, required: Dataset that owns the datapoint.
  - `snapshot_version` string: Dataset snapshot version that includes the datapoint.
  - `created_by_id` string, required: Account that created the datapoint.
  - `updated_by_id` string, required: Account that last updated the datapoint.
  - `created` string: RFC3339 timestamp when the datapoint was created.
  - `updated` string: RFC3339 timestamp when the datapoint was last updated.
  - `workspace_id` string: Workspace that owns the datapoint, derived from the authentication context.
  - `_id` string, required: Unique datapoint identifier.

## Other responses

- `401`: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
- `404`: The resource does not exist. See https://docs.orq.ai/reference/errors for the error codes.

## Changes

> 554 revisions in range; 71 not diffed.

- **2026-10-23** `0b4e519a544f`: 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
- **2026-10-23** `732aed62833a`: 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2026-10-22** `4f826b2c3a0e`: 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
- **2026-10-22** `8f0dc569f247`: 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
- **2026-10-21** `08b800d640e6`: 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/datasets/:dataset_id/datapoints/:datapoint_id/get.md)

---

[API](https://skmtc.dev/orq-ai/apis/orq-ai-api.md) - [All operations](https://skmtc.dev/orq-ai/apis/orq-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/orq-ai/apis/orq-ai-api/revisions/928a71e92252?raw)
