---
title: "Get the statistic information about the projects and repositories"
method: GET
path: "/statistics"
tags: ["statistic"]
---

# Get the statistic information about the projects and repositories

`GET /statistics`

Get the statistic information about the projects and repositories

## Headers

- `X-Request-Id` string

## Response `200`

The statistic information

- Statistic
  - `private_project_count` integer — The count of the private projects
  - `private_repo_count` integer — The count of the private repositories
  - `public_project_count` integer — The count of the public projects
  - `public_repo_count` integer — The count of the public repositories
  - `total_project_count` integer — The count of the total projects, only be seen by the system admin
  - `total_repo_count` integer — The count of the total repositories, only be seen by the system admin
  - `total_storage_consumption` integer — The total storage consumption of blobs, only be seen by the system admin

## Other responses

- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
