Datasets

Create a dataset

Creates an empty dataset record (dst_...) and reserves its S3 prefix, then links it into the team's datasets map. The dataset holds no data yet: upload it with POST /dataset/{dataset_id}/presigned_url followed by POST /dataset/{dataset_id}/mutation.

Once populated, the dataset is readable from a workflow through the load_dataset operation.

post/dataset

Request

  • Base URL: https://api.indexone.io
  • URL: https://api.indexone.io/dataset
  • Auth: API key in header x-api-key and API key in header Authorization

Request body

namestring
descriptionstring
team_idstring

Owning team.

get_presigned_urlboolean

Also return an upload slot under presigned_url in the same call, skipping POST /dataset/{dataset_id}/presigned_url. Send file_type (and optionally file_name) alongside it; file_type defaults to text/csv.

Response

The created dataset, wrapped alongside the updated team record.

datasetobject
team_dataobject
presigned_urlobject

Only when get_presigned_url was true.

Changes

No recorded changes to this operation across all 1 revision of this API.