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"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
路径参数
- trainingJobIdstring必填
查询参数
- 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
响应
Success
- dataobject必填
- trainingAttemptIdstring | null必填
- maxPointsnumber必填
- phasesarray<TrainingMetricPhaseSeriesDto>必填
响应示例
{
"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"
}
]
}
]
}
}服务器https://api.embodiflow.io/v1