v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-22216424765.0 KB
gateway.openapi_Gateway

Create Dataset

post/v1/accounts/{account_id}/datasets

Path parameters

account_idstring required

The Account Id

Request body

datasetIdstring required
sourceDatasetIdstring
filterstring

Response

A successful response.

namestring
displayNamestring
createTimestring date-time
state'STATE_UNSPECIFIED' | 'UPLOADING' | 'READY'
exampleCountstring int64
userUploadedGatewayUserUploaded
evalProtocolGatewayEvalProtocol
externalUrlstring
format'FORMAT_UNSPECIFIED' | 'CHAT' | 'COMPLETION' | 'RL'
createdBystring

The email address of the user who initiated this fine-tuning job.

updateTimestring date-time

The update time for the dataset.

sourceJobNamestring

The resource name of the job that created this dataset (e.g., batch inference job). Used for lineage tracking to understand dataset provenance.

estimatedTokenCountstring int64

The estimated number of tokens in the dataset.

averageTurnCountnumber float

An estimate of the average number of turns per sample in the dataset.