Create a saved episode filter view
POST
/v1/projects/{projectId}/saved-viewscurl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/saved-views' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"filter": {},
"shared": true
}'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- projectIdstringrequired
Header parameters
- Idempotency-Keystring
Optional idempotency key, at most 255 characters (UUIDv4 recommended). A repeated key returns the first response byte-for-byte, including a 5xx. The same key with a different body, or a second in-flight request, returns 409 IDEMPOTENCY_CONFLICT. Keys are unique per tenant and retained for 24 hours.
Request body
Content-Typeapplication/json
- namestringrequired
- filterobjectrequired
- sharedboolean
Responses
Success
- dataobjectrequired
- savedViewIdstringrequired
- namestringrequired
- filterobjectrequired
- sharedone ofrequired
- createdBystringrequired
- isMineone ofrequired
- updatedAtstringrequired
Response example
{
"data": {
"savedViewId": "string",
"name": "string",
"filter": {
"verdict": "warning",
"failingCheck": "string",
"recordingId": "string",
"collectionOrderId": "string",
"collectionTaskId": "string",
"collectorId": "string",
"uploadedAfter": "string",
"uploadedBefore": "string",
"task": "string",
"taskExact": "string",
"taskMissing": false,
"outcome": "success",
"tag": "string",
"attribute": {},
"splitTag": "test",
"versionSplit": "test",
"durationMin": 0,
"durationMax": 0,
"durationMaxExclusive": 0,
"subtaskCountMin": 0,
"subtaskCountMax": 0,
"subtaskCountMaxExclusive": 0,
"cameraCountMin": 0,
"cameraCountMax": 0,
"cameraCountMaxExclusive": 0,
"fpsMin": 0,
"fpsMax": 0,
"fpsMaxExclusive": 0,
"idleFractionMin": 0,
"idleFractionMax": 0,
"idleFractionMaxExclusive": 0,
"sceneId": "string",
"labelState": "approved",
"hasSubtasks": false,
"annotationJobId": "string",
"sort": "duration",
"order": "asc"
},
"shared": false,
"createdBy": "string",
"isMine": false,
"updatedAt": "string"
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1