Skip to main content
POST
Cancel fine-tuning job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Response

Successful Response

id
string
required
created_at
integer
required
model
string
required
status
enum<string>
required
Available options:
validating_files,
queued,
running,
succeeded,
failed,
cancelled
training_file
string
required
error
Error · object | null

For fine-tuning jobs that have failed, this will contain more information on the cause of the failure.

finished_at
integer | null
hyperparameters
SupervisedHParameters · object | null
method
SupervisedMethodConfig · object
integrations
(WandbIntegrationResponse · object | MlflowIntegrationResponse · object | HfExportIntegrationResponse · object)[] | null
from_checkpoint
HFCheckpointParametersResponse · object
object
string
default:fine_tuning.job
Allowed value: "fine_tuning.job"
organization_id
string
default:""
result_files
string[]
seed
integer
default:0
suffix
string | null
Maximum string length: 64
trained_tokens
integer | null
validation_file
string | null
estimated_finish
integer | null
trained_steps
integer | null
total_steps
integer | null