Get Facility Sla
⛔THE SLA, LIVE, BY PIECE (Frederick, 2026-10-16: "it should be a live representation of are we within SLA for this facility? Or are we outside? ... Kind of like uptime ... rolling 30 days"). One row per contract facility (a facility code, FLR-104). Over the rolling last 30 Pacific days, today included: within = pieces shipped by their deadline, outside = pieces shipped after it PLUS pieces not shipped yet that are already past it (overdue), not_yet_counted = unshipped and still inside the deadline, sla_pct = within / (within + outside). A facility is OUTSIDE the SLA right now while overdue > 0; oldest_past_deadline_ days says how far past the oldest one is and as_of is when this was read. The page and Rooster (rooster/page_reads.json) read this one function; the rule and its history are in docs/00_business_rules/FULFILLMENT_AND_FLOOR.md (FLR-44) and sla_read.get_facility_sla.
The window was 31 days until 2026-10-16 (a rolling window rather than an all-time one, so ancient history does not dilute current performance).
org_rollup (added 2026-11-21, cleanup finding A23-web-pages-1-03): every row also carries its organization's roll-up from org_sla_rollup (facility count, shipped, late, overdue and the server's sla_pct), so no page re-computes the SLA percent. Additive: every other key is unchanged.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Query parameters
Response
Successful Response
Changes
No recorded changes to this operation across all 251 revisions of this API.