Driftwatch

Cloudflare / Cloudflare API /

Behavioral

502 is now documented on /accounts/{account_id}/ai-search/instances/{id}/chat/completions

What changed

An unhandled branch in your error handling.

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

502 is now documented

Who is affected

Code that reads POST /accounts/{account_id}/ai-search/instances/{id}/chat/completions.

Before and after

WhereBeforeAfter
POST /accounts/{account_id}/ai-search/instances/{id}/chat/completionsabsent502
POST /accounts/{account_id}/ai-search/instances/{id}/searchabsent502
POST /accounts/{account_id}/ai-search/namespaces/{name}/chat/completionsabsent502
POST /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/chat/completionsabsent502
POST /accounts/{account_id}/ai-search/namespaces/{name}/instances/{id}/searchabsent502
POST /accounts/{account_id}/ai-search/namespaces/{name}/searchabsent502

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