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"Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- projectIdstringrequired
- recordingIdstringrequired
Query parameters
- runIdstring
The workflow run whose processing result to read, or `upload` for the upload-time result. Omitted: the recording's current result.
Responses
Success
- dataobjectrequired
- recordingIdstringrequired
- runIdstring | nullrequired
- verdictstringrequiredAllowed valuesfailedwarningpassedunchecked
- reasonsarray<string>required
- summaryobjectrequired
- gateobjectrequired
Response example
{
"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
}
}
}
}Servershttps://api.embodiflow.io/v1