Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Log Explorer Queries API
version: 1.0.0
extends: openapi/cloudflare-log-explorer-queries-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/accounts/{account_id}/logs/explorer/query/sql'].get
update:
x-apievangelist-phrasing:
intent: Run an account log SQL query (deprecated)
effect: read
questions:
- Can I still run account-level log queries with a SQL string in the URL?
- Is the GET account log explorer endpoint deprecated?
instructions:
- text: Run the account log SQL query {query} in account {account_id}.
slots:
query: query.query
account_id: path.account_id
- text: Use the deprecated GET account log explorer to fetch {query}.
slots:
query: query.query
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/logs/explorer/query/sql'].post
update:
x-apievangelist-phrasing:
intent: Run a SQL query on account logs
effect: read
questions:
- How do I query account-level log datasets with SQL?
- Can I filter account log datasets by a timestamp range?
- Which datasets can I query at the account level instead of a zone?
instructions:
- text: Run a SQL query against the account-level log datasets of account {account_id}.
slots:
account_id: path.account_id
- text: Query account {account_id} logs from the past 30 days using SQL in the request body.
slots:
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/logs/explorer/query/sql'].get
update:
x-apievangelist-phrasing:
intent: Run a zone log query via deprecated GET
effect: read
questions:
- Is the GET zone log explorer endpoint deprecated?
- Why avoid putting a long SQL query in the URL for zone logs?
instructions:
- text: Use the deprecated GET zone log explorer to run {query} against zone {zone_id}.
slots:
query: query.query
zone_id: path.zone_id
- text: Run the SQL string {query} on zone {zone_id} logs, passing it in the URL query parameter.
slots:
query: query.query
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/logs/explorer/query/sql'].post
update:
x-apievangelist-phrasing:
intent: Run a SQL query on zone logs
effect: read
questions:
- How do I run a SQL query against a zone's log datasets using the request body?
- Can I filter zone-level logs to a specific date range?
- What's the way to send a long SQL log query for a zone without putting it in the URL?
instructions:
- text: Run a SQL query against the log datasets of zone {zone_id}, sending the query in the request body.
slots:
zone_id: path.zone_id
- text: Query zone {zone_id} logs for the last 30 days using the POST log explorer endpoint.
slots:
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.