Get Dataset Data
Get a page of data items in a dataset.
This endpoint retrieves data items (documents, files, etc.) that belong to a specific dataset. Each data item includes metadata such as name, type, creation time, and storage location.
Results are paginated. The response is capped at limit items (100 by
default), so this endpoint stays fast on datasets with many documents; page
through with offset. Use GET /{dataset_id}/data/count for the total.
That total is uncapped; offsets above 1,000,000 are rejected, so datasets
larger than 1,001,000 items cannot be fully traversed by this endpoint.
Concurrent inserts/deletes can shift offsets; this is not a snapshot.
Path Parameters
- dataset_id (UUID): The unique identifier of the dataset
Query Parameters
- limit (int, 1-1000, default 100): Maximum number of items to return
- offset (int, default 0): Number of items to skip
Response
Returns a list of data objects containing:
- id: Unique data item identifier
- name: Data item name
- created_at: When the data was added
- updated_at: When the data was last updated
- extension: File extension
- mime_type: MIME type of the data
- raw_data_location: Storage location of the raw data
- dataset_id: ID of the containing dataset
- label: Label attached to the data item at upload, if any
- external_metadata: Stored metadata dict (upload-provided keys merged over loader-derived ones), if any
Error Codes
- 404 Not Found: Dataset doesn’t exist or user doesn’t have access
- 500 Internal Server Error: Error retrieving data
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Dataset UUID, the id field from GET /api/v1/datasets (not the name)
"b8a7c3de-4f5a-4b6c-8d9e-0f1a2b3c4d5e"
Query Parameters
Maximum number of data items to return.
1 <= x <= 1000Number of data items to skip before returning results.
0 <= x <= 1000000Response
Successful Response