Training Datasets

training_datasets

Methods

Create Training Dataset ->
post/v4/training-datasets

Create Training Dataset

Delete Training Dataset ->
delete/v4/training-datasets/{training_dataset_id}

Description

Deletes a training dataset

Details

This API can be used to delete a training dataset by ID. To use this API, pass in the id that was returned from your Create Training Dataset API call as a path parameter.

List Training Datasets -> PageResponse<>
get/v4/training-datasets

Description

Lists all training datasets accessible to the user.

Details

This API can be used to list training datasets. If a user has access to multiple accounts, all training datasets from all accounts the user is associated with will be returned.

Get Training Dataset ->
get/v4/training-datasets/{training_dataset_id}

Description

Gets the details of a training dataset

Details

This API can be used to get information about a single training dataset by ID. To use this API, pass in the id that was returned from your Create Training Dataset API call as a path parameter.

Review the response schema to see the fields that will be returned.

Domain types

PaginatedTrainingDatasets = { current_page, items, items_per_page, 1 more... }
TrainingDataset = { id, account_id, created_at, 4 more... }
TrainingDatasetGenerationItem = { input, output, schema_type }

training_datasets.contents

Methods

Get Training Dataset Contents -> TopLevelArray<>
get/v4/training-datasets/{training_dataset_id}/contents

Get Training Dataset Contents