Skip to main content
POST
Approve a dataset proposal and finalize it

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

job_id
string<uuid>
required

Dataset job ID.

Body

application/json

Approve a proposed dataset and queue finalization.

edits
DatasetEdits · object | null

Edits the user wants applied before the dataset is finalized.

auto_train
boolean
default:false

If true, kick off a fine-tune training job once the dataset is finalized. Chaining lands with the training vertical.

Response

Successful Response

Response returned by the approval endpoint.

job_id
string<uuid>
required
status
enum<string>
required

Lifecycle of a fine-tuning dataset job.

Available options:
running,
pending_approval,
failed,
approved,
materializing,
complete
example_count
integer
required
approved_dataset_s3
string | null
training_job_id
string<uuid> | null

Fine-tune training job chained from this dataset, when auto_train is true.

message
string | null