---
title: "List total number of services and environments for each project of the organization"
method: GET
path: "/organization/{organizationId}/project/stats"
tags: ["Projects"]
---

# List total number of services and environments for each project of the organization

`GET /organization/{organizationId}/project/stats`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/project/stats`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/project/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of project ids, and for each its total numberof services and environments

## Path parameters

- `organizationId` string, uuid, required

## Response `200`

Get number of services

- ProjectStatsResponseList
  - `results` ProjectStats[]
    - `id` string, uuid, required
    - `service_total_number` number
    - `environment_total_number` number

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
