---
title: "Get Route Latency"
method: GET
path: "/api/system/latency"
tags: ["system"]
---

# Get Route Latency

`GET /api/system/latency`

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

p50/p95/p99, request count, 5xx count and the per-request database
work (statements, DB ms, pool wait) for every API route over the last
`hours` (1 to 720), slowest p95 first, each with the p95 budget it is
held to (`request_timing.budget_for`, null when none). Measured by the
API itself (`app/platform/request_timing.py`), merged across every
process.

## Query parameters

- `hours` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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