Skip to main content

schemabrain inspect

Renders the contents of the local store without touching the source database or making any LLM calls. Two modes:
  1. Summary (no argument) — entity / metric / join counts, sources, store size.
  2. Drill-down (name positional) — full body of one named resource, regardless of whether it’s an entity, metric, or canonical join.
For namespaced drill-down (when a name collides across namespaces), use schemabrain metrics show — it resolves only against the metrics namespace.

Flags


What you can see

In summary mode:
  • Source connections indexed.
  • Counts of tables, columns, entities, metrics, canonical joins.
  • Trust signals (origin, inference_method, validation_state) aggregated across resources.
  • Store path and rough size.
In drill-down mode:
  • The full resource body (the same content export would emit as YAML).
  • Trust signals — including ones diff deliberately excludes from comparison.
  • Cross-references (an entity shows which metrics anchor on it; a metric shows the entity it anchors on).

Examples

Quick store summary

Drill into one entity

Disambiguate a name collision across sources

Inspect with multiple sources in one store


When to use which


schemabrain entities list

Plain list of confirmed entities.

schemabrain metrics show

Drill into one metric specifically.

schemabrain doctor

Health-check wiring as well as store state.

schemabrain check

Detect source-schema drift.