List files

http
GET /projects/{project_reference}/files

List the files. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
refquery
branchquery
branch_idquery
patternqueryFile pattern filter (for example, *.tsx).
cursorqueryOpaque cursor pointing at the next page. Omit it to read the first page.
limitqueryFiles per page. At most 100 when the listing includes content, and at most 1000 when fields excludes content.
sort_byquery
sort_orderquery
fieldsquery

Responses

StatusDescription
200Paginated list of files with selectable response fields.
400Bad request
401Unauthorized
403Forbidden - insufficient permissions
404Not found
500Server error