v1

latestOpenAPI 3.1.02026-07-173384141.4 KB
datasets

post/documents/v2/datasets

Request body

namestring required

The name of the dataset.

The name can only contain alphanumeric characters, hyphens, and underscores.

The name must be unique within the organization and project context.

descriptionstring nullable

A description of the dataset.

This field is optional and can be used to provide additional context about the dataset.

Example request

{
  "name": "invoices dataset",
  "description": "This dataset contains all invoices from 2023."
}

Response

Dataset created successfully

namestring required

The human-readable name of the dataset provided during creation.

dataset_idstring required

The unique identifier for the dataset.

This identifier is used to refer to the dataset in API endpoints and operations.

This value is automatically generated and is unique within the organization and project context.

created_atstring required

The date and time when the dataset was created.

The date is in RFC 3339 format (e.g., "2023-10-01T12:00:00Z").

Example response

{
  "name": "invoices dataset",
  "dataset_id": "dataset_12345",
  "created_at": "2023-10-01T12:00:00Z"
}