Parallel AI icon

Parallel AI

Interact with Parallel AI

Actions537

Website → Builder API Website Branch Diff

AI-generated

Summary

Compare the content differences between a specified branch and the live site branch of a website within a company using the Builder API.

Inputs

  • Company ID (required) — Identifier of the company owning the website.
  • Website ID (required) — Identifier of the website to compare.
  • Branch (required) — The branch name to compare against the live site branch. This must not be omitted.
  • Branch Query — Optional branch to read from (or write to). Omitting or using "main" reads the live site. For proposing fixes, write files to a new branch; writing to "main" is refused.

Output shape

a diff object representing differences between the specified branch and the live website branch.

The result shows the changes between the given branch and the live site (default branch). No pagination or additional envelope is indicated.

Links

Discussion