Skip to main content
Glama

list_commits

Retrieve and filter GitLab repository commit history by date, author, branch, or file path to track code changes and review project activity.

Instructions

List repository commits with filtering options

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject ID or complete URL-encoded path to project
ref_nameNoThe name of a repository branch, tag or revision range, or if not given the default branch
sinceNoOnly commits after or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ
untilNoOnly commits before or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ
pathNoThe file path
authorNoSearch commits by commit author
allNoRetrieve every commit from the repository
with_statsNoStats about each commit are added to the response
first_parentNoFollow only the first parent commit upon seeing a merge commit
orderNoList commits in order
trailersNoParse and include Git trailers for every commit
pageNoPage number for pagination (default: 1)
per_pageNoNumber of items per page (max: 100, default: 20)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server