Get diff between two commits
Git
Get diff between two commits
Returns a structured diff between two git refs using a two-dot comparison. See git-diff for details.
GET
Get diff between two commits
Documentation Index
Fetch the complete documentation index at: https://sourcebot-v5.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Query Parameters
The fully-qualified repository name.
The base git ref (branch, tag, or commit SHA) to diff from.
The head git ref (branch, tag, or commit SHA) to diff to.
Restrict the diff to changes touching this file path. Omit to diff all changes between the two refs.
Response
Structured diff between the two refs.
The list of changed files.

