> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getnexor.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get routing stats

> Count an agent's routing decisions over a window of up to 30 days, by step and outcome, with the share of routes corrected later.

`window_hours` sets how far back to count: more than 0 and up to 720 hours (30 days). It defaults to 24.

* `by_layer` and `by_outcome` list every step and outcome, with `0` when there were none.
* `corrected_route_rate` is the share of first routes that someone, or a transfer, moved to another task within 24 hours. A rising rate means rules or thresholds need a look.
* `ai_share` is the share of decisions made by the AI.

To see the individual decisions, use [List decisions](/docs/en/api/inbound-router/list-routing-decisions).


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.getnexor.ai/llms.txt).
