v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets the metrics for a training job

Gets the metrics for a training job.

get/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics

Query parameters

end_epoch_millisinteger nullable

Epoch millis timestamp to end fetching metrics

start_epoch_millisinteger nullable

Epoch millis timestamp to start fetching metrics.

step_secondsinteger nullable

Resolution of the returned series, in seconds. When omitted, a step is derived from the time range so large windows return fewer points.

Response

gpu_memory_usage_bytesobject required

A map of GPU rank to memory usage for the training job. For multinode jobs, this is the memory usage of the leader unless specified otherwise.

gpu_utilizationobject required

A map of GPU rank to fractional GPU utilization. For multinode jobs, this is the GPU utilization of the leader unless specified otherwise.

Example response

{
  "training_job": {
    "name": "gpt-oss-job"
  }
}