Skip to main content

schemabrain dashboard

Boots a FastAPI sidecar that serves the bundled Next.js static export. Read-only. Bound to 127.0.0.1. Requires the [ui] extra.
Output:
The default browser auto-opens. Pass --no-open to skip. See Dashboard overview for what the surfaces look like and how source IDs auto-resolve.

Flags

There is no --host flag. The bind host is hardcoded to 127.0.0.1 in schemabrain/dashboard/sidecar.py. A CI invariant test asserts the dashboard CLI never accepts a host argument. Use SSH port-forwarding to view a remote instance.

What it serves

The sidecar exposes only GET routes — no POST, PUT, PATCH, or DELETE handler exists anywhere in the surface. The route table: Every JSON response carries:
  • X-Schemabrain-Charter-Version: 1.2
  • X-Schemabrain-Dashboard-Schema: 1.0

Exit codes


Examples

Standard launch

Custom port (avoid local conflict)

CI / headless smoke


Errors you may see


Dashboard overview

What each surface shows and how source IDs resolve.

PII matrix

The /pii surface.

Refusals

The /refusals surface.

Audit Viewer

The /audit surface.