---
title: "Platform health: store, switches, counts, last-24h failures"
method: GET
path: "/api/admin/health"
tags: ["admin"]
---

# Platform health: store, switches, counts, last-24h failures

`GET /api/admin/health`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/admin/health`
- Auth: none declared

## Response `200`

OK.

- AdminHealth
  - `ok` boolean, required
  - `service` string, required
  - `version` string, required
  - `env` string, required
  - `region` string, required
  - `revision` string, nullable, required
  - `time` string, required
  - `store` object, required
    - `ok` boolean, required
    - `ms` number, required
    - `error` string
  - `counts` object, required
    - `orgs` number, required
    - `principals` number, required
    - `capped` number, required
  - `last24h` object, required
    - `turns` number, required
    - `failed` number, required
    - `denials` number, required
    - `sampled` number, required
  - `switches` object, required
    - `mcp` boolean, required
    - `mail` boolean, required
    - `signinAllowlist` boolean, required
    - `contentPolicy` string, required
    - `channels` string[], required

## Other responses

- `400`: Invalid request or reason missing.
- `403`: Not a super_admin.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
