curl --request GET \
--url https://api.orq.ai/v2/datasets/{dataset_id}/datapoints \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_id": "<string>",
"workspace_id": "<string>",
"dataset_id": "<string>",
"inputs": {},
"messages": [
{
"role": "system",
"content": "<string>",
"name": "<string>"
}
],
"expected_output": "<string>",
"evaluations": [
{
"id": "<string>",
"evaluation_type": "human_review",
"human_review_id": "<string>",
"reviewed_by_id": "<string>",
"type": "string",
"value": "<string>",
"source": "orq",
"reviewed_at": "2025-12-23T20:49:24.377Z"
}
],
"snapshot_version": "<string>",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created": "2025-12-23T20:49:10.444Z",
"updated": "2025-12-23T20:49:10.445Z"
}
],
"has_more": true
}Retrieves a paginated list of datapoints from a specific dataset.
curl --request GET \
--url https://api.orq.ai/v2/datasets/{dataset_id}/datapoints \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_id": "<string>",
"workspace_id": "<string>",
"dataset_id": "<string>",
"inputs": {},
"messages": [
{
"role": "system",
"content": "<string>",
"name": "<string>"
}
],
"expected_output": "<string>",
"evaluations": [
{
"id": "<string>",
"evaluation_type": "human_review",
"human_review_id": "<string>",
"reviewed_by_id": "<string>",
"type": "string",
"value": "<string>",
"source": "orq",
"reviewed_at": "2025-12-23T20:49:24.377Z"
}
],
"snapshot_version": "<string>",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created": "2025-12-23T20:49:10.444Z",
"updated": "2025-12-23T20:49:10.445Z"
}
],
"has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the dataset
A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
1 <= x <= 200A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include after=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the next page of the list.
A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include before=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the previous page of the list.
Was this page helpful?