Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Path Parameters

training_project_id
string
required
training_job_id
string
required

Query Parameters

end_epoch_millis
integer | null

Epoch millis timestamp to end fetching metrics

start_epoch_millis
integer | null

Epoch millis timestamp to start fetching metrics.

step_seconds
integer | null

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

Response

200 - application/json

A response to fetch training job metrics. The outer list for each metric represents that metric across time.

gpu_memory_usage_bytes
Gpu Memory Usage Bytes · object
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_utilization
Gpu Utilization · object
required

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

cpu_usage
TrainingJobMetricV1 · object[]
required

The CPU usage measured in cores. For multinode jobs, this is the CPU usage of the leader unless specified otherwise.

cpu_memory_usage_bytes
TrainingJobMetricV1 · object[]
required

The CPU memory usage for the training job. For multinode jobs, this is the CPU memory usage of the leader unless specified otherwise.

ephemeral_storage
StorageMetricsV1 · object
required

The storage usage for the ephemeral storage. For multinode jobs, this is the ephemeral storage usage of the leader unless specified otherwise.

training_job
TrainingJobV1 · object
required

The training job.

cache
StorageMetricsV1 · object | null
required

The storage usage for the read-write cache.

per_node_metrics
TrainingJobNodeMetricsV1 · object[]
required

The metrics for each node in the training job.