The metric series of the latest attempt (or `attemptId`) for a chart: one series per phase, downsampled to at most `maxPoints` points by step buckets that keep each bucket's lowest, highest and last point, always with the first, last and lowest-loss point. One bounded response.
GET
/v1/training-jobs/{trainingJobId}/metric-seriescurl -X GET 'https://api.embodiflow.io/v1/training-jobs/{trainingJobId}/metric-series' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- trainingJobIdstringrequired
Query parameters
- maxPointsinteger
The most points each phase's series returns. A longer series is downsampled by step buckets that keep each bucket's lowest, highest and last point, and always the first, last and lowest-loss point. Default 500, 10..2000; over the maximum is refused, never clamped.
- attemptIdstring (uuid)
- fromStepnumber
- toStepnumber
Responses
Success
- dataobjectrequired
- trainingAttemptIdstring | nullrequired
- maxPointsnumberrequired
- phasesarray<TrainingMetricPhaseSeriesDto>required
Response example
{
"data": {
"trainingAttemptId": "string",
"maxPoints": 0,
"phases": [
{
"phase": "string",
"totalPoints": 0,
"firstStep": 0,
"lastStep": 0,
"downsampled": false,
"bucketWidth": 0,
"best": {
"step": 0,
"loss": 0
},
"points": [
{
"id": "string",
"trainingAttemptId": "string",
"step": 0,
"phase": "string",
"metrics": {},
"recordedAt": "string"
}
]
}
]
}
}Servershttps://api.embodiflow.io/v1