ghostAPIv1 beta
Compute

Start a compute run

POST/compute/runs
ScopeadminRoleOwner or adminBilling1 credit per call

Enqueues a capped refresh. The worker stops at creditCap and marks the run capped.

Headers

Idempotency-Keystringoptional
1–128 visible ASCII characters. Retrying with the same key returns the original response; reusing it for different input returns 409.

Body

kindenumrequired
pmm_refresh
target{ customerIds? }optional
creditCapnumberrequired
Hard ceiling on credits spent.
reasonstringrequired
Why this change is being made. 1–500 characters. Stored in the audit trail.

Response

runIduuid
statusqueued