List freezes
Active first, then planned and recurring by their next start, then ended. `counts` are the tiles and ignore the filters; `cover` is what each reaches.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
status?stringOnly freezes in this state.
"active""planned""recurring""ended"q?stringOnly freezes whose name or reason contains this text.
length <= 100The freezes.
application/json- response
items*array<>counts*tabs*The counts on the Rules, Freezes and Exceptions tabs.
curl -X GET 'https://wardn.example.com/api/v1/freezes'{ "items": [ { "appliesToRestores": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "reason": "string", "scope": [ { "field": "class", "op": "is", "value": "string", "label": "string" } ], "kind": "one_time", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "schedule": { "days": [ "mon" ], "start": "string", "end": "string" }, "timeZone": "string", "runningReleases": "pause", "bypass": [ { "who": "string", "can": "bypass", "needs": "string" } ], "notify": [ { "who": "string", "when": "string" } ], "status": "active", "until": "2019-08-24T14:15:22Z", "next": "2019-08-24T14:15:22Z", "cover": { "deployments": 0, "apps": 0, "clusters": 0, "leftOut": 0, "summary": "string", "lowered": [ "string" ] }, "canceledAt": "2019-08-24T14:15:22Z", "createdBy": { "id": "string", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "counts": { "active": 0, "planned": 0, "recurring": 0, "ended": 0 }, "tabs": { "rules": 0, "activeFreezes": 0, "exceptions": 0 }}Preview what a scope reaches POST
Counts the deployments (and their apps and clusters) the caller may read that these conditions reach, for those who write guardrails and freezes: the editor's coverage strip and the New freeze form's "6 deployments, 2 apps, 3 clusters". With `guardrailId` that guardrail's exceptions in effect are ap
Create a freeze POST
A one-time window (`startsAt` to `endsAt`) or a recurring one (days and hours in a time zone, from `startsAt`, until `endsAt` when given), over the places its conditions reach. Deployments in a freeze are held by the org freezes guardrail. The bypass rows say who may bypass the freeze, ask for a byp