Docs / Admin

Commercial Levers

Five knobs that drive TokenOne®'s margin. Every change is audited (old value / new value / reason). Platform-admin only.

The five levers

Changing a lever

  1. Open the /commercial-levers page in admin-console.
  2. Click Edit on the lever row.
  3. Update the JSON value. Enter a reason (min 3 chars) · this is written to AuditLog alongside the old + new values so margin movement is always explainable after the fact.
  4. Click Save. The in-process route-pick cache is invalidated immediately · next proxy call uses the new value.

History

Every lever has a History drawer (GET /api/admin/commercial-levers/:name/history) showing who changed what, when, and why. Use this before any margin investigation to reconstruct the decision sequence.

Call log export

The /commercial-levers page also hosts the LLM call log export panel. Specify days (1-365) + row limit (1-100k) + tenant filter (UUID or "all"), download as CSV or JSON. BigInt token fields are serialised as strings; timestamps are ISO 8601.