GitHub Repos List Commits
1 credits/call
ae_github_repos_list_commits
View a list of commits in a GitHub repository, optionally filtered by branch, author, date, or file path — including verification status for signed commits.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
sha | string | No | SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`). | — |
page | integer | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | 1 |
path | string | No | Only commits containing this file path will be returned. | — |
repo | string | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | — |
owner | string | Yes | The account owner of the repository. The name is not case sensitive. | — |
since | string | No | Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. | — |
until | string | No | Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. | — |
author | string | No | GitHub username or email address to use to filter by commit author. | — |
per_page | integer | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | 30 |
committer | string | No | GitHub username or email address to use to filter by commit committer. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_github_repos_list_commits' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"owner": "eatmoreduck",
"page": 1,
"per_page": 5,
"repo": "boss-zhipin-scraper",
"sha": "master"
}
}'Response exampleresponse.json
[
{
"author": {
"avatar_url": "https://avatars.githubusercontent.com/u/21954802?v=4",
"followers_url": "https://api.github.com/users/eatmoreduck/followers",
"following_url": "https://api.github.com/users/eatmoreduck/following{/other_user}",
"gists_url": "https://api.github.com/users/eatmoreduck/gists{/gist_id}",
"id": 21954802,
"url": "https://api.github.com/users/eatmoreduck"
},
"comments_url": "https://api.github.com/repos/eatmoreduck/boss-zhipin-scraper/commits/7913419b6b53e45ee621da7dab066a350ef7b060/comments",
"commit": {
"author": {
"date": "2026-11-03T09:16:42Z",
"email": "yuxianice@163.com",
"name": "eatmoreduck 多吃鸭"
},
"comment_count": 0,
"committer": {
"date": "2026-11-03T09:16:42Z",
"email": "noreply@github.com",
"name": "GitHub"
},
"message": "feat: 一键发版工作流 + latest 稳定安装 URL (#110)\n\nmake-release workflow_dispatch 一键定版推分支;release.yml 双路触发(chore(release) 合并自动补 tag / 手动 tag 保留);稳定文件名 latest wheel 支持 releases/latest/download 固定 URL;README 双语方式 6;package-skill.sh BSD/GNU 兼容。事件链规避 GITHUB_TOKEN 防递归吞事件 ",
"tree": {
"sha": "d24cc2b887650c000168c4713e581e38df526562",
"url": "https://api.github.com/repos/eatmoreduck/boss-zhipin-scraper/git/trees/d24cc2b887650c000168c4713e581e38df526562"
},
"url": "https://api.github.com/repos/eatmoreduck/boss-zhipin-scraper/git/commits/7913419b6b53e45ee621da7dab066a350ef7b060"
},
"committer": {
"avatar_url": "https://avatars.githubusercontent.com/u/19864447?v=4",
"followers_url": "https://api.github.com/users/web-flow/followers",
"following_url": "https://api.github.com/users/web-flow/following{/other_user}",
"gists_url": "https://api.github.com/users/web-flow/gists{/gist_id}",
"id": 19864447,
"url": "https://api.github.com/users/web-flow"
},
"html_url": "https://github.com/eatmoreduck/boss-zhipin-scraper/commit/7913419b6b53e45ee621da7dab066a350ef7b060",
"url": "https://api.github.com/repos/eatmoreduck/boss-zhipin-scraper/commits/7913419b6b53e45ee621da7dab066a350ef7b060"
}
]This example shows part of the response. Copied content is valid JSON.

