Skip to content
Get started

API Reference

Libraries

npm install git+ssh://git@github.com:stainless-sdks/adaption-typescript.git
pip install git+ssh://git@github.com/stainless-sdks/adaption-python.git

API Overview

Datasets

Get a dataset by ID
GET/api/v1/datasets/{dataset_id}
List datasets
GET/api/v1/datasets
Get the processing status of a dataset
GET/api/v1/datasets/{dataset_id}/status
Download the processed dataset
GET/api/v1/datasets/{dataset_id}/download
Publish a dataset to an external platform
POST/api/v1/datasets/{dataset_id}/publish
Start an augmentation run (or estimate cost)
POST/api/v1/datasets/{dataset_id}/run
Get evaluation results for a dataset
GET/api/v1/datasets/{dataset_id}/evaluation

DatasetsUpload

Initiate a dataset upload
POST/api/v1/datasets/upload/initiate
Complete a dataset upload and trigger processing
POST/api/v1/datasets/upload/complete
Complete a file upload and trigger processing
POST/api/v1/datasets/{dataset_id}/upload/complete