← Back to schema index

BanxicoPublicTimeseriesResponse

Response from `GET /v1/status/banxico/timeseries`. Data points bucketed by time interval for the requested metric and window. Only exposes safe metrics (`probe_latency`, `verdict`); invalid query values silently fall back to defaults (`probe_latency`, `24h`).

Properties

FieldTypeDescription
dataobject

Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with type, id, attributes).

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.

metricstring

Reported metric — probe_latency: average health probe latency in milliseconds; verdict: the bucket's Banxico verdict, encoded as a number.

windowstring

Total time window covered by the series (1h, 8h, 12h, 24h, or 7d).

unitstring

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_minutesinteger

Size of each interval in minutes — 1: For the 1h window; 60: For the 8h, 12h, 24h and 7d windows.

pointsarray

Data points in chronological order. Each point contains ts (bucket start timestamp) and value (number in ms for probe_latency; verdict code for verdict).

metaobject

Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.

versionstring

API version that processed the request.

api_versionstring

API route prefix version (e.g. v1).

request_idstring

Unique request identifier, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request.

datetimeobject

Companion descriptor present in the meta block of every response (and in the meta of outgoing webhook bodies). Lets clients assert the timezone contract without re-reading the spec.

timezone*string

Always UTC: The canonical timezone for every datetime field in the body.

format*string

Always ISO 8601: Explicit Z suffix on every datetime.

field_names_noticeobject

Field-name change notice. It only appears on POST /v1/validate, POST /v1/validate-ocr, GET /v1/validations, GET /v1/validations/{id}, POST /v1/validations/{id}/recheck, GET /v1/summary and GET /v1/finance/summary, the same operations that send the Deprecation and Sunset headers. With legacy_request_fields, the request used Spanish field names; it is also sent on error responses. With legacy_response_fields, the request used English names only and the notice refers to the Spanish fields the response duplicates; it is sent on successful responses only.

code*string

Notice type. legacy_request_fields: the request used Spanish field names. legacy_response_fields: the response includes duplicated Spanish fields that will stop being sent.

message*string

Notice text, in the response language (Accept-Language).

sunset*string (date)

Cut-off date, the same one the Sunset header announces.

documentation_url*string (uri)

Migration guide to the English names, in the response language.

legacy_fieldsarray

Spanish names the request sent. Only with legacy_request_fields.

linksobject

Pagination or related links, present only when the endpoint returns a paginated collection.

Used in operations

  • GET /v1/status/banxico/timeseries