ghostAPIv1 beta
Graph

Prepare versioned decision inputs

POST/graph/decision-inputs
Scopegraph:readRoleCurrent memberBilling1 credit per call

Read exact current definition snapshots before evaluating an account or changing a definition. Records a baseline only when needed; does not relabel accounts. Submit the returned definition_ref values in decision_trace.definition_refs. Writes reject stale references and changed/revoked evidence. decision_trace also accepts reason, basis, intent, factors (supports, contradicts, unknown, not_applicable), source evidence with quotes, alternatives, unknowns, event_at and caller-reported origin. Actor identity comes from authentication, never input.

Body

definitionsarrayrequired
1–30 {entity_kind, entity_id} objects for ICPs, personas or other supported definitions.

Response

definitionsarray
prepared_attimestamp
notestring