Download a single flow file

Returns the content of one flow file. Multi-segment paths must be

GET /api/v1/runs/{runId}/files/{filePath}

Returns the content of one flow file. Multi-segment paths must be URL-encoded (replace / with %2F).

A binary file comes back base64-encoded with "encoding": "base64" on the response. Text files carry no encoding field. Check for it before treating content as text — JSON cannot carry bytes, so a binary file returned as a string would be a plausible-looking corruption rather than the file.

Authentication

Requires a project API key — see Authentication.

Parameters

NameInTypeRequiredDescription
runIdpathstringrequiredUUID of the run.
filePathpathstringrequiredURL-encoded path of the file relative to the workdir.

Responses

StatusDescription
200File content.
404Resource not found or not accessible to this project.

Tag: Runs