datasets

Create

Create a new dataset for a project.

post/projects/{project_id}/datasets

Request

  • Base URL: https://api.humanloop.com/v4
  • URL: https://api.humanloop.com/v4/projects/{project_id}/datasets
  • Auth: API key in header X-API-KEY

Path parameters

project_idstring required

Request body

namestring required

The name of the dataset.

descriptionstring required

The description of the dataset.

Response

Successful Response

idstring required
project_idstring required

Datasets are now files and do not belong to projects. If this dataset was created before that change, the legacy project ID will be provided here, otherwise an empty string will be returned.

namestring required
descriptionstring
datapoint_countinteger required
created_atstring date-time required
updated_atstring date-time required

Changes

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