InsightsTrendsAttributes
Time-series validation data by metric and range. Returned by `GET /v1/insights/trends`. For `metric=volume`, each point contains `direct`, `ocr`, `valid`, and `errored`. For `metric=latency`, it contains percentiles `p50`, `p95`, `p99`, and `avg`.
Properties
| Field | Type | Description |
|---|---|---|
range | string | Time window of the series: `24h` (last 24 hours), `7d` (last 7 days), `30d` (last 30 days), or `90d` (last 90 days). |
metric | string | Metric represented: `volume` — validation counts stacked by type; `latency` — processing times in percentiles. |
scope | string | Data scope: `self` — user's validations only; `global` — all platform validations (admin only). |
series | array | Data points in chronological order. The shape of each point depends on `metric`: for `volume` it includes `bucket`, `total`, `direct`, `ocr`, `valid`, `errored`; for `latency` it includes `bucket`, `p50`, `p95`, `p99`, `avg`. |
Used in operations
GET /v1/insights/trendsGET /v1/admin/insights/trends