---
title: "Health Deep"
method: GET
path: "/api/health/deep"
---

# Health Deep

`GET /api/health/deep`

## Request

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

Can a request actually reach the database right now -- unauthenticated, like `/api/health`,
because the callers (an external prober outside Railway, the deployer's outage watch) hold no
bearer token for this API, and the answer is two timings, pool sizes and a refusal counter.

WHY IT EXISTS (Frederick, 2026-10-19, production down 19:48 to 20:31 PT with Railway saying SUCCESS
throughout; the scale plan, Slice 1). `/api/health` answers from the process and reads the database
"best effort", so it could not say the database had stopped answering. This runs `SELECT 1` on a
fresh connection AND on the request pool, each under 2 s, and answers 503 when either fails, with
the typed error name (never a driver message: the route is public). Everything about what it
checks, why it is cached and what it will not say is in `app/platform/deep_health.py`.

## Response `200`

Successful Response

- unknown

## Changes

- **2026-10-20** `457d95e4a548`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/health/deep/get.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
