GET /projects/{project_reference}/files/{file_path}/versions
List file versions. Requires project.read.
Parameters
Name
In
Required
Description
project_reference
path
Yes
file_path
path
Yes
ref
query
branch
query
branch_id
query
exact_path
query
Treat the identifier as an exact path, including UUID-shaped filenames. Defaults to false.
cursor
query
Forward-only continuation through committed versions, newest first. Main history uses selection time; branch history uses commit sequence. Other sorting is unsupported; page_info.prev is always null.
limit
query
Maximum number of entries to return. Defaults to 20 and is capped at 100.
Responses
Status
Description
200
Paginated list of file versions.
400
Missing file path, or an invalid, conflicting or snapshot content selector