sdkDeterministic
Get content media
pipeline.getContentMedia
Read authorized, short-lived private preview/download URLs for saved content media. No hosted inference.
Parameters
workspaceId
string
No description.
workIdrequired
string
No description.
outputIdrequired
string
No description.
Example
TypeScripttypescript
await pipeline.getContentMedia({"workId": "00000000-0000-4000-8000-000000000000","outputId": "00000000-0000-4000-8000-000000000000"})
Response
Success response schemajson schema
{"type": "object","properties": {"data": {"type": "array","maxItems": 11,"items": {"type": "object","properties": {"id": {"type": "string"},"path": {"type": "string"},"mime": {"type": "string","enum": ["image/png","application/pdf"]},"size": {"type": "integer"},"sha256": {"type": "string"},"status": {"type": "string","enum": ["pending","ready","deleting"]},"url": {"type": "string"}},"required": ["id","path","mime","size","sha256","status","url"],"additionalProperties": false}}},"required": ["data"],"additionalProperties": false}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.