Return release file. Requires project.read.
Arguments
projectReferenceString!requiredProject UUID, slug or configured domain.
releaseReferenceString!requiredRelease ID, latest or a version specifier.
fileReferenceString!requiredProject-relative file path, for example pages/index.mdx, or file ID.
includeServerFunctionsBooleanSet to false to read server-function source only as an editor. Omit to use the rule every GraphQL file read uses.
fieldsStringAccepted as on REST, for example (id,path,size); the selection set chooses the fields GraphQL serves.
Responses
query ReleaseFile($projectReference: String!, $releaseReference: String!, $fileReference: String!) { releaseFile(projectReference: $projectReference, releaseReference: $releaseReference, fileReference: $fileReference) { binary { contentHash byteSize contentType } id versionId path content type size updatedAt releaseId releaseVersion links }}{ "data": { "releaseFile": { "binary": { "contentHash": "string", "byteSize": 0, "contentType": "string" }, "id": "string", "versionId": "string", "path": "string", "content": "string", "type": "string", "size": 0, "updatedAt": "2026-01-01T00:00:00Z", "releaseId": "string", "releaseVersion": "string", "links": {} } }}The ReleaseFile! in data.releaseFile.