Fork自 GitCode / 帮助文档
# Application statistics API > 原文:[https://docs.gitlab.com/ee/api/statistics.html](https://docs.gitlab.com/ee/api/statistics.html) * [Get current application statistics](#get-current-application-statistics) # Application statistics API[](#application-statistics-api "Permalink") ## Get current application statistics[](#get-current-application-statistics "Permalink") 列出 GitLab 实例的当前统计信息. 您必须是管理员才能执行此操作. **注意:**这些统计数据是近似的. ``` GET /application/statistics ``` ``` curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/statistics" ``` 响应示例: ``` { "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" } ```