Git
List commits
Returns a paginated list of commits for a repository.
get/api/commits
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in header X-Sourcebot-Api-Key
- or none
Query parameters
repostring required
The fully-qualified repository name.
querystring
Filter commits by message content (case-insensitive). Interpreted as a POSIX BRE regex — escape metacharacters for literal matching.
sincestring
Return commits after this date. Accepts ISO 8601 or relative formats (e.g. 30 days ago).
untilstring
Return commits before this date. Accepts ISO 8601 or relative formats.
authorstring
Filter commits by author name or email (case-insensitive). Interpreted as a POSIX BRE regex — escape metacharacters for literal matching.
refstring
The git ref (branch, tag, or commit SHA) to list commits from. Defaults to HEAD.
pathstring
Restrict commits to those that touch this file path.
pageinteger
perPageinteger
Response
Paginated commit list.
Changes
No recorded changes to this operation across all 2 revisions of this API.