Driftwatch

Cloudflare / Cloudflare API /

Breakingdirection flip: their tools call this safe

status can now return "METRICS_READY"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects data.status on POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams.

New value: METRICS_READY.

can now return "METRICS_READY"

Who is affected

Code that reads POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams (data.status).

Before and after

WhereBeforeAfter
POST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams · data.status"ERRORED", "IDLE", "INVOKED", "LIVE""ERRORED", "IDLE", "INVOKED", "LIVE", "METRICS_READY"

Code that breaks

switch (response.data.status) {
  // existing branches …
  // no branch for "METRICS_READY"
  default:
    throw new Error("unexpected status");
}

Based on Cloudflare’s published API specification. How severity is decided.