Get branch merge preview

http
GET /projects/{project_reference}/branches/{branch_id}/merge-preview

Show the file-by-file changes a merge would apply, with conflict regions and contents. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
branch_idpathYes
target_branch_idqueryTarget branch ID; omit for main.

Responses

StatusDescription
200Merge preview.
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.