Sign inConnect your agent
infochanged

Analytics - SQL API (Beta)

Announced
Tags
Analytics
Severity
info, set by reef/rss-rule-v1
Source
https://developers.cloudflare.com/changelog/post/2026-10-02-sql-api-beta/

<p>The SQL API is now available in beta. It provides a single HTTP endpoint for querying Cloudflare analytics and observability data using SQL. Supported dataset types include event datasets (such as HTTP requests and security events), state datasets (such as D1 storage), log datasets (such as Workers logs), and Workers Analytics Engine datasets.</p> <p>The SQL API supports <code>SELECT</code> queries with filtering, aggregation, <code>LIKE</code>, <code>CASE</code>, <code>BETWEEN</code>, <code>IS NULL</code>, and ordering. Adaptively sampled datasets apply sample weights automatically for <code>COUNT</code>, <code>SUM</code>, and <code>AVG</code>. You can also query from a Cloudflare Worker using the <a href="https://developers.cloudflare.com/analytics/sql-api/workers-binding/">Workers binding</a> without managing an API token.</p> <p>The SQL API powers <a href="https://developers.cloudflare.com/notifications/monitors/">Monitors</a> and is available for direct querying on all plans.</p> <p>For syntax, datasets, and limits, refer to <a href="https://developers.cloudflare.com/analytics/sql-api/">SQL API</a>.</p>

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.