ghostAPIv1 beta
Definitions

Preview a definition

POST/definitions/preview
Scopegraph:readRoleCurrent member; module visibility appliesBilling1 credit per call

Estimates the reach and backfill cost of a definition before it exists. Counts and credit ranges are best-effort heuristics, not billable quotes. Takes the same body as POST /definitions.

Body

namestringrequired
moduleKeyenumrequired
entityKindsenum[]required
valueTypeenumrequired
reasonstringrequired
Why this change is being made. 1–500 characters. Stored in the audit trail.

Response

entitiesInScope{ account, contact, deal, investor }
sourcesToBackfillinteger
estCreditsPerSourcenumber
estBackfillCredits{ low, high }
conflictingFlatLabels{ name, slug, assignments }[]