SuperAI Flow Platform

Sections

Theme switcher

Generate file download URL

Generate pre-signed URL for downloading a flow file.

Creates a temporary download URL for a previously uploaded file. URLs are valid for 1 hour and can be shared safely without exposing storage credentials.

Download Process

  1. Get file_key from file listing or upload response
  2. Call this endpoint with the file_key
  3. Use returned URL in browser or GET request to download file

Header Parameters

Authorizationstring

Body Parameters

file_keystring Required

Response

200
Object
Pre-signed download URL successfully generated
401
Object
Unauthorized - Missing or invalid authentication credentials

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
404
Object
Not Found - The requested resource does not exist

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
422
Object
Validation Error

Response Attributes

detailarray

Show child attributes

500
Object
Internal Server Error - An unexpected error occurred

Response Attributes

errorobject Required

Standard error detail structure.

This model matches the error format returned by the centralized exception handlers in app/api/errors/handlers.py.

Show child attributes

request_idnull
Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot