Documentation / API reference
Staging management
Reviewer, policy and billing operations are separate from inference.
Review and resolve
GET
/staging/reviewsRead 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}/resolvePreview and publish
| GET /staging/release/workspace | Read the active version, draft graph and revision. |
|---|---|
| PUT /staging/release/draft | Send the edited graph with If-Match. Inspect diagnostics and executable_hash. |
| POST /staging/release/replays | Send 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/publish | Send replay_id and executable_hash with If-Match. A changed draft, baseline or expired preview cannot be published. |
| POST /staging/release/rollback | Send version and expected_active to move the active policy back without changing an in-flight decision. |
Prepaid sandbox billing
| GET /v1/billing/balance | Read wallet, purchases and reload settings. |
|---|---|
| POST /v1/billing/topups | Send an integer amount_cents (minimum 1000) and Idempotency-Key. A Checkout redirect is not proof of payment. |
| GET /v1/billing/auto-reload | Read 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.