arbiro/DocsBack to site ↗
Browse documentation
Documentation  /  API reference

Staging management

Reviewer, policy and billing operations are separate from inference.

Review and resolve

GET/staging/reviews

Read open tasks and their revisions. Resolve one with a complete answers map and a reason, sending its quoted revision as If-Match. Poll the decision ID for the new projection.

POST/staging/reviews/{id}/resolve

Preview and publish

GET /staging/release/workspaceRead the active version, draft graph and revision.
PUT /staging/release/draftSend the edited graph with If-Match. Inspect diagnostics and executable_hash.
POST /staging/release/replaysSend executable_hash and optionally cohort_id with If-Match. Staging returns 201 and a frozen report; it does not buy missing observations.
GET /staging/release/replays/{id}Read the saved report for this tenant.
POST /staging/release/publishSend replay_id and executable_hash with If-Match. A changed draft, baseline or expired preview cannot be published.
POST /staging/release/rollbackSend version and expected_active to move the active policy back without changing an in-flight decision.

Prepaid sandbox billing

GET /v1/billing/balanceRead wallet, purchases and reload settings.
POST /v1/billing/topupsSend an integer amount_cents (minimum 1000) and Idempotency-Key. A Checkout redirect is not proof of payment.
GET /v1/billing/auto-reloadRead the current settings and revision.

Billing requires a provisioned staging billing profile and Stripe sandbox configuration. The marketing site does not accept payments or issue keys.