Skip to main content
POST
Upload training file

Authorizations

Authorization
string
header
required

Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.

Body

multipart/form-data
file
file
required

Response

The uploaded file.

id
string
provider_file_id
string

Opaque upstream file id. Pass this as trainingFileId when creating a job.

filename
string
bytes
integer
purpose
string

Always "fine-tune" for files uploaded here.

created_at
string