curl --request GET \
--url https://api.orq.ai/v2/datasets \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {
"total_versions": 123,
"datapoints_count": 123
},
"created_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2025-12-08T10:34:25.077Z",
"updated": "2025-12-08T10:34:25.079Z"
}
],
"has_more": true
}Retrieves a paginated list of datasets for the current workspace. Results can be paginated using cursor-based pagination.
curl --request GET \
--url https://api.orq.ai/v2/datasets \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {
"total_versions": 123,
"datapoints_count": 123
},
"created_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2025-12-08T10:34:25.077Z",
"updated": "2025-12-08T10:34:25.079Z"
}
],
"has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.
Datasets Retrieved Successfully
list Show child attributes
The unique identifier of the dataset
The display name of the dataset
The unique identifier of the project it belongs to
The unique identifier of the workspace it belongs to
The unique identifier of the user who created the dataset
The unique identifier of the user who last updated the dataset
The date and time the resource was created
The date and time the resource was last updated
Was this page helpful?