curl is the zero-dependency fallback. Two planes share one origin:
- Vendor plane — the vendor’s real paths (
/v1/...), called by your app’s SDK. - Control plane —
/__admin__/*, called by test code / the SDK /curl.
This contract carries a version string. Vendor specifics (resource names, the error envelope) are
supplied by the pack; shapes here use Stripe/Deck-shaped examples.
Auth
Every request carries the instance-minted bearer key:401. The key authenticates you to the one world; it does not select
among worlds. More →
Vendor plane
Your app’s calls arrive unchanged and are resolved in this order:- Armed fault matches? → fire it.
X-Mock-Scenarioheader present? → run that scenario.- Magic value in the request? → run its outcome.
- Otherwise → normal stateful handling (out-of-control fields resolved inside this step).
X-Mock-Resolution-Trace: <id> (see the trace endpoint below).