Getting the file reference
When an execution completes, the result contains file references for any generated files:Downloading a file
Use the file download endpoint to get a presigned download URL or download directly:Presigned URL response
| Field | Description |
|---|---|
url | Presigned GET URL. Valid for 1 hour. |
expires_at | When the download URL expires |
content_type | MIME type of the file |
size_bytes | File size in bytes |
Complete end-to-end example
Run an execution and download the result:Error handling
| Error code | Cause |
|---|---|
FILE_NOT_FOUND | The file reference does not exist or belongs to a different organization |
UNAUTHORIZED | Invalid or missing API key |