Skip to content

Cloudflare

Query your Cloudflare accounts, zones, DNS, security, and analytics as SQL tables

Connector software
Free and open source
Service credentials
Required
Use with an agent

Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.

npx skills add Query-farm/vgi-skills --skill orchard

Copy this request into your coding agent to get started.

Use https://query.farm/products/orchard/connectors/cloudflare/index.md to help me query Cloudflare with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.

Find DNS records exposing unproxied origins

Uses your connected account. Set up the connector and credentials to run it with your data.

SELECT z.name AS zone, r.type, r.name AS record, r.content
FROM cloudflare.zones.zones z,
     cloudflare.dns.records(z.id) r
WHERE r.type IN ('A', 'AAAA', 'CNAME') AND r.proxiable AND NOT r.proxied
ORDER BY zone, record, r.type

Quick start

Choose where to run Cloudflare, then follow the steps below.

The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.

1. Install the vgi extension

Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.

setup.sql
SET allow_extension_repositories = 'allowed';

CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
    WITH PREFIX 'https://duckdb-extensions.query.farm';

INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;

2. Attach the connector

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'cloudflare' AS cloudflare (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-cloudflare'
);

3. Add service credentials

After attaching, create the secret for the service you want to query in the same SQL session. Replace the placeholders with your service settings.

cloudflare credentials

Cloudflare API credentials. Provide either api_token (preferred) or api_key + email (legacy Global API Key).

secret.sql
CREATE SECRET cloudflare (
    TYPE cloudflare,
    api_token '<API_TOKEN>',  -- secret
    api_key   '<CLOUDFLARE_API_KEY>',  -- secret
    email     '<email>'
);
Credential fields and requirements β†’

4. Run a query

query.sql
SELECT z.name AS zone, r.type, r.name AS record, r.content
FROM cloudflare.zones.zones z,
     cloudflare.dns.records(z.id) r
WHERE r.type IN ('A', 'AAAA', 'CNAME') AND r.proxiable AND NOT r.proxied
ORDER BY zone, record, r.type
More example queries β†’
Technical details
Verified connector release
v0.2.1
Engine
2.0.1
VGI protocol
3.4.0
Verified on
December 1, 2026
Release notes on GitHub
Pin a version for production

When running the connector yourself, keep a specific release until you’re ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'cloudflare' AS cloudflare (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-cloudflare'
);

Overview

Query the Cloudflare API from SQL: zones, DNS, accounts, security, Workers, Zero Trust, and traffic analytics as DuckDB tables and functions.

Catalog

Everything cloudflare exposes once attached β€” read straight from the worker's released build.

cloudflare 24 schemas
access 76 functions

Cloudflare Access (Zero Trust application security): protected applications, access policies, identity providers, service tokens, groups, certificates, and authentication logs.

Schema examples (3)
Examples (3)

List active sessions for one account and one user (account_id, user_id are required: each maps to the URL path).

SELECT name, expiration, metadata
FROM cloudflare.access.active_sessions
WHERE account_id = '<account_id>' AND user_id = '<user_id>';

List apps for one account (account_id is required: each maps to the URL path).

SELECT id, name, type
FROM cloudflare.access.apps
WHERE account_id = '<account_id>';

Only apps with a given name: the name filter is sent to the API.

SELECT id, name, type
FROM cloudflare.access.apps
WHERE account_id = '<account_id>' AND name = '<name>';
Table functions
active_sessions (account_id VARCHAR, user_id VARCHAR) 2 examples
Loading…
app (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps (account_id VARCHAR, aud := VARCHAR, domain := VARCHAR, exact := BOOLEAN, name := VARCHAR, target_attributes := VARCHAR) 3 examples
Loading…
apps_app (zone_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps_ca (zone_id VARCHAR) 2 examples
Loading…
apps_ca_by_id (zone_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps_policies (account_id VARCHAR, app_id VARCHAR) 2 examples
Loading…
apps_policies_policy (zone_id VARCHAR, app_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
apps_user_policy_checks (zone_id VARCHAR, app_id VARCHAR) 1 example
Loading…
authenticator_device_aaguids (account_id VARCHAR) 2 examples
Loading…
bookmark (account_id VARCHAR, bookmark_id VARCHAR) 1 example
Loading…
bookmarks (account_id VARCHAR) 2 examples
Loading…
ca (account_id VARCHAR) 2 examples
Loading…
ca_by_id (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
certificate (account_id VARCHAR, certificate_id VARCHAR) 1 example
Loading…
certificates (account_id VARCHAR) 2 examples
Loading…
certificates_certificate (zone_id VARCHAR, certificate_id VARCHAR) 1 example
Loading…
certificates_settings (zone_id VARCHAR) 2 examples
Loading…
custom_page (account_id VARCHAR, custom_page_id VARCHAR) 1 example
Loading…
custom_pages (account_id VARCHAR) 2 examples
Loading…
doh (account_id VARCHAR) 2 examples
Loading…
effective_redirect_uri (account_id VARCHAR, portal_id VARCHAR, server_id VARCHAR) 1 example
Loading…
failed_logins (account_id VARCHAR, user_id VARCHAR) 2 examples
Loading…
gateway_ca (account_id VARCHAR) 2 examples
Loading…
grant (account_id VARCHAR, grant_id VARCHAR) 1 example
Loading…
group (account_id VARCHAR, group_id VARCHAR) 1 example
Loading…
groups (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
groups_group (zone_id VARCHAR, group_id VARCHAR) 1 example
Loading…
identity_provider (account_id VARCHAR, identity_provider_id VARCHAR) 1 example
Loading…
identity_providers (account_id VARCHAR, scim_enabled := VARCHAR) 3 examples
Loading…
identity_providers_identity_provider (zone_id VARCHAR, identity_provider_id VARCHAR) 1 example
Loading…
idp_federation_grants (account_id VARCHAR) 2 examples
Loading…
jit_requests (account_id VARCHAR, since := VARCHAR, status := VARCHAR, until := VARCHAR) 3 examples
Loading…
keys (account_id VARCHAR) 2 examples
Loading…
knock_request (account_id VARCHAR, knock_request_id VARCHAR) 1 example
Loading…
last_seen_identity (account_id VARCHAR, user_id VARCHAR) 1 example
Loading…
nonce (account_id VARCHAR, user_id VARCHAR, nonce VARCHAR) 1 example
Loading…
organizations (account_id VARCHAR) 2 examples
Loading…
policies (account_id VARCHAR) 2 examples
Loading…
policies_policy (account_id VARCHAR, app_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
policy_test (account_id VARCHAR, policy_test_id VARCHAR) 1 example
Loading…
policy_tests_users (account_id VARCHAR, policy_test_id VARCHAR, status := VARCHAR) 3 examples
Loading…
portals (account_id VARCHAR) 2 examples
Loading…
portals_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
requests (account_id VARCHAR, allowedOp := VARCHAR, app_typeOp := VARCHAR, app_uidOp := VARCHAR, country_codeOp := VARCHAR, email := VARCHAR, emailOp := VARCHAR, email_exact := BOOLEAN, fields := VARCHAR, idpOp := VARCHAR, non_identityOp := VARCHAR, ray_idOp := VARCHAR, since := VARCHAR, until := VARCHAR, user_id := VARCHAR, user_idOp := VARCHAR) 3 examples
Loading…
saml_cert_set (account_id VARCHAR, saml_cert_set_id VARCHAR) 1 example
Loading…
saml_certificates (account_id VARCHAR, id := VARCHAR) 3 examples
Loading…
scim_groups (account_id VARCHAR, identity_provider_id VARCHAR, cf_resource_id := VARCHAR, idp_resource_id := VARCHAR, name := VARCHAR) 3 examples
Loading…
scim_groups_group (account_id VARCHAR, identity_provider_id VARCHAR, group_id VARCHAR) 1 example
Loading…
scim_users (account_id VARCHAR, identity_provider_id VARCHAR, cf_resource_id := VARCHAR, email := VARCHAR, idp_resource_id := VARCHAR, name := VARCHAR, username := VARCHAR) 3 examples
Loading…
servers (account_id VARCHAR) 2 examples
Loading…
servers_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
servers_tool_calls_timeseries (account_id VARCHAR, server_id VARCHAR, aggregate := VARCHAR, days := BIGINT, granularity := VARCHAR, tz := VARCHAR) 1 example
Loading…
service_token (account_id VARCHAR, service_token_id VARCHAR) 1 example
Loading…
service_tokens (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
service_tokens_service_token (zone_id VARCHAR, service_token_id VARCHAR) 1 example
Loading…
settings (account_id VARCHAR) 2 examples
Loading…
tag_name (account_id VARCHAR, tag_name VARCHAR) 1 example
Loading…
tags (account_id VARCHAR) 2 examples
Loading…
timeseries (account_id VARCHAR, aggregate := VARCHAR, days := BIGINT, granularity := VARCHAR, tz := VARCHAR) 2 examples
Loading…
tool_calls_timeseries (account_id VARCHAR, portal_id VARCHAR, aggregate := VARCHAR, days := BIGINT, granularity := VARCHAR, tz := VARCHAR) 1 example
Loading…
updates (account_id VARCHAR, cf_resource_id := VARCHAR, idp_id := VARCHAR, idp_resource_id := VARCHAR, request_method := VARCHAR, resource_group_name := VARCHAR, resource_type := VARCHAR, resource_user_email := VARCHAR, since := VARCHAR, status := VARCHAR, until := VARCHAR) 3 examples
Loading…
user (account_id VARCHAR, user_id VARCHAR) 1 example
Loading…
user_policy_checks (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
user_population (account_id VARCHAR, user_population_id VARCHAR) 1 example
Loading…
user_populations (account_id VARCHAR) 2 examples
Loading…
users (account_id VARCHAR, email := VARCHAR, name := VARCHAR) 3 examples
Loading…
users_user (account_id VARCHAR, identity_provider_id VARCHAR, user_id VARCHAR) 1 example
Loading…
zone_apps (zone_id VARCHAR) 2 examples
Loading…
zone_apps_policies (zone_id VARCHAR, app_id VARCHAR) 2 examples
Loading…
zone_certificates (zone_id VARCHAR) 2 examples
Loading…
zone_groups (zone_id VARCHAR) 2 examples
Loading…
zone_identity_providers (zone_id VARCHAR) 2 examples
Loading…
zone_organizations (zone_id VARCHAR) 2 examples
Loading…
zone_service_tokens (zone_id VARCHAR) 2 examples
Loading…
accounts 23 tables Β· 72 functions

Cloudflare accounts and identity: the accounts a token can see, their members and roles, API tokens, permission groups, organizations, tenants, and the token's own user profile.

Schema examples (3)
Examples (3)

List account organizations for one account (account_id is required: each maps to the URL path).

SELECT id, name, create_time
FROM cloudflare.accounts.account_organizations
WHERE account_id = '<account_id>';

Count account organizations for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.accounts.account_organizations
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List account permission groups for one account (account_id is required: each maps to the URL path).

SELECT id, name, meta
FROM cloudflare.accounts.account_permission_groups
WHERE account_id = '<account_id>';
Tables
accounts 2 examples5 cols
Loading…
audit_logs 2 examples10 cols
Loading…
billing_profile 1 example38 cols
Loading…
communication_preferences 1 example5 cols
Loading…
dashboard 1 example3 cols
Loading…
events 1 example4 cols
Loading…
history 2 examples8 cols
Loading…
invites 1 example11 cols
Loading…
memberships 2 examples6 cols
Loading…
monitors 1 example19 cols
Loading…
organizations 2 examples6 cols
Loading…
permission_groups 2 examples5 cols
Loading…
pools 2 examples20 cols
Loading…
report 1 example2 cols
Loading…
rules 2 examples7 cols
Loading…
scopes 1 example4 cols
Loading…
subscriptions 1 example11 cols
Loading…
tenants 1 example6 cols
Loading…
tokens 1 example13 cols
Loading…
user 1 example10 cols
Loading…
user_organizations 2 examples5 cols
Loading…
v4_health 1 example1 col
Loading…
verify 1 example4 cols
Loading…
Table functions
account (account_id VARCHAR) 2 examples
Loading…
account_organizations (account_id VARCHAR) 2 examples
Loading…
account_permission_groups (account_id VARCHAR, id := VARCHAR, label := VARCHAR, name := VARCHAR) 3 examples
Loading…
account_resources (account_id VARCHAR, share_id VARCHAR, resource_type := VARCHAR, status := VARCHAR) 3 examples
Loading…
account_subscription (account_id VARCHAR, subscription_identifier VARCHAR) 1 example
Loading…
account_subscriptions (account_id VARCHAR) 2 examples
Loading…
account_token (account_id VARCHAR, token_id VARCHAR) 1 example
Loading…
account_tokens (account_id VARCHAR, include_expired := BOOLEAN) 3 examples
Loading…
account_verify (account_id VARCHAR) 2 examples
Loading…
applications (account_id VARCHAR, fields := VARCHAR, filter := VARCHAR, lookup := VARCHAR, order_by := VARCHAR) 3 examples
Loading…
applications_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
audit (organization_id VARCHAR, action_result := VARCHAR, action_result_not := VARCHAR, action_type := VARCHAR, action_type_not := VARCHAR, actor_context := VARCHAR, actor_context_not := VARCHAR, actor_email := VARCHAR, actor_email_not := VARCHAR, actor_id := VARCHAR, actor_id_not := VARCHAR, actor_ip_address := VARCHAR, actor_ip_address_not := VARCHAR, actor_token_id := VARCHAR, actor_token_id_not := VARCHAR, actor_token_name := VARCHAR, actor_token_name_not := VARCHAR, actor_type := VARCHAR, actor_type_not := VARCHAR, before := VARCHAR, id := VARCHAR, id_not := VARCHAR, raw_cf_ray_id := VARCHAR, raw_cf_ray_id_not := VARCHAR, raw_method := VARCHAR, raw_method_not := VARCHAR, raw_status_code := VARCHAR, raw_status_code_not := VARCHAR, raw_uri := VARCHAR, raw_uri_not := VARCHAR, resource_id := VARCHAR, resource_id_not := VARCHAR, resource_product := VARCHAR, resource_product_not := VARCHAR, resource_scope := VARCHAR, resource_scope_not := VARCHAR, resource_type := VARCHAR, resource_type_not := VARCHAR, since := VARCHAR) 3 examples
Loading…
audit_history (organization_id VARCHAR, id VARCHAR, action_time := VARCHAR, before := VARCHAR, since := VARCHAR) 3 examples
Loading…
cancel_reason (account_id VARCHAR, subscription_identifier VARCHAR) 1 example
Loading…
categories (account_id VARCHAR) 2 examples
Loading…
categories_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
custom_ns (tenant_tag VARCHAR) 2 examples
Loading…
entitlements (tenant_id VARCHAR) 2 examples
Loading…
excluded_recipient (account_id VARCHAR, share_id VARCHAR, excluded_recipient_id VARCHAR) 1 example
Loading…
excluded_recipients (account_id VARCHAR, share_id VARCHAR) 2 examples
Loading…
health (pool_id VARCHAR) 2 examples
Loading…
industry (account_id VARCHAR) 2 examples
Loading…
invite (invite_id VARCHAR) 2 examples
Loading…
member (account_id VARCHAR, member_id VARCHAR) 1 example
Loading…
members (account_id VARCHAR, status := VARCHAR) 3 examples
Loading…
members_member (organization_id VARCHAR, member_id VARCHAR) 1 example
Loading…
membership (membership_id VARCHAR) 2 examples
Loading…
memberships_membership (membership_id VARCHAR) 2 examples
Loading…
monitor (monitor_id VARCHAR) 2 examples
Loading…
oauth_client (account_id VARCHAR, oauth_client_id VARCHAR) 1 example
Loading…
oauth_clients (account_id VARCHAR) 2 examples
Loading…
organization (organization_id VARCHAR) 2 examples
Loading…
organization_accounts (organization_id VARCHAR, account_pubname := VARCHAR, account_pubname_endsWith := VARCHAR, account_pubname_startsWith := VARCHAR, include_tags := BOOLEAN, include_total := BOOLEAN, name := VARCHAR, name_endsWith := VARCHAR, name_startsWith := VARCHAR, order_by := VARCHAR, page_size := BIGINT, page_token := VARCHAR) 3 examples
Loading…
organization_members (organization_id VARCHAR, page_size := BIGINT, page_token := VARCHAR, status := VARCHAR, user_email := VARCHAR, user_email_endsWith := VARCHAR, user_email_startsWith := VARCHAR) 3 examples
Loading…
organization_profile (organization_id VARCHAR) 2 examples
Loading…
organization_shares (organization_id VARCHAR, kind := VARCHAR, resource_types := VARCHAR, status := VARCHAR, target_type := VARCHAR) 3 examples
Loading…
permission_group (account_id VARCHAR, permission_group_id VARCHAR) 1 example
Loading…
policies (account_id VARCHAR) 2 examples
Loading…
policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
pool (pool_id VARCHAR) 2 examples
Loading…
pools_references (pool_id VARCHAR) 2 examples
Loading…
profile (account_id VARCHAR) 2 examples
Loading…
recipient (account_id VARCHAR, share_id VARCHAR, recipient_id VARCHAR, include_resources := BOOLEAN) 1 example
Loading…
recipients (account_id VARCHAR, share_id VARCHAR, include_resources := BOOLEAN) 3 examples
Loading…
references (monitor_id VARCHAR) 2 examples
Loading…
report_by_id (account_id VARCHAR, report_id VARCHAR) 1 example
Loading…
reports (account_id VARCHAR) 2 examples
Loading…
resource_group (account_id VARCHAR, resource_group_id VARCHAR) 1 example
Loading…
resource_groups (account_id VARCHAR, id := VARCHAR, name := VARCHAR) 3 examples
Loading…
resources (account_id VARCHAR, case_insensitive := BOOLEAN, id := VARCHAR, name := VARCHAR, tag := VARCHAR, type := VARCHAR) 3 examples
Loading…
role (account_id VARCHAR, role_id VARCHAR) 1 example
Loading…
roles (account_id VARCHAR) 2 examples
Loading…
rule (rule_id VARCHAR) 2 examples
Loading…
share (account_id VARCHAR, share_id VARCHAR, include_recipient_counts := BOOLEAN, include_resources := BOOLEAN) 1 example
Loading…
share_resource (account_id VARCHAR, share_id VARCHAR, share_resource_id VARCHAR) 1 example
Loading…
shares (account_id VARCHAR, include_recipient_counts := BOOLEAN, include_resources := BOOLEAN, kind := VARCHAR, resource_types := VARCHAR, status := VARCHAR, tag := VARCHAR, target_type := VARCHAR) 3 examples
Loading…
sso_connector (account_id VARCHAR, sso_connector_id VARCHAR) 1 example
Loading…
sso_connectors (account_id VARCHAR) 2 examples
Loading…
subscription (subscription_id VARCHAR) 2 examples
Loading…
summary (account_id VARCHAR) 2 examples
Loading…
tags (account_id VARCHAR, resource_id := VARCHAR, resource_type := VARCHAR, worker_id := VARCHAR) 2 examples
Loading…
tenant (tenant_id VARCHAR) 2 examples
Loading…
tenant_accounts (tenant_id VARCHAR) 2 examples
Loading…
tenant_memberships (tenant_id VARCHAR) 2 examples
Loading…
token (token_id VARCHAR) 2 examples
Loading…
tokens_permission_groups (account_id VARCHAR, name := VARCHAR, scope := VARCHAR) 3 examples
Loading…
usage (organization_id VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 3 examples
Loading…
user_group (account_id VARCHAR, user_group_id VARCHAR) 1 example
Loading…
user_groups (account_id VARCHAR, fuzzyName := VARCHAR, id := VARCHAR, name := VARCHAR) 3 examples
Loading…
user_groups_members (account_id VARCHAR, user_group_id VARCHAR, fuzzyEmail := VARCHAR) 3 examples
Loading…
user_groups_members_member (account_id VARCHAR, user_group_id VARCHAR, member_id VARCHAR) 1 example
Loading…
zone_tags (zone_id VARCHAR, access_application_id := VARCHAR, resource_id := VARCHAR, resource_type := VARCHAR) 2 examples
Loading…
ai 71 functions

Cloudflare AI products: AI Gateway (logging, caching, and rate limiting in front of model providers), AI Search / AutoRAG indexes, Workers AI models, and Vectorize vector indexes.

Schema examples (3)
Examples (3)

List account namespaces for one account (account_id is required: each maps to the URL path).

SELECT id, name, created_at
FROM cloudflare.ai.account_namespaces
WHERE account_id = '<account_id>';

Count account namespaces for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.ai.account_namespaces
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List chunks for one account and one name and one id and one item (account_id, name, id, item_id are required: each maps to the URL path).

SELECT end_byte, item, start_byte
FROM cloudflare.ai.chunks
WHERE account_id = '<account_id>' AND name = '<name>' AND id = '<id>' AND item_id = '<item_id>';
Table functions
account_namespaces (account_id VARCHAR) 2 examples
Loading…
chunks (account_id VARCHAR, name VARCHAR, id VARCHAR, item_id VARCHAR) 2 examples
Loading…
config (account_id VARCHAR) 2 examples
Loading…
costs (account_id VARCHAR, account_provider_id := VARCHAR, cost_type := VARCHAR, enable := BOOLEAN, model_rule := VARCHAR) 3 examples
Loading…
costs_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
credit_balance (account_id VARCHAR) 2 examples
Loading…
custom_domains (account_id VARCHAR, gateway_id VARCHAR, status := VARCHAR) 3 examples
Loading…
custom_providers (account_id VARCHAR, beta := BOOLEAN, enable := BOOLEAN) 3 examples
Loading…
custom_providers_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
datasets (account_id VARCHAR, gateway_id VARCHAR, enable := BOOLEAN, name := VARCHAR) 3 examples
Loading…
datasets_by_id (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
deployments (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
evaluation_types (account_id VARCHAR, order_by := VARCHAR, order_by_direction := VARCHAR) 3 examples
Loading…
evaluations (account_id VARCHAR, gateway_id VARCHAR, name := VARCHAR, processed := BOOLEAN) 3 examples
Loading…
evaluations_by_id (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
file_name (account_id VARCHAR, finetune_id VARCHAR, file_name VARCHAR) 1 example
Loading…
files (account_id VARCHAR, id VARCHAR, status := VARCHAR) 3 examples
Loading…
finetunes (account_id VARCHAR) 2 examples
Loading…
gateways (account_id VARCHAR) 2 examples
Loading…
gateways_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
gateways_routes (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
hostname (account_id VARCHAR, gateway_id VARCHAR, hostname VARCHAR) 1 example
Loading…
index_name (account_id VARCHAR, index_name VARCHAR) 1 example
Loading…
indexes (account_id VARCHAR) 2 examples
Loading…
indexes_index_name (account_id VARCHAR, index_name VARCHAR) 1 example
Loading…
indexes_list (account_id VARCHAR, index_name VARCHAR, count := BIGINT) 1 example
Loading…
info (account_id VARCHAR, index_name VARCHAR) 1 example
Loading…
instances (account_id VARCHAR, hostname := VARCHAR, namespace := VARCHAR, order_by := VARCHAR, order_by_direction := VARCHAR) 3 examples
Loading…
instances_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
instances_jobs (account_id VARCHAR, name VARCHAR, id VARCHAR) 2 examples
Loading…
instances_jobs_job (account_id VARCHAR, name VARCHAR, id VARCHAR, job_id VARCHAR) 1 example
Loading…
instances_jobs_logs (account_id VARCHAR, name VARCHAR, id VARCHAR, job_id VARCHAR) 2 examples
Loading…
instances_stats (account_id VARCHAR, name VARCHAR, id VARCHAR) 1 example
Loading…
invoice_history (account_id VARCHAR, type := VARCHAR) 2 examples
Loading…
invoice_preview (account_id VARCHAR) 2 examples
Loading…
item (account_id VARCHAR, name VARCHAR, id VARCHAR, item_id VARCHAR) 1 example
Loading…
items (account_id VARCHAR, name VARCHAR, id VARCHAR, item_id := VARCHAR, key := VARCHAR, metadata_filter := VARCHAR, sort_by := VARCHAR, source := VARCHAR, status := VARCHAR) 3 examples
Loading…
items_logs (account_id VARCHAR, name VARCHAR, id VARCHAR, item_id VARCHAR) 2 examples
Loading…
job (account_id VARCHAR, id VARCHAR, job_id VARCHAR) 1 example
Loading…
jobs (account_id VARCHAR, id VARCHAR) 2 examples
Loading…
jobs_job (account_id VARCHAR, id VARCHAR, job_id VARCHAR) 1 example
Loading…
jobs_logs (account_id VARCHAR, id VARCHAR, job_id VARCHAR) 2 examples
Loading…
limits (account_id VARCHAR) 2 examples
Loading…
logging_state (account_id VARCHAR) 2 examples
Loading…
logs (account_id VARCHAR, gateway_id VARCHAR, cached := BOOLEAN, end_date := VARCHAR, feedback := DOUBLE, filters := VARCHAR, max_cost := DOUBLE, max_duration := DOUBLE, max_tokens_in := DOUBLE, max_tokens_out := DOUBLE, max_total_tokens := DOUBLE, meta_info := BOOLEAN, min_cost := DOUBLE, min_duration := DOUBLE, min_tokens_in := DOUBLE, min_tokens_out := DOUBLE, min_total_tokens := DOUBLE, model := VARCHAR, model_type := VARCHAR, order_by := VARCHAR, order_by_direction := VARCHAR, provider := VARCHAR, request_content_type := VARCHAR, response_content_type := VARCHAR, start_date := VARCHAR, success := BOOLEAN) 3 examples
Loading…
logs_by_id (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
memories (account_id VARCHAR, namespace_name VARCHAR, profile_name VARCHAR, session_id := VARCHAR, type := VARCHAR) 3 examples
Loading…
memory (account_id VARCHAR, namespace_name VARCHAR, profile_name VARCHAR, memory_id VARCHAR) 1 example
Loading…
metadata_index_list (account_id VARCHAR, index_name VARCHAR) 1 example
Loading…
namespace_name (account_id VARCHAR, namespace_name VARCHAR) 1 example
Loading…
namespaces (account_id VARCHAR) 2 examples
Loading…
namespaces_by_id (account_id VARCHAR, name VARCHAR) 1 example
Loading…
namespaces_instances (account_id VARCHAR, name VARCHAR, hostname := VARCHAR, order_by := VARCHAR, order_by_direction := VARCHAR) 3 examples
Loading…
namespaces_instances_by_id (account_id VARCHAR, name VARCHAR, id VARCHAR) 1 example
Loading…
profiles (account_id VARCHAR, namespace_name VARCHAR) 2 examples
Loading…
provider_configs (account_id VARCHAR, gateway_id VARCHAR) 2 examples
Loading…
provider_configs_by_id (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
public (account_id VARCHAR, orderBy := VARCHAR) 3 examples
Loading…
rags_jobs (account_id VARCHAR, id VARCHAR) 2 examples
Loading…
rags_jobs_logs (account_id VARCHAR, id VARCHAR, job_id VARCHAR) 2 examples
Loading…
routes (account_id VARCHAR, gateway_id VARCHAR) 1 example
Loading…
schema (account_id VARCHAR, model := VARCHAR) 2 examples
Loading…
spending_limit (account_id VARCHAR) 2 examples
Loading…
stats (account_id VARCHAR, id VARCHAR) 1 example
Loading…
supported (account_id VARCHAR) 2 examples
Loading…
tokens (account_id VARCHAR) 2 examples
Loading…
tokens_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
usage_history (account_id VARCHAR, end_time := DOUBLE, start_time := DOUBLE, value_grouping_window := VARCHAR) 2 examples
Loading…
v2_indexes (account_id VARCHAR) 2 examples
Loading…
version (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR, version_id VARCHAR) 1 example
Loading…
versions (account_id VARCHAR, gateway_id VARCHAR, id VARCHAR) 1 example
Loading…
alerting 12 functions

Cloudflare Notifications: alert policies, delivery destinations (email, PagerDuty, webhooks), silences, and the history of alerts that fired for an account.

Schema examples (3)
Examples (3)

List historys for one account (account_id is required: each maps to the URL path).

SELECT id, name, alert_body
FROM cloudflare.alerting.history
WHERE account_id = '<account_id>';

Count historys for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.alerting.history
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List pagerdutys for one account (account_id is required: each maps to the URL path).

SELECT id, name
FROM cloudflare.alerting.pagerduty
WHERE account_id = '<account_id>';
Table functions
history (account_id VARCHAR, before := VARCHAR, since := VARCHAR) 3 examples
Loading…
pagerduty (account_id VARCHAR) 2 examples
Loading…
policies (account_id VARCHAR) 2 examples
Loading…
policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
silence (account_id VARCHAR, silence_id VARCHAR) 1 example
Loading…
silences (account_id VARCHAR) 2 examples
Loading…
subscription (account_id VARCHAR, subscription_id VARCHAR) 1 example
Loading…
subscriptions (account_id VARCHAR) 2 examples
Loading…
token (account_id VARCHAR, token_id VARCHAR) 1 example
Loading…
unsubscribe (account_id VARCHAR, policy_id VARCHAR, email := VARCHAR, token := VARCHAR) 1 example
Loading…
webhook (account_id VARCHAR, webhook_id VARCHAR) 1 example
Loading…
webhooks (account_id VARCHAR) 2 examples
Loading…
analytics 7 functions

Cloudflare traffic and security analytics from the GraphQL Analytics API: HTTP requests by day or hour, adaptive request samples, firewall events, health checks, and Workers invocations.

Schema examples (4)
Examples (4)

Each zone's DNS record count beside the last 7 full days' requests and cache-hit percentage; a zone with records but 0 requests is a candidate for cleanup (cached_pct is NULL without traffic).

WITH dns AS (SELECT z.id AS zone_id, z.name AS zone, count(*) AS dns_records FROM cloudflare.zones.zones z, cloudflare.dns.records(z.id) r GROUP BY ALL), traffic AS (SELECT t.zone_id, sum(t.requests) AS requests, sum(t.cached_requests) AS cached FROM cloudflare.zones.zones z, cloudflare.analytics.http_requests_daily(z.id, since := current_date - 7, until := current_date - 1) t GROUP BY ALL) SELECT d.zone, d.dns_records, coalesce(t.requests, 0) AS requests, round(100.0 * t.cached / nullif(t.requests, 0), 1) AS cached_pct
FROM dns d
LEFT JOIN traffic t USING (zone_id)
ORDER BY requests DESC, d.zone;

requests per date for one zone over the last 7 full days.

SELECT date, requests
FROM cloudflare.analytics.http_requests_daily('<zone_id>', since := current_date - 7, until := current_date - 1)
ORDER BY date;

requests per datetime for one zone over the last 6 hours.

SELECT datetime, requests
FROM cloudflare.analytics.http_requests_hourly('<zone_id>', since := date_trunc('hour', now()) - INTERVAL 6 HOUR, until := date_trunc('hour', now()))
ORDER BY datetime;

count per datetime and client_country, host for one zone over the last 6 hours.

SELECT datetime, client_country, host, count
FROM cloudflare.analytics.http_requests_adaptive('<zone_id>', since := date_trunc('hour', now()) - INTERVAL 6 HOUR, until := date_trunc('hour', now()))
ORDER BY datetime;
Table functions
firewall_events (zone_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
health_check_events (zone_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
http_requests_adaptive (zone_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
http_requests_daily (zone_id VARCHAR, since := DATE, until := DATE) 3 examples
Loading…
http_requests_hourly (zone_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
http_requests_traffic (zone_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
workers_invocations (account_id VARCHAR, since := TIMESTAMP WITH TIME ZONE, until := TIMESTAMP WITH TIME ZONE) 2 examples
Loading…
api_gateway 27 functions

Cloudflare API Shield (API Gateway) for a zone: discovered and managed API operations, endpoint schemas, hostnames, labels, and schema validation configuration.

Schema examples (3)
Examples (3)

List configs for one zone (zone_id is required: each maps to the URL path).

SELECT id, created_at, credentials
FROM cloudflare.api_gateway.config
WHERE zone_id = '<zone_id>';

Count configs for several zones at once (one API call each).

SELECT zone_id, count(*) AS n
FROM cloudflare.api_gateway.config
WHERE zone_id IN ('<zone_id_1>', '<zone_id_2>')
GROUP BY zone_id;

List discovery operations for one zone (zone_id is required: each maps to the URL path).

SELECT id, features, last_updated
FROM cloudflare.api_gateway.discovery_operations
WHERE zone_id = '<zone_id>';
Table functions
config (zone_id VARCHAR) 2 examples
Loading…
config_by_id (zone_id VARCHAR, config_id VARCHAR) 1 example
Loading…
configuration (zone_id VARCHAR, normalize := BOOLEAN) 2 examples
Loading…
discovery (zone_id VARCHAR) 2 examples
Loading…
discovery_operations (zone_id VARCHAR, diff := BOOLEAN, endpoint := VARCHAR, host := VARCHAR, method := VARCHAR, origin := VARCHAR, state := VARCHAR) 3 examples
Loading…
hosts (zone_id VARCHAR) 2 examples
Loading…
labels (zone_id VARCHAR, filter := VARCHAR, source := VARCHAR, with_mapped_resource_counts := BOOLEAN) 3 examples
Loading…
managed (zone_id VARCHAR, name VARCHAR, with_mapped_resource_counts := BOOLEAN) 1 example
Loading…
operation (zone_id VARCHAR, operation_id VARCHAR, feature := VARCHAR, with_schemas := BOOLEAN) 1 example
Loading…
operations (zone_id VARCHAR, endpoint := VARCHAR, feature := VARCHAR, host := VARCHAR, method := VARCHAR) 3 examples
Loading…
operations_operation (zone_id VARCHAR, operation_id VARCHAR) 1 example
Loading…
operations_schema_validation (zone_id VARCHAR, operation_id VARCHAR) 1 example
Loading…
rule (zone_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
rules (zone_id VARCHAR, action := VARCHAR, enabled := BOOLEAN, host := VARCHAR, hostname := VARCHAR, id := VARCHAR, rule_id := VARCHAR, token_configuration := VARCHAR) 3 examples
Loading…
schema (zone_id VARCHAR, schema_id VARCHAR, omit_source := BOOLEAN) 1 example
Loading…
schema_validation (zone_id VARCHAR) 2 examples
Loading…
schemas (zone_id VARCHAR, omit_source := BOOLEAN, validation_enabled := BOOLEAN) 3 examples
Loading…
schemas_by_id (zone_id VARCHAR, feature := VARCHAR, host := VARCHAR, include_schema_kind := VARCHAR) 2 examples
Loading…
schemas_hosts (zone_id VARCHAR) 2 examples
Loading…
schemas_operations (zone_id VARCHAR, schema_id VARCHAR, endpoint := VARCHAR, feature := VARCHAR, host := VARCHAR, method := VARCHAR, operation_status := VARCHAR) 3 examples
Loading…
schemas_schema (zone_id VARCHAR, schema_id VARCHAR, omit_source := BOOLEAN) 1 example
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
settings_operations (zone_id VARCHAR) 2 examples
Loading…
user (zone_id VARCHAR, name VARCHAR, with_mapped_resource_counts := BOOLEAN) 1 example
Loading…
user_schemas (zone_id VARCHAR, omit_source := BOOLEAN, validation_enabled := BOOLEAN) 3 examples
Loading…
user_schemas_operations (zone_id VARCHAR, schema_id VARCHAR, endpoint := VARCHAR, feature := VARCHAR, host := VARCHAR, method := VARCHAR, operation_status := VARCHAR) 3 examples
Loading…
zone_discovery_operations (zone_id VARCHAR, discovery_id VARCHAR) 2 examples
Loading…
billing 19 functions

Cloudflare billing for an account: billable usage and pay-as-you-go usage records, for understanding what an account is charged for.

Schema examples (3)
Examples (3)

List account usages for one account (account_id is required: each maps to the URL path).

SELECT "argoAcceleratedBytes", "imageResizingRequests",
  "loadBalancingQueries"
FROM cloudflare.billing.account_usage
WHERE account_id = '<account_id>';

Count account usages for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.billing.account_usage
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List available plans for one zone (zone_id is required: each maps to the URL path).

SELECT id, name, can_subscribe
FROM cloudflare.billing.available_plans
WHERE zone_id = '<zone_id>';
Table functions
account_usage (account_id VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 3 examples
Loading…
available_plans (zone_id VARCHAR) 2 examples
Loading…
available_rate_plans (zone_id VARCHAR) 2 examples
Loading…
bad_debt (account_id VARCHAR) 2 examples
Loading…
billable_metrics (account_id VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 3 examples
Loading…
billable_usage (account_id VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 3 examples
Loading…
credits (account_id VARCHAR) 2 examples
Loading…
entitlements (account_id VARCHAR) 2 examples
Loading…
history (account_id VARCHAR, status := VARCHAR) 3 examples
Loading…
info (account_id VARCHAR) 2 examples
Loading…
payment_method (account_id VARCHAR, payment_method_id VARCHAR) 1 example
Loading…
payment_methods (account_id VARCHAR) 2 examples
Loading…
plan (zone_id VARCHAR, plan_identifier VARCHAR) 1 example
Loading…
profile (account_id VARCHAR) 2 examples
Loading…
public_key (public_key VARCHAR) 2 examples
Loading…
subscription (zone_id VARCHAR) 2 examples
Loading…
unpaid_invoice (account_id VARCHAR) 2 examples
Loading…
usage (account_id VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 3 examples
Loading…
zone_entitlements (zone_id VARCHAR) 2 examples
Loading…
browser_rendering 8 functions

Cloudflare Browser Rendering: headless browser sessions run on Cloudflare's network, with their DevTools targets and session details for an account.

Schema examples (3)
Examples (3)

Fetch one close target by account_id, session_id, target_id; an unknown id returns no rows.

SELECT message
FROM cloudflare.browser_rendering.close_target('<account_id>', '<session_id>', '<target_id>');

Fetch one job by account_id, job_id; an unknown id returns no rows.

SELECT id, status, "browserSecondsUsed"
FROM cloudflare.browser_rendering.job('<account_id>', '<job_id>');

Fetch one json list target by account_id, session_id, target_id; an unknown id returns no rows.

SELECT id, type, description
FROM cloudflare.browser_rendering.json_list_target('<account_id>', '<session_id>', '<target_id>');
Table functions
close_target (account_id VARCHAR, session_id VARCHAR, target_id VARCHAR) 1 example
Loading…
job (account_id VARCHAR, job_id VARCHAR, cache_ttl := DOUBLE, limit_ := DOUBLE, status := VARCHAR) 1 example
Loading…
json_list_target (account_id VARCHAR, session_id VARCHAR, target_id VARCHAR) 1 example
Loading…
protocol (account_id VARCHAR, session_id VARCHAR) 1 example
Loading…
recording_session (account_id VARCHAR, session_id VARCHAR) 1 example
Loading…
session (account_id VARCHAR, session_id VARCHAR) 1 example
Loading…
target (account_id VARCHAR, session_id VARCHAR, target_id VARCHAR) 1 example
Loading…
version (account_id VARCHAR, session_id VARCHAR) 1 example
Loading…
dns 30 functions

Cloudflare DNS: records in each zone, DNSSEC, zone DNS settings, secondary DNS (zone transfers, peers, TSIG keys), DNS Firewall clusters, custom nameservers, and DNS analytics reports.

Schema examples (5)
Examples (5)

Across every zone, the A/AAAA/CNAME records Cloudflare could proxy but that are DNS-only: their targets are answered straight from DNS instead of sitting behind Cloudflare.

SELECT z.name AS zone, r.type, r.name AS record, r.content
FROM cloudflare.zones.zones z,
     cloudflare.dns.records(z.id) r
WHERE r.type IN ('A', 'AAAA', 'CNAME') AND r.proxiable AND NOT r.proxied
ORDER BY zone, record, r.type;

One row per zone with its SSL/TLS encryption mode, its Always Use HTTPS setting and its DNSSEC status, read from two settings lookups and the DNSSEC function.

SELECT z.name AS zone, ssl.value AS ssl_mode,
  https.value AS always_use_https, d.status AS dnssec_status
FROM cloudflare.zones.zones z,
     cloudflare.zones.setting(z.id, 'ssl') ssl,
     cloudflare.zones.setting(z.id, 'always_use_https') https,
     cloudflare.dns.dnssec(z.id) d
ORDER BY zone;

List acls for one account (account_id is required: each maps to the URL path).

SELECT id, name, ip_range
FROM cloudflare.dns.acls
WHERE account_id = '<account_id>';

Count acls for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.dns.acls
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;
1 more example

List custom ns for one account (account_id is required: each maps to the URL path).

SELECT status, dns_records, ns_name
FROM cloudflare.dns.custom_ns
WHERE account_id = '<account_id>';
Table functions
acl (account_id VARCHAR, acl_id VARCHAR) 1 example
Loading…
acls (account_id VARCHAR) 2 examples
Loading…
analytics_report (account_id VARCHAR, dns_firewall_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, limit_ := BIGINT, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, until := VARCHAR) 1 example
Loading…
bytime (zone_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, limit_ := BIGINT, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 2 examples
Loading…
custom_ns (account_id VARCHAR) 2 examples
Loading…
custom_ns_by_id (zone_id VARCHAR) 2 examples
Loading…
dnssec (zone_id VARCHAR) 3 examples
Loading…
firewall (account_id VARCHAR) 2 examples
Loading…
firewall_by_id (account_id VARCHAR, dns_firewall_id VARCHAR) 1 example
Loading…
incoming (zone_id VARCHAR) 2 examples
Loading…
nameserver_set (account_id VARCHAR, nameserver_set_id VARCHAR) 1 example
Loading…
nameserver_sets (account_id VARCHAR) 2 examples
Loading…
outgoing (zone_id VARCHAR) 2 examples
Loading…
peer (account_id VARCHAR, peer_id VARCHAR) 1 example
Loading…
peers (account_id VARCHAR) 2 examples
Loading…
record (zone_id VARCHAR, dns_record_id VARCHAR) 1 example
Loading…
records (zone_id VARCHAR, content := VARCHAR, name := VARCHAR, proxied := BOOLEAN, type := VARCHAR) 4 examples
Loading…
report (zone_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, limit_ := BIGINT, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, until := VARCHAR) 2 examples
Loading…
report_bytime (account_id VARCHAR, dns_firewall_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, limit_ := BIGINT, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 1 example
Loading…
reverse_dns (account_id VARCHAR, dns_firewall_id VARCHAR) 1 example
Loading…
review (zone_id VARCHAR) 2 examples
Loading…
settings (account_id VARCHAR) 2 examples
Loading…
tsig (account_id VARCHAR, tsig_id VARCHAR) 1 example
Loading…
tsigs (account_id VARCHAR) 2 examples
Loading…
usage (account_id VARCHAR) 2 examples
Loading…
view (account_id VARCHAR, view_id VARCHAR) 1 example
Loading…
views (account_id VARCHAR, name := VARCHAR, zone_id := VARCHAR, zone_name := VARCHAR) 3 examples
Loading…
zone_settings (zone_id VARCHAR) 2 examples
Loading…
zone_usage (zone_id VARCHAR) 2 examples
Loading…
zsk (zone_id VARCHAR) 2 examples
Loading…
email 57 functions

Cloudflare email products: Email Routing (addresses, routing rules, destination addresses) and Email Security (message investigation, allow/block policies, trusted domains, impersonation registry).

Schema examples (3)
Examples (3)

List action logs for one account and one investigate (account_id, investigate_id are required: each maps to the URL path).

SELECT status, completed_at, operation
FROM cloudflare.email.action_log
WHERE account_id = '<account_id>' AND investigate_id = '<investigate_id>';

List addresses for one account (account_id is required: each maps to the URL path).

SELECT id, created, email
FROM cloudflare.email.addresses
WHERE account_id = '<account_id>';

Only addresses with a given verified: the verified filter is sent to the API.

SELECT id, created, email
FROM cloudflare.email.addresses
WHERE account_id = '<account_id>' AND verified = '<verified>';
Table functions
action_log (account_id VARCHAR, investigate_id VARCHAR) 2 examples
Loading…
addresses (account_id VARCHAR, verified := BOOLEAN) 3 examples
Loading…
allow_policies (account_id VARCHAR, is_acceptable_sender := BOOLEAN, is_exempt_recipient := BOOLEAN, is_trusted_sender := BOOLEAN, pattern := VARCHAR, pattern_type := VARCHAR, verify_sender := BOOLEAN) 3 examples
Loading…
block_senders (account_id VARCHAR, pattern := VARCHAR, pattern_type := VARCHAR) 3 examples
Loading…
bulk (account_id VARCHAR, action_type := VARCHAR, status := VARCHAR) 3 examples
Loading…
catch_all (zone_id VARCHAR) 2 examples
Loading…
complaints (zone_id VARCHAR, subdomain_id VARCHAR, end_at := VARCHAR, start_at := VARCHAR) 1 example
Loading…
content_policies (account_id VARCHAR, enabled := BOOLEAN, name := VARCHAR) 3 examples
Loading…
content_policies_policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
destination_address (account_id VARCHAR, destination_address_identifier VARCHAR) 1 example
Loading…
detections (account_id VARCHAR, investigate_id VARCHAR) 1 example
Loading…
dmarc_reports (zone_id VARCHAR) 2 examples
Loading…
dns (zone_id VARCHAR, subdomain := VARCHAR) 3 examples
Loading…
domain (account_id VARCHAR, domain_id VARCHAR) 1 example
Loading…
domains (account_id VARCHAR, active_delivery_mode := VARCHAR, allowed_delivery_mode := VARCHAR, domain := VARCHAR, integration_id := VARCHAR, status := VARCHAR) 3 examples
Loading…
impersonation_registry (account_id VARCHAR, provenance := VARCHAR) 3 examples
Loading…
impersonation_registry_by_id (account_id VARCHAR, impersonation_registry_id VARCHAR) 1 example
Loading…
inspect (zone_id VARCHAR, id := VARCHAR) 2 examples
Loading…
investigate (account_id VARCHAR, alert_id := VARCHAR, delivery_status := VARCHAR, detections_only := BOOLEAN, domain := VARCHAR, end_ := VARCHAR, final_disposition := VARCHAR, message_action := VARCHAR, message_id := VARCHAR, metric := VARCHAR, query := VARCHAR, recipient := VARCHAR, sender := VARCHAR, smtp_helo_ip := VARCHAR, start := VARCHAR, subject := VARCHAR) 3 examples
Loading…
investigate_by_id (account_id VARCHAR, investigate_id VARCHAR, submission := BOOLEAN) 1 example
Loading…
job (account_id VARCHAR, job_id VARCHAR) 1 example
Loading…
limits (account_id VARCHAR) 2 examples
Loading…
messages (account_id VARCHAR, job_id VARCHAR, status := VARCHAR) 3 examples
Loading…
monthly_report (account_id VARCHAR) 2 examples
Loading…
pattern (account_id VARCHAR, pattern_id VARCHAR) 1 example
Loading…
policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
preview (account_id VARCHAR, investigate_id VARCHAR) 1 example
Loading…
raw (account_id VARCHAR, investigate_id VARCHAR) 1 example
Loading…
reports (account_id VARCHAR, end_ := VARCHAR, from_date := VARCHAR, start := VARCHAR, to_date := VARCHAR) 3 examples
Loading…
reputation (account_id VARCHAR) 2 examples
Loading…
routing (zone_id VARCHAR) 2 examples
Loading…
routing_rules (zone_id VARCHAR, enabled := BOOLEAN) 3 examples
Loading…
routing_suppression (zone_id VARCHAR) 2 examples
Loading…
routing_suppression_suppression (zone_id VARCHAR, suppression_id VARCHAR) 1 example
Loading…
rule (zone_id VARCHAR, rule_identifier VARCHAR) 1 example
Loading…
rules (account_id VARCHAR, enabled := BOOLEAN) 3 examples
Loading…
sending_domain_restriction (account_id VARCHAR, sending_domain_restriction_id VARCHAR) 1 example
Loading…
sending_domain_restrictions (account_id VARCHAR) 2 examples
Loading…
sending_suppression (account_id VARCHAR) 2 examples
Loading…
sending_suppression_suppression (zone_id VARCHAR, suppression_id VARCHAR) 1 example
Loading…
status (zone_id VARCHAR, subdomain_id VARCHAR) 1 example
Loading…
subdomain (zone_id VARCHAR, subdomain_id VARCHAR) 1 example
Loading…
subdomains (zone_id VARCHAR) 2 examples
Loading…
subdomains_dns (zone_id VARCHAR, subdomain_id VARCHAR) 2 examples
Loading…
submissions (account_id VARCHAR, end_ := VARCHAR, escalated_from_user := BOOLEAN, original_disposition := VARCHAR, outcome_disposition := VARCHAR, query := VARCHAR, requested_disposition := VARCHAR, start := VARCHAR, status := VARCHAR, submission_id := VARCHAR, type := VARCHAR) 3 examples
Loading…
suppression (account_id VARCHAR) 2 examples
Loading…
suppression_by_id (account_id VARCHAR, suppression_id VARCHAR) 1 example
Loading…
suppression_suppression (account_id VARCHAR, suppression_id VARCHAR) 1 example
Loading…
suppressions (account_id VARCHAR, email := VARCHAR, reason := VARCHAR, scope_type := VARCHAR, scope_value := VARCHAR) 3 examples
Loading…
suppressions_suppression (account_id VARCHAR, suppression_id VARCHAR) 1 example
Loading…
trace (account_id VARCHAR, investigate_id VARCHAR) 1 example
Loading…
trusted_domain (account_id VARCHAR, trusted_domain_id VARCHAR) 1 example
Loading…
trusted_domains (account_id VARCHAR, is_recent := BOOLEAN, is_similarity := BOOLEAN, pattern := VARCHAR) 3 examples
Loading…
url_ignore_patterns (account_id VARCHAR) 2 examples
Loading…
url_ignore_patterns_pattern (account_id VARCHAR, pattern_id VARCHAR) 1 example
Loading…
verification (account_id VARCHAR, domain_id VARCHAR) 1 example
Loading…
zone_sending_suppression (zone_id VARCHAR) 2 examples
Loading…
load_balancing 16 functions

Cloudflare Load Balancing: load balancers, origin pools, health monitors, and their health and reference relationships.

Schema examples (3)
Examples (3)

List account load balancers for one account (account_id is required: each maps to the URL path).

SELECT id, name, created_on
FROM cloudflare.load_balancing.account_load_balancers
WHERE account_id = '<account_id>';

Count account load balancers for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.load_balancing.account_load_balancers
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List load balancers for one zone (zone_id is required: each maps to the URL path).

SELECT id, name, created_on
FROM cloudflare.load_balancing.load_balancers
WHERE zone_id = '<zone_id>';
Table functions
account_load_balancer (account_id VARCHAR, load_balancer_id VARCHAR) 1 example
Loading…
account_load_balancers (account_id VARCHAR) 2 examples
Loading…
health (account_id VARCHAR, pool_id VARCHAR) 1 example
Loading…
load_balancer (zone_id VARCHAR, load_balancer_id VARCHAR) 1 example
Loading…
load_balancers (zone_id VARCHAR) 2 examples
Loading…
monitor (account_id VARCHAR, monitor_id VARCHAR) 1 example
Loading…
monitor_group (account_id VARCHAR, monitor_group_id VARCHAR) 1 example
Loading…
monitor_groups (account_id VARCHAR) 2 examples
Loading…
monitors (account_id VARCHAR) 2 examples
Loading…
monitors_references (account_id VARCHAR, monitor_id VARCHAR) 2 examples
Loading…
pool (account_id VARCHAR, pool_id VARCHAR) 1 example
Loading…
pools (account_id VARCHAR, monitor := VARCHAR) 3 examples
Loading…
pools_references (account_id VARCHAR, pool_id VARCHAR) 2 examples
Loading…
references (account_id VARCHAR, monitor_group_id VARCHAR) 2 examples
Loading…
usage (account_id VARCHAR) 2 examples
Loading…
logs 28 functions

Cloudflare logging: Logpush jobs and their destinations, available log datasets and fields, retention settings, and account audit logs.

Schema examples (3)
Examples (3)

List audits for one account (account_id is required: each maps to the URL path).

SELECT id, account, action
FROM cloudflare.logs.audit
WHERE account_id = '<account_id>';

Only audits with a given id: the id filter is sent to the API.

SELECT id, account, action
FROM cloudflare.logs.audit
WHERE account_id = '<account_id>' AND id = '<id>';

List audit logs for one account (account_id is required: each maps to the URL path).

SELECT id, action, actor
FROM cloudflare.logs.audit_logs
WHERE account_id = '<account_id>';
Table functions
audit (account_id VARCHAR, account_name := VARCHAR, account_name_not := VARCHAR, action_result := VARCHAR, action_result_not := VARCHAR, action_type := VARCHAR, action_type_not := VARCHAR, actor_context := VARCHAR, actor_context_not := VARCHAR, actor_email := VARCHAR, actor_email_not := VARCHAR, actor_id := VARCHAR, actor_id_not := VARCHAR, actor_ip_address := VARCHAR, actor_ip_address_not := VARCHAR, actor_token_id := VARCHAR, actor_token_id_not := VARCHAR, actor_token_name := VARCHAR, actor_token_name_not := VARCHAR, actor_type := VARCHAR, actor_type_not := VARCHAR, audit_log_id := VARCHAR, audit_log_id_not := VARCHAR, before := VARCHAR, id := VARCHAR, id_not := VARCHAR, product_category := VARCHAR, raw_cf_ray_id := VARCHAR, raw_cf_ray_id_not := VARCHAR, raw_method := VARCHAR, raw_method_not := VARCHAR, raw_status_code := VARCHAR, raw_status_code_not := VARCHAR, raw_uri := VARCHAR, raw_uri_not := VARCHAR, resource_id := VARCHAR, resource_id_not := VARCHAR, resource_product := VARCHAR, resource_product_not := VARCHAR, resource_scope := VARCHAR, resource_scope_not := VARCHAR, resource_type := VARCHAR, resource_type_not := VARCHAR, since := VARCHAR, zone_id := VARCHAR, zone_id_not := VARCHAR, zone_name := VARCHAR, zone_name_not := VARCHAR) 3 examples
Loading…
audit_logs (account_id VARCHAR, action_type := VARCHAR, actor_email := VARCHAR, actor_ip := VARCHAR, before := VARCHAR, export := BOOLEAN, hide_user_logs := BOOLEAN, id := VARCHAR, since := VARCHAR, zone_name := VARCHAR) 3 examples
Loading…
available (account_id VARCHAR) 2 examples
Loading…
config (account_id VARCHAR) 2 examples
Loading…
content (account_id VARCHAR, transformer_id VARCHAR, version_id := BIGINT) 1 example
Loading…
dataset (account_id VARCHAR, dataset_id VARCHAR) 1 example
Loading…
datasets (account_id VARCHAR, include_zones := BOOLEAN) 3 examples
Loading…
datasets_available (zone_id VARCHAR) 2 examples
Loading…
datasets_dataset (zone_id VARCHAR, dataset_id VARCHAR) 1 example
Loading…
datasets_jobs (account_id VARCHAR, dataset_id VARCHAR) 2 examples
Loading…
edge_jobs (zone_id VARCHAR) 2 examples
Loading…
explorer_datasets (zone_id VARCHAR) 2 examples
Loading…
extractor (account_id VARCHAR, extractor VARCHAR) 1 example
Loading…
fields (zone_id VARCHAR) 2 examples
Loading…
flag (zone_id VARCHAR) 2 examples
Loading…
history (account_id VARCHAR, id VARCHAR, action_time := VARCHAR, before := VARCHAR, since := VARCHAR) 3 examples
Loading…
job (account_id VARCHAR, job_id VARCHAR) 1 example
Loading…
jobs (account_id VARCHAR) 2 examples
Loading…
jobs_job (zone_id VARCHAR, job_id VARCHAR) 1 example
Loading…
list (account_id VARCHAR, bucket := VARCHAR, end_ := VARCHAR, limit_ := BIGINT, prefix := VARCHAR, start := VARCHAR) 2 examples
Loading…
product_categories (account_id VARCHAR) 2 examples
Loading…
rules (zone_id VARCHAR) 2 examples
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
transformer (account_id VARCHAR, transformer_id VARCHAR) 1 example
Loading…
transformers (account_id VARCHAR) 2 examples
Loading…
versions (account_id VARCHAR, transformer_id VARCHAR) 2 examples
Loading…
zone_datasets_jobs (zone_id VARCHAR, dataset_id VARCHAR) 2 examples
Loading…
zone_jobs (zone_id VARCHAR) 2 examples
Loading…
magic 1 table Β· 95 functions

Cloudflare network services: Magic Transit and Magic WAN (sites, tunnels, routes, connectors), BYOIP address management (prefixes, address maps), and Cloudflare Network Interconnect.

Schema examples (3)
Examples (3)

List acls for one account and one site (account_id, site_id are required: each maps to the URL path).

SELECT id, name, description
FROM cloudflare.magic.acls
WHERE account_id = '<account_id>' AND site_id = '<site_id>';

List address maps for one account (account_id is required: each maps to the URL path).

SELECT id, can_delete, can_modify_ips
FROM cloudflare.magic.address_maps
WHERE account_id = '<account_id>';

Count address maps for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.magic.address_maps
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;
Tables
ips 1 example4 cols
Loading…
Table functions
acl (account_id VARCHAR, site_id VARCHAR, acl_id VARCHAR) 1 example
Loading…
acls (account_id VARCHAR, site_id VARCHAR) 2 examples
Loading…
address_map (account_id VARCHAR, address_map_id VARCHAR) 1 example
Loading…
address_maps (account_id VARCHAR) 2 examples
Loading…
allowlist (account_id VARCHAR) 2 examples
Loading…
allowlist_prefix (account_id VARCHAR, prefix_id VARCHAR) 1 example
Loading…
app_configs (account_id VARCHAR, site_id VARCHAR) 2 examples
Loading…
apps (account_id VARCHAR) 2 examples
Loading…
bgp_prefix (account_id VARCHAR, prefix_id VARCHAR, bgp_prefix_id VARCHAR) 1 example
Loading…
bgp_prefixes (account_id VARCHAR, prefix_id VARCHAR) 2 examples
Loading…
bgp_settings (account_id VARCHAR) 2 examples
Loading…
bgp_status (account_id VARCHAR, prefix_id VARCHAR) 1 example
Loading…
binding (account_id VARCHAR, prefix_id VARCHAR, binding_id VARCHAR) 1 example
Loading…
bindings (account_id VARCHAR, prefix_id VARCHAR) 2 examples
Loading…
catalog_syncs (account_id VARCHAR) 2 examples
Loading…
cf_interconnect (account_id VARCHAR, cf_interconnect_id VARCHAR) 1 example
Loading…
cf_interconnects (account_id VARCHAR) 2 examples
Loading…
cf1_site (account_id VARCHAR, cf1_site_id VARCHAR) 1 example
Loading…
cf1_sites (account_id VARCHAR) 2 examples
Loading…
cni (account_id VARCHAR, cni VARCHAR) 1 example
Loading…
cnis (account_id VARCHAR, limit_ := BIGINT, slot := VARCHAR, tunnel_id := VARCHAR) 2 examples
Loading…
config (account_id VARCHAR) 2 examples
Loading…
configs_prefixes (account_id VARCHAR) 2 examples
Loading…
connector (account_id VARCHAR, connector_id VARCHAR) 1 example
Loading…
connectors (account_id VARCHAR, device_type := VARCHAR) 3 examples
Loading…
default (account_id VARCHAR, icon VARCHAR) 1 example
Loading…
delegations (account_id VARCHAR, prefix_id VARCHAR) 2 examples
Loading…
dns_protection_rules (account_id VARCHAR) 2 examples
Loading…
event_n (account_id VARCHAR, connector_id VARCHAR, event_t VARCHAR, event_n VARCHAR) 1 example
Loading…
events (account_id VARCHAR, connector_id VARCHAR, from_ := DOUBLE, k := VARCHAR, limit_ := DOUBLE, to_ := DOUBLE) 1 example
Loading…
filter (account_id VARCHAR, filter_id VARCHAR) 1 example
Loading…
filter_profiles (account_id VARCHAR) 2 examples
Loading…
filters (account_id VARCHAR, mode := VARCHAR) 3 examples
Loading…
filters_filter (account_id VARCHAR, filter_id VARCHAR) 1 example
Loading…
full (account_id VARCHAR) 2 examples
Loading…
gre_tunnel (account_id VARCHAR, gre_tunnel_id VARCHAR) 1 example
Loading…
gre_tunnels (account_id VARCHAR) 2 examples
Loading…
hostname (zone_id VARCHAR, hostname VARCHAR) 1 example
Loading…
icon (account_id VARCHAR, icon VARCHAR) 1 example
Loading…
initial_setup (account_id VARCHAR, provider_id VARCHAR) 1 example
Loading…
interconnects (account_id VARCHAR, limit_ := BIGINT, site := VARCHAR, type := VARCHAR) 2 examples
Loading…
interrupts (account_id VARCHAR, connector_id VARCHAR) 2 examples
Loading…
ipsec_tunnel (account_id VARCHAR, ipsec_tunnel_id VARCHAR) 1 example
Loading…
ipsec_tunnels (account_id VARCHAR) 2 examples
Loading…
lan (account_id VARCHAR, site_id VARCHAR, lan_id VARCHAR) 1 example
Loading…
lans (account_id VARCHAR, site_id VARCHAR) 2 examples
Loading…
latest (account_id VARCHAR, connector_id VARCHAR) 1 example
Loading…
leases (account_id VARCHAR) 2 examples
Loading…
loa_documents (account_id VARCHAR) 2 examples
Loading…
netflow_config (account_id VARCHAR, site_id VARCHAR) 1 example
Loading…
onramp (account_id VARCHAR, onramp_id VARCHAR, planned_resources := BOOLEAN, post_apply_resources := BOOLEAN, status := BOOLEAN, vpcs := BOOLEAN) 1 example
Loading…
onramps (account_id VARCHAR, desc_ := BOOLEAN, order_by := VARCHAR, status := BOOLEAN, vpcs := BOOLEAN) 3 examples
Loading…
ownership (account_id VARCHAR) 2 examples
Loading…
pcap (account_id VARCHAR, pcap_id VARCHAR) 1 example
Loading…
pcaps (account_id VARCHAR) 2 examples
Loading…
prebuilt_policies (account_id VARCHAR, destination_type := VARCHAR) 3 examples
Loading…
prefix (account_id VARCHAR, prefix_id VARCHAR) 1 example
Loading…
prefixes (account_id VARCHAR) 2 examples
Loading…
prefixes_prefix (account_id VARCHAR, prefix_id VARCHAR) 1 example
Loading…
profile (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
provider (account_id VARCHAR, provider_id VARCHAR, status := BOOLEAN) 1 example
Loading…
providers (account_id VARCHAR, cloudflare := BOOLEAN, desc_ := BOOLEAN, order_by := VARCHAR, status := BOOLEAN) 3 examples
Loading…
ramp (account_id VARCHAR, cf1_site_id VARCHAR, ramp_id VARCHAR) 1 example
Loading…
ramps (account_id VARCHAR, cf1_site_id VARCHAR) 2 examples
Loading…
redundancy_group (account_id VARCHAR, redundancy_group_id VARCHAR) 1 example
Loading…
redundancy_groups (account_id VARCHAR) 2 examples
Loading…
regional_hostnames (zone_id VARCHAR) 2 examples
Loading…
regions (account_id VARCHAR) 2 examples
Loading…
resource (account_id VARCHAR, resource_id VARCHAR, v2 := BOOLEAN) 1 example
Loading…
resources (account_id VARCHAR, cloudflare := BOOLEAN, desc_ := BOOLEAN, managed := BOOLEAN, order_by := VARCHAR, provider_id := VARCHAR, region := VARCHAR, resource_group := VARCHAR, resource_id := VARCHAR, resource_type := VARCHAR, v2 := BOOLEAN) 3 examples
Loading…
route (account_id VARCHAR, route_id VARCHAR) 1 example
Loading…
routes (account_id VARCHAR) 2 examples
Loading…
rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
rules (account_id VARCHAR) 2 examples
Loading…
rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
services (account_id VARCHAR) 2 examples
Loading…
settings (account_id VARCHAR) 2 examples
Loading…
site (account_id VARCHAR, site_id VARCHAR) 1 example
Loading…
sites (account_id VARCHAR, connectorid := VARCHAR) 3 examples
Loading…
slot (account_id VARCHAR, slot VARCHAR) 1 example
Loading…
slots (account_id VARCHAR, address_contains := VARCHAR, limit_ := BIGINT, occupied := BOOLEAN, site := VARCHAR, speed := VARCHAR) 2 examples
Loading…
snapshot_t (account_id VARCHAR, connector_id VARCHAR, snapshot_t VARCHAR) 1 example
Loading…
snapshots (account_id VARCHAR, connector_id VARCHAR, from_ := DOUBLE, limit_ := DOUBLE, to_ := DOUBLE) 1 example
Loading…
snapshots_latest (account_id VARCHAR, connector_id VARCHAR) 1 example
Loading…
status (account_id VARCHAR, icon VARCHAR) 1 example
Loading…
syn_protection_rules (account_id VARCHAR) 2 examples
Loading…
syn_protection_rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
sync (account_id VARCHAR, sync_id VARCHAR) 1 example
Loading…
tcp_flow_protection_filters (account_id VARCHAR, mode := VARCHAR) 3 examples
Loading…
tcp_flow_protection_rules (account_id VARCHAR) 2 examples
Loading…
tcp_flow_protection_rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
tcp_protection_status (account_id VARCHAR) 2 examples
Loading…
wan (account_id VARCHAR, site_id VARCHAR, wan_id VARCHAR) 1 example
Loading…
wan_address_space (account_id VARCHAR) 2 examples
Loading…
wans (account_id VARCHAR, site_id VARCHAR) 2 examples
Loading…
pages 8 functions

Cloudflare Pages: projects, deployments, deployment logs, and custom domains for static and full-stack sites.

Schema examples (3)
Examples (3)

List deployments for one account and one project_name (account_id, project_name are required: each maps to the URL path).

SELECT id, created_on, aliases
FROM cloudflare.pages.deployments
WHERE account_id = '<account_id>' AND project_name = '<project_name>';

List domains for one account and one project_name (account_id, project_name are required: each maps to the URL path).

SELECT id, name, status
FROM cloudflare.pages.domains
WHERE account_id = '<account_id>' AND project_name = '<project_name>';

List projects for one account (account_id is required: each maps to the URL path).

SELECT id, name, created_on
FROM cloudflare.pages.projects
WHERE account_id = '<account_id>';
Table functions
deployment (account_id VARCHAR, project_name VARCHAR, deployment_id VARCHAR) 1 example
Loading…
deployments (account_id VARCHAR, project_name VARCHAR, env := VARCHAR) 3 examples
Loading…
domain_name (account_id VARCHAR, project_name VARCHAR, domain_name VARCHAR) 1 example
Loading…
domains (account_id VARCHAR, project_name VARCHAR) 2 examples
Loading…
logs (account_id VARCHAR, project_name VARCHAR, deployment_id VARCHAR) 1 example
Loading…
project_name (account_id VARCHAR, project_name VARCHAR) 1 example
Loading…
projects (account_id VARCHAR) 2 examples
Loading…
upload_token (account_id VARCHAR, project_name VARCHAR) 1 example
Loading…
radar 205 tables Β· 69 functions

Cloudflare Radar: Internet-wide traffic, security, routing, DNS, and adoption trends observed across Cloudflare's network β€” summaries and time series by protocol, device, OS, location, and more.

Schema examples (3)
Examples (3)

Read the ai bots timeseries: Get AI bots HTTP requests time series.

SELECT meta FROM cloudflare.radar.ai_bots_timeseries;

Read the annotations: Get latest annotations.

SELECT annotations FROM cloudflare.radar.annotations;

Read the arc: Get email ARC validation summary.

SELECT meta, summary_0 FROM cloudflare.radar.arc;
Tables
ai_bots_timeseries 1 example1 col
Loading…
annotations 1 example1 col
Loading…
arc 1 example2 cols
Loading…
ases 1 example2 cols
Loading…
ases_origin 1 example2 cols
Loading…
ases_prefixes 1 example2 cols
Loading…
asns 1 example1 col
Loading…
asns_ip 1 example1 col
Loading…
aspa_timeseries 1 example2 cols
Loading…
attacks 1 example2 cols
Loading…
authorities 1 example1 col
Loading…
bgp_timeseries 1 example2 cols
Loading…
bitrate 1 example2 cols
Loading…
bot_class 1 example2 cols
Loading…
botnet_threat_feed 1 example2 cols
Loading…
bots 1 example1 col
Loading…
bots_timeseries 1 example1 col
Loading…
browser 1 example2 cols
Loading…
browser_family 1 example2 cols
Loading…
cache_hit 1 example2 cols
Loading…
categories 1 example1 col
Loading…
changes 1 example3 cols
Loading…
compromised 1 example2 cols
Loading…
ct_timeseries 1 example1 col
Loading…
datasets 1 example1 col
Loading…
device_type 1 example2 cols
Loading…
directive 1 example2 cols
Loading…
dkim 1 example2 cols
Loading…
dmarc 1 example2 cols
Loading…
dns_timeseries 1 example1 col
Loading…
dns_timeseries_groups_dnssec 1 example2 cols
Loading…
dns_timeseries_groups_ip_versions 1 example2 cols
Loading…
dns_timeseries_groups_protocol 1 example2 cols
Loading…
dns_timeseries_groups_query_type 1 example2 cols
Loading…
dns_top_ases 1 example2 cols
Loading…
dns_top_locations 1 example2 cols
Loading…
dnssec 1 example2 cols
Loading…
dnssec_aware 1 example2 cols
Loading…
dnssec_e2e 1 example2 cols
Loading…
domain_categories 1 example2 cols
Loading…
duration 1 example2 cols
Loading…
edns 1 example2 cols
Loading…
encrypted 1 example2 cols
Loading…
events 1 example3 cols
Loading…
geolocations 1 example1 col
Loading…
global 1 example1 col
Loading…
histogram 1 example2 cols
Loading…
http_method 1 example2 cols
Loading…
http_protocol 1 example2 cols
Loading…
http_summary_ip_versions 1 example2 cols
Loading…
http_timeseries 1 example1 col
Loading…
http_timeseries_groups_ip_versions 1 example2 cols
Loading…
http_top_ases 1 example2 cols
Loading…
http_top_locations 1 example2 cols
Loading…
http_versions 1 example2 cols
Loading…
industry 1 example2 cols
Loading…
internet_services_timeseries_groups 1 example2 cols
Loading…
internet_services_top 1 example2 cols
Loading…
ip 1 example1 col
Loading…
ip_versions 1 example2 cols
Loading…
ips_timeseries 1 example2 cols
Loading…
ips_top_ases 1 example4 cols
Loading…
iqi_summary 1 example2 cols
Loading…
iqi_timeseries_groups 1 example2 cols
Loading…
layer3_summary_ip_versions 1 example2 cols
Loading…
layer3_summary_protocol 1 example2 cols
Loading…
layer3_timeseries 1 example1 col
Loading…
layer3_timeseries_groups_ip_versions 1 example2 cols
Loading…
layer3_timeseries_groups_protocol 1 example2 cols
Loading…
layer7_summary_ip_versions 1 example2 cols
Loading…
layer7_timeseries 1 example2 cols
Loading…
layer7_timeseries_groups_http_versions 1 example2 cols
Loading…
layer7_timeseries_groups_industry 1 example2 cols
Loading…
layer7_timeseries_groups_ip_versions 1 example2 cols
Loading…
layer7_timeseries_groups_vertical 1 example2 cols
Loading…
layer7_top_industry 1 example2 cols
Loading…
layer7_top_vertical 1 example2 cols
Loading…
leaked_credential_checks_timeseries_groups_bot_class 1 example2 cols
Loading…
leaks_events 1 example2 cols
Loading…
locations 1 example1 col
Loading…
locations_origin 1 example2 cols
Loading…
locations_target 1 example2 cols
Loading…
logs 1 example1 col
Loading…
malicious 1 example2 cols
Loading…
managed_rules 1 example2 cols
Loading…
markdown_for_agents_summary 1 example2 cols
Loading…
markdown_for_agents_timeseries 1 example1 col
Loading…
matching_answer 1 example2 cols
Loading…
mitigation_product 1 example2 cols
Loading…
moas 1 example2 cols
Loading…
model 1 example2 cols
Loading…
netflows_timeseries 1 example2 cols
Loading…
netflows_top_ases 1 example2 cols
Loading…
netflows_top_locations 1 example2 cols
Loading…
origin 1 example2 cols
Loading…
origins 1 example1 col
Loading…
origins_timeseries 1 example1 col
Loading…
os 1 example2 cols
Loading…
outages 1 example1 col
Loading…
outages_locations 1 example1 col
Loading…
pfx2as 1 example2 cols
Loading…
post_quantum 1 example2 cols
Loading…
prefixes 1 example2 cols
Loading…
protocol 1 example2 cols
Loading…
query_type 1 example2 cols
Loading…
realtime 1 example2 cols
Loading…
response_code 1 example2 cols
Loading…
response_codes 1 example2 cols
Loading…
response_ttl 1 example2 cols
Loading…
roas_timeseries 1 example2 cols
Loading…
routing_summary_ip_versions 1 example2 cols
Loading…
routing_timeseries_groups_ip_versions 1 example2 cols
Loading…
security_timeseries_groups_arc 1 example2 cols
Loading…
security_timeseries_groups_dkim 1 example2 cols
Loading…
security_timeseries_groups_dmarc 1 example2 cols
Loading…
security_timeseries_groups_spf 1 example2 cols
Loading…
security_timeseries_groups_tls_versions 1 example2 cols
Loading…
snapshot 1 example3 cols
Loading…
spam 1 example2 cols
Loading…
speed_summary 1 example2 cols
Loading…
speed_top_ases 1 example2 cols
Loading…
speed_top_locations 1 example2 cols
Loading…
spf 1 example2 cols
Loading…
spoof 1 example2 cols
Loading…
stats 1 example2 cols
Loading…
summary 1 example2 cols
Loading…
summary_arc 1 example2 cols
Loading…
summary_bot_class 1 example2 cols
Loading…
summary_dkim 1 example2 cols
Loading…
summary_dmarc 1 example2 cols
Loading…
summary_dnssec 1 example2 cols
Loading…
summary_http_versions 1 example2 cols
Loading…
summary_industry 1 example2 cols
Loading…
summary_ip_versions 1 example2 cols
Loading…
summary_protocol 1 example2 cols
Loading…
summary_query_type 1 example2 cols
Loading…
summary_spf 1 example2 cols
Loading…
summary_tls_versions 1 example2 cols
Loading…
summary_vertical 1 example2 cols
Loading…
support 1 example5 cols
Loading…
target 1 example2 cols
Loading…
task 1 example2 cols
Loading…
tcp_resets_timeouts_summary 1 example2 cols
Loading…
tcp_resets_timeouts_timeseries_groups 1 example2 cols
Loading…
threat_category 1 example2 cols
Loading…
timeseries 1 example1 col
Loading…
timeseries_groups 1 example2 cols
Loading…
timeseries_groups_arc 1 example2 cols
Loading…
timeseries_groups_bitrate 1 example2 cols
Loading…
timeseries_groups_bot_class 1 example2 cols
Loading…
timeseries_groups_cache_hit 1 example2 cols
Loading…
timeseries_groups_compromised 1 example2 cols
Loading…
timeseries_groups_device_type 1 example2 cols
Loading…
timeseries_groups_dkim 1 example2 cols
Loading…
timeseries_groups_dmarc 1 example2 cols
Loading…
timeseries_groups_dnssec 1 example2 cols
Loading…
timeseries_groups_dnssec_aware 1 example2 cols
Loading…
timeseries_groups_dnssec_e2e 1 example2 cols
Loading…
timeseries_groups_duration 1 example2 cols
Loading…
timeseries_groups_edns 1 example2 cols
Loading…
timeseries_groups_encrypted 1 example2 cols
Loading…
timeseries_groups_http_method 1 example2 cols
Loading…
timeseries_groups_http_protocol 1 example2 cols
Loading…
timeseries_groups_http_versions 1 example2 cols
Loading…
timeseries_groups_industry 1 example2 cols
Loading…
timeseries_groups_ip_versions 1 example2 cols
Loading…
timeseries_groups_malicious 1 example2 cols
Loading…
timeseries_groups_managed_rules 1 example2 cols
Loading…
timeseries_groups_matching_answer 1 example2 cols
Loading…
timeseries_groups_mitigation_product 1 example2 cols
Loading…
timeseries_groups_model 1 example2 cols
Loading…
timeseries_groups_os 1 example2 cols
Loading…
timeseries_groups_post_quantum 1 example2 cols
Loading…
timeseries_groups_protocol 1 example2 cols
Loading…
timeseries_groups_query_type 1 example2 cols
Loading…
timeseries_groups_response_code 1 example2 cols
Loading…
timeseries_groups_response_codes 1 example2 cols
Loading…
timeseries_groups_response_ttl 1 example2 cols
Loading…
timeseries_groups_spam 1 example2 cols
Loading…
timeseries_groups_spf 1 example2 cols
Loading…
timeseries_groups_spoof 1 example2 cols
Loading…
timeseries_groups_task 1 example2 cols
Loading…
timeseries_groups_threat_category 1 example2 cols
Loading…
timeseries_groups_tls_versions 1 example2 cols
Loading…
timeseries_groups_user_agent 1 example2 cols
Loading…
timeseries_groups_vector 1 example2 cols
Loading…
timeseries_groups_vertical 1 example2 cols
Loading…
tlds 1 example1 col
Loading…
tls_versions 1 example2 cols
Loading…
top 1 example2 cols
Loading…
top_ases 1 example2 cols
Loading…
top_attacks 1 example2 cols
Loading…
top_bots 1 example2 cols
Loading…
top_browser 1 example2 cols
Loading…
top_browser_family 1 example2 cols
Loading…
top_categories 1 example2 cols
Loading…
top_industry 1 example2 cols
Loading…
top_locations 1 example2 cols
Loading…
top_tlds 1 example2 cols
Loading…
top_vertical 1 example2 cols
Loading…
traffic_anomalies 1 example1 col
Loading…
traffic_anomalies_locations 1 example1 col
Loading…
user_agent 1 example2 cols
Loading…
vector 1 example2 cols
Loading…
vertical 1 example2 cols
Loading…
Table functions
ai_bots_summary_dimension (dimension VARCHAR, asn := VARCHAR, content_type := VARCHAR, continent := VARCHAR, crawl_purpose := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, industry := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, response_status := VARCHAR, response_status_category := VARCHAR, user_agent := VARCHAR, vertical := VARCHAR) 2 examples
Loading…
ai_bots_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, content_type := VARCHAR, continent := VARCHAR, crawl_purpose := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, industry := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR, response_status := VARCHAR, response_status_category := VARCHAR, user_agent := VARCHAR, vertical := VARCHAR) 2 examples
Loading…
annotation (id VARCHAR) 2 examples
Loading…
as_set (asn VARCHAR) 2 examples
Loading…
asn (asn VARCHAR, collector := VARCHAR, ip_version := VARCHAR) 2 examples
Loading…
bot_class_bot_class (bot_class VARCHAR, asn := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
bot_slug (bot_slug VARCHAR) 2 examples
Loading…
bots_summary_dimension (dimension VARCHAR, asn := VARCHAR, bot := VARCHAR, bot_category := VARCHAR, bot_kind := VARCHAR, bot_operator := VARCHAR, bot_verification_status := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
bots_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, bot := VARCHAR, bot_category := VARCHAR, bot_kind := VARCHAR, bot_operator := VARCHAR, bot_verification_status := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
browser_family_browser_family (browser_family VARCHAR, asn := VARCHAR, bot_class := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
ca_slug (ca_slug VARCHAR) 2 examples
Loading…
crawlers_summary_dimension (dimension VARCHAR, bot_operator := VARCHAR, client_type := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, industry := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, response_status := VARCHAR, response_status_category := VARCHAR, vertical := VARCHAR) 2 examples
Loading…
crawlers_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, bot_operator := VARCHAR, client_type := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, industry := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, normalization := VARCHAR, response_status := VARCHAR, response_status_category := VARCHAR, vertical := VARCHAR) 2 examples
Loading…
ct_summary_dimension (dimension VARCHAR, ca := VARCHAR, ca_owner := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, duration := VARCHAR, entry_type := VARCHAR, expiration_status := VARCHAR, has_ips := VARCHAR, has_wildcards := VARCHAR, limit_per_group := BIGINT, log := VARCHAR, log_api := VARCHAR, log_operator := VARCHAR, name := VARCHAR, normalization := VARCHAR, public_key_algorithm := VARCHAR, signature_algorithm := VARCHAR, tld := VARCHAR, unique_entries := VARCHAR, validation_level := VARCHAR) 2 examples
Loading…
ct_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, ca := VARCHAR, ca_owner := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, duration := VARCHAR, entry_type := VARCHAR, expiration_status := VARCHAR, has_ips := VARCHAR, has_wildcards := VARCHAR, limit_per_group := BIGINT, log := VARCHAR, log_api := VARCHAR, log_operator := VARCHAR, name := VARCHAR, normalization := VARCHAR, public_key_algorithm := VARCHAR, signature_algorithm := VARCHAR, tld := VARCHAR, unique_entries := VARCHAR, validation_level := VARCHAR) 2 examples
Loading…
device_type_device_type (device_type VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
dimension (dimension VARCHAR, date := VARCHAR, domain_category := VARCHAR, name := VARCHAR) 2 examples
Loading…
dns_summary_dimension (dimension VARCHAR, asn := VARCHAR, cache_hit := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dnssec := VARCHAR, dnssec_aware := VARCHAR, dnssec_e2e := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, matching_answer := VARCHAR, name := VARCHAR, nodata := VARCHAR, protocol := VARCHAR, query_type := VARCHAR, response_code := VARCHAR, response_ttl := VARCHAR, tld := VARCHAR) 2 examples
Loading…
dns_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, cache_hit := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dnssec := VARCHAR, dnssec_aware := VARCHAR, dnssec_e2e := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, matching_answer := VARCHAR, name := VARCHAR, nodata := VARCHAR, normalization := VARCHAR, protocol := VARCHAR, query_type := VARCHAR, response_code := VARCHAR, response_ttl := VARCHAR, tld := VARCHAR) 2 examples
Loading…
dnssec_dnssec (dnssec VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
domain (domain VARCHAR, date := VARCHAR, include_top_locations := BOOLEAN, limit_ := BIGINT, name := VARCHAR, ranking_type := VARCHAR) 2 examples
Loading…
edns_edns (edns VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
geo (geo_id VARCHAR) 2 examples
Loading…
http_protocol_http_protocol (http_protocol VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
http_summary_dimension (dimension VARCHAR, api_traffic := VARCHAR, asn := VARCHAR, bot_class := VARCHAR, content_type := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
http_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, api_traffic := VARCHAR, asn := VARCHAR, bot_class := VARCHAR, content_type := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
http_version (http_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
http_version_http_version (http_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
inference_summary_dimension (dimension VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
inference_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR) 2 examples
Loading…
ip_version (ip_version VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
ip_version_ip_version (ip_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
layer3_summary_dimension (dimension VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, protocol := VARCHAR) 2 examples
Loading…
layer3_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR, protocol := VARCHAR) 2 examples
Loading…
layer7_summary_dimension (dimension VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, http_method := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, mitigation_product := VARCHAR, name := VARCHAR) 2 examples
Loading…
layer7_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, http_method := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, mitigation_product := VARCHAR, name := VARCHAR, normalization := VARCHAR) 2 examples
Loading…
leaked_credential_checks_summary_dimension (dimension VARCHAR, asn := VARCHAR, bot_class := VARCHAR, compromised := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR) 2 examples
Loading…
leaked_credential_checks_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, bot_class := VARCHAR, check_result := VARCHAR, compromised := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR) 2 examples
Loading…
locations_bot_class_bot_class (bot_class VARCHAR, asn := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
locations_browser_family_browser_family (browser_family VARCHAR, asn := VARCHAR, bot_class := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
locations_device_type_device_type (device_type VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
locations_http_protocol_http_protocol (http_protocol VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
locations_ip_version_ip_version (ip_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
locations_os_os (os VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
log_slug (log_slug VARCHAR) 2 examples
Loading…
malicious_malicious (malicious VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, limit_ := BIGINT, name := VARCHAR, spf := VARCHAR, tld_category := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
netflows_summary_dimension (dimension VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, geo_id := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, product := VARCHAR) 2 examples
Loading…
netflows_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, asn := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, geo_id := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, normalization := VARCHAR, product := VARCHAR) 2 examples
Loading…
origin_by_slug (slug VARCHAR) 2 examples
Loading…
origin_summary_dimension (dimension VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, name := VARCHAR) 2 examples
Loading…
origin_timeseries_groups_dimension (dimension VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, name := VARCHAR) 2 examples
Loading…
origins_summary_dimension (dimension VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, metric := VARCHAR, name := VARCHAR, origin := VARCHAR, region := VARCHAR) 2 examples
Loading…
origins_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, metric := VARCHAR, name := VARCHAR, normalization := VARCHAR, origin := VARCHAR, region := VARCHAR) 2 examples
Loading…
os_os (os VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
performance_summary_dimension (dimension VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, nameserver := VARCHAR, tld := VARCHAR) 2 examples
Loading…
performance_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, nameserver := VARCHAR, tld := VARCHAR) 2 examples
Loading…
rel (asn VARCHAR, asn2 := BIGINT) 2 examples
Loading…
routing_summary_dimension (dimension VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, encrypted := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, spf := VARCHAR) 2 examples
Loading…
routing_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, encrypted := VARCHAR, ip_version := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, spf := VARCHAR) 2 examples
Loading…
security_summary_dimension (dimension VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, spf := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
security_timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, limit_per_group := BIGINT, name := VARCHAR, spf := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
spam_spam (spam VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, limit_ := BIGINT, name := VARCHAR, spf := VARCHAR, tld_category := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
spoof_spoof (spoof VARCHAR, arc := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, dkim := VARCHAR, dmarc := VARCHAR, limit_ := BIGINT, name := VARCHAR, spf := VARCHAR, tld_category := VARCHAR, tls_version := VARCHAR) 2 examples
Loading…
summary_dimension (dimension VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, protocol := VARCHAR, query_type := VARCHAR, response_code := VARCHAR) 2 examples
Loading…
timeseries_groups_dimension (dimension VARCHAR, agg_interval := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, limit_per_group := BIGINT, location := VARCHAR, name := VARCHAR, protocol := VARCHAR, query_type := VARCHAR, response_code := VARCHAR) 2 examples
Loading…
tls_version (tls_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR) 2 examples
Loading…
tls_version_tls_version (tls_version VARCHAR, asn := VARCHAR, bot_class := VARCHAR, browser_family := VARCHAR, continent := VARCHAR, date_end := VARCHAR, date_range := VARCHAR, date_start := VARCHAR, device_type := VARCHAR, geo_id := VARCHAR, http_protocol := VARCHAR, http_version := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT, location := VARCHAR, name := VARCHAR, os := VARCHAR) 2 examples
Loading…
upstreams_timeseries (asn VARCHAR, date_end := VARCHAR, date_start := VARCHAR, ip_version := VARCHAR, limit_ := BIGINT) 2 examples
Loading…
uuid (uuid VARCHAR) 2 examples
Loading…
registrar 16 functions

Cloudflare Registrar: domains registered or transferred through Cloudflare for an account, with registration and renewal details.

Schema examples (3)
Examples (3)

List account extensions for one account (account_id is required: each maps to the URL path).

SELECT metadata, registration_schema, transfer_schema
FROM cloudflare.registrar.account_extensions
WHERE account_id = '<account_id>';

Count account extensions for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.registrar.account_extensions
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List account registrations for one account (account_id is required: each maps to the URL path).

SELECT status, auto_renew, created_at
FROM cloudflare.registrar.account_registrations
WHERE account_id = '<account_id>';
Table functions
account_extensions (account_id VARCHAR, name := VARCHAR, sort_by := VARCHAR) 3 examples
Loading…
account_registrations (account_id VARCHAR, sort_by := VARCHAR) 3 examples
Loading…
domain_name (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
domains (account_id VARCHAR) 2 examples
Loading…
extension (account_id VARCHAR, extension VARCHAR) 1 example
Loading…
extensions (account_id VARCHAR, name := VARCHAR, sort_by := VARCHAR) 3 examples
Loading…
extensions_extension (account_id VARCHAR, extension VARCHAR) 1 example
Loading…
registration_status (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
registrations (account_id VARCHAR, sort_by := VARCHAR) 3 examples
Loading…
registrations_domain_name (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
registrations_registration_status (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
registrations_update_status (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
transfer_in_status (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
update_status (account_id VARCHAR, domain_name VARCHAR) 1 example
Loading…
security 4 tables Β· 221 functions

Cloudflare security and threat intelligence: Cloudforce One threat events and requests, Intel lookups (domains, IPs, ASNs), Security Center insights, URL scanner, brand protection, abuse reports, vulnerability scanner, and bot management.

Schema examples (3)
Examples (3)

List account insights audit logs for one account and one issue (account_id, issue_id are required: each maps to the URL path).

SELECT id, changed_at, changed_by
FROM cloudflare.security.account_insights_audit_log
WHERE account_id = '<account_id>' AND issue_id = '<issue_id>';

Only account insights audit logs with a given field_changed: the field_changed filter is sent to the API.

SELECT id, changed_at, changed_by
FROM cloudflare.security.account_insights_audit_log
WHERE account_id = '<account_id>' AND issue_id = '<issue_id>' AND field_changed = '<field_changed>';

List apis.

SELECT name, ancestors, variants FROM cloudflare.security.apis;
Tables
apis 2 examples3 cols
Loading…
applications 2 examples2 cols
Loading…
filter_schema 1 example2 cols
Loading…
operations 2 examples3 cols
Loading…
Table functions
abuse_reports (account_id VARCHAR, created_after := VARCHAR, created_before := VARCHAR, domain := VARCHAR, mitigation_status := VARCHAR, sort := VARCHAR, status := VARCHAR, type := VARCHAR) 2 examples
Loading…
access_check (account_id VARCHAR) 2 examples
Loading…
account_insights_audit_log (account_id VARCHAR, issue_id VARCHAR, before := VARCHAR, changed_by := VARCHAR, field_changed := VARCHAR, since := VARCHAR) 3 examples
Loading…
actors (account_id VARCHAR, filters := VARCHAR, page_size := DOUBLE, value := VARCHAR) 2 examples
Loading…
aggregate (account_id VARCHAR, aggregate_by := VARCHAR, dataset_id := VARCHAR, end_date := VARCHAR, group_by_date := BOOLEAN, limit_ := DOUBLE, start_date := VARCHAR) 2 examples
Loading…
approvals (account_id VARCHAR, change_type := VARCHAR, latest_only := VARCHAR, limit_ := DOUBLE, offset_ := DOUBLE, reviewer_scope := VARCHAR, rule_id := VARCHAR, status := VARCHAR) 2 examples
Loading…
article (account_id VARCHAR, article_id VARCHAR) 1 example
Loading…
articles (account_id VARCHAR, article_id := VARCHAR, feed_category := VARCHAR, feed_id := VARCHAR, fetched_after := VARCHAR, fetched_before := VARCHAR, include_total := BOOLEAN, published_after := VARCHAR, published_before := VARCHAR, read := BOOLEAN, sort := VARCHAR, source_type := VARCHAR, tag := VARCHAR, tag_applied_by := VARCHAR, tag_category := VARCHAR, tag_category_id := VARCHAR, tag_id := VARCHAR) 2 examples
Loading…
articles_skills (account_id VARCHAR, article_id VARCHAR) 1 example
Loading…
asn (account_id VARCHAR) 2 examples
Loading…
asset (account_id VARCHAR, request_id VARCHAR, asset_id VARCHAR) 2 examples
Loading…
assets_list (account_id VARCHAR, project_type VARCHAR, request_id VARCHAR) 1 example
Loading…
attackers (account_id VARCHAR, dataset_ids := VARCHAR) 2 examples
Loading…
audit_log (account_id VARCHAR, before := VARCHAR, changed_by := VARCHAR, field_changed := VARCHAR, since := VARCHAR) 3 examples
Loading…
banner_config (account_id VARCHAR, config_id VARCHAR) 1 example
Loading…
basic_auth_credentials (account_id VARCHAR, deployment_id := VARCHAR, username := VARCHAR) 3 examples
Loading…
basic_auth_credentials_credential (account_id VARCHAR, credential_id VARCHAR) 1 example
Loading…
bot_management (zone_id VARCHAR) 2 examples
Loading…
brand_protection_logo_matches (account_id VARCHAR, download := VARCHAR, limit_ := VARCHAR, offset_ := VARCHAR, order_by := VARCHAR, query_id := VARCHAR) 2 examples
Loading…
bulk (account_id VARCHAR, domain := VARCHAR, include_ranking := BOOLEAN, skip_ranking := BOOLEAN) 3 examples
Loading…
by_id_category (account_id VARCHAR, category_id VARCHAR) 1 example
Loading…
can_be_enabled (zone_id VARCHAR) 2 examples
Loading…
catalog (account_id VARCHAR) 2 examples
Loading…
categories (account_id VARCHAR) 2 examples
Loading…
categories_category_uuid (account_id VARCHAR, category_uuid VARCHAR) 1 example
Loading…
category (account_id VARCHAR, category_id VARCHAR) 1 example
Loading…
category_uuid (account_id VARCHAR, category_uuid VARCHAR) 1 example
Loading…
class (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
collection (account_id VARCHAR, collection_id VARCHAR) 1 example
Loading…
collections (account_id VARCHAR) 2 examples
Loading…
config (account_id VARCHAR) 2 examples
Loading…
config_by_id (account_id VARCHAR, config_id VARCHAR) 1 example
Loading…
configuration (zone_id VARCHAR) 2 examples
Loading…
constants (account_id VARCHAR) 2 examples
Loading…
crawlers (account_id VARCHAR) 2 examples
Loading…
credential (account_id VARCHAR, credential_set_id VARCHAR, credential_id VARCHAR) 1 example
Loading…
credential_monitor_matches (account_id VARCHAR, domain := VARCHAR, username := VARCHAR) 3 examples
Loading…
credential_set (account_id VARCHAR, credential_set_id VARCHAR) 1 example
Loading…
credential_sets (account_id VARCHAR) 2 examples
Loading…
credentials (account_id VARCHAR, credential_set_id VARCHAR) 2 examples
Loading…
curated_feeds (account_id VARCHAR, category := VARCHAR, include_inactive := BOOLEAN) 2 examples
Loading…
dataset (account_id VARCHAR, dataset_id VARCHAR) 1 example
Loading…
dataset_indicators (account_id VARCHAR, dataset_id VARCHAR, indicator_type := VARCHAR, name := VARCHAR, page_size := DOUBLE, related_event := VARCHAR) 1 example
Loading…
dataset_tags_indicators (account_id VARCHAR, dataset_id VARCHAR, tag_uuid VARCHAR, indicator_type := VARCHAR, page_size := DOUBLE, related_event := VARCHAR) 1 example
Loading…
dataset_target_industries (account_id VARCHAR, dataset_id VARCHAR) 1 example
Loading…
day_report (account_id VARCHAR, asn_id VARCHAR, date := VARCHAR) 1 example
Loading…
deployment (account_id VARCHAR, deployment_id VARCHAR) 1 example
Loading…
deployments (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
dns (account_id VARCHAR, ipv4 := VARCHAR, start_end_params := VARCHAR) 2 examples
Loading…
domain (account_id VARCHAR, domain := VARCHAR, skip_dns := BOOLEAN, skip_ranking := BOOLEAN) 2 examples
Loading…
domain_acl (account_id VARCHAR, domain_acl_id VARCHAR) 1 example
Loading…
domain_acls (account_id VARCHAR, deployment_id := VARCHAR, name := VARCHAR) 3 examples
Loading…
domain_history (account_id VARCHAR, domain := VARCHAR) 3 examples
Loading…
domain_matches (account_id VARCHAR, domain_search := VARCHAR, include_dismissed := VARCHAR, include_domain_id := VARCHAR, limit_ := VARCHAR, offset_ := VARCHAR, order_by := VARCHAR, query_id := VARCHAR) 2 examples
Loading…
domains (account_id VARCHAR) 2 examples
Loading…
download (account_id VARCHAR, limit_ := VARCHAR, logo_id := VARCHAR, offset_ := VARCHAR) 2 examples
Loading…
eligibility (account_id VARCHAR, report_id VARCHAR) 1 example
Loading…
emails (account_id VARCHAR, report_id VARCHAR) 1 example
Loading…
enabled_domains (account_id VARCHAR) 2 examples
Loading…
event (account_id VARCHAR, event_id VARCHAR) 1 example
Loading…
events_event (account_id VARCHAR, dataset_id VARCHAR, event_id VARCHAR) 1 example
Loading…
events_indicator_types (account_id VARCHAR) 2 examples
Loading…
events_raw (account_id VARCHAR, dataset_id VARCHAR, event_id VARCHAR) 1 example
Loading…
examples (account_id VARCHAR) 2 examples
Loading…
exemptions (account_id VARCHAR) 2 examples
Loading…
feed (account_id VARCHAR, feed_id VARCHAR) 1 example
Loading…
feeds (account_id VARCHAR, category := VARCHAR, enabled := BOOLEAN, limit_ := BIGINT, sort := VARCHAR, source_type := VARCHAR, status := VARCHAR) 2 examples
Loading…
feeds_skills (account_id VARCHAR, feed_id VARCHAR) 1 example
Loading…
full_report (account_id VARCHAR, asn_id VARCHAR) 1 example
Loading…
graph (account_id VARCHAR, dataset_ids := VARCHAR, expand := VARCHAR, hydration := VARCHAR, limit_ := DOUBLE, max_nodes := DOUBLE, relationship_types := VARCHAR, seeds := VARCHAR) 2 examples
Loading…
group (account_id VARCHAR, group_id VARCHAR) 1 example
Loading…
har (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
har_scan (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
health (account_id VARCHAR) 2 examples
Loading…
hosts (account_id VARCHAR, partner VARCHAR, domain VARCHAR) 1 example
Loading…
indicator (account_id VARCHAR, dataset_id VARCHAR, indicator_id VARCHAR) 1 example
Loading…
indicator_feeds (account_id VARCHAR) 2 examples
Loading…
indicator_feeds_download (account_id VARCHAR, feed_id VARCHAR) 1 example
Loading…
indicator_types (account_id VARCHAR, dataset_ids := VARCHAR) 2 examples
Loading…
indicators (account_id VARCHAR, cache := VARCHAR, created_after := VARCHAR, created_before := VARCHAR, dataset_ids := VARCHAR, include_tags := BOOLEAN, include_total_count := BOOLEAN, indicator_type := VARCHAR, name := VARCHAR, page_size := DOUBLE, related_events := VARCHAR, related_events_limit := DOUBLE, tag_search := VARCHAR, tags := VARCHAR) 2 examples
Loading…
indicators_aggregate (account_id VARCHAR, aggregate_by := VARCHAR, created_after := VARCHAR, created_before := VARCHAR, dataset_ids := VARCHAR, event_date_after := VARCHAR, event_date_before := VARCHAR, limit_ := DOUBLE, measure := VARCHAR, tag_uuid := VARCHAR) 2 examples
Loading…
indicators_relationships (account_id VARCHAR, dataset_id VARCHAR, indicator_id VARCHAR, expand := VARCHAR, page_size := BIGINT) 1 example
Loading…
ingress (zone_id VARCHAR, sinkhole_id VARCHAR, ingress_id VARCHAR) 1 example
Loading…
ingresses (account_id VARCHAR, sinkhole_id VARCHAR) 2 examples
Loading…
insights (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 2 examples
Loading…
insights_audit_log (zone_id VARCHAR, before := VARCHAR, changed_by := VARCHAR, field_changed := VARCHAR, since := VARCHAR) 3 examples
Loading…
insights_class (zone_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
insights_partner_count (zone_id VARCHAR, source := VARCHAR) 2 examples
Loading…
insights_scans (zone_id VARCHAR) 2 examples
Loading…
insights_severity (zone_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
insights_type (zone_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
ip (account_id VARCHAR, ipv4 := VARCHAR, ipv6 := VARCHAR) 3 examples
Loading…
ip_lists (account_id VARCHAR) 2 examples
Loading…
issues (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 2 examples
Loading…
issues_class (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
issues_severity (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
issues_type (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
item (account_id VARCHAR, collection_id VARCHAR, item_id VARCHAR) 1 example
Loading…
items (account_id VARCHAR, collection_id VARCHAR, q := VARCHAR) 3 examples
Loading…
latest (application_key VARCHAR) 2 examples
Loading…
letter (account_id VARCHAR, notice_id VARCHAR, letter_id VARCHAR) 1 example
Loading…
letters (account_id VARCHAR, notice_id VARCHAR) 1 example
Loading…
logo_matches (account_id VARCHAR, limit_ := VARCHAR, logo_id := VARCHAR, offset_ := VARCHAR) 2 examples
Loading…
managed (account_id VARCHAR) 2 examples
Loading…
matches (account_id VARCHAR, id := VARCHAR, include_dismissed := BOOLEAN, include_domain_id := BOOLEAN, limit_ := BIGINT, offset_ := BIGINT) 2 examples
Loading…
matches_download (account_id VARCHAR, id := VARCHAR, include_dismissed := BOOLEAN, include_domain_id := BOOLEAN, limit_ := BIGINT, offset_ := BIGINT) 2 examples
Loading…
me (account_id VARCHAR, project_type VARCHAR) 1 example
Loading…
message (account_id VARCHAR, project_type VARCHAR, request_id VARCHAR, message_id VARCHAR) 1 example
Loading…
messages (account_id VARCHAR, project_type VARCHAR, request_id VARCHAR) 1 example
Loading…
metadata (account_id VARCHAR, project_type VARCHAR, country := VARCHAR, request_type := VARCHAR) 1 example
Loading…
mitigations (account_id VARCHAR, report_id VARCHAR, effective_after := VARCHAR, effective_before := VARCHAR, entity_type := VARCHAR, sort := VARCHAR, status := VARCHAR, type := VARCHAR) 1 example
Loading…
monetization (account_id VARCHAR) 2 examples
Loading…
node (account_id VARCHAR, structure_id VARCHAR, node_id VARCHAR) 1 example
Loading…
nodes (account_id VARCHAR, structure_id VARCHAR, name := VARCHAR, native_id := VARCHAR, node_kind := VARCHAR, parent := VARCHAR) 3 examples
Loading…
notice (account_id VARCHAR, notice_id VARCHAR) 1 example
Loading…
operator_configuration (account_id VARCHAR) 2 examples
Loading…
operators (zone_id VARCHAR) 2 examples
Loading…
output (account_id VARCHAR, article_id VARCHAR, skill_id VARCHAR) 1 example
Loading…
partner_count (account_id VARCHAR, source := VARCHAR) 2 examples
Loading…
partners_settings (account_id VARCHAR, partner VARCHAR) 1 example
Loading…
policies (account_id VARCHAR, name := VARCHAR, package_path := VARCHAR, policy_set_id := VARCHAR) 3 examples
Loading…
policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
policy_set (account_id VARCHAR, policy_set_id VARCHAR) 1 example
Loading…
policy_sets (account_id VARCHAR, deployment_id := VARCHAR, name := VARCHAR) 3 examples
Loading…
priority (account_id VARCHAR, priority_id VARCHAR) 1 example
Loading…
priority_quota (account_id VARCHAR) 2 examples
Loading…
proposals (account_id VARCHAR) 2 examples
Loading…
publisher_stripe (account_id VARCHAR) 2 examples
Loading…
queries (account_id VARCHAR, id := VARCHAR) 2 examples
Loading…
query (account_id VARCHAR, query_id VARCHAR) 1 example
Loading…
quota (account_id VARCHAR) 2 examples
Loading…
raw (account_id VARCHAR, event_id VARCHAR, raw_id VARCHAR) 1 example
Loading…
raw_event (account_id VARCHAR, dataset_id VARCHAR, event_id VARCHAR) 1 example
Loading…
rego_metadata (account_id VARCHAR, import_path := VARCHAR, name := VARCHAR) 3 examples
Loading…
rego_metadata_by_id (account_id VARCHAR, rego_metadata_id VARCHAR) 1 example
Loading…
rego_module (account_id VARCHAR, rego_module_id VARCHAR) 1 example
Loading…
rego_modules (account_id VARCHAR, name := VARCHAR, package_path := VARCHAR) 3 examples
Loading…
relationships (account_id VARCHAR, tag_uuid VARCHAR, datasets := VARCHAR, expand := VARCHAR, page_size := BIGINT) 1 example
Loading…
repo (account_id VARCHAR, repo_id VARCHAR, scan_cursor := VARCHAR, scan_limit := BIGINT) 1 example
Loading…
report (account_id VARCHAR, report_param VARCHAR) 1 example
Loading…
repos (account_id VARCHAR) 2 examples
Loading…
repos_scans_report (account_id VARCHAR, repo_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
request (account_id VARCHAR, request_id VARCHAR) 1 example
Loading…
requests (account_id VARCHAR, project_type VARCHAR, accountId := VARCHAR, assignee := VARCHAR, createdBy := VARCHAR, id := VARCHAR, metadata := VARCHAR, orderBy := VARCHAR, pageSize := DOUBLE, priority := VARCHAR, readableId := VARCHAR, requestType := VARCHAR, status := VARCHAR, summary := VARCHAR, tlp := VARCHAR) 3 examples
Loading…
requests_constants (account_id VARCHAR, project_type VARCHAR) 1 example
Loading…
requests_request (account_id VARCHAR, project_type VARCHAR, request_id VARCHAR) 1 example
Loading…
result_scan (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
robots (zone_id VARCHAR, subdomain := VARCHAR) 2 examples
Loading…
rule (account_id VARCHAR, id VARCHAR) 1 example
Loading…
rules (account_id VARCHAR, is_public := VARCHAR, limit_ := DOUBLE, namespace := VARCHAR, offset_ := DOUBLE, path := VARCHAR, recursive := VARCHAR) 2 examples
Loading…
rules_approvals (account_id VARCHAR, id VARCHAR) 1 example
Loading…
rules_rule (zone_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
rules_structured (account_id VARCHAR, id VARCHAR) 1 example
Loading…
scan (account_id VARCHAR, account_scans := BOOLEAN, date_end := VARCHAR, date_start := VARCHAR, hash := VARCHAR, hostname := VARCHAR, ip := VARCHAR, is_malicious := BOOLEAN, limit_ := BIGINT, next_cursor := VARCHAR, page_asn := VARCHAR, page_hostname := VARCHAR, page_ip := VARCHAR, page_path := VARCHAR, page_url := VARCHAR, path := VARCHAR, scan_id := VARCHAR, url := VARCHAR) 2 examples
Loading…
scan_scan (account_id VARCHAR, scan_id VARCHAR, full := BOOLEAN) 1 example
Loading…
scans (account_id VARCHAR) 2 examples
Loading…
scans_by_id (account_id VARCHAR) 2 examples
Loading…
scans_report (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
scans_scan (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
schema (account_id VARCHAR) 2 examples
Loading…
secret (account_id VARCHAR, credential_id VARCHAR, secret_id VARCHAR) 1 example
Loading…
secrets (account_id VARCHAR, credential_id VARCHAR) 2 examples
Loading…
securitytxt (zone_id VARCHAR) 2 examples
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
severity (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
shadow_hosts (zone_id VARCHAR, partner VARCHAR) 1 example
Loading…
shadow_zones (account_id VARCHAR, partner VARCHAR) 1 example
Loading…
sinkhole (account_id VARCHAR, sinkhole_id VARCHAR) 1 example
Loading…
sinkholes (account_id VARCHAR) 2 examples
Loading…
sitekey (account_id VARCHAR, sitekey VARCHAR) 1 example
Loading…
skill (account_id VARCHAR, skill_id VARCHAR) 1 example
Loading…
skills (account_id VARCHAR) 2 examples
Loading…
state (account_id VARCHAR) 2 examples
Loading…
stats (account_id VARCHAR) 2 examples
Loading…
stripe (account_id VARCHAR) 2 examples
Loading…
structure (account_id VARCHAR, structure_id VARCHAR) 1 example
Loading…
structured (account_id VARCHAR, limit_ := DOUBLE, offset_ := DOUBLE) 2 examples
Loading…
submitted (account_id VARCHAR, created_after := VARCHAR, created_before := VARCHAR, domain := VARCHAR, id := VARCHAR, sort := VARCHAR, status := VARCHAR, type := VARCHAR) 2 examples
Loading…
submitted_emails (account_id VARCHAR, report_id VARCHAR) 1 example
Loading…
submitted_report (account_id VARCHAR, report_id VARCHAR) 1 example
Loading…
subnets (account_id VARCHAR, asn VARCHAR) 1 example
Loading…
tag_categories (account_id VARCHAR, skill_id VARCHAR) 1 example
Loading…
tag_uuid (account_id VARCHAR, tag_uuid VARCHAR) 1 example
Loading…
tags (account_id VARCHAR, cache := VARCHAR, category_uuid := VARCHAR, filters := VARCHAR, page_size := DOUBLE) 2 examples
Loading…
tags_indicators (account_id VARCHAR, tag_uuid VARCHAR, dataset_ids := VARCHAR, indicator_type := VARCHAR, page_size := DOUBLE, related_event := VARCHAR) 1 example
Loading…
takedown_notices (account_id VARCHAR) 2 examples
Loading…
target_environment (account_id VARCHAR, target_environment_id VARCHAR) 1 example
Loading…
target_environments (account_id VARCHAR) 2 examples
Loading…
target_industries (account_id VARCHAR, dataset_ids := VARCHAR) 2 examples
Loading…
template (account_id VARCHAR, template_id VARCHAR) 1 example
Loading…
templates (account_id VARCHAR) 2 examples
Loading…
tenant_structures (account_id VARCHAR, import_path := VARCHAR, name := VARCHAR) 3 examples
Loading…
terms (account_id VARCHAR) 2 examples
Loading…
threat_signals_categories (account_id VARCHAR) 2 examples
Loading…
threat_signals_indicators (account_id VARCHAR, article_id := VARCHAR, feed_id := VARCHAR, include_total := BOOLEAN, sort := VARCHAR) 2 examples
Loading…
tree (account_id VARCHAR) 2 examples
Loading…
type (account_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 3 examples
Loading…
types (account_id VARCHAR, project_type VARCHAR) 1 example
Loading…
upload (account_id VARCHAR, feed_id VARCHAR, upload_id VARCHAR) 1 example
Loading…
url (account_id VARCHAR, url := VARCHAR) 2 examples
Loading…
usage_stats (account_id VARCHAR, since := VARCHAR, until := VARCHAR) 2 examples
Loading…
version (application_key VARCHAR, version_tag VARCHAR) 1 example
Loading…
versions (application_key VARCHAR) 2 examples
Loading…
view (account_id VARCHAR) 2 examples
Loading…
vulnerability_discovery_scans (account_id VARCHAR, repo := VARCHAR, status := VARCHAR) 3 examples
Loading…
vulnerability_discovery_scans_scan (account_id VARCHAR, scan_id VARCHAR) 1 example
Loading…
whois (account_id VARCHAR, domain := VARCHAR) 2 examples
Loading…
widgets (account_id VARCHAR, filter := VARCHAR) 3 examples
Loading…
workload (account_id VARCHAR, workload_id VARCHAR) 1 example
Loading…
workloads (account_id VARCHAR, name := VARCHAR, policy_set_id := VARCHAR) 3 examples
Loading…
zone_can_be_enabled (zone_id VARCHAR) 2 examples
Loading…
zone_configuration (zone_id VARCHAR) 2 examples
Loading…
zone_insights (zone_id VARCHAR, dismissed := BOOLEAN, issue_class := VARCHAR, issue_class_neq := VARCHAR, issue_type := VARCHAR, issue_type_neq := VARCHAR, product := VARCHAR, product_neq := VARCHAR, severity := VARCHAR, severity_neq := VARCHAR, source := VARCHAR, subject := VARCHAR, subject_neq := VARCHAR) 2 examples
Loading…
zone_insights_audit_log (zone_id VARCHAR, issue_id VARCHAR, before := VARCHAR, changed_by := VARCHAR, field_changed := VARCHAR, since := VARCHAR) 3 examples
Loading…
zone_monetization (zone_id VARCHAR) 2 examples
Loading…
zone_rules (zone_id VARCHAR) 2 examples
Loading…
zone_usage_stats (zone_id VARCHAR, since := VARCHAR, until := VARCHAR) 2 examples
Loading…
ssl 1 table Β· 33 functions

Cloudflare SSL/TLS: edge certificate packs, custom and keyless certificates, origin and client (mTLS) certificates, certificate authorities, Advanced Certificate Manager, and certificate transparency monitoring.

Schema examples (3)
Examples (3)

List associations for one account and one mtls_certificate (account_id, mtls_certificate_id are required: each maps to the URL path).

SELECT status, service
FROM cloudflare.ssl.associations
WHERE account_id = '<account_id>' AND mtls_certificate_id = '<mtls_certificate_id>';

List certificate packs for one zone (zone_id is required: each maps to the URL path).

SELECT id, status, type
FROM cloudflare.ssl.certificate_packs
WHERE zone_id = '<zone_id>';

Only certificate packs with a given status: the status filter is sent to the API.

SELECT id, status, type
FROM cloudflare.ssl.certificate_packs
WHERE zone_id = '<zone_id>' AND status = '<status>';
Tables
certificates 1 example7 cols
Loading…
Table functions
alerting (zone_id VARCHAR) 2 examples
Loading…
associations (account_id VARCHAR, mtls_certificate_id VARCHAR) 2 examples
Loading…
certificate (certificate_id VARCHAR) 2 examples
Loading…
certificate_pack (zone_id VARCHAR, certificate_pack_id VARCHAR) 1 example
Loading…
certificate_packs (zone_id VARCHAR, deploy := VARCHAR, status := VARCHAR) 3 examples
Loading…
certificates_certificate (zone_id VARCHAR, certificate_id VARCHAR) 1 example
Loading…
client_certificate (zone_id VARCHAR, client_certificate_id VARCHAR) 1 example
Loading…
client_certificates (zone_id VARCHAR, status := VARCHAR) 3 examples
Loading…
custom_certificate (zone_id VARCHAR, custom_certificate_id VARCHAR) 1 example
Loading…
custom_certificates (zone_id VARCHAR, status := VARCHAR) 3 examples
Loading…
custom_csr (account_id VARCHAR, custom_csr_id VARCHAR) 1 example
Loading…
custom_csrs (account_id VARCHAR) 2 examples
Loading…
custom_origin_trust_store (zone_id VARCHAR, custom_origin_trust_store_id VARCHAR) 1 example
Loading…
custom_trust_store (zone_id VARCHAR) 2 examples
Loading…
hostname (zone_id VARCHAR, hostname VARCHAR) 1 example
Loading…
hostname_associations (zone_id VARCHAR, mtls_certificate_id := VARCHAR) 2 examples
Loading…
hostnames (zone_id VARCHAR, status := VARCHAR) 3 examples
Loading…
hostnames_certificates (zone_id VARCHAR) 2 examples
Loading…
keyless_certificate (zone_id VARCHAR, keyless_certificate_id VARCHAR) 1 example
Loading…
keyless_certificates (zone_id VARCHAR) 2 examples
Loading…
mtls_certificate (account_id VARCHAR, mtls_certificate_id VARCHAR) 1 example
Loading…
mtls_certificates (account_id VARCHAR, type := VARCHAR) 3 examples
Loading…
origin_tls_client_auth (zone_id VARCHAR) 2 examples
Loading…
quota (zone_id VARCHAR) 2 examples
Loading…
recommendation (zone_id VARCHAR) 2 examples
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
total_tls (zone_id VARCHAR) 2 examples
Loading…
universal_settings (zone_id VARCHAR) 2 examples
Loading…
uuid (zone_id VARCHAR) 2 examples
Loading…
verification (zone_id VARCHAR, retry := BOOLEAN) 3 examples
Loading…
zone_certificate (zone_id VARCHAR, certificate_id VARCHAR) 1 example
Loading…
zone_custom_csr (zone_id VARCHAR, custom_csr_id VARCHAR) 1 example
Loading…
zone_custom_csrs (zone_id VARCHAR) 2 examples
Loading…
storage 42 functions

Cloudflare storage and databases: R2 buckets and the R2 Data Catalog, D1 databases, Hyperdrive configurations, and other account storage resources.

Schema examples (3)
Examples (3)

List configs for one account (account_id is required: each maps to the URL path).

SELECT id, name, created_on
FROM cloudflare.storage.configs
WHERE account_id = '<account_id>';

Count configs for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.storage.configs
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List databases for one account (account_id is required: each maps to the URL path).

SELECT name, created_at, jurisdiction
FROM cloudflare.storage.database
WHERE account_id = '<account_id>';
Table functions
account_bucket_name (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
account_maintenance_configs (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
account_namespaces (account_id VARCHAR, bucket_name VARCHAR, page_size := BIGINT, page_token := VARCHAR, parent := VARCHAR, return_details := BOOLEAN, return_uuids := BOOLEAN) 1 example
Loading…
basin_catalog (account_id VARCHAR) 2 examples
Loading…
bookmark (account_id VARCHAR, database_id VARCHAR, timestamp := VARCHAR) 1 example
Loading…
bucket_name (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
buckets (account_id VARCHAR, name_contains := VARCHAR, start_after := VARCHAR) 2 examples
Loading…
buckets_bucket_name (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
configs (account_id VARCHAR) 2 examples
Loading…
configuration (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
cors (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
credential_status (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
custom (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
database (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
database_by_id (account_id VARCHAR, database_id VARCHAR, fields := VARCHAR) 1 example
Loading…
domain (account_id VARCHAR, bucket_name VARCHAR, domain VARCHAR) 1 example
Loading…
hyperdrive (account_id VARCHAR, hyperdrive_id VARCHAR) 1 example
Loading…
job (account_id VARCHAR, bucket_name VARCHAR, job_id VARCHAR) 1 example
Loading…
jobs (account_id VARCHAR, bucket_name VARCHAR, continuation_token := VARCHAR, job_type := VARCHAR, max_keys := BIGINT, status := VARCHAR) 1 example
Loading…
keys (account_id VARCHAR, namespace_id VARCHAR, prefix := VARCHAR) 3 examples
Loading…
lifecycle (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
local_uploads (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
lock (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
maintenance_configs (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
maintenance_runs (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR, page_size := BIGINT, page_token := VARCHAR) 1 example
Loading…
managed (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
metrics (account_id VARCHAR) 2 examples
Loading…
namespace (account_id VARCHAR, namespace_id VARCHAR) 1 example
Loading…
namespaces (account_id VARCHAR) 2 examples
Loading…
namespaces_by_id (account_id VARCHAR, bucket_name VARCHAR, page_size := BIGINT, page_token := VARCHAR, parent := VARCHAR, return_details := BOOLEAN, return_uuids := BOOLEAN) 1 example
Loading…
namespaces_tables (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, page_size := BIGINT, page_token := VARCHAR, return_details := BOOLEAN, return_uuids := BOOLEAN) 1 example
Loading…
namespaces_tables_maintenance_configs (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR) 1 example
Loading…
objects (account_id VARCHAR, bucket_name VARCHAR, delimiter := VARCHAR, prefix := VARCHAR, start_after := VARCHAR) 3 examples
Loading…
queue (account_id VARCHAR, bucket_name VARCHAR, queue_id VARCHAR) 1 example
Loading…
r2_catalog (account_id VARCHAR) 2 examples
Loading…
sippy (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
status (account_id VARCHAR, bucket_name VARCHAR) 1 example
Loading…
table_name (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR) 1 example
Loading…
tables (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, page_size := BIGINT, page_token := VARCHAR, return_details := BOOLEAN, return_uuids := BOOLEAN) 1 example
Loading…
tables_maintenance_configs (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR) 1 example
Loading…
tables_maintenance_runs (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR, page_size := BIGINT, page_token := VARCHAR) 1 example
Loading…
tables_table_name (account_id VARCHAR, bucket_name VARCHAR, namespace VARCHAR, table_name VARCHAR) 1 example
Loading…
stream 75 functions

Cloudflare media: Stream videos, live inputs, captions, watermarks and signing keys; Realtime (RealtimeKit apps, meetings, livestreams) and Calls/TURN services.

Schema examples (3)
Examples (3)

List account usages for one account (account_id is required: each maps to the URL path).

SELECT "streamMinutesViewed", ts
FROM cloudflare.stream.account_usage
WHERE account_id = '<account_id>';

Count account usages for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.stream.account_usage
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List apps for one account (account_id is required: each maps to the URL path).

SELECT name, created, modified
FROM cloudflare.stream.apps
WHERE account_id = '<account_id>';
Table functions
account_usage (account_id VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 3 examples
Loading…
active_livestream (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR) 1 example
Loading…
active_livestream_session (account_id VARCHAR, app_id VARCHAR, livestream_id VARCHAR) 1 example
Loading…
active_recording_meeting (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR) 1 example
Loading…
active_session (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR) 1 example
Loading…
all (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
app (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps (account_id VARCHAR) 2 examples
Loading…
apps_app (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps_by_id (account_id VARCHAR, page_no := BIGINT, sort_order := VARCHAR) 2 examples
Loading…
audio (account_id VARCHAR, identifier VARCHAR) 1 example
Loading…
captions (account_id VARCHAR, identifier VARCHAR) 2 examples
Loading…
chat (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR) 1 example
Loading…
connectivity (account_id VARCHAR, source_id VARCHAR) 1 example
Loading…
daywise (account_id VARCHAR, app_id VARCHAR, end_date := VARCHAR, start_date := VARCHAR) 1 example
Loading…
downloads (account_id VARCHAR, identifier VARCHAR) 1 example
Loading…
flat (account_id VARCHAR, variant_id VARCHAR) 1 example
Loading…
flows (zone_id VARCHAR) 2 examples
Loading…
image (account_id VARCHAR, image_id VARCHAR) 1 example
Loading…
keys (account_id VARCHAR) 2 examples
Loading…
keys_by_id (account_id VARCHAR) 2 examples
Loading…
language (account_id VARCHAR, identifier VARCHAR, language VARCHAR) 1 example
Loading…
lifecycle (account_id VARCHAR, migration_id VARCHAR) 1 example
Loading…
live_input (account_id VARCHAR, live_input_identifier VARCHAR) 1 example
Loading…
live_inputs (account_id VARCHAR, include_counts := BOOLEAN) 2 examples
Loading…
livestream (account_id VARCHAR, app_id VARCHAR, livestream_id VARCHAR, page_no := BIGINT) 1 example
Loading…
livestream_session (account_id VARCHAR, app_id VARCHAR, livestream_session_id VARCHAR) 1 example
Loading…
livestream_sessions (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR, page_no := DOUBLE) 1 example
Loading…
livestreams (account_id VARCHAR, app_id VARCHAR, end_time := VARCHAR, exclude_meetings := BOOLEAN, page_no := BIGINT, sort_order := VARCHAR, start_time := VARCHAR, status := VARCHAR) 1 example
Loading…
livestreams_daywise (account_id VARCHAR, app_id VARCHAR, end_time := BIGINT, filters := VARCHAR, start_time := BIGINT) 1 example
Loading…
logs (account_id VARCHAR, migration_id VARCHAR, limit_ := BIGINT, offset_ := BIGINT) 1 example
Loading…
meeting (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR, name := VARCHAR) 1 example
Loading…
meetings (account_id VARCHAR, app_id VARCHAR, end_time := VARCHAR, page_no := DOUBLE, start_time := VARCHAR, status := VARCHAR) 1 example
Loading…
meetings_livestream (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR, page_no := BIGINT) 1 example
Loading…
metadata_keys (account_id VARCHAR) 2 examples
Loading…
migration (account_id VARCHAR, migration_id VARCHAR) 1 example
Loading…
migrations (account_id VARCHAR, limit_ := BIGINT, offset_ := BIGINT) 2 examples
Loading…
outputs (account_id VARCHAR, live_input_identifier VARCHAR) 2 examples
Loading…
overall (account_id VARCHAR, app_id VARCHAR, end_time := BIGINT, filters := VARCHAR, start_time := BIGINT) 1 example
Loading…
participant (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR, participant_id VARCHAR) 1 example
Loading…
participants (account_id VARCHAR, app_id VARCHAR, meeting_id VARCHAR, page_no := DOUBLE) 1 example
Loading…
participants_participant (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR, participant_id VARCHAR, include_peer_events := BOOLEAN) 1 example
Loading…
peer (account_id VARCHAR, app_id VARCHAR, peer_id VARCHAR, filters := VARCHAR, include_peer_events := BOOLEAN) 1 example
Loading…
preset (account_id VARCHAR, app_id VARCHAR, preset_id VARCHAR) 1 example
Loading…
presets (account_id VARCHAR, app_id VARCHAR, page_no := DOUBLE) 1 example
Loading…
recording (account_id VARCHAR, app_id VARCHAR, recording_id VARCHAR) 1 example
Loading…
recordings (account_id VARCHAR, app_id VARCHAR, end_time := VARCHAR, expired := BOOLEAN, meeting_id := VARCHAR, page_no := DOUBLE, sort_by := VARCHAR, sort_order := VARCHAR, start_time := VARCHAR, status := VARCHAR) 1 example
Loading…
relay (account_id VARCHAR, relay_id VARCHAR) 1 example
Loading…
relays (account_id VARCHAR, asc_ := BOOLEAN, created_after := VARCHAR, created_before := VARCHAR) 3 examples
Loading…
session (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR, include_breakout_rooms := BOOLEAN) 1 example
Loading…
sessions (account_id VARCHAR, app_id VARCHAR, associated_id := VARCHAR, end_time := VARCHAR, page_no := DOUBLE, participants := VARCHAR, sort_by := VARCHAR, sort_order := VARCHAR, start_time := VARCHAR, status := VARCHAR) 1 example
Loading…
sessions_participants (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR, include_peer_events := BOOLEAN, page_no := DOUBLE, sort_by := VARCHAR, sort_order := VARCHAR, view := VARCHAR) 1 example
Loading…
source (account_id VARCHAR, source_id VARCHAR) 1 example
Loading…
sources (account_id VARCHAR, limit_ := BIGINT, name := VARCHAR, offset_ := BIGINT) 2 examples
Loading…
stats (account_id VARCHAR) 2 examples
Loading…
storage_usage (account_id VARCHAR, creator := VARCHAR) 2 examples
Loading…
stream (account_id VARCHAR, after := VARCHAR, asc_ := BOOLEAN, before := VARCHAR, creator := VARCHAR, end_ := VARCHAR, id := VARCHAR, include_counts := BOOLEAN, live_input_id := VARCHAR, name := VARCHAR, start := VARCHAR, status := VARCHAR, type := VARCHAR, video_name := VARCHAR) 3 examples
Loading…
stream_by_id (account_id VARCHAR, identifier VARCHAR) 1 example
Loading…
summary (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR) 1 example
Loading…
tokens (account_id VARCHAR, relay_id VARCHAR) 1 example
Loading…
transcript (account_id VARCHAR, app_id VARCHAR, session_id VARCHAR) 1 example
Loading…
turn_keys (account_id VARCHAR) 2 examples
Loading…
turn_keys_by_id (account_id VARCHAR, key_id VARCHAR) 1 example
Loading…
usage (account_id VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 3 examples
Loading…
v1 (account_id VARCHAR, creator := VARCHAR) 2 examples
Loading…
v2 (account_id VARCHAR, continuation_token := VARCHAR, creator := VARCHAR, meta__field___operator__ := VARCHAR, sort_order := VARCHAR) 2 examples
Loading…
variant (account_id VARCHAR, variant_id VARCHAR) 1 example
Loading…
variants (account_id VARCHAR) 2 examples
Loading…
watermarks (account_id VARCHAR) 2 examples
Loading…
watermarks_by_id (account_id VARCHAR, identifier VARCHAR) 1 example
Loading…
webhook (account_id VARCHAR) 2 examples
Loading…
webhooks (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
webhooks_webhook (account_id VARCHAR, app_id VARCHAR, webhook_id VARCHAR) 1 example
Loading…
zone_stream_usage (zone_id VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 3 examples
Loading…
zone_usage (zone_id VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 3 examples
Loading…
waf 38 functions

Cloudflare firewall configuration for a zone: legacy firewall rules, IP access rules, user-agent blocking, and lockdown rules.

Schema examples (3)
Examples (3)

List access rules rules for one account (account_id is required: each maps to the URL path).

SELECT id, created_on, allowed_modes
FROM cloudflare.waf.access_rules_rules
WHERE account_id = '<account_id>';

Only access rules rules with a given mode: the mode filter is sent to the API.

SELECT id, created_on, allowed_modes
FROM cloudflare.waf.access_rules_rules
WHERE account_id = '<account_id>' AND mode = '<mode>';

List detections for one zone (zone_id is required: each maps to the URL path).

SELECT id, password, username
FROM cloudflare.waf.detections
WHERE zone_id = '<zone_id>';
Table functions
access_rules_rules (account_id VARCHAR, configuration_target := VARCHAR, configuration_value := VARCHAR, mode := VARCHAR, notes := VARCHAR) 3 examples
Loading…
by_tag_rule (account_id VARCHAR, ruleset_id VARCHAR, ruleset_version VARCHAR, rule_tag VARCHAR) 1 example
Loading…
custom_topics (zone_id VARCHAR) 2 examples
Loading…
detection (zone_id VARCHAR, detection_id VARCHAR) 1 example
Loading…
detections (zone_id VARCHAR) 2 examples
Loading…
entrypoint (account_id VARCHAR, ruleset_phase VARCHAR) 1 example
Loading…
entrypoint_versions (account_id VARCHAR, ruleset_phase VARCHAR) 2 examples
Loading…
entrypoint_versions_ruleset_version (account_id VARCHAR, ruleset_phase VARCHAR, ruleset_version VARCHAR) 1 example
Loading…
filter (zone_id VARCHAR, filter_id VARCHAR) 1 example
Loading…
filters (zone_id VARCHAR, description := VARCHAR, expression := VARCHAR, id := VARCHAR, paused := BOOLEAN, ref := VARCHAR) 3 examples
Loading…
groups (zone_id VARCHAR, package_id VARCHAR, mode := VARCHAR, name := VARCHAR, rules_count := DOUBLE) 3 examples
Loading…
leaked_credential_checks (zone_id VARCHAR) 2 examples
Loading…
lock_downs (zone_id VARCHAR, lock_downs_id VARCHAR) 1 example
Loading…
lockdowns (zone_id VARCHAR, created_on := VARCHAR, description := VARCHAR, description_search := VARCHAR, ip := VARCHAR, ip_range_search := VARCHAR, ip_search := VARCHAR, modified_on := VARCHAR, priority := DOUBLE, uri_search := VARCHAR) 3 examples
Loading…
packages (zone_id VARCHAR, name := VARCHAR) 3 examples
Loading…
packages_rules (zone_id VARCHAR, package_id VARCHAR, description := VARCHAR, group_id := VARCHAR, mode := VARCHAR, priority := VARCHAR) 3 examples
Loading…
payloads (zone_id VARCHAR) 2 examples
Loading…
phases_entrypoint (zone_id VARCHAR, ruleset_phase VARCHAR) 1 example
Loading…
phases_entrypoint_versions (zone_id VARCHAR, ruleset_phase VARCHAR) 2 examples
Loading…
phases_entrypoint_versions_ruleset_version (zone_id VARCHAR, ruleset_phase VARCHAR, ruleset_version VARCHAR) 1 example
Loading…
rate_limit_analytics (zone_id VARCHAR, since := VARCHAR, time_delta := BIGINT, until := VARCHAR) 2 examples
Loading…
rule (zone_id VARCHAR, rule_id VARCHAR, id := VARCHAR) 1 example
Loading…
rules (zone_id VARCHAR, action := VARCHAR, description := VARCHAR, id := VARCHAR, paused := BOOLEAN) 3 examples
Loading…
rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
ruleset (account_id VARCHAR, ruleset_id VARCHAR) 1 example
Loading…
ruleset_version (account_id VARCHAR, ruleset_id VARCHAR, ruleset_version VARCHAR) 1 example
Loading…
rulesets (account_id VARCHAR) 2 examples
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
ua_rule (zone_id VARCHAR, ua_rule_id VARCHAR) 1 example
Loading…
ua_rules (zone_id VARCHAR, description := VARCHAR, paused := BOOLEAN, user_agent := VARCHAR) 3 examples
Loading…
versions (account_id VARCHAR, ruleset_id VARCHAR) 2 examples
Loading…
versions_by_tag_rule (zone_id VARCHAR, ruleset_id VARCHAR, ruleset_version VARCHAR, rule_tag VARCHAR) 1 example
Loading…
versions_ruleset_version (zone_id VARCHAR, ruleset_id VARCHAR, ruleset_version VARCHAR) 1 example
Loading…
zone_access_rules_rules (zone_id VARCHAR, configuration_target := VARCHAR, configuration_value := VARCHAR, mode := VARCHAR, notes := VARCHAR) 3 examples
Loading…
zone_ruleset (zone_id VARCHAR, ruleset_id VARCHAR) 1 example
Loading…
zone_rulesets (zone_id VARCHAR) 2 examples
Loading…
zone_settings (zone_id VARCHAR) 2 examples
Loading…
zone_versions (zone_id VARCHAR, ruleset_id VARCHAR) 2 examples
Loading…
workers 128 functions

Cloudflare developer platform: Workers scripts and their versions, deployments, routes and domains; Workflows, Queues, Pipelines, Containers, Secrets Store, and Workers Builds.

Schema examples (3)
Examples (3)

List account namespaces for one account (account_id is required: each maps to the URL path).

SELECT created_at, jurisdiction, namespace
FROM cloudflare.workers.account_namespaces
WHERE account_id = '<account_id>';

Count account namespaces for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.workers.account_namespaces
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List account previews for one account and one worker (account_id, worker_id are required: each maps to the URL path).

SELECT id, name, created_on
FROM cloudflare.workers.account_previews
WHERE account_id = '<account_id>' AND worker_id = '<worker_id>';
Table functions
account_namespaces (account_id VARCHAR) 2 examples
Loading…
account_previews (account_id VARCHAR, worker_id VARCHAR, name := VARCHAR, order_by := VARCHAR, slug := VARCHAR) 3 examples
Loading…
account_script_name (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
account_settings (account_id VARCHAR) 2 examples
Loading…
account_streams (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
account_versions (account_id VARCHAR, worker_id VARCHAR) 2 examples
Loading…
account_versions_version (account_id VARCHAR, worker_id VARCHAR, version_id VARCHAR, include := VARCHAR) 1 example
Loading…
application (account_id VARCHAR, application_id VARCHAR) 1 example
Loading…
applications (account_id VARCHAR, image := VARCHAR, name := VARCHAR, page_token := VARCHAR) 3 examples
Loading…
applications_versions (account_id VARCHAR, application_id VARCHAR) 2 examples
Loading…
automation_id (account_id VARCHAR, automationId VARCHAR) 1 example
Loading…
automations (account_id VARCHAR, service := VARCHAR) 2 examples
Loading…
bindings (account_id VARCHAR, dispatch_namespace VARCHAR, script_name VARCHAR) 2 examples
Loading…
build_uuid (account_id VARCHAR, build_uuid VARCHAR) 1 example
Loading…
builds (account_id VARCHAR, external_script_id VARCHAR) 2 examples
Loading…
builds_by_id (account_id VARCHAR, version_ids := VARCHAR) 2 examples
Loading…
concurrency (account_id VARCHAR) 2 examples
Loading…
concurrency_by_id (account_id VARCHAR, key_id VARCHAR) 1 example
Loading…
config_autofill (account_id VARCHAR, provider_type VARCHAR, provider_account_id VARCHAR, repo_id VARCHAR, branch := VARCHAR, root_directory := VARCHAR) 1 example
Loading…
consumer (account_id VARCHAR, queue_id VARCHAR, consumer_id VARCHAR) 1 example
Loading…
consumers (account_id VARCHAR, queue_id VARCHAR) 2 examples
Loading…
dag (account_id VARCHAR, workflow_name VARCHAR, version_id VARCHAR) 1 example
Loading…
deploy_hook_uuid (account_id VARCHAR, script_name VARCHAR, deploy_hook_uuid VARCHAR) 1 example
Loading…
deploy_hooks (account_id VARCHAR, script_name VARCHAR) 2 examples
Loading…
deployment (account_id VARCHAR, script_name VARCHAR, deployment_id VARCHAR) 1 example
Loading…
deployments (account_id VARCHAR, script_name VARCHAR, since := VARCHAR, until := VARCHAR) 1 example
Loading…
deployments_deployment (account_id VARCHAR, worker_id VARCHAR, preview_id VARCHAR, deployment_id VARCHAR, include := VARCHAR) 1 example
Loading…
destinations (account_id VARCHAR, orderBy := VARCHAR, perPage := DOUBLE) 3 examples
Loading…
dispatch_namespace (account_id VARCHAR, dispatch_namespace VARCHAR) 1 example
Loading…
domain (account_id VARCHAR, domain_id VARCHAR) 1 example
Loading…
domains (account_id VARCHAR, enabled := BOOLEAN, environment := VARCHAR, hostname := VARCHAR, previews_enabled := BOOLEAN, service := VARCHAR, zone_id := VARCHAR, zone_name := VARCHAR) 3 examples
Loading…
durable_objects_namespaces (account_id VARCHAR) 2 examples
Loading…
environments (zone_id VARCHAR) 2 examples
Loading…
environments_settings (account_id VARCHAR, service_name VARCHAR, environment_name VARCHAR) 1 example
Loading…
graph (account_id VARCHAR, workflow_name VARCHAR, version_id VARCHAR) 1 example
Loading…
hash (account_id VARCHAR, namespace VARCHAR, name VARCHAR, hash VARCHAR) 1 example
Loading…
instance (account_id VARCHAR, workflow_name VARCHAR, instance_id VARCHAR, simple := VARCHAR) 1 example
Loading…
instances (account_id VARCHAR, workflow_name VARCHAR, date_end := VARCHAR, date_start := VARCHAR, status := VARCHAR) 3 examples
Loading…
instances_by_id (account_id VARCHAR, application_id VARCHAR, name_prefix := VARCHAR, page_token := VARCHAR, state := VARCHAR) 1 example
Loading…
instances_instance (account_id VARCHAR, application_id VARCHAR, instance_id VARCHAR) 1 example
Loading…
instances_v2 (account_id VARCHAR, application_id VARCHAR, name_prefix := VARCHAR, page_token := VARCHAR, state := VARCHAR) 3 examples
Loading…
issue_id (account_id VARCHAR, issueId VARCHAR) 1 example
Loading…
issues (account_id VARCHAR, orderBy := VARCHAR, perPage := BIGINT, service := VARCHAR, status := VARCHAR, type := VARCHAR) 3 examples
Loading…
job (account_id VARCHAR, job_id VARCHAR) 1 example
Loading…
jobs (account_id VARCHAR) 2 examples
Loading…
latest (account_id VARCHAR, external_script_ids := VARCHAR) 2 examples
Loading…
limits (account_id VARCHAR) 2 examples
Loading…
log (account_id VARCHAR, namespace VARCHAR, name VARCHAR, ref := VARCHAR) 3 examples
Loading…
logs (account_id VARCHAR, job_id VARCHAR) 2 examples
Loading…
logs_by_id (account_id VARCHAR, build_uuid VARCHAR) 1 example
Loading…
metrics (account_id VARCHAR, queue_id VARCHAR) 1 example
Loading…
metricsexport (account_id VARCHAR) 2 examples
Loading…
namespace (account_id VARCHAR, namespace VARCHAR) 1 example
Loading…
namespaces (account_id VARCHAR) 2 examples
Loading…
namespaces_scripts (account_id VARCHAR, dispatch_namespace VARCHAR, tags := VARCHAR) 3 examples
Loading…
namespaces_scripts_secrets (account_id VARCHAR, dispatch_namespace VARCHAR, script_name VARCHAR) 2 examples
Loading…
objects (account_id VARCHAR, id VARCHAR) 2 examples
Loading…
occurrences (account_id VARCHAR, issueId VARCHAR) 2 examples
Loading…
pipeline (account_id VARCHAR, pipeline_id VARCHAR) 1 example
Loading…
pipeline_name (account_id VARCHAR, pipeline_name VARCHAR) 1 example
Loading…
pipelines (account_id VARCHAR, name := VARCHAR) 3 examples
Loading…
pipelines_by_id (account_id VARCHAR) 2 examples
Loading…
preview (account_id VARCHAR, script_tag VARCHAR, preview_id VARCHAR) 1 example
Loading…
previews (account_id VARCHAR, script_tag VARCHAR) 2 examples
Loading…
previews_builds (account_id VARCHAR, script_tag VARCHAR, preview_id VARCHAR) 2 examples
Loading…
previews_deployments (account_id VARCHAR, worker_id VARCHAR, preview_id VARCHAR) 2 examples
Loading…
previews_preview (account_id VARCHAR, worker_id VARCHAR, preview_id VARCHAR) 1 example
Loading…
progress (account_id VARCHAR, job_id VARCHAR) 1 example
Loading…
purge (account_id VARCHAR, queue_id VARCHAR) 1 example
Loading…
queries (account_id VARCHAR, orderBy := VARCHAR, perPage := DOUBLE) 3 examples
Loading…
query (account_id VARCHAR, id VARCHAR, view := VARCHAR) 1 example
Loading…
query_id (account_id VARCHAR, queryId VARCHAR) 1 example
Loading…
queue (account_id VARCHAR, queue_id VARCHAR) 1 example
Loading…
queues (account_id VARCHAR) 2 examples
Loading…
quota (account_id VARCHAR) 2 examples
Loading…
regions (account_id VARCHAR) 2 examples
Loading…
registries (account_id VARCHAR) 2 examples
Loading…
repos (account_id VARCHAR, namespace VARCHAR, sort := VARCHAR) 3 examples
Loading…
repos_by_id (account_id VARCHAR, namespace VARCHAR, name VARCHAR) 1 example
Loading…
repos_tokens (account_id VARCHAR, namespace VARCHAR, name VARCHAR, state := VARCHAR) 3 examples
Loading…
route (zone_id VARCHAR, route_id VARCHAR) 1 example
Loading…
routes (zone_id VARCHAR) 2 examples
Loading…
runs (account_id VARCHAR, conversationId VARCHAR, agent := VARCHAR, from_ := BIGINT, service := VARCHAR, to_ := BIGINT) 3 examples
Loading…
schedules (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
script (account_id VARCHAR, script_tag VARCHAR) 1 example
Loading…
script_name (account_id VARCHAR, dispatch_namespace VARCHAR, script_name VARCHAR) 1 example
Loading…
script_settings (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
scripts (account_id VARCHAR, tags := VARCHAR) 3 examples
Loading…
scripts_secrets (account_id VARCHAR, script_name VARCHAR) 2 examples
Loading…
scripts_settings (account_id VARCHAR, dispatch_namespace VARCHAR, script_name VARCHAR) 1 example
Loading…
scripts_subdomain (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
secret (account_id VARCHAR, store_id VARCHAR, secret_id VARCHAR) 1 example
Loading…
secret_name (account_id VARCHAR, script_name VARCHAR, secret_name VARCHAR, url_encoded := BOOLEAN) 1 example
Loading…
secrets (account_id VARCHAR, store_id VARCHAR, scopes := VARCHAR) 3 examples
Loading…
secrets_secret_name (account_id VARCHAR, dispatch_namespace VARCHAR, script_name VARCHAR, secret_name VARCHAR, url_encoded := BOOLEAN) 1 example
Loading…
sessions (account_id VARCHAR, agent := VARCHAR, from_ := BIGINT, service := VARCHAR, to_ := BIGINT) 3 examples
Loading…
settings (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
sink (account_id VARCHAR, sink_id VARCHAR) 1 example
Loading…
sinks (account_id VARCHAR, name := VARCHAR, pipeline_id := VARCHAR) 3 examples
Loading…
sql (account_id VARCHAR, query := VARCHAR) 2 examples
Loading…
step (account_id VARCHAR, workflow_name VARCHAR, instance_id VARCHAR, attempt := BIGINT, name := VARCHAR, type := VARCHAR) 1 example
Loading…
store (account_id VARCHAR, store_id VARCHAR) 1 example
Loading…
stores (account_id VARCHAR) 2 examples
Loading…
stream (account_id VARCHAR, stream_id VARCHAR) 1 example
Loading…
streams (account_id VARCHAR, name := VARCHAR, pipeline_id := VARCHAR) 3 examples
Loading…
streams_stream (account_id VARCHAR, stream_id VARCHAR) 1 example
Loading…
subdomain (account_id VARCHAR) 2 examples
Loading…
subscriptions (account_id VARCHAR, stream_id VARCHAR) 2 examples
Loading…
summary (account_id VARCHAR, service := VARCHAR) 2 examples
Loading…
tails (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
terminate (account_id VARCHAR, workflow_name VARCHAR) 1 example
Loading…
token (account_id VARCHAR, workflow_name VARCHAR, instance_id VARCHAR) 1 example
Loading…
tokens (account_id VARCHAR) 2 examples
Loading…
tree (account_id VARCHAR, namespace VARCHAR, name VARCHAR, hash VARCHAR) 2 examples
Loading…
triggers (account_id VARCHAR, external_script_id VARCHAR) 2 examples
Loading…
usage (account_id VARCHAR, from_ := VARCHAR, to_ := VARCHAR, tz := VARCHAR) 2 examples
Loading…
usage_model (account_id VARCHAR, script_name VARCHAR) 1 example
Loading…
version (account_id VARCHAR, workflow_name VARCHAR, version_id VARCHAR) 1 example
Loading…
versions (account_id VARCHAR, workflow_name VARCHAR) 2 examples
Loading…
versions_by_id (account_id VARCHAR, script_name VARCHAR, deployable := BOOLEAN) 1 example
Loading…
versions_latest (account_id VARCHAR, worker_id VARCHAR, include := VARCHAR) 1 example
Loading…
versions_version (account_id VARCHAR, script_name VARCHAR, version_id VARCHAR) 1 example
Loading…
worker (account_id VARCHAR, worker_id VARCHAR) 1 example
Loading…
workers (account_id VARCHAR, order_by := VARCHAR) 3 examples
Loading…
workflow_name (account_id VARCHAR, workflow_name VARCHAR) 1 example
Loading…
workflows (account_id VARCHAR) 2 examples
Loading…
workflows_settings (account_id VARCHAR) 2 examples
Loading…
zero_trust 177 functions

Cloudflare Zero Trust: Gateway filtering rules and locations, Data Loss Prevention profiles and datasets, device enrollment and posture (WARP), Digital Experience Monitoring, tunnels, and risk scoring.

Schema examples (3)
Examples (3)

List account connections for one account and one tunnel (account_id, tunnel_id are required: each maps to the URL path).

SELECT id, arch, conns
FROM cloudflare.zero_trust.account_connections
WHERE account_id = '<account_id>' AND tunnel_id = '<tunnel_id>';

List account integrations for one account (account_id is required: each maps to the URL path).

SELECT id, name, status
FROM cloudflare.zero_trust.account_integrations
WHERE account_id = '<account_id>';

Only account integrations with a given application: the application filter is sent to the API.

SELECT id, name, status
FROM cloudflare.zero_trust.account_integrations
WHERE account_id = '<account_id>' AND application = '<application>';
Table functions
account_config (account_id VARCHAR) 2 examples
Loading…
account_configurations (account_id VARCHAR, tunnel_id VARCHAR) 1 example
Loading…
account_connections (account_id VARCHAR, tunnel_id VARCHAR) 2 examples
Loading…
account_integrations (account_id VARCHAR, application := VARCHAR, dlp_enabled := BOOLEAN, page_size := BIGINT, status := VARCHAR, use_cases := VARCHAR) 3 examples
Loading…
account_mapping (account_id VARCHAR) 2 examples
Loading…
account_override_codes (account_id VARCHAR, device_id VARCHAR) 1 example
Loading…
account_rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
account_settings (account_id VARCHAR) 2 examples
Loading…
account_tunnel (account_id VARCHAR, tunnel_id VARCHAR) 1 example
Loading…
address_family (account_id VARCHAR, address_family VARCHAR) 1 example
Loading…
app_types (account_id VARCHAR) 2 examples
Loading…
application (account_id VARCHAR, application_id VARCHAR) 1 example
Loading…
applications (account_id VARCHAR, environment := VARCHAR, page_size := BIGINT) 3 examples
Loading…
audit_ssh_settings (account_id VARCHAR) 2 examples
Loading…
auth_methods (account_id VARCHAR, application_id VARCHAR, page_size := BIGINT) 3 examples
Loading…
behaviors (account_id VARCHAR) 2 examples
Loading…
binding (account_id VARCHAR, binding_id VARCHAR) 1 example
Loading…
categories (account_id VARCHAR) 2 examples
Loading…
category (account_id VARCHAR, category_id VARCHAR) 1 example
Loading…
certificate (account_id VARCHAR, certificate_id VARCHAR) 1 example
Loading…
certificates (account_id VARCHAR) 2 examples
Loading…
certificates_by_id (zone_id VARCHAR) 2 examples
Loading…
cfd_tunnel (account_id VARCHAR, exclude_prefix := VARCHAR, existed_at := VARCHAR, include_prefix := VARCHAR, is_deleted := BOOLEAN, name := VARCHAR, status := VARCHAR, uuid := VARCHAR, was_active_at := VARCHAR, was_inactive_at := VARCHAR) 3 examples
Loading…
client_versions (account_id VARCHAR, release_track := VARCHAR, target_environment := VARCHAR) 3 examples
Loading…
colos (account_id VARCHAR, from_ := VARCHAR, sortBy := VARCHAR, to_ := VARCHAR) 3 examples
Loading…
commands (account_id VARCHAR, command_type := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, status := VARCHAR, to_ := VARCHAR, user_email := VARCHAR) 2 examples
Loading…
config (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
configuration (account_id VARCHAR) 2 examples
Loading…
configurations (account_id VARCHAR, tunnel_id VARCHAR) 1 example
Loading…
connections (account_id VARCHAR, tunnel_id VARCHAR) 2 examples
Loading…
connectivity_settings (account_id VARCHAR) 2 examples
Loading…
connector (account_id VARCHAR, tunnel_id VARCHAR, connector_id VARCHAR) 1 example
Loading…
connectors_connector (account_id VARCHAR, tunnel_id VARCHAR, connector_id VARCHAR) 1 example
Loading…
content (account_id VARCHAR, dlp_profile_id := VARCHAR, integration_id := VARCHAR, max_affliction_date := VARCHAR, min_affliction_date := VARCHAR, vendor := VARCHAR) 3 examples
Loading…
custom (account_id VARCHAR) 2 examples
Loading…
custom_certificate (account_id VARCHAR) 2 examples
Loading…
custom_profile (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
custom_prompt_topics (account_id VARCHAR) 2 examples
Loading…
data_class (account_id VARCHAR, data_class_id VARCHAR) 1 example
Loading…
data_classes (account_id VARCHAR) 2 examples
Loading…
data_tag_categories (account_id VARCHAR) 2 examples
Loading…
data_tag_category_templates (account_id VARCHAR) 2 examples
Loading…
data_tags (account_id VARCHAR, category_id VARCHAR) 2 examples
Loading…
data_tags_by_id (account_id VARCHAR, category_id VARCHAR, tag_id VARCHAR) 1 example
Loading…
dataset (account_id VARCHAR, dataset_id VARCHAR) 1 example
Loading…
datasets (account_id VARCHAR) 2 examples
Loading…
deployment_groups (account_id VARCHAR) 2 examples
Loading…
device (account_id VARCHAR, device_id VARCHAR) 1 example
Loading…
devices (account_id VARCHAR) 2 examples
Loading…
devices_by_id (account_id VARCHAR) 2 examples
Loading…
dex_test (account_id VARCHAR, dex_test_id VARCHAR) 1 example
Loading…
dex_tests (account_id VARCHAR, kind := VARCHAR, testName := VARCHAR) 3 examples
Loading…
disconnect (account_id VARCHAR) 2 examples
Loading…
dns_destination_ips (account_id VARCHAR) 2 examples
Loading…
document_fingerprint (account_id VARCHAR, document_fingerprint_id VARCHAR) 1 example
Loading…
document_fingerprints (account_id VARCHAR) 2 examples
Loading…
egress_cidr_pairs (account_id VARCHAR) 2 examples
Loading…
email_rules (account_id VARCHAR) 2 examples
Loading…
email_rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
entries (account_id VARCHAR) 2 examples
Loading…
entries_entry (account_id VARCHAR, entry_id VARCHAR) 1 example
Loading…
entry (account_id VARCHAR, entry_id VARCHAR) 1 example
Loading…
exclude (account_id VARCHAR) 2 examples
Loading…
exports (account_id VARCHAR, status := VARCHAR) 3 examples
Loading…
exports_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
fallback_domains (account_id VARCHAR) 2 examples
Loading…
finding (account_id VARCHAR, finding_id VARCHAR) 1 example
Loading…
finding_type (account_id VARCHAR, finding_type_id VARCHAR) 1 example
Loading…
finding_types (account_id VARCHAR, vendors := VARCHAR) 3 examples
Loading…
findings (account_id VARCHAR, finding_type_ids := VARCHAR, ignored := BOOLEAN, integration_id := VARCHAR, max_affliction_date := VARCHAR, min_affliction_date := VARCHAR, observation := VARCHAR, product := VARCHAR, severity := VARCHAR, type := VARCHAR, vendor := VARCHAR) 3 examples
Loading…
fleet_status_devices (account_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, mode := VARCHAR, platform := VARCHAR, sort_by := VARCHAR, source := VARCHAR, status := VARCHAR, to_ := VARCHAR, version := VARCHAR) 3 examples
Loading…
fleet_status_live (account_id VARCHAR, device_id VARCHAR, colo := VARCHAR, since_minutes := DOUBLE, time_now := VARCHAR) 1 example
Loading…
fleet_status_over_time (account_id VARCHAR, device_id VARCHAR, colo := VARCHAR, from_ := VARCHAR, interval := VARCHAR, to_ := VARCHAR) 1 example
Loading…
gateway (account_id VARCHAR) 2 examples
Loading…
group (account_id VARCHAR, group_id VARCHAR) 1 example
Loading…
hostname (account_id VARCHAR, comment := VARCHAR, existed_at := VARCHAR, hostname := VARCHAR, id := VARCHAR, is_deleted := BOOLEAN, tunnel_id := VARCHAR) 3 examples
Loading…
hostname_route (account_id VARCHAR, hostname_route_id VARCHAR) 1 example
Loading…
include (account_id VARCHAR) 2 examples
Loading…
instance (account_id VARCHAR, finding_id VARCHAR, instance_id VARCHAR) 1 example
Loading…
instances (account_id VARCHAR, finding_id VARCHAR, archived := BOOLEAN, asset_ids := VARCHAR, finding_instance_ids := VARCHAR, max_affliction_date := VARCHAR, min_affliction_date := VARCHAR, remediation_statuses := VARCHAR) 3 examples
Loading…
integration (account_id VARCHAR) 2 examples
Loading…
integration_by_id (account_id VARCHAR, integration_id VARCHAR) 1 example
Loading…
integration_integration (account_id VARCHAR, integration_id VARCHAR) 1 example
Loading…
integrations (account_id VARCHAR) 2 examples
Loading…
integrations_by_id (account_id VARCHAR, id VARCHAR) 1 example
Loading…
inventories (account_id VARCHAR) 2 examples
Loading…
inventories_registration (account_id VARCHAR, registration_id VARCHAR) 1 example
Loading…
ip (account_id VARCHAR, ip VARCHAR, default_virtual_network_fallback := BOOLEAN, virtual_network_id := VARCHAR) 1 example
Loading…
ip_profiles (account_id VARCHAR) 2 examples
Loading…
isps (account_id VARCHAR, device_id VARCHAR, from_ := VARCHAR, sort_by := VARCHAR, sort_order := VARCHAR, to_ := VARCHAR) 1 example
Loading…
items (account_id VARCHAR, list_id VARCHAR) 2 examples
Loading…
jobs (account_id VARCHAR, integration_id := VARCHAR, max_updated_at := VARCHAR, min_updated_at := VARCHAR, status := VARCHAR, triggered_by_actor := VARCHAR) 3 examples
Loading…
level_order (account_id VARCHAR, sensitivity_group_id VARCHAR) 1 example
Loading…
levels (account_id VARCHAR, sensitivity_group_id VARCHAR) 2 examples
Loading…
limits (account_id VARCHAR) 2 examples
Loading…
lists (account_id VARCHAR, filter := VARCHAR, order_by := VARCHAR, type := VARCHAR) 3 examples
Loading…
lists_list (account_id VARCHAR, list_id VARCHAR) 1 example
Loading…
live (account_id VARCHAR, since_minutes := DOUBLE) 2 examples
Loading…
location (account_id VARCHAR, location_id VARCHAR) 1 example
Loading…
locations (account_id VARCHAR, filter := VARCHAR, order_by := VARCHAR) 3 examples
Loading…
logging (account_id VARCHAR) 2 examples
Loading…
network (account_id VARCHAR, network_id VARCHAR) 1 example
Loading…
network_path (account_id VARCHAR, test_result_id VARCHAR) 1 example
Loading…
networks (account_id VARCHAR) 2 examples
Loading…
operation (account_id VARCHAR, operation_id VARCHAR) 1 example
Loading…
operations (account_id VARCHAR) 2 examples
Loading…
over_time (account_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 2 examples
Loading…
override_codes (account_id VARCHAR, registration_id VARCHAR) 1 example
Loading…
overview (account_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, kind := VARCHAR, registration_id := VARCHAR, test_name := VARCHAR) 2 examples
Loading…
pacfile (account_id VARCHAR, pacfile_id VARCHAR) 1 example
Loading…
pacfiles (account_id VARCHAR) 2 examples
Loading…
payload_log (account_id VARCHAR) 2 examples
Loading…
percentiles (account_id VARCHAR, test_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 1 example
Loading…
physical_devices (account_id VARCHAR, active_registrations := VARCHAR, has_registration_type := VARCHAR, id := VARCHAR, include := VARCHAR, last_seen_registration_policy_id := VARCHAR, last_seen_user_email := VARCHAR, seen_after := VARCHAR, seen_before := VARCHAR, sort_by := VARCHAR, sort_order := VARCHAR, tag := VARCHAR) 3 examples
Loading…
physical_devices_device (account_id VARCHAR, device_id VARCHAR, include := VARCHAR) 1 example
Loading…
policies (account_id VARCHAR, profile_type := VARCHAR) 3 examples
Loading…
policies_policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
policy (account_id VARCHAR) 2 examples
Loading…
policy_exclude (account_id VARCHAR, policy_id VARCHAR) 2 examples
Loading…
policy_fallback_domains (account_id VARCHAR, policy_id VARCHAR) 2 examples
Loading…
policy_include (account_id VARCHAR, policy_id VARCHAR) 2 examples
Loading…
policy_logs (account_id VARCHAR, integration_id := VARCHAR, policy_name := VARCHAR, since := VARCHAR, until := VARCHAR) 3 examples
Loading…
policy_policy (account_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
posture (account_id VARCHAR) 2 examples
Loading…
posture_policies (account_id VARCHAR) 2 examples
Loading…
predefined_profile (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
prefix_bindings (account_id VARCHAR) 2 examples
Loading…
profile (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
profiles (account_id VARCHAR, all_ := BOOLEAN) 3 examples
Loading…
profiles_profile (account_id VARCHAR, profile_id VARCHAR) 1 example
Loading…
proxy_endpoint (account_id VARCHAR, proxy_endpoint_id VARCHAR) 1 example
Loading…
proxy_endpoints (account_id VARCHAR, filter := VARCHAR, order_by := VARCHAR) 3 examples
Loading…
quota (account_id VARCHAR) 2 examples
Loading…
reference (account_id VARCHAR, reference_id VARCHAR) 1 example
Loading…
region (account_id VARCHAR, region_id VARCHAR) 1 example
Loading…
regions (account_id VARCHAR, type := VARCHAR) 3 examples
Loading…
registration (account_id VARCHAR, registration_id VARCHAR, include := VARCHAR) 1 example
Loading…
registrations (account_id VARCHAR, device_id := VARCHAR, id := VARCHAR, include := VARCHAR, policy_id := VARCHAR, registration_type := VARCHAR, seen_after := VARCHAR, seen_before := VARCHAR, sort_by := VARCHAR, sort_order := VARCHAR, status := VARCHAR, user_id := VARCHAR) 3 examples
Loading…
remediation_types (account_id VARCHAR, finding_type_id VARCHAR, integration_id := VARCHAR) 3 examples
Loading…
review_status (account_id VARCHAR) 2 examples
Loading…
route (account_id VARCHAR, route_id VARCHAR) 1 example
Loading…
routes (account_id VARCHAR, comment := VARCHAR, existed_at := VARCHAR, is_deleted := BOOLEAN, network_subset := VARCHAR, network_superset := VARCHAR, route_id := VARCHAR, tun_types := VARCHAR, tunnel_id := VARCHAR, virtual_network_id := VARCHAR) 3 examples
Loading…
rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
rules (account_id VARCHAR, filter := VARCHAR, order_by := VARCHAR) 3 examples
Loading…
rules_by_id (account_id VARCHAR, name := VARCHAR, sort_by := VARCHAR, sort_order := VARCHAR) 2 examples
Loading…
rules_rule (account_id VARCHAR, rule_id VARCHAR) 1 example
Loading…
sensitivity_group (account_id VARCHAR, sensitivity_group_id VARCHAR) 1 example
Loading…
sensitivity_groups (account_id VARCHAR) 2 examples
Loading…
sensitivity_level (account_id VARCHAR, sensitivity_group_id VARCHAR, sensitivity_level_id VARCHAR) 1 example
Loading…
service (account_id VARCHAR, service_id VARCHAR) 1 example
Loading…
services (account_id VARCHAR, type := VARCHAR) 3 examples
Loading…
settings (account_id VARCHAR) 2 examples
Loading…
setup_flows (account_id VARCHAR, application_id VARCHAR, auth_method := VARCHAR, environment := VARCHAR, page_size := BIGINT) 3 examples
Loading…
subnet (account_id VARCHAR, subnet_id VARCHAR) 1 example
Loading…
subnets (account_id VARCHAR, address_family := VARCHAR, comment := VARCHAR, existed_at := VARCHAR, is_default_network := BOOLEAN, is_deleted := BOOLEAN, name := VARCHAR, network := VARCHAR, sort_order := VARCHAR, subnet_types := VARCHAR) 3 examples
Loading…
summary (account_id VARCHAR) 2 examples
Loading…
target (account_id VARCHAR, target_id VARCHAR) 1 example
Loading…
target_environments (account_id VARCHAR) 2 examples
Loading…
targets (account_id VARCHAR, created_after := VARCHAR, created_before := VARCHAR, hostname := VARCHAR, hostname_contains := VARCHAR, ip_like := VARCHAR, ip_v4 := VARCHAR, ip_v6 := VARCHAR, ips := VARCHAR, ipv4_end := VARCHAR, ipv4_start := VARCHAR, ipv6_end := VARCHAR, ipv6_start := VARCHAR, modified_after := VARCHAR, modified_before := VARCHAR, tag := VARCHAR, target_ids := VARCHAR, virtual_network_id := VARCHAR) 3 examples
Loading…
template (account_id VARCHAR, template_id VARCHAR) 1 example
Loading…
templates (account_id VARCHAR) 2 examples
Loading…
templates_template (account_id VARCHAR, template_id VARCHAR) 1 example
Loading…
tenant (account_id VARCHAR) 2 examples
Loading…
test (account_id VARCHAR, test_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, interval := VARCHAR, to_ := VARCHAR) 1 example
Loading…
traceroute_tests_network_path (account_id VARCHAR, test_id VARCHAR, device_id := VARCHAR, from_ := VARCHAR, interval := VARCHAR, to_ := VARCHAR) 1 example
Loading…
traceroute_tests_percentiles (account_id VARCHAR, test_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, to_ := VARCHAR) 1 example
Loading…
traceroute_tests_test (account_id VARCHAR, test_id VARCHAR, colo := VARCHAR, device_id := VARCHAR, from_ := VARCHAR, interval := VARCHAR, to_ := VARCHAR) 1 example
Loading…
tunnel (account_id VARCHAR, tunnel_id VARCHAR) 1 example
Loading…
tunnels (account_id VARCHAR, exclude_prefix := VARCHAR, existed_at := VARCHAR, include_prefix := VARCHAR, is_deleted := BOOLEAN, name := VARCHAR, status := VARCHAR, tun_types := VARCHAR, uuid := VARCHAR, was_active_at := VARCHAR, was_inactive_at := VARCHAR) 3 examples
Loading…
unique_devices (account_id VARCHAR, device_id := VARCHAR, test_name := VARCHAR) 2 examples
Loading…
user (account_id VARCHAR, user_id VARCHAR) 1 example
Loading…
virtual_network (account_id VARCHAR, virtual_network_id VARCHAR) 1 example
Loading…
virtual_networks (account_id VARCHAR, id := VARCHAR, is_default := BOOLEAN, is_default_network := BOOLEAN, is_deleted := BOOLEAN, name := VARCHAR) 3 examples
Loading…
warp_change_events (account_id VARCHAR, account_name := VARCHAR, config_name := VARCHAR, from_ := VARCHAR, sort_order := VARCHAR, to_ := VARCHAR, toggle := VARCHAR, type := VARCHAR) 3 examples
Loading…
warp_connector (account_id VARCHAR, exclude_prefix := VARCHAR, existed_at := VARCHAR, include_prefix := VARCHAR, is_deleted := BOOLEAN, name := VARCHAR, status := VARCHAR, uuid := VARCHAR, was_active_at := VARCHAR, was_inactive_at := VARCHAR) 3 examples
Loading…
webhook (account_id VARCHAR, webhook_id VARCHAR) 1 example
Loading…
webhooks (account_id VARCHAR) 2 examples
Loading…
zones 3 tables Β· 129 functions

Cloudflare zones (domains) and their per-zone configuration: settings, caching, page and configuration rules, custom pages and hostnames, waiting rooms, Spectrum, Page Shield, speed, and origin configuration.

Schema examples (4)
Examples (4)

One row per zone with its SSL/TLS encryption mode, its Always Use HTTPS setting and its DNSSEC status, read from two settings lookups and the DNSSEC function.

SELECT z.name AS zone, ssl.value AS ssl_mode,
  https.value AS always_use_https, d.status AS dnssec_status
FROM cloudflare.zones.zones z,
     cloudflare.zones.setting(z.id, 'ssl') ssl,
     cloudflare.zones.setting(z.id, 'always_use_https') https,
     cloudflare.dns.dnssec(z.id) d
ORDER BY zone;

List apps for one account (account_id is required: each maps to the URL path).

SELECT id, name, created_at
FROM cloudflare.zones.apps
WHERE account_id = '<account_id>';

Count apps for several accounts at once (one API call each).

SELECT account_id, count(*) AS n
FROM cloudflare.zones.apps
WHERE account_id IN ('<account_id_1>', '<account_id_2>')
GROUP BY account_id;

List assets for one account (account_id is required: each maps to the URL path).

SELECT name, description, last_updated
FROM cloudflare.zones.assets
WHERE account_id = '<account_id>';
Tables
introspection 1 example1 col
Loading…
sql 1 example5 cols
Loading…
zones 2 examples12 cols
Loading…
Table functions
account_sql (account_tag VARCHAR, query := VARCHAR) 2 examples
Loading…
aegis (zone_id VARCHAR) 2 examples
Loading…
app (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
apps (account_id VARCHAR) 2 examples
Loading…
apps_app (zone_id VARCHAR, app_id VARCHAR) 1 example
Loading…
asset_name (account_id VARCHAR, asset_name VARCHAR) 1 example
Loading…
assets (account_id VARCHAR) 2 examples
Loading…
assets_asset_name (zone_id VARCHAR, asset_name VARCHAR) 1 example
Loading…
auto_origin_tls_kex (zone_id VARCHAR) 2 examples
Loading…
automatic_platform_optimization (zone_id VARCHAR) 2 examples
Loading…
availabilities (zone_id VARCHAR) 2 examples
Loading…
binary_ast (zone_id VARCHAR) 2 examples
Loading…
bytime (zone_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, time_delta := VARCHAR, until := VARCHAR) 2 examples
Loading…
cache_reserve (zone_id VARCHAR) 2 examples
Loading…
cache_reserve_clear (zone_id VARCHAR) 2 examples
Loading…
changelog (account_id VARCHAR, app_id VARCHAR, flag_key VARCHAR) 2 examples
Loading…
cloud_regions (zone_id VARCHAR) 2 examples
Loading…
cloud_regions_origin_ip (zone_id VARCHAR, origin_ip VARCHAR) 1 example
Loading…
cloud_regions_supported_regions (zone_id VARCHAR) 2 examples
Loading…
colos (zone_identifier VARCHAR, continuous := BOOLEAN, since := VARCHAR, until := VARCHAR) 3 examples
Loading…
config (zone_id VARCHAR) 2 examples
Loading…
connection (zone_id VARCHAR, connection_id VARCHAR) 1 example
Loading…
connections (zone_id VARCHAR, exclude_cdn_cgi := BOOLEAN, exclude_urls := VARCHAR, export := VARCHAR, hosts := VARCHAR, order_by := VARCHAR, page_url := VARCHAR, prioritize_malicious := BOOLEAN, status := VARCHAR, urls := VARCHAR) 3 examples
Loading…
content_list (zone_id VARCHAR, identifier VARCHAR) 1 example
Loading…
content_list_entry (zone_id VARCHAR, identifier VARCHAR, content_list_entry_identifier VARCHAR) 1 example
Loading…
cookies (zone_id VARCHAR, domain := VARCHAR, export := VARCHAR, hosts := VARCHAR, http_only := BOOLEAN, name := VARCHAR, order_by := VARCHAR, page_url := VARCHAR, path := VARCHAR, same_site := VARCHAR, secure := BOOLEAN, type := VARCHAR) 3 examples
Loading…
csam_scanner_third_party (zone_id VARCHAR) 2 examples
Loading…
current (zone_id VARCHAR, appID := VARCHAR, colo_name := VARCHAR) 3 examples
Loading…
custom_hostname (zone_id VARCHAR, custom_hostname_id VARCHAR) 1 example
Loading…
custom_hostnames (zone_id VARCHAR, certificate_authority := VARCHAR, custom_origin_server := VARCHAR, hostname := VARCHAR, hostname_contain := VARCHAR, hostname_startsWith := VARCHAR, hostname_status := VARCHAR, id := VARCHAR, ssl := BIGINT, ssl_status := VARCHAR, wildcard := BOOLEAN) 3 examples
Loading…
custom_page (zone_id VARCHAR, identifier VARCHAR) 1 example
Loading…
custom_pages (account_id VARCHAR) 2 examples
Loading…
custom_pages_by_id (account_id VARCHAR, identifier VARCHAR) 1 example
Loading…
dashboard (zone_identifier VARCHAR, continuous := BOOLEAN, since := VARCHAR, until := VARCHAR) 2 examples
Loading…
default (zone_id VARCHAR) 2 examples
Loading…
definitions (account_id VARCHAR, app_id VARCHAR) 1 example
Loading…
details (zone_id VARCHAR, waiting_room_id VARCHAR, event_id VARCHAR) 1 example
Loading…
endpoint_healthcheck (account_id VARCHAR, id VARCHAR) 1 example
Loading…
endpoint_healthchecks (account_id VARCHAR) 2 examples
Loading…
evaluate (account_id VARCHAR, app_id VARCHAR, flag_key := VARCHAR, targeting_key := VARCHAR) 1 example
Loading…
event (zone_id VARCHAR, waiting_room_id VARCHAR, event_id VARCHAR) 1 example
Loading…
events (zone_id VARCHAR, waiting_room_id VARCHAR) 2 examples
Loading…
export (zone_id VARCHAR) 2 examples
Loading…
fallback_origin (zone_id VARCHAR) 2 examples
Loading…
flag_key (account_id VARCHAR, app_id VARCHAR, flag_key VARCHAR) 1 example
Loading…
flags (account_id VARCHAR, app_id VARCHAR) 2 examples
Loading…
fonts (zone_id VARCHAR) 2 examples
Loading…
h2_prioritization (zone_id VARCHAR) 2 examples
Loading…
healthcheck (zone_id VARCHAR, healthcheck_id VARCHAR) 1 example
Loading…
healthchecks (zone_id VARCHAR) 2 examples
Loading…
healthchecks_healthcheck (zone_id VARCHAR, healthcheck_id VARCHAR) 1 example
Loading…
history (zone_id VARCHAR, sortField := VARCHAR, sortOrder := VARCHAR) 3 examples
Loading…
hold (zone_id VARCHAR) 2 examples
Loading…
hostname (zone_id VARCHAR, setting_id VARCHAR, hostname VARCHAR) 1 example
Loading…
hostnames (zone_id VARCHAR) 2 examples
Loading…
hostnames_by_id (zone_id VARCHAR, identifier VARCHAR) 1 example
Loading…
image_resizing (zone_id VARCHAR) 2 examples
Loading…
item (account_id VARCHAR, list_id VARCHAR, item_id VARCHAR) 1 example
Loading…
items (account_id VARCHAR, list_id VARCHAR) 2 examples
Loading…
lists (account_id VARCHAR) 2 examples
Loading…
lists_list (account_id VARCHAR, list_id VARCHAR) 1 example
Loading…
managed_headers (zone_id VARCHAR) 2 examples
Loading…
nel (zone_id VARCHAR) 2 examples
Loading…
operation (account_id VARCHAR, operation_id VARCHAR) 1 example
Loading…
origin_cloud_regions (zone_id VARCHAR) 2 examples
Loading…
origin_h2_max_streams (zone_id VARCHAR) 2 examples
Loading…
origin_ip (zone_id VARCHAR, origin_ip VARCHAR) 1 example
Loading…
origin_max_http_version (zone_id VARCHAR) 2 examples
Loading…
origin_post_quantum_encryption (zone_id VARCHAR) 2 examples
Loading…
origin_tls_compliance_modes (zone_id VARCHAR) 2 examples
Loading…
page_shield (zone_id VARCHAR) 2 examples
Loading…
pagerule (zone_id VARCHAR, pagerule_id VARCHAR) 1 example
Loading…
pagerules (zone_id VARCHAR, status := VARCHAR) 3 examples
Loading…
pages (zone_id VARCHAR) 2 examples
Loading…
policies (zone_id VARCHAR) 2 examples
Loading…
policy (zone_id VARCHAR, policy_id VARCHAR) 1 example
Loading…
precursor (zone_id VARCHAR) 2 examples
Loading…
preview_healthcheck (zone_id VARCHAR, healthcheck_id VARCHAR) 1 example
Loading…
protocols (zone_id VARCHAR) 2 examples
Loading…
quota (zone_id VARCHAR) 2 examples
Loading…
regional_tiered_cache (zone_id VARCHAR) 2 examples
Loading…
rules (zone_id VARCHAR) 2 examples
Loading…
rules_by_id (account_id VARCHAR, ruleset_id VARCHAR) 1 example
Loading…
rum (zone_id VARCHAR) 2 examples
Loading…
script (zone_id VARCHAR, script_id VARCHAR) 1 example
Loading…
scripts (zone_id VARCHAR, exclude_cdn_cgi := BOOLEAN, exclude_duplicates := BOOLEAN, exclude_urls := VARCHAR, export := VARCHAR, hosts := VARCHAR, order_by := VARCHAR, page_url := VARCHAR, prioritize_malicious := BOOLEAN, status := VARCHAR, urls := VARCHAR) 3 examples
Loading…
setting (zone_id VARCHAR, setting_id VARCHAR) 2 examples
Loading…
settings (zone_id VARCHAR) 2 examples
Loading…
settings_by_id (zone_id VARCHAR) 2 examples
Loading…
site (account_id VARCHAR, site_id VARCHAR) 1 example
Loading…
site_info_list (account_id VARCHAR, order_by := VARCHAR) 3 examples
Loading…
smart_routing (zone_id VARCHAR) 2 examples
Loading…
smart_shield (zone_id VARCHAR) 2 examples
Loading…
snippet_name (zone_id VARCHAR, snippet_name VARCHAR) 1 example
Loading…
snippet_rules (zone_id VARCHAR) 2 examples
Loading…
snippets (zone_id VARCHAR) 2 examples
Loading…
speed_brain (zone_id VARCHAR) 2 examples
Loading…
sql_introspection (account_tag VARCHAR, dataset_name := VARCHAR, include_attributes := BOOLEAN, include_columns := BOOLEAN, include_custom_attributes := BOOLEAN, include_lex := BOOLEAN, include_wae := BOOLEAN) 2 examples
Loading…
ssl_automatic_mode (zone_id VARCHAR) 2 examples
Loading…
status (zone_id VARCHAR, waiting_room_id VARCHAR) 1 example
Loading…
summary (zone_id VARCHAR, dimensions := VARCHAR, filters := VARCHAR, metrics := VARCHAR, since := VARCHAR, sort := VARCHAR, until := VARCHAR) 2 examples
Loading…
supported_regions (zone_id VARCHAR) 2 examples
Loading…
test (zone_id VARCHAR, url VARCHAR, test_id VARCHAR) 1 example
Loading…
tests (zone_id VARCHAR, url VARCHAR, region := VARCHAR) 3 examples
Loading…
tiered_cache_smart_topology_enable (zone_id VARCHAR) 2 examples
Loading…
tiered_caching (zone_id VARCHAR) 2 examples
Loading…
transformations (account_id VARCHAR) 2 examples
Loading…
transformations_allowed_origins (zone_id VARCHAR) 2 examples
Loading…
transformations_c2pa (zone_id VARCHAR) 2 examples
Loading…
transformations_config (zone_id VARCHAR) 2 examples
Loading…
trend (zone_id VARCHAR, url VARCHAR, device_type := VARCHAR, end_ := VARCHAR, metrics := VARCHAR, region := VARCHAR, start := VARCHAR, tz := VARCHAR) 1 example
Loading…
url (zone_id VARCHAR, url VARCHAR, region := VARCHAR) 1 example
Loading…
url_normalization (zone_id VARCHAR) 2 examples
Loading…
ut_billing (account_id VARCHAR) 2 examples
Loading…
variants (zone_id VARCHAR) 2 examples
Loading…
waiting_room (zone_id VARCHAR, waiting_room_id VARCHAR) 1 example
Loading…
waiting_rooms (account_id VARCHAR) 2 examples
Loading…
zaraz_config (zone_id VARCHAR) 2 examples
Loading…
zone (zone_id VARCHAR) 2 examples
Loading…
zone_apps (zone_id VARCHAR) 2 examples
Loading…
zone_assets (zone_id VARCHAR) 2 examples
Loading…
zone_cache_reserve_clear (zone_id VARCHAR) 2 examples
Loading…
zone_custom_pages (zone_id VARCHAR) 2 examples
Loading…
zone_healthchecks (zone_id VARCHAR) 2 examples
Loading…
zone_name (zone_id VARCHAR, zone_name VARCHAR) 1 example
Loading…
zone_rules (zone_id VARCHAR, waiting_room_id VARCHAR) 2 examples
Loading…
zone_settings (zone_id VARCHAR, setting_id VARCHAR) 2 examples
Loading…
zone_waiting_rooms (zone_id VARCHAR) 2 examples
Loading…

Credentials

The secret type cloudflare declares, as reported by the worker itself.

cloudflare

Cloudflare API credentials. Provide either api_token (preferred) or api_key + email (legacy Global API Key).

secret.sql
CREATE SECRET cloudflare (
    TYPE cloudflare,
    api_token '<API_TOKEN>',  -- secret
    api_key   '<CLOUDFLARE_API_KEY>',  -- secret
    email     '<email>'
);
Key Type Required Description
api_token secret VARCHAR β€” Not documented by the worker
api_key secret VARCHAR β€” Not documented by the worker
email VARCHAR β€” Not documented by the worker

The worker doesn't mark which keys are required.

Needed by account_sqlaegisappappsapps_appasset_nameassetsassets_asset_nameauto_origin_tls_kexautomatic_platform_optimizationavailabilitiesbinary_ast and 1679 more functions

Create the secret in the same session, after attaching cloudflare β€” the worker registers its secret types at ATTACH. Keys marked secret are masked in duckdb_secrets(); angle-bracket values are placeholders. Read credentials from your environment or secret store in your application and pass them through your SQL client’s parameter bindings. Keep real values out of saved SQL and history. Native DuckDB and Haybarn do not provide a SQL getenv() function.

Try these queries

dns_records_require_zone β€” The DNS records function takes the zone id as its argument and returns it as the zone_id column (no Cloudflare credentials needed to inspect the schema).

SELECT column_name
FROM (DESCRIBE SELECT * FROM cloudflare.dns.records('some-zone'))
WHERE column_name = 'zone_id';

Uses records

List active sessions for one account and one user (account_id, user_id are required: each maps to the URL path).

SELECT name, expiration, metadata
FROM cloudflare.access.active_sessions
WHERE account_id = '<account_id>' AND user_id = '<user_id>'

List apps for one account (account_id is required: each maps to the URL path).

SELECT id, name, type
FROM cloudflare.access.apps
WHERE account_id = '<account_id>'

Only apps with a given name: the name filter is sent to the API.

SELECT id, name, type
FROM cloudflare.access.apps
WHERE account_id = '<account_id>' AND name = '<name>'

List zone apps policys for one zone and one app (zone_id, app_id: the URL path ids).

SELECT id, name, approval_groups
FROM cloudflare.access.zone_apps_policies('<zone_id>', '<app_id>')

Uses zone_apps_policies

Fetch one users user by account_id, identity_provider_id, user_id; an unknown id returns no rows.

SELECT id, active, "displayName"
FROM cloudflare.access.users_user('<account_id>', '<identity_provider_id>', '<user_id>')

Uses users_user

2837 more examples in the Catalog, each listed under the table or function it uses.

Questions it can answer

Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.

  • Which country originated the largest share of HTTP requests seen by Cloudflare over the past 7 days? Return columns country_code and country_name.
  • Which country had the highest share of its HTTP requests made over IPv6 during the past 7 days? Return columns country_code and country_name.
  • Which network (autonomous system) sent the largest share of DNS queries to the 1.1.1.1 resolver over the past 7 days? Return columns asn (integer) and as_name.
  • In the latest weekly robots.txt analysis of top domains, which AI user agent is referenced by the most domains? Return columns user_agent and domains.
  • In Cloudflare's agent-readiness scan of websites, which readiness check is detected on the most sites? Return columns check_name and sites.
  • Who operates the Certificate Transparency log with slug 'aquamarine2026h2', and which API type does it use? Return columns operator and api.

Cloudflare is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.