Create New Dataset
Create a new dataset or return existing dataset with the same name.
This endpoint creates a new dataset with the specified name. If a dataset with the same name already exists for the user, it returns the existing dataset instead of creating a duplicate. The user is automatically granted all permissions (read, write, share, delete) on the created dataset.
Request Parameters
- dataset_data (DatasetCreationPayload): Dataset creation parameters containing:
- name: The name for the new dataset
Response
Returns the created or existing dataset object containing:
- id: Unique dataset identifier
- name: Dataset name
- created_at: When the dataset was created
- updated_at: When the dataset was last updated
- owner_id: ID of the dataset owner
Error Codes
- 418 I’m a teapot: Error creating dataset
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Name of the dataset to create. If a dataset with this name already exists for the user, the existing dataset is returned instead of creating a duplicate.
"main_dataset"