Start an augmentation run (or estimate cost)
POST/api/v1/datasets/{dataset_id}/run
Validates column mapping and recipe configuration, reserves credits, and starts the augmentation pipeline. Set estimate=true to validate and get a cost quote without starting a run. When the mapped image column is also in context_columns, output rows are billed at 10 credits per 100 rows (1–100 rows cost 10 credits; see multimodalPricingApplied and creditMultiplier on the response).
Body ParametersJSON
Start an augmentation run (or estimate cost)
curl https://api.prod.adaptionlabs.ai/api/v1/datasets/$DATASET_ID/run \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"training_type": "instruction_dataset"
}'{
"estimate": true,
"estimatedCreditsConsumed": 0,
"estimatedMinutes": 0,
"multimodalPricingApplied": true,
"creditMultiplier": 0,
"run_id": "dataset-550e8400-e29b-41d4-a716-446655440000-1712234567890"
}Returns Examples
{
"estimate": true,
"estimatedCreditsConsumed": 0,
"estimatedMinutes": 0,
"multimodalPricingApplied": true,
"creditMultiplier": 0,
"run_id": "dataset-550e8400-e29b-41d4-a716-446655440000-1712234567890"
}