{"service":"dfl-schema-catalog","version":"0.4.0","plan":"https://plans.devfellowship.com/20261115-dfl-schema-app-schema-as-a-product","endpoints":["GET /health/live (liveness; never touches the DB)","GET /health (503 when the main catalog or the usage feed was not confirmed in the last 24 h, or the last usage feed failed)","POST /record (user JWT of an IAM member; scope pr; the write runs as the catalog agent; skip rule, retention, derived)","GET /schema-change/:pr (user JWT required; the structure diff of a dfl-schema PR against main, with door and estimated merge gate per change)","GET /domains (user JWT required; the domains of the newest main snapshot with counts, health marks, usage and the links between them; 404 snapshot_not_available while no main row exists)","GET /tables/:ref (user JWT required; one table as schema.table: columns with key marks, keys, indexes, policies, triggers, grants, tables that point at it, health, migration history, usage per night)","GET|POST /similar (user JWT required; the tables most like a name and an optional draft column list, with a score and the hint reuse before you create)","GET /bridge/status (user JWT of an IAM member; the decision bridge switches: live or dry-run, daily cap, digest hour, standing plan; counts of the last pass)","POST /bridge/run (user JWT of an IAM member; one decision bridge pass now, {pr?, digest?}; dry-run writes nothing)","GET /prune-candidates (user JWT required; the ranked Slim list of prune, merge and fix candidates with evidence, consumers, blast radius, door and gate; rules that need usage say not measured; it drops nothing)","GET /access-matrix (user JWT required; the Authorization matrix of the newest access snapshot: per table and tier, read measured by the CI replay and write from the policy text, flags, domain defaults; 404 no_snapshot_yet while no access row exists)","POST /findings (user JWT of an IAM member; the read-only row-match evidence of one Slim finding, counts and primary-key ids only; the write runs as the catalog agent; the finding must be in the newest main snapshot)","POST /findings/actions (user JWT of an IAM member; the action path of one ranked Slim finding: decision = one question on the standing plan, keep = a comment PR, drop / merge = a draft human-merge PR; dry-run unless SLIM_ACTIONS_ENABLED=true and the caller is in SLIM_ACTOR_USER_IDS; returns the exact question or PR)","POST /policies/actions (user JWT of an IAM member; Open as decision for one RLS policy of the newest main snapshot, {table, policy, dry_run?}: one question on the standing plan with the policy, its SQL and the access matrix lines; same gate as /findings/actions, dry-run unless SLIM_ACTIONS_ENABLED=true and the caller is in SLIM_ACTOR_USER_IDS; one open question per policy)","GET|POST /blast-radius (user JWT required; what a table, a column or a draft migration touches: consumers, policies, functions, views, foreign keys; for a draft also break / must change / may adopt, door, estimated merge gate, rollback)"],"note":"Holds zero service_role. Every read forwards the caller's own JWT; every write runs as the catalog agent's own login. RLS is the gate."}