---
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`

---

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