> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Commits

Get a list of repository commits in a project.

<Note>
  External Documentation

  To learn more, visit the [GitLab documentation](https://docs.gitlab.com/ee/api/commits.html#list-repository-commits).
</Note>

## Parameters

<div className="integrations-table">
  | 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.                                                                                                   |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"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>"
	}
]
```

## Workflow Library Example

[List Commits with Gitlab and Send Results Via Email](https://library.blinkops.com/workflows/list-commits-with-gitlab-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-commits-with-gitlab-and-send-results-via-email/canvas" />
</div>
