[ Web Proxy ]
URL:
Viewing: https://docs.sourcebot.dev/api-reference/git/list-commit-authors [Back]  [Original]

List commit authors - Sourcebot
Skip to main content
Navigation
Git
List commit authors
Git

List commit authors

Returns a paginated list of unique authors who committed in a repository, sorted by commit count descending. Optionally scoped to a file path.

GET
Try it
List commit authors

cURL

Authorizations

bearerTokenapiKeyHeader
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>. The token may be a Sourcebot API key, OAuth access token, or scoped access token, subject to endpoint requirements.

Query Parameters

repo
string
required

The fully-qualified repository name.

ref
string

The git ref (branch, tag, or commit SHA) to list authors from. Defaults to HEAD.

path
string

Restrict authors to those who touched this file path.

page
integer
default:1
Required range: x > 0
perPage
integer
default:50
Required range: 0 < x <= 100

Response

200
application/json

Paginated commit author list.

name
string
required
email
string
required
commitCount
integer
required
Required range: x >= 0
List commits
Previous
Get file contents
Next

Web Proxy Viewer  |  New URL  |  Original Page