The upload endpoints are currently under development. Use presigned URLs from the WaitingURLs field in flow run responses for now.
Current upload workflow
When a flow is waiting for input data, the flow run response includes aWaitingURLs array with presigned upload URLs:
Upload using presigned URL
Use the presignedPutURL to upload your file directly:
Important notes
- Presigned URLs expire after the time specified in the
TTLfield - Upload the file using an HTTP
PUTrequest - Set the appropriate
Content-Typeheader for your file - Use
--data-binary(curl) or equivalent to preserve file encoding
Data wells and input sources
Flows can define data wells that specify where input data comes from:Source types
Data wells support different source types:upload- File uploaded via presigned URLwebhook- Data received from webhook callback (coming soon)static- Static data or file reference (coming soon)
Future upload endpoints
The following endpoints are planned for future releases:Direct upload endpoint
Upload to flow run
Best practices
- Check flow status first - Verify the flow is in
WAITINGstatus before uploading - Validate TTL - Ensure presigned URLs haven’t expired
- Use correct content type - Set appropriate MIME types for your files
- Handle upload failures - Implement retry logic for failed uploads
- Monitor flow progress - Poll flow status after uploading to confirm processing started
Example: Complete upload workflow
See also
- Flow endpoints - Execute and monitor flows
- Project endpoints - Manage projects and flows
- API overview - General API information