Flow

Download a file

GET
/files/{file}

Streams a stored file by its UUID. Two kinds of file resolve here:

  • Flow tarballs — the file UUID equals the flow's ID. Public flows are downloadable anonymously; private flows require the flow owner or an admin.

  • Human-in-the-loop uploads — the file UUID equals the id returned by :upload, also surfaced in the files array on GET /flows/{flow}/executions/{execution}. Always private: the owning flow's owner or an admin only.

BearerAuth
headerAuthorizationBearer <JWT>

Admin token, API token issued via /api-tokens, or an OIDC JWT access token issued by the configured OIDC provider.

file*string
Formatuuid

Response Body

The file bytes.

response?unknownapplication/octet-stream
Example Request
curl -X GET 'https://example.com/api/hub/files/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
null