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.
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.
Terraform — maintenance + SLA
resource "pathly_maintenance_window" "friday_deploy" {
name = "Friday deploy"
starts_at = "2026-09-26T22:00:00Z"
ends_at = "2026-09-26T23:00:00Z"
# lier les scénarios concernés selon le schéma provider
}
resource "pathly_sla_target" "checkout" {
name = "Checkout"
target_percentage = 99.9
}