Full document, no authentication, ready for your client generator.
Ping and Chain
type: "http" requires `url` (Ping) or `httpChain` (Chain, 1–10 hops). Checks: expectedStatus, expectText, headers, JSONPath, timing, TLS / DNS. intervalSec sets cadence. enabled: false prepares without alerting. Hop bodies and headers are never returned on read.
type: "browser" requires a step AST. Create the journey in the console (recorder): login, cart, 2FA. The API can reference and trigger, but must not carry customer credentials in Git.
On read you get a scenario fingerprint, not secret details. Use it to detect out-of-band changes (console vs Terraform).
Runs
A run is a billable execution. GET /v1/runs lists history. Trigger POST (runs:trigger) starts an immediate smoke — useful in post-deploy CI. Watch plan quota: API rate limit and commercial quota are distinct.
The trigger answers at once with { "queued": true }: the run is queued. Find it with GET /v1/runs?scenarioId=…, then read its verdict on GET /v1/runs/{id}. ok: everything passed. fail: a step or a check failed. error: a network or browser error, the run did not complete. When a screenshot exists, screenshotUrl is a signed link valid for 15 minutes.
Maintenance windows: silence alerts during a planned slot (deploys). Availability targets (SLA): threshold and scope, alerts when error budget burns. Both are first-class IaC resources.