---
title: "Get health check stats"
method: GET
path: "/api/v1/healthcheck/stats"
tags: ["Health Checks"]
---

# Get health check stats

`GET /api/v1/healthcheck/stats`

Get health check stats.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: Read-only operation.

## Query parameters

- `application_id` string, uuid, required
- `period` '1h' | '24h' | '7d' | '30d'

## Headers

- `Accept` string

## Response `200`

OK

- HealthCheckStatsResponse — HealthCheckStatsResponse schema
  - `data` object, nullable
    - `application_id` string, uuid
    - `avg_response_time_ms` integer
    - `failed_checks` integer
    - `last_status` string
    - `period` '1h' | '24h' | '7d' | '30d'
    - `successful_checks` integer
    - `total_checks` integer
    - `uptime_percentage` number, double
  - `error` string, nullable
  - `message` string, nullable
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

## Changes

- **2026-04-26** `09f18af670c4` — 3 info
  - api tag `Health Checks` added
  - api tag `api/v1/healthcheck` removed
  - api tag `stats` removed
- **2026-04-02** `2beb810c5221` — 3 breaking, 24 warning, 17 info
  - the `query` request parameter `period` was restricted to a list of enum values
  - for the `query` request parameter `period`, default value `24h` was added
  - for the `query` request parameter `application_id`, the type/format was changed from `string`/`` to `string`/`uuid`
  - removed the optional property `detail` from the response with the `400` status (media type: application/json)
  - …40 more
- **2026-03-26** `e34b00e45318` — 13 breaking, 4 warning, 26 info
  - for the `query` request parameter `period`, default value `24h` was removed
  - removed the enum value `1h` from the `query` request parameter `period`
  - removed the enum value `24h` from the `query` request parameter `period`
  - removed the enum value `30d` from the `query` request parameter `period`
  - …39 more
- …earlier changes not shown

[Full history](https://skmtc.dev/nixopus/apis/openapi/changes/api/v1/healthcheck/stats/get.md)

---

[API](https://skmtc.dev/nixopus/apis/openapi.md) · [All operations](https://skmtc.dev/nixopus/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nixopus/openapi/revisions/c5bacaea7239/schema)
