A viewer source: viewer kind, presigned files, timeline, overlays
curl -X GET 'https://api.embodiflow.io/v1/projects/{projectId}/viewer-sources/{ref}' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- projectIdstringrequired
- refstringrequired
Viewer source ref: `result:<id>`, `step-output:<stepRunId>:<outputName>[:<itemIndex>]`, `version:<id>`, `export:<id>`, `recording-raw:<id>` or `episodes:<filter>` (the canonical base64url encoding of an episode list filter).
Query parameters
- localestring
UI language of task text; a task only in the other language is marked with it.
Allowed valuesenzh
Responses
Success
- dataobjectrequired
- refstringrequired
- kindstringrequiredAllowed valueslerobotrosview
- originobjectrequired
- readOnlybooleanrequiredAllowed valuestrue
- unavailableobjectrequired
- compareWithobjectrequired
- noticesarray<ViewerSourceNoticeDto>required
- privacyobjectrequired
`blurred`: something was blurred. `checked_none_found`: every frame and still was searched and nothing was blurred. `anonymized_no_counts`: the anonymize step ran but no counts are stored (a result persisted before they were, or a frame or still not processed), so nothing more may be claimed. `not_anonymized`: no anonymize step produced the current result. `residual_faces`: the newest privacy.unblurred_face finding warns or fails; it wins over every anonymized state. Counts are present when stored. `framesBlurred` counts frames with any blurred region and includes licence plates, so it is never a face count: say "blurred in N frames", never "N faces". `stillsBlurred` and `stillsProcessed` count still images, so a recording blurred only in stills has `framesBlurred` 0 and `stillsBlurred` above 0.
- lerobotobject
- rosviewobject
- expiresAtstring | nullrequired
{
"data": {
"ref": "string",
"kind": "lerobot",
"origin": {
"type": "export",
"id": "string",
"label": "string",
"runId": "string",
"stepId": "string",
"versionNumber": 0
},
"readOnly": true,
"unavailable": {
"reason": "recording_in_trash",
"at": "string",
"count": 0,
"detail": "string"
},
"compareWith": {
"ref": "string",
"label": "input"
},
"notices": [
{
"code": "imu_grid_origin_missing",
"compare": "input",
"at": "string",
"permission": "recording:read"
}
],
"privacy": {
"state": "blurred",
"framesBlurred": 0,
"framesProcessed": 0,
"stillsBlurred": 0,
"stillsProcessed": 0
},
"lerobot": {
"files": [
{
"path": "string",
"url": "string",
"sizeBytes": 0,
"contentType": "string",
"etag": "string"
}
],
"episodeScope": [
0
],
"initialEpisodeIndex": 0,
"episodeSet": {
"fps": 0,
"features": {},
"robotType": "string",
"recordings": [
{
"id": "string",
"previewVideoPath": "string"
}
],
"episodes": [
{
"recordingId": "string",
"task": "string",
"fromRow": 0,
"toRow": 0,
"fromS": 0,
"toS": 0,
"meta": {}
}
],
"erasedCount": 0,
"unviewableCount": 0,
"frames": "not_anonymized"
},
"previewVideoPath": "string",
"timeline": {
"fps": 0,
"frameCount": 0
},
"overlays": {
"auxiliarySeries": [
{}
],
"segments": [
{
"id": "string",
"episodeIndex": 0,
"startFrame": 0,
"endFrame": 0,
"task": "string",
"origin": "suggested"
}
],
"markers": [
{
"id": "string",
"episodeIndex": 0,
"startFrame": 0,
"endFrame": 0,
"severity": "info",
"label": "string",
"checkId": "string"
}
]
}
},
"rosview": {
"sources": [
{
"id": "string",
"label": "string",
"origin": "upload",
"files": [
{}
]
}
],
"sourceKey": "string"
},
"expiresAt": "string"
}
}