ghostAPIv1 beta
Compute

Quote a compute run

POST/compute/preview
ScopeadminRoleOwner or adminBilling1 credit per call

Returns a credit range for a pmm_refresh from the workspace's own trailing average, or a heuristic when there is no history. Omit target to quote every account.

Body

kindenumrequired
pmm_refresh
target{ customerIds? }optional
1–500 account ids. Omit for every live account.

Response

kindpmm_refresh
unitaccount
unitCountinteger
estimate{ creditsLow, creditsHigh }
basisworkspace_trailing_avg | heuristic