Application statistics API
Tier: Free, Premium, Ultimate
Offering: Self-managed, GitLab Dedicated
Get current application statistics
Use this API to retrieve statistics from your GitLab instance.
Prerequisites:
- You must have administrator access to the instance.
These statistics show exact counts for values less than 10,000. For values of 10,000 and higher, these statistics show approximate data
when TablesampleCountStrategy and ReltuplesCountStrategy strategies are used for calculations.
GET /application/statistics
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/statistics"
Example response:
{
"forks": "10",
"issues": "76",
"merge_requests": "27",
"notes": "954",
"snippets": "50",
"ssh_keys": "10",
"milestones": "40",
"users": "50",
"groups": "10",
"projects": "20",
"active_users": "50"
}