Skip to content

Cancel Finetune Job

POST
/v1/finetune/{job_id}/cancel

Cancel a finetune job.

Stops the training job if it’s still running and triggers credit finalization. Any unused credits from the reserved training hours will be returned.

job_id
required
Job Id
string format: uuid
x-api-key
required
X-Api-Key
string

Finetune job cancelled successfully

FinetuneCancelResponse

Response after cancelling a finetune job.

object
job_id
required
Job Id

Cancelled job ID

string format: uuid
cancelled
required
Cancelled

Whether cancellation was successful

boolean
message
Any of:
string

Invalid or missing API key

ErrorResponse

Standard error response.

object
detail
required
Detail

Error message describing what went wrong

string

Finetune job not found

ErrorResponse

Standard error response.

object
detail
required
Detail

Error message describing what went wrong

string

Validation error