Interface: Governance
The governance attestation carried with a governed answer — confidence,
Certified/Disputed provenance, the certified metrics it derived from, data
freshness, and the snapshot timestamp. Mirrors the API's governance field.
All fields optional: an ungoverned raw-SQL answer carries a sparse snapshot.
Properties
as_of?
optionalas_of?:string|null
ISO-8601 time the snapshot was taken (for "confidence as of …").
breakdown?
optionalbreakdown?:Record<string,unknown> |null
Per-dimension breakdown + labels (schema/values/joins/…).
certified_metrics?
optionalcertified_metrics?:string[]
Certified metric names the answer derived from.
confidence_score?
optionalconfidence_score?:number|null
Headline confidence, 0–100.
fan_out?
optionalfan_out?:Record<string,unknown> |null
{detected, enforced, measure_table} fan-out / double-count warning.
freshness?
optionalfreshness?: {column?:string;message?:string; } |null
{column, message} data-freshness label.
governed_derivation?
optionalgoverned_derivation?:boolean
True when the measure compiled from a certified metric.
lineage?
optionallineage?:Record<string,unknown> |null
{tables, metrics} the number came from.
provenance_status?
optionalprovenance_status?:"proven"|"disputed"|null
Verify-and-prove verdict, or null when there's no certified definition.
rls_scope_note?
optionalrls_scope_note?:string|null
Human note when the result was narrowed by row-level security.