v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Reconstructs queue context for a training job

Returns the (org, gpu_type) capacity pool the job was gated by, jobs that were holding GPU capacity in that pool when this job was submitted, and every TrainingJobStatus event in [submitted_at, released_at] for those jobs, useful for understanding why a job sat in PENDING. Caller must be an org admin and the job must belong to the caller's org.

get/v1/training/jobs/{training_job_id}/queue_context

Response

target_job_idstring required

Hashid of the target training job

target_job_namestring nullable

Target job's name

gpu_typestring required

GPU type the target requested

requested_gpusinteger required

GPUs the target requested (gpu_count * effective_node_count)

submitted_atstring date-time required

When the job row was inserted (= API POST time)

released_atstring date-time nullable

When the job's TRAINING_JOB_CREATED status was set, i.e. the moment it was released from PENDING. None if still PENDING.

pending_secondsinteger nullable

released_at - submitted_at in seconds. None if still PENDING.

events_window_endstring date-time required

released_at if set, else 'now' (events ongoing)