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. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

gpu_utilization
Gpu Utilization · object
required

A map of GPU rank to the share of time the GPU's streaming multiprocessors have work assigned, from 0 to 1. This counts any GPU work, not only tensor core math; see gpu_tensor_core_utilization for that. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

gpu_temperature_celsius
Gpu Temperature Celsius · object
required

A map of GPU rank to GPU temperature in degrees Celsius. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

gpu_power_usage_watts
Gpu Power Usage Watts · object
required

A map of GPU rank to GPU power draw in watts. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

gpu_tensor_core_utilization
Gpu Tensor Core Utilization · object
required

A map of GPU rank to the share of time the GPU tensor cores are active, from 0 to 1. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

gpu_memory_bandwidth_utilization
Gpu Memory Bandwidth Utilization · object
required

A map of GPU rank to the share of cycles GPU memory is actively reading or writing, from 0 to 1. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

cpu_usage
TrainingJobMetricV1 · object[]
required

The CPU usage measured in cores. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

cpu_memory_usage_bytes
TrainingJobMetricV1 · object[]
required

The CPU memory usage for the training job. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

ephemeral_storage
StorageMetricsV1 · object
required

The storage usage for the ephemeral storage. At the top level of a multinode job this is the leader node; under per_node_metrics it is that node.

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.