Skip to main content

Dataset

str
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
str
The date and time when the dataset was created, expressed in ISO 8601 format.
Dict
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.
Optional[str]
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
Optional[str]
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
Optional[List[DatasetItemDict]]
An optional list of items contained within the dataset. Each item in the list is a dictionary representing a specific data entry in the dataset.

Create a dataset

Params

Optional[str]
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
Optional[str]
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
Optional[str]
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.

Response

Dataset
Return a Dataset

Update a dataset

Params

str
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.
Optional[str]
An optional name for the dataset. This can be used to give a descriptive, human-readable title to the dataset for easier identification.
Optional[str]
An optional description field that can provide more detailed information about the dataset, such as its purpose, contents, or specific characteristics.
Optional[str]
A dictionary containing additional data associated with the dataset. This can include user-defined key-value pairs that provide more context or details about the dataset.

Response

Dataset
Return a Dataset

Get a dataset

Params

str
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.

Response

Dataset
Return a Dataset

Delete a dataset

Params

str
The unique identifier of the dataset. This is an immutable field generated when the dataset is created.

Response

Dataset
Return a Dataset

DatasetItem

str
The unique identifier of the dataset item. Each item within a dataset has its own unique ID.
str
The date and time when the dataset item was created, expressed in ISO 8601 format.
str
The identifier of the dataset to which this item belongs. Links the item to its parent dataset.
Dict
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.
Dict
The input data for this dataset item. Typically contains the parameters or information that forms the LLM request.
Optional[Dict]
The optional output data for this dataset item. Represents the result or outcome associated with the item’s input.
Optional[List[Dict]]
An optional list of intermediary steps involved in the output. This can include any processing steps or intermediate results. They are automatically generated when using “steps” to build a dataset.

Create a dataset item

Params

str
The identifier of the dataset to which this item belongs.
Dict
The input data for this dataset item. Typically contains the parameters or information that forms the LLM request.
Optional[Dict]
The optional output data for this dataset item. Represents the result or outcome associated with the item’s input.
Optional[Dict]
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.

Response

DatasetItem
Return a DatasetItem

Add a step to a dataset

Params

str
The identifier of the dataset to which this item belongs.
str
The identifier of the step created beforehand.
Optional[Dict]
A dictionary containing additional data associated with this dataset item. This can include specific details relevant to the item.

Response

DatasetItem
Return a DatasetItem

Get a dataset item

Params

str
The unique identifier of the dataset item. Each item within a dataset has its own unique ID.

Response

DatasetItem
Return a DatasetItem

Delete a dataset item

Params

str
The unique identifier of the dataset item. Each item within a dataset has its own unique ID.

Response

DatasetItem
Return a DatasetItem