External DocumentationTo learn more, visit the GitLab documentation.
Actions
List Commits
Get a list of repository commits in a project.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| All | Retrieve every commit from the repository. |
| Order | List commits in order. Possible values: default, topo. Defaults to default, the commits are shown in reverse chronological order. |
| Project ID | The ID or path of the project owned by the authenticated user. If the path is being used, it should be url encoded - for example: user%2my-project . |
| Ref Name | The name of a repository branch, tag or revision range, or if not given the default branch. |
| Since | Only commits after or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. |
| Until | Only commits before or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ. |
| With Stats | Stats about each commit are added to the response. |
[
{
"id": "<string>",
"short_id": "<string>",
"created_at": "2020-05-18T02:42:05",
"parent_ids": [],
"title": "<string>",
"message": "<string>",
"author_name": "<string>",
"author_email": "<string>",
"authored_date": "2020-05-18T02:42:05",
"committer_name": "<string>",
"committer_email": "<string>",
"committed_date": "2020-05-18T02:42:05",
"trailers": {},
"extended_trailers": {},
"web_url": "<string>"
}
]
Was this page helpful?