Skip to main content
POST
Training Status
Returns the status of a training run. Poll it every minute or two. After the run completes, keep polling until data.inference.status is ready; the response then contains the exact request to generate with your LoRA.

Request

Make a POST request to the endpoint below, with the training id from Start Training in the path.

Body

json

Status values

Response

While training

json

Completed and ready to generate

json
data.inference is null until training completes. For FLUX.2 Klein 9B, FLUX.3 Klein and MOSS Image runs it reports failed with This training cannot be prepared for inference., because those LoRAs are not loaded on ModelsLab. Download them from your Hugging Face repo instead.

Path Parameters

training_id
string<uuid>
required

The id returned by the Start Training endpoint.

Body

application/json
key
string
required

Your API key. Get one from https://modelslab.com/dashboard/api-keys.

Response

Current state of the training run.

status
enum<string>
Available options:
success
message
enum<string>

training_started: queued or training. training_completed: finished or stopped. training_cancelled: failed.

Available options:
training_started,
training_completed,
training_cancelled
data
object
id
string<uuid>
fetch_result
string<uri>