Expand description
GET /api/v1/app/record: this machine’s record of AgentMux’s own size over weeks, for the App tool’s
record action and the panel (docs/specs/SPEC_LONG_RUNNING_ZERO_DEGRADATION_2026_11_16.md §6, task #47820).
It reads the files backend::record writes; nothing is sent anywhere, and a line holds numbers and
stable keys only (no names, titles or paths).
Structs§
- Ask 🔒
- What was asked:
kind(rollup, the default,raworevents), the windowfrom_mstoto_ms(or one UTCday) and how many of its newest lines (limit).
Enums§
- Kind 🔒
Constants§
- DAY_MS 🔒
- DEFAULT_
EVENTS 🔒 - DEFAULT_
RAW 🔒 - DEFAULT_
ROLLUPS 🔒 - MAX_
EVENTS 🔒 - MAX_RAW 🔒
- MAX_
ROLLUPS 🔒 - Lines an answer may carry: an hourly rollup is about 1 KB and a five-minute line about 2 KB.
Functions§
- answer 🔒
- The answer for
askread fromdir: what the record holds, the lines, andmatched: how many lines the window holds in all (more thanlineswhen the limit cut it). - handle_
record 🔒 - parse_
ask 🔒