Skip to content
SupportLogin
Reference

API Reference

Libraries

pip install adaption

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
Adapt a dataset (deprecated)
Deprecated
POST/api/v1/datasets/{dataset_id}/run
Adapt a dataset (or estimate cost)
POST/api/v1/datasets/{dataset_id}/adapt
Add rows to a dataset from the curated pool
POST/api/v1/datasets/{dataset_id}/augment
Add translated rows to a dataset
POST/api/v1/datasets/{dataset_id}/translate
Add localized rows to a dataset
POST/api/v1/datasets/{dataset_id}/localize
Extend trajectories with a next user turn (or estimate cost)
POST/api/v1/datasets/{dataset_id}/extend-trajectories
Get evaluation results for a dataset
GET/api/v1/datasets/{dataset_id}/evaluation
Generate a dataset from scratch
POST/api/v1/datasets/invent
Delete a dataset
DELETE/api/v1/datasets/{dataset_id}
Best fine-tune launch config for re-launch parity
GET/api/v1/datasets/{dataset_id}/finetune/best-launch-config
Estimate credit cost for document preprocessing
GET/api/v1/datasets/{dataset_id}/preprocessing-credits
Launch document preprocessing
POST/api/v1/datasets/{dataset_id}/launch-preprocessing

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
Initiate a batch upload
POST/api/v1/datasets/upload/initiate-batch
Complete a batch upload and trigger processing
POST/api/v1/datasets/upload/complete-batch

DatasetsCombine

DatasetsCustom Evals

Start a custom-rubric evaluation for an adapted dataset
POST/api/v1/datasets/{dataset_id}/custom-evals
List custom-rubric evaluations for a dataset, newest first
GET/api/v1/datasets/{dataset_id}/custom-evals
Get a single custom-rubric evaluation
GET/api/v1/datasets/{dataset_id}/custom-evals/{custom_eval_id}

Autoscientist

Create an AutoScientist run
POST/api/v1/autoscientist
Recommend hyperparameters
POST/api/v1/autoscientist/recommend-hyperparams
Retrieve an AutoScientist run
GET/api/v1/autoscientist/{experiment_id}
List AutoScientist runs
GET/api/v1/autoscientist
Cancel an AutoScientist run
POST/api/v1/autoscientist/{experiment_id}/cancel
Download the best trained model artifact
GET/api/v1/autoscientist/{experiment_id}/download
List available base models for training
GET/api/v1/autoscientist/models

Training Models

List available base models for training (deprecated)
Deprecated
GET/api/v1/training-models

Responses

Generate a model response
POST/api/v1/responses
Retrieve a model response
GET/api/v1/responses/{response_id}
Delete a model response
DELETE/api/v1/responses/{response_id}

ResponsesInput Items

List response input items
GET/api/v1/responses/{response_id}/input_items

Tools

List host-side tools
GET/api/v1/tools

Models

List supported models
GET/api/v1/models