---
title: "Get database resilience status"
method: GET
path: "/api/admin/system/database"
tags: ["Admin"]
---

# Get database resilience status

`GET /api/admin/system/database`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/admin/system/database`
- Auth: API key in cookie `hk_token`

Returns sanitized recovery configuration, retained recovery history, and checkpoint state while the database is available. Live recovery state is reported through readiness and 503 responses.

## Response `200`

System database status

- SystemDatabaseStatus
  - `automatic_wal_recovery_enabled` boolean
  - `checkpoint_interval_min` integer
  - `last_checkpoint_at` string, date-time
  - `last_checkpoint_error` string
  - `last_recovery_at` string, date-time
  - `recovery_bundle_available` boolean
  - `recovery_enabled` boolean
  - `removed_unsafe_indexes` integer

## Other responses

- `503`: Database recovery is in progress or requires operator attention

---

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