KB / api
GET /api/v1/signals/diff
Last verified
Auto-generated. This article is rebuilt from FastAPI route introspection by
scripts/build_api_kb.py. Edit the route docstring inapp/and re-run the script — do not edit this file directly.
GET /api/v1/signals/diff
Handler: app.signals.routes.get_signals_diff
Methods: GET
Description
Return only fields that changed beyond threshold since a reference row.
Two modes:
?from=YYYY-MM-DD— diff the latest row against the row for that date.?days_back=N(default 1) — diff the latest row against the Nth prior row.
Thresholds are declared per-field in app/signals/config/diff_thresholds.json
so the “what is material” definition is auditable. Fields use one of three
comparison kinds: pct (relative), abs (absolute delta), or label
(string inequality — used for regime / severity / energy_regime flips).
Parameters
| In | Name | Type | Default | Description |
|---|---|---|---|---|
| query | from_ | str | ||
| query | days_back | int | 1 |
Curl
curl -s https://bigclawd.com/api/v1/signals/diff