Skip to main content
POST
Create a dataset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
display_name
string
required

The display name of the dataset

Required string length: 1 - 128
path
string
required

Entity storage path.

With workspace-level API keys, use the format project/folder/subfolder/.... The first element identifies the project, followed by nested folders (auto-created as needed). Example: Default/agents.

With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: agents. For backward compatibility, a leading project name is ignored when it matches the scoped project.

Example:

"Default"

Response

200 - application/json

Dataset created successfully. Returns the newly created dataset object.

_id
required

The unique identifier of the dataset

display_name
string
required

The display name of the dataset

Required string length: 1 - 128
project_id
required

The unique identifier of the project it belongs to

workspace_id
required

The unique identifier of the workspace it belongs to

metadata
object
required
created_by_id

The unique identifier of the user who created the dataset

updated_by_id

The unique identifier of the user who last updated the dataset

created
default:2026-08-09T15:34:00.697Z

The date and time the resource was created

updated
default:2026-08-09T15:34:00.697Z

The date and time the resource was last updated