Skip to content

Neuromodulation

advanced

Monitor and calibrate the neuromodulation system: signal state, history, and manual recalibration.

Neuromodulation state

GET/v1/memory/neuromodulation/state

Full state of the neuromodulation system: signal, gate, calibration, regime.

200Response
{
  "signal": 0.67,
  "gate": 0.82,
  "regime": "normal",
  "calibration": {
    "ema_mean": 0.45,
    "ema_std": 0.12,
    "last_calibrated": "2026-01-20T03:00:00Z"
  }
}

Neuromodulation history

GET/v1/memory/neuromodulation/history

History of neuromodulation signal for visualization.

windowintegerDefault: 100

Number of recent data points to return.

200Response
{
  "signals": [
    0.45,
    0.52,
    0.67,
    0.71,
    0.65
  ],
  "gates": [
    0.78,
    0.8,
    0.82,
    0.85,
    0.83
  ],
  "timestamps": [
    "2026-01-20T14:00:00Z",
    "2026-01-20T14:01:00Z",
    "..."
  ]
}

Calibrate

POST/v1/memory/neuromodulation/calibrate

Force recalibration of the neuromodulator (reset EMA statistics).

reasonstringDefault: manual_reset

Reason for calibration.

200Response
{
  "recalibrated": true,
  "previous_mean": 0.45,
  "previous_std": 0.12,
  "new_mean": 0,
  "new_std": 0,
  "reason": "manual_reset"
}
Tip

Calibrate after significant changes to your data patterns (e.g., bulk imports, regime changes) to help the neuromodulator adapt faster.

Next steps