Get training metric history
Use a value from metrics[].key returned by GET /api/v2-beta/training-runs/{trainingRunId}/metrics as metricKey. Set resolution to choose the number of sampled history points; the default is 200. Returns 404 if the run or metric is unavailable.
Authorizations
Enter ApiKey <your-api-key> in Authorization, including the ApiKey prefix. In cURL and Python samples, <api-key> means this full value. The TypeScript SDK adds the prefix for you.
Path Parameters
ID of the training run, with prefix trn..
^trn\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$Metric key from metrics[].key returned by the latest-metrics endpoint.
1 - 250Query Parameters
Requested number of sampled history points, from 2 to 500; defaults to 200.
2 <= x <= 500Response
Metric history sampled to the requested resolution
The history of one training run metric, sampled to the requested resolution.
Metric key accepted by the metric-history endpoint.
1 - 250Normalized metric name, or null when this key has no recognized metric name.
training_loss, validation_loss, learning_rate, training_token_accuracy, validation_token_accuracy Metric values sampled to the requested resolution.
500Whether metric points were omitted from this response.