Upload a workflow prompt image
Changed onUpload 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.
Request
- Base URLhttps://api.cyberdesk.io
- URLhttps://api.cyberdesk.io/v1/workflows/prompt-image
- AuthHTTP bearer
Headers
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.
Request body multipart/form-data
Response
Successful Response
Changes
- breaking
added required request body
- info
api operation id
upload_workflow_prompt_image_v1_workflows_prompt_image_postwas added - info
the endpoint scheme security
HTTPBearerwas added to the API - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the non-success response with the status
- info
added the success response with the status
- breaking