List the files.
Arguments
projectReferenceStringProject ID or slug. Omit to use the current project context.
refStringContent selector; omit to preserve the current content context.
branchStringBranch name or ID alias for ref; conflicting aliases are rejected.
branchIdStringLegacy branch ID alias; omit to preserve the current context.
limitIntcursorStringsortByFileSortByField to sort by. Tied update times break by path ascending. Default
updated_at. One ofpath,updated_at.sortOrderFileSortOrderSort direction. Default
desc. One ofasc,desc.
Responses
query Files { files { data { id versionId path type size sizeBytes content checksum createdAt updatedAt } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "files": { "data": [ { "id": "string", "versionId": "string", "path": "string", "type": "string", "size": 0, "sizeBytes": 0, "content": "string", "checksum": "string", "createdAt": "2026-01-01T00:00:00Z", "updatedAt": "2026-01-01T00:00:00Z" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The FilesConnection in data.files.