GitHub
List GitHub Commits
List commits in a GitHub repository, newest first, starting from a branch, tag, or commit and optionally narrowed to a file or date.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | — |
| repostring · required | string | required | — |
| shastring · optional | string | optional | Where the listing starts, not a filter. GitHub returns this commit plus every commit before it (its ancestors), newest first — so the newest commit returns the whole history, not one row. Leave empty to start from the repository's default branch. To fetch one specific commit on its own, use the "Get GitHub Commit" step instead. Example: |
| pathstring · optional | string | optional | Example: |
| sincestring · optional | string | optional | — |
| perPagenumber · optional | number | optional | Example: |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}