---
title: "Diagnostics"
method: GET
path: "/health/diagnostics"
tags: ["Health"]
---

# Diagnostics

`GET /health/diagnostics`

Database diagnostics for local and deployment troubleshooting.

## Headers

- `x-tenant-id` string, required

## Response `200`

OK

- DiagnosticsResponse
  - `key_custodian_locked` boolean
  - `database` object
    - `database_connection` 'Working' | 'Failing'
    - `database_read` 'Working' | 'Failing'
    - `database_write` 'Working' | 'Failing'
    - `database_delete` 'Working' | 'Failing'

## Changes

- **2026-08-04** `36e7a0972ee6` — 2 info
  - added the optional property `database` to the response with the `200` status
  - added the optional property `key_custodian_locked` to the response with the `200` status
- **2026-07-20** `6ee57fb4b22b` — 1 breaking
  - added the new required `header` request parameter `x-tenant-id`
- **2026-04-25** `986e537b0455` — 1 info
  - endpoint added
- **2026-04-10** `9618544de91a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/juspay/apis/decision-engine/changes/health/diagnostics/get.md)

---

[API](https://skmtc.dev/juspay/apis/decision-engine.md) · [All operations](https://skmtc.dev/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/juspay/decision-engine/revisions/a35ceeb59faf/schema)
