Skip to main content
GET
TypeScript SDK

Authorizations

Authorization
string
header
required

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

trainingRunId
string
required

ID of the training run, with prefix trn..

Pattern: ^trn\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
metricKey
string
required

Metric key from metrics[].key returned by the latest-metrics endpoint.

Required string length: 1 - 250

Query Parameters

resolution
integer
default:200

Requested number of sampled history points, from 2 to 500; defaults to 200.

Required range: 2 <= x <= 500

Response

Metric history sampled to the requested resolution

The history of one training run metric, sampled to the requested resolution.

key
string
required

Metric key accepted by the metric-history endpoint.

Required string length: 1 - 250
metric
enum<string> | null
required

Normalized metric name, or null when this key has no recognized metric name.

Available options:
training_loss,
validation_loss,
learning_rate,
training_token_accuracy,
validation_token_accuracy
points
object[]
required

Metric values sampled to the requested resolution.

Maximum array length: 500
truncated
boolean
required

Whether metric points were omitted from this response.