任务生命周期
获取训练任务
通过规范的 Fastino 任务 ID 获取配置训练任务或交互式训练任务。
GET
GET /v1/training/jobs/{job_id}
Returns one config or interactive training job visible to the caller’s team.
For an interactive job, use the job_id returned by
POST /v1/training/jobs/create-model.
Request
string
必填
Your Fastino API key.
string
必填
Canonical Fastino training-job ID.
Response
Shared fields
string
config when Fastino runs the training loop or interactive when the caller
controls the loop through the interactive-job routes.string
Fastino job ID. Both job types return it, so one field reads either; on an
interactive job it is the same value as
job_id.Config job
string
Persisted lifecycle status.
string | null
Stable status for client compatibility.
boolean | null
Whether polling can stop.
integer | null
Current completion percentage from
0 through 100.integer | null
Current 1-indexed epoch.
string | null
Failure details when available.
object | null
Available training metrics. Common keys are
final_training_loss, final_validation_loss, and best_validation_loss. Evaluation metrics are separate and are not guaranteed.boolean | null
Whether an artifact location is available.
boolean | null
Authoritative deployment-readiness decision.
string | null
Why the job is not deployable.
Interactive job
string
Canonical Fastino job ID for the interactive job. Use it in
/v1/training/jobs/{job_id} paths.string
Legacy run ID for the interactive job. It has the same value as
job_id.string
Interactive lifecycle status:
creating, active, stopping, stopped, or failed.string | null
Why the job stopped:
requested, idle_timeout, session_finished, or session_errored.
session_errored means the session ended on an error or interruption,
creation failed, or Fastino’s training loop stopped the job on an error.string | null
Why creation failed when
status is failed. If Fastino’s training loop
stops the job with stop_reason: "session_errored" because its final
checkpoint could not be saved, this is checkpoint_save_failed. Otherwise
it is null.boolean
true when status is stopped or failed.string
Base model used by the interactive training job.
string
Team that owns the interactive job.
boolean
Whether the job trains a LoRA adapter.
boolean
Whether the training state is unusable for further steps.
integer | null
LoRA rank, when applicable.
string
ISO 8601 time of the most recent request to the job.
object | null
Latest training-state checkpoint.
object | null
Latest sampler-weights checkpoint. Checkpoint objects include
checkpoint_id, checkpoint_type, time, tinker_path, size_bytes,
public, user_metadata, and expires_at.object | null
String key-value metadata attached when the interactive job was created.
Interactive job
404. Non-UUID values are treated as
interactive job IDs and return 404 when unavailable.
