Driftwatch

Cloudflare / Cloudflare API /

Breaking

Response field message removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects POST /accounts/{account_id}/ai-search/instances.

Who is affected

Code that reads POST /accounts/{account_id}/ai-search/instances (errors[].message).

Before and after

WhereBeforeAfter
POST /accounts/{account_id}/ai-search/instances · errors[].messagepresentabsent
POST /accounts/{account_id}/ai-search/namespaces/{name}/instances · errors[].messagepresentabsent
PATCH /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id} · errors[].messagepresentabsent

Code that breaks

// response.errors[0].message is now undefined
const message = response.errors[0].message;

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