Skip to main content
Return the latest recorded value of each metric for the run, including its step and timestamp.

Signature

Method signature on client.trainings:

Parameters

string
required
ID of the training run, with prefix trn..

Returns

Promise<TrainingRunMetrics> The latest value of each metric reported for this training run.
boolean
required
Whether metrics can currently be read for this run.
"not_configured" | "unresolved" | null
required
Reason metrics are unavailable: not_configured when metric access is disabled or unresolved when the run cannot yet be found; null when available.
boolean
required
Whether metric keys or points were omitted from this response.
object[]
required
Latest available value for each metric key.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: GET /training-runs/{trainingRunId}/metrics.