Quality of a recording: verdict, reasons, gate and summary
GET
/v1/projects/{projectId}/recordings/{recordingId}/qualitycurl -X GET 'https://api.embodiflow.io/v1/projects/{projectId}/recordings/{recordingId}/quality' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"认证
每个请求都需要携带个人访问令牌(PAT)。
- Authorization: Bearer PAT
路径参数
- projectIdstring必填
- recordingIdstring必填
查询参数
- runIdstring
The workflow run whose processing result to read, or `upload` for the upload-time result. Omitted: the recording's current result.
响应
Success
- dataobject必填
- recordingIdstring必填
- runIdstring | null必填
- verdictstring必填可选值failedwarningpassedunchecked
- reasonsarray<string>必填
- summaryobject必填
- gateobject必填
响应示例
{
"data": {
"recordingId": "string",
"runId": "string",
"verdict": "failed",
"reasons": [
"string"
],
"summary": {
"overallStatus": "failed",
"passedCount": 0,
"warningCount": 0,
"failedCount": 0
},
"gate": {
"outcome": "blocked",
"notEvaluatedReason": "never_evaluated",
"workflowRunId": "string",
"policySnapshotHash": "string",
"blockedFileIds": [
"string"
],
"blockedEpisodeCount": 0,
"blockingFindingCount": 0,
"causes": [
{
"findingId": "string",
"checkId": "string",
"bindingIdentity": "string",
"scopeType": "string",
"scopeRef": "string",
"fileId": "string",
"severity": "string",
"message": "string",
"workflowRunId": "string"
}
],
"estimatedSavings": {
"label": "estimate",
"basis": "blocked-files",
"fileCount": 0,
"episodesBlocked": 0,
"totalBytes": 0,
"canonicalizeMinutes": 0,
"annotateMinutes": 0
}
}
}
}服务器https://api.embodiflow.io/v1