---
title: "Get project stats"
method: GET
path: "/projects/{project_id}/stats"
tags: ["Projects"]
---

# Get project stats

`GET /projects/{project_id}/stats`

## Request

- Base URL: `https://app.honeybadger.io/v3`
- URL: `https://app.honeybadger.io/v3/projects/{project_id}/stats`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/honeybadger/apis/honeybadger-api/docs/projects/:project_id/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns statistics for a project.

## Path parameters

- `project_id` string, required

## Response `200`

Success

- object
  - `data` object, required
    - `id` string, required: Project ID
    - `fault_count` integer, required
    - `unresolved_fault_count` integer, required
    - `notice_count_today` integer, required: Notices in the last 24 hours. Counted from the start of the window or the project's retention, whichever is later, so on short retention month can equal week. Search being unavailable answers 503.
    - `notice_count_week` integer, required: Notices in the last 7 days. Counted from the start of the window or the project's retention, whichever is later, so on short retention month can equal week. Search being unavailable answers 503.
    - `notice_count_month` integer, required: Notices in the last month. Counted from the start of the window or the project's retention, whichever is later, so on short retention month can equal week. Search being unavailable answers 503.
  - `meta` ResponseMeta
    - `request_id` string: Unique identifier for the request, for correlating with support

## Other responses

- `401`: The credential is missing, invalid, expired or revoked (`unauthorized`), or was sent in a way v3 doesn't accept (see the examples).
- `403`: The credential isn't allowed to do this. `error.code` says why. An account or project the credential doesn't cover is 404 `not_found`, not 403.
- `404`: Resource not found
- `422`: No path names the account, so the API token has to. This is returned when the token covers more than one account and the account a request applies to cannot be determined. Use a token bound to a single account.
- `503`: Temporarily unavailable. Retry shortly.

---

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