Presigned files of members of an episode-set viewer source (at most 50)
POST
/v1/projects/{projectId}/viewer-sources/{ref}/signcurl -X POST 'https://api.embodiflow.io/v1/projects/{projectId}/viewer-sources/{ref}/sign' \
-H "Authorization: Bearer $EMBODIFLOW_PAT" \
-H 'Content-Type: application/json' \
-d '{
"resultIds": [
"00000000-0000-0000-0000-000000000000"
]
}'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).
Header parameters
- Idempotency-Keystring
Optional idempotency key, at most 255 characters (UUIDv4 recommended). The response holds credentials and is never stored: a repeated key runs the request again and returns fresh ones. 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
- resultIdsarray<string (uuid)>required
Recording ids of the episode set (its members' `recordings[].id`) to sign.
Responses
Success
- dataobjectrequired
- recordingsarray<ViewerSourceSignedRecordingDto>required
- expiresAtstringrequired
Response example
{
"data": {
"recordings": [
{
"id": "string",
"files": [
{
"path": "string",
"url": "string",
"sizeBytes": 0,
"contentType": "string",
"etag": "string"
}
]
}
],
"expiresAt": "string"
}
}Servershttps://api.embodiflow.io/v1