get_project_commits
List commits in a GitLab project by project ID, with options to filter by branch, date range, author, and pagination settings.
Instructions
List commits in a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
author | No | Filter by author name | |
per_page | No | Number of results per page (max 100) | |
project_id | Yes | Project ID or path | |
ref_name | No | Branch, tag, or commit SHA | main |
since | No | ISO 8601 date format (YYYY-MM-DDTHH:MM:SSZ) | |
until | No | ISO 8601 date format (YYYY-MM-DDTHH:MM:SSZ) |
Input Schema (JSON Schema)
{
"properties": {
"author": {
"description": "Filter by author name",
"type": "string"
},
"per_page": {
"default": 20,
"description": "Number of results per page (max 100)",
"maximum": 100,
"type": "number"
},
"project_id": {
"description": "Project ID or path",
"type": "string"
},
"ref_name": {
"default": "main",
"description": "Branch, tag, or commit SHA",
"type": "string"
},
"since": {
"description": "ISO 8601 date format (YYYY-MM-DDTHH:MM:SSZ)",
"type": "string"
},
"until": {
"description": "ISO 8601 date format (YYYY-MM-DDTHH:MM:SSZ)",
"type": "string"
}
},
"required": [
"project_id"
],
"type": "object"
}