BanxicoPublicTimeseriesResource
JSON:API resource carrying the timeseries for the requested metric/window pair.
ExtendsJsonApiResourceBase
Properties
| Field | Type | Description |
|---|---|---|
type* | string | JSON:API resource type. Always `banxico_public_timeseries`. |
id* | string | Identifier derived from the metric/window pair (`<metric>_<window>`). |
attributes* | object | Time series of Banxico validation service health metrics, bucketed by time interval, as returned by `GET /v1/status/banxico/timeseries`. |
metric | string | Reported metric — `probe_latency`: average health probe latency in milliseconds; `verdict`: the bucket's Banxico verdict, encoded as a number. |
window | string | Total time window covered by the series (`1h`, `8h`, `12h`, `24h`, or `7d`). |
unit | string | Unit of the values — `ms`: milliseconds, when `metric` is `probe_latency`; `verdict`: a categorical code rather than a magnitude, when `metric` is `verdict`. |
bucket_size_minutes | integer | Size of each interval in minutes — `1`: For the `1h` window; `60`: For the `8h`, `12h`, `24h` and `7d` windows. |
points | array | Data points in chronological order. Each point contains `ts` (bucket start timestamp) and `value` (number in ms for `probe_latency`; verdict code for `verdict`). |
Used in operations
GET /v1/status/banxico/timeseries