Hybrid Recursive Ladder
v0.0.8Aggregate long time-series ranges with a few source requests instead of one per bucket.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ladder_meta Ladder metadata
Return version, configuration, source/store type and demo range.
ladder_decompose Decompose a time range
Decompose [start, end) into month/day/hour/minute ladder segments. Times accept ISO-8601 (``2026-01-01T00:00:00``) or epoch milliseconds.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string | |
finest | string | |
timezone | string |
ladder_sum Sum time series
Sum time series over a range. ``series`` items use ``{"entity": "...", "key": "...", "name": "..."}`` (``device_id``/``device_name`` are accepted as aliases). ``mode`` is ``tb`` (source only), ``mixed`` (local first) or ``local`` (offline). With no series, the built-in demo series are used.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
series * | array | |
start * | string | |
finest | string | |
materialize | boolean | |
mode | string | |
verify_on_read |
ladder_verify Verify against source
Compare the authoritative source with the local store. Returns per-segment differences and, for the first ``drill_limit`` differing segments, point-level added/removed/changed counts.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
series * | array | |
start * | string | |
drill_limit | integer | |
finest | string |
ladder_calc Bucket calculation
Bucket [start, end) and compute one value per bucket. ``dimension`` is the bucket size (minute/hour/day/month, both edges must align to it) and ``rule`` is one of: * ``sum`` — bucket sum; * ``avg`` — bucket mean of sums/counts, row totals are means of means; * ``meter_delta`` — next bucket's first reading minus this bucket's; the last bucket reads one bucket past ``end``; missing anchors, repeated readings and meter resets come back as ``anomaly`` codes (``no_current_reading``, ``no_next_reading``, ``same_reading``,…
| Parameter | Type | Description |
|---|---|---|
end * | string | |
series * | array | |
start * | string | |
dimension | string | |
materialize | boolean | |
mode | string | |
rule | string | |
verify_on_read |