Dataset Items
Retrieves multiple dataset items.
The page number.
1The page size.
10Search term to filter dataset items by name or description.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
Retrieves all dataset items for the workspace.
A UUID v4 string that identifies an entity.
The dataset ID associated with the dataset item.
The internal description of the dataset item.
The file payload or file reference associated with the dataset item.
The display name of the dataset item.
The processing status of the dataset item.
Unauthorized.
GET /api/v1/dataset-items?datasetId=text HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
[
{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2026-01-01T00:00:00.000Z",
"datasetId": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"file": "text",
"name": "text",
"status": "pending"
}
]Creates a new dataset item.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The dataset ID associated with the dataset item.
A base64 encoded string with prefix.
^data:.*;base64,The display name of the dataset item. Required when preserveName is true; ignored otherwise.
When true, stores the provided name instead of generating a title from the document content.
The dataset item was created.
A UUID v4 string that identifies an entity.
The dataset ID associated with the dataset item.
The internal description of the dataset item.
The file payload or file reference associated with the dataset item.
The display name of the dataset item.
The processing status of the dataset item.
Invalid dataset item configuration.
Unauthorized.
Plan limit exceeded.
Dataset not found.
POST /api/v1/dataset-items HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"datasetId": "123e4567-e89b-12d3-a456-426614174000",
"file": "text",
"name": "text",
"preserveName": true
}{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2026-01-01T00:00:00.000Z",
"datasetId": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"file": "text",
"name": "text",
"status": "pending"
}Retrieves a dataset item.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
Retrieves a dataset item.
A UUID v4 string that identifies an entity.
The dataset ID associated with the dataset item.
The internal description of the dataset item.
The file payload or file reference associated with the dataset item.
The display name of the dataset item.
The processing status of the dataset item.
Unauthorized.
Dataset item not found.
GET /api/v1/dataset-items/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2026-01-01T00:00:00.000Z",
"datasetId": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"file": "text",
"name": "text",
"status": "pending",
"content": "text"
}Removes a dataset item.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The dataset item was removed.
An informative message for a call that has no effective result to be returned.
Unauthorized.
Dataset item not found.
DELETE /api/v1/dataset-items/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Accept: */*
{
"message": "text"
}Updates a dataset item.
A UUID v4 string that identifies an entity.
The API key to use for authentication. Can be created in the api keys section on the workspace settings page.
The internal description of the dataset item.
The file payload or file reference associated with the dataset item.
The display name of the dataset item.
The processing status of the dataset item.
The dataset item was updated.
A UUID v4 string that identifies an entity.
The dataset ID associated with the dataset item.
The internal description of the dataset item.
The file payload or file reference associated with the dataset item.
The display name of the dataset item.
The processing status of the dataset item.
Invalid dataset item configuration.
Unauthorized.
Plan limit exceeded.
The dataset item was not found.
PATCH /api/v1/dataset-items/{id} HTTP/1.1
Host: api.endless.zaia.app
authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"description": "text",
"file": "text",
"name": "text",
"status": "pending",
"content": "text"
}{
"createdAt": "2026-01-01T00:00:00.000Z",
"id": "123e4567-e89b-12d3-a456-426614174000",
"updatedAt": "2026-01-01T00:00:00.000Z",
"datasetId": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"file": "text",
"name": "text",
"status": "pending"
}Last updated