repositories
Retrieve repository health statistics
Retrieves statistics related to the health of a project repository. This endpoint is rate-limited to 5 requests/hour per project when generate is true. Available only to users with push access to the repository.
get/api/v4/projects/{id}/repository/health
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Query parameters
generateboolean
Triggers a new health report to be generated
Response
Retrieve repository health statistics
Example response
{
"updated_at": "2025-02-24T09:05:50.355Z"
}Changes
No recorded changes to this operation across all 5 revisions of this API.