Application statistics API
- Tier: Free, Premium, Ultimate
- Offering: Self-managed, GitLab Dedicated
Get current application statistics
List the current statistics of the GitLab instance. You have to be an administrator to perform this action.
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"
}
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support