Upload an image to use in workflow prompts.
The returned supabase_url can be embedded directly in workflow prompt HTML:
<img src="supabase://workflow-prompt-images/org_xxx/prompt-assets/my-image.png" alt="Description">
When the workflow runs, Cyberdesk automatically resolves these URLs to display the image to the AI agent.
Supported formats: PNG, JPEG, GIF, WebP. Maximum size: 10MB.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.
"550e8400-e29b-41d4-a716-446655440000"
The image file to upload
Successful Response
Response schema for uploaded workflow prompt image
The stable supabase:// URL to use in workflow prompt HTML. Example: supabase://workflow-prompt-images/org_xxx/prompt-assets/image.png
A temporary signed URL for immediate display (expires in 1 hour)
The sanitized filename as stored
The MIME type of the uploaded image
The size of the uploaded file in bytes