cd /news/ai-tools/breaking-cloudflare-messages-changed… · home › topics › ai-tools › article
[ARTICLE · art-158327] src=driftwatch.et ↗ pub= topic=ai-tools verified=true sentiment=↓ negative

Cloudflare: messages changed type

Cloudflare's POST /accounts/{account_id}/ai/websearch endpoint now returns an object where the messages[] field previously returned null, according to the company's published API specification. Clients reading messages[] will either fail to parse the response or silently coerce the value, depending on the client. The change breaks code that expects null at payload.messages[0].

read1 min views3 publishedOct 26, 2026

What changed #

Parse failure, or silent coercion depending on your client.

Affects POST /accounts/{account_id}/ai/websearch.

null → object

Who is affected #

Code that reads POST /accounts/{account_id}/ai/websearch (messages[]).

Before and after #

Where Before After
POST /accounts/{account_id}/ai/websearch · messages[] null object

Code that breaks #

// payload.messages[0]
// was: null
// now: object

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

── more in #ai-tools 4 stories · sorted by recency
── more on @cloudflare 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/breaking-cloudflare-…] indexed:0 read:1min 2026-10-26 · —