v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Get Repository Commits

Get commit history for repo repository

get/api/v2/repos/{username}/{repo_name}/commits

Path parameters

usernamestring required
repo_namestring required

Query parameters

shastring nullable

Branch name, tag, or commit SHA to start from

Branch name, tag, or commit SHA to start from

pathstring nullable

Only show commits containing this file path

Only show commits containing this file path

pageinteger

Page number

Page number

limitinteger

Number of commits per page

Number of commits per page

Headers

authorizationstring nullable

Cookies

modaic_sessionstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v2/repos/{username}/{repo_name}/commits:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}