Get environment file

http
GET /projects/{project_reference}/environments/{environment_name}/files/{file_path}

Return environment file. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
environment_namepathYes
file_pathpathYes
include_server_functionsquery
fieldsqueryResponse projection, for example (id,path,size). Omit to return all file fields, including content.

Responses

StatusDescription
200File from the environment with selectable response fields.
400Missing file path
401Unauthorized
403Restricted server-function source or insufficient permissions
404Not found
500Server error