Skip to main content
GET
Get Branch File Version

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
branchName
string
required

Branch name

filePath
string
required

File path (URL-encoded, e.g., pages%2Findex.mdx)

version_id
string
required

Version UUID or numeric index (0 = current in branch history)

Response

Branch file version content with metadata

id
string
required
path
string
required
content
string
required
size
number
required
type
enum<string>
required
Available options:
page,
function,
component,
file
updated_at
string
required