https://api.veriko.mx/v1/insights/trendsUser's validation time series
How-to guide →Returns a time series for the user by the selected range and metric. Bucket granularity varies with range: 24h → hourly, 7d/30d → daily, 90d → weekly (starting Monday). Metric volume breaks down direct vs OCR; latency returns p50, p95, and p99 percentiles.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
metric | query | string | optional | Which series to return. Default: volume |
range | query | string | optional | Window the series cover: Default: 7d |
curl -X GET 'https://api.veriko.mx/v1/insights/trends' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
range | string | Time window of the series: 7d |
metric | string | Metric represented: volume |
scope | string | Data scope: self |
series | array | Data points in chronological order. The shape of each point depends on |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | Time series buckets for the requested range and metric. | No body |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | forbidden | You do not have permission to access this resource. Envelope
|