v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
UploadFile:

Cancels the Upload, and will lead to all uploaded parts to be deleted asynchronously. No Parts may be added after an Upload is cancelled.

post/uploads/{upload-id}/cancel

Path parameters

upload-idstring required

The identifier of the upload.

Query parameters

api-versionstring required

The requested API version.

Response

Success

object'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb'

Defines the type of an object.

created_atinteger

A timestamp when this job or item was created (in unix epochs).

idstring

The identity of this item.

bytesinteger
filenamestring
purpose'fine-tune' | 'fine-tune-results' | 'assistants' | 'assistants_output' | 'batch' | 'batch_output' | 'evals' | 'evals_output'

The intended purpose of the uploaded documents. Use "fine-tune" for fine-tuning. This allows us to validate the format of the uploaded file.

status'pending' | 'expired' | 'completed' | 'cancelled'
expires_atinteger