// AI Platform Drift

Cloudflare SQL API introspection parameter renamed from include_custom_attributes to include_attributes

Cloudflare developer changelog · published 2026-10-27 18:04 UTC
WORTH KNOWING MIGRATE APIDEPRECATION
WHAT CHANGEDThe SQL API introspection endpoint's include_custom_attributes query parameter is deprecated and replaced by include_attributes. The response field custom_attributes is deprecated and replaced by attributes. Both old names still work but are deprecated as of 27 October 2026.
WHY IT MATTERSCode using include_custom_attributes or parsing custom_attributes from responses will break when Cloudflare removes the deprecated names. The deprecated parameters currently work, giving a migration window before removal.
WHAT TO DOSearch your codebase for 'include_custom_attributes' and 'custom_attributes' in Cloudflare SQL API calls. Replace include_custom_attributes=true with include_attributes=true and update response parsing to read the attributes field instead of custom_attributes.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Analytics - SQL API introspection: `include_attributes` parameter
+https://developers.cloudflare.com/changelog/post/2026-10-27-introspection-include-attributes/
+Tue, 27 Oct 2026 00:00:00 GMT
+
+The SQL API introspection endpoint has a new include_attributes query parameter. Setting it to true discovers the keys of a dataset's attributes JSON column, and their types, from the preceding seven days of your account's data. Discovered keys are returned in the dataset's attributes response field.
+Some datasets store additional key-value data in an attributes JSON column, which you query with exact-key lookups such as attributes['http.method']. The previous way to discover these keys, include_custom_attributes, returned names in a custom_attributes field. The new names make it clearer that each returned name is a key you access through the attributes column.
+include_custom_attributes and custom_attributes are deprecated but still work. Update integrations to use include_attributes and attributes.
+curl --get "https://api.cloudflare.com/client/v4/analytics/sql/introspection" \
+--header "Authorization: Bearer <API_TOKEN>" \
+--data-urlencode "account_tag=<ACCOUNT_TAG>" \
+--data-urlencode "dataset_name=events.httpRequests" \
+--data-urlencode "include_attributes=true"
+For more information, refer to Attributes.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningDeprecation of include_custom_attributes and custom_attributes fields requires integration updates.
signalsdeprecation announced · API parameter renamed · breaking change to field names · migration path required · future date present
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)