---
title: "Health Env"
method: GET
path: "/api/health/env"
---

# Health Env

`GET /api/health/env`

## 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/env`
- Auth: none declared

Which environment this is (`production`, `staging`, ...), and nothing
else: no database, no probes. Unauthenticated, like `/api/health`.

WHY IT EXISTS (#3504, Frederick 2026-10-03: "pages are starting to load
slow now ... Making sure things are wired up in the most efficient
way"). The staging banner (`apps/web/src/components/shell/
StagingBanner.tsx`) mounts on every page load and needs only `env`, but
it fetched the full `/api/health`, which probes every adapter and runs
several queries: measured from real browsers on 2026-10-03, p50 879 ms,
p95 4,484 ms, holding a request-pool connection, once per page load.
`/api/health` itself is unchanged (the System page and Railway's
health check read it); this is the one field the banner needs, read
from the same `settings.env` `/api/health` reports.

## Response `200`

Successful Response

- object

---

[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)
