Job lifecycle
List training jobs
Call GET /v1/training/jobs to list config and interactive jobs visible to your account.
GET
GET /v1/training/jobs
Returns config and interactive training jobs visible to the authenticated
account.
Without type, config and interactive jobs are interleaved by created_at,
newest first. If two jobs have the same timestamp, the config job appears
first. Pass type=interactive to list only interactive jobs.
Request
Filter both job types by status. Interactive jobs support
creating, active,
stopping, stopped, and failed; running also matches active, while
errored and error match failed. running, errored, error, stopped,
and failed can match both types. creating, active, and stopping match
only interactive jobs; other config statuses match only config jobs. For
config jobs, status=complete returns jobs persisted as complete,
artifact_ready, or deployed.Response
Every record includesid and created_at. Interactive records also repeat
id in job_id and training_run_id for API and SDK compatibility, and
include status, stop_reason, error_message, and is_terminal_status.
Poll an interactive job by id until the terminal flag is true.
A record with type: "config" and source: "interactive_checkpoint" is the
served model created from an interactive sampler checkpoint. Its config-training
fields, including epochs, batch size, learning rate, and validation percentage,
are null.
422.
See the config-job lifecycle for the complete
set of persisted statuses.
