> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare

> How to set up the Cloudflare connector, plus the actions that are available.

![Cloudflare](https://stackone-logos.com/api/cloudflare/filled/svg)

Previewv1.2.1[See changelog](https://docs.stackone.com/connectors/cloudflare/changelog.md)

[150 actions](#actions) · 1 auth method

Infrastructure
Observability
IAM
Security

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [API Token · Connector Profile](https://docs.stackone.com/connectors/cloudflare/guides/connector-profile/api-token.md)
>
> Create an API Token from the Cloudflare dashboard with appropriate permissions for the resources you want to manage.

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [API Token · Link Account](https://docs.stackone.com/connectors/cloudflare/guides/link-account/api-token.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

150 actions

ActionDescription

Verify Token`cloudflare_verify_token`

Verify that the API token is valid and active.

List Accounts`cloudflare_list_accounts`

List all accounts you have ownership or verified access to.

Get Account`cloudflare_get_account`

Retrieve details for a specific Cloudflare account by ID.

List AI Gateways`cloudflare_list_ai_gateways`

List all AI Gateway configurations in the account.

Get AI Gateway`cloudflare_get_ai_gateway`

Retrieve details for a specific AI Gateway including configuration and usage statistics.

Create AI Gateway`cloudflare_create_ai_gateway`

Create a new AI Gateway for proxying and monitoring AI API calls.

Update AI Gateway`cloudflare_update_ai_gateway`

Update an AI Gateway's configuration including caching, rate limiting, and logging settings.

Delete AI Gateway`cloudflare_delete_ai_gateway`

Delete an AI Gateway and all its configuration.

List AI Gateway Logs`cloudflare_list_ai_gateway_logs`

List request/response logs for an AI Gateway with filtering by model, provider, date range, and status.

List Custom Hostnames`cloudflare_list_custom_hostnames`

List all custom hostnames for a zone with optional filtering by hostname, SSL status, and order.

Get Custom Hostname`cloudflare_get_custom_hostname`

Retrieve details for a specific custom hostname including SSL status and ownership verification.

Create Custom Hostname`cloudflare_create_custom_hostname`

Create a new custom hostname for a zone with SSL configuration for SaaS customer domains.

Update Custom Hostname`cloudflare_update_custom_hostname`

Update a custom hostname's SSL settings, origin server, or other configuration.

Delete Custom Hostname`cloudflare_delete_custom_hostname`

Delete a custom hostname and its associated SSL certificate.

List D1 Databases`cloudflare_list_d1_databases`

List all D1 SQL databases in the account.

Get D1 Database`cloudflare_get_d1_database`

Retrieve details for a specific D1 database by UUID.

Create D1 Database`cloudflare_create_d1_database`

Create a new D1 SQL database.

Delete D1 Database`cloudflare_delete_d1_database`

Delete a D1 database by UUID.

Query D1 Database`cloudflare_query_d1_database`

Execute a SQL query against a D1 database with optional parameter binding.

List DNS Records`cloudflare_list_dns_records`

List all DNS records for a zone with optional filtering by type, name, and content.

Get DNS Record`cloudflare_get_dns_record`

Retrieve details for a specific DNS record by zone ID and record ID.

Create DNS Record`cloudflare_create_dns_record`

Create a new DNS record for a zone with type, name, content, TTL, and proxy settings.

Update DNS Record`cloudflare_update_dns_record`

Overwrite an existing DNS record with new values for type, name, content, TTL, and proxy settings.

Delete DNS Record`cloudflare_delete_dns_record`

Delete a DNS record from a zone.

Get DNS Analytics Report`cloudflare_get_dns_analytics_report`

Retrieve DNS analytics data for a zone including query volume, response codes, and record types over time.

Get DNS Analytics By Time`cloudflare_get_dns_analytics_by_time`

Retrieve DNS analytics data grouped by time intervals for visualizing query trends over time.

List Firewall Rules`cloudflare_list_firewall_rules`

List all firewall rules for a zone.

List Rulesets`cloudflare_list_rulesets`

List all rulesets at the zone level for security and other features.

Get Ruleset`cloudflare_get_ruleset`

Retrieve a specific ruleset with all its rules.

List Account Rulesets`cloudflare_list_account_rulesets`

List all rulesets at the account level.

Delete Ruleset`cloudflare_delete_ruleset`

Delete a zone-level ruleset and all its versions.

List IP Access Rules`cloudflare_list_ip_access_rules`

List IP access rules for the account that control access based on IP address, IP range, country, or ASN.

Create IP Access Rule`cloudflare_create_ip_access_rule`

Create an IP access rule to block, challenge, or allow traffic based on IP, IP range, country, or ASN.

Delete IP Access Rule`cloudflare_delete_ip_access_rule`

Delete an IP access rule by ID.

List Healthchecks`cloudflare_list_healthchecks`

List all standalone healthchecks for a zone to monitor origin server availability.

Get Healthcheck`cloudflare_get_healthcheck`

Retrieve details for a specific healthcheck including its status, configuration, and failure reason.

Create Healthcheck`cloudflare_create_healthcheck`

Create a standalone healthcheck to monitor an origin server's availability via HTTP, HTTPS, or TCP.

Update Healthcheck`cloudflare_update_healthcheck`

Update a healthcheck's configuration including address, check interval, expected responses, and suspension status.

Delete Healthcheck`cloudflare_delete_healthcheck`

Delete a standalone healthcheck from a zone.

Get Unified Credentials`cloudflare_unified_get_me`

Get the current Cloudflare connection's unified credentials and identity.

List Unified Groups`cloudflare_unified_list_groups`

List unified groups in Cloudflare.

Get Unified Group`cloudflare_unified_get_group`

Get a unified Cloudflare group by ID.

List Unified Organizations`cloudflare_unified_list_organizations`

List unified organizations in Cloudflare.

Get Unified Organization`cloudflare_unified_get_organization`

Get a unified Cloudflare organization by ID.

List Unified Roles`cloudflare_unified_list_roles`

List unified roles in Cloudflare.

Get Unified Role`cloudflare_unified_get_role`

Get a unified Cloudflare role by ID.

List Unified Users`cloudflare_unified_list_users`

List unified users in Cloudflare.

Get Unified User`cloudflare_unified_get_user`

Get a unified Cloudflare user by ID.

List KV Namespaces`cloudflare_list_kv_namespaces`

List all Workers KV namespaces in the account.

Get KV Namespace`cloudflare_get_kv_namespace`

Retrieve details for a specific KV namespace by ID.

Create KV Namespace`cloudflare_create_kv_namespace`

Create a new Workers KV namespace in the account.

Rename KV Namespace`cloudflare_rename_kv_namespace`

Rename an existing KV namespace.

Delete KV Namespace`cloudflare_delete_kv_namespace`

Delete a KV namespace and all its keys.

List KV Keys`cloudflare_list_kv_keys`

List all keys in a KV namespace with optional prefix filtering and pagination.

Get KV Value`cloudflare_get_kv_value`

Read the value for a specific key in a KV namespace.

Write KV Values (Bulk)`cloudflare_write_kv_values_bulk`

Write multiple key-value pairs to a KV namespace in a single request with optional expiration settings.

Delete KV Value`cloudflare_delete_kv_value`

Delete a key-value pair from a KV namespace.

List Load Balancers`cloudflare_list_load_balancers`

List all load balancers for a zone.

Get Load Balancer`cloudflare_get_load_balancer`

Retrieve details for a specific load balancer.

Delete Load Balancer`cloudflare_delete_load_balancer`

Delete a load balancer by ID.

List Load Balancer Pools`cloudflare_list_load_balancer_pools`

List all load balancer pools in the account.

Get Load Balancer Pool`cloudflare_get_load_balancer_pool`

Retrieve details for a specific load balancer pool.

Get Pool Health`cloudflare_get_load_balancer_pool_health`

Retrieve the health status of a load balancer pool and its origins.

List Load Balancer Monitors`cloudflare_list_load_balancer_monitors`

List all load balancer monitors in the account.

Get Load Balancer Monitor`cloudflare_get_load_balancer_monitor`

Retrieve details for a specific load balancer monitor.

List Logpush Jobs`cloudflare_list_logpush_jobs`

List all Logpush jobs configured for a zone for log delivery to external destinations.

List Account Logpush Jobs`cloudflare_list_account_logpush_jobs`

List all Logpush jobs configured for an account for log delivery to external destinations.

Get Logpush Job`cloudflare_get_logpush_job`

Retrieve details for a specific Logpush job including dataset, destination, and status.

Create Logpush Job`cloudflare_create_logpush_job`

Create a new Logpush job to deliver logs from a dataset to an external destination.

Update Logpush Job`cloudflare_update_logpush_job`

Update an existing Logpush job's configuration including destination, fields, filters, and enabled status.

Delete Logpush Job`cloudflare_delete_logpush_job`

Delete a Logpush job to stop log delivery to the configured destination.

List Account Members`cloudflare_list_account_members`

List all members of a Cloudflare account with their roles and status.

Get Account Member`cloudflare_get_account_member`

Retrieve details for a specific account member.

Remove Account Member`cloudflare_remove_account_member`

Remove a member from the Cloudflare account.

List Account Roles`cloudflare_list_account_roles`

List all available roles for the Cloudflare account.

List Audit Logs`cloudflare_list_audit_logs`

List audit log events for the account showing who made changes and when.

List Pages Projects`cloudflare_list_pages_projects`

List all Cloudflare Pages projects in the account.

Get Pages Project`cloudflare_get_pages_project`

Retrieve details for a specific Pages project by name.

Create Pages Project`cloudflare_create_pages_project`

Create a new Cloudflare Pages project.

Delete Pages Project`cloudflare_delete_pages_project`

Delete a Pages project by name.

List Pages Deployments`cloudflare_list_pages_deployments`

List all deployments for a Pages project.

Get Pages Deployment`cloudflare_get_pages_deployment`

Retrieve details for a specific Pages deployment.

List R2 Buckets`cloudflare_list_r2_buckets`

List all R2 storage buckets in the account.

Get R2 Bucket`cloudflare_get_r2_bucket`

Retrieve details for a specific R2 bucket by name.

Create R2 Bucket`cloudflare_create_r2_bucket`

Create a new R2 storage bucket.

Delete R2 Bucket`cloudflare_delete_r2_bucket`

Delete an R2 bucket by name.

Get Radar L3 Attack Summary`cloudflare_get_radar_attack_layer3_summary`

Get a summary of Layer 3 DDoS attack activity including top protocols and attack vectors.

Get Radar L7 Attack Summary`cloudflare_get_radar_attack_layer7_summary`

Get a summary of Layer 7 application-layer attack activity including HTTP methods and mitigation techniques.

Get Radar Traffic Anomalies`cloudflare_get_radar_traffic_anomalies`

Get internet traffic anomalies detected by Cloudflare Radar for monitoring outages and disruptions.

Scan URL`cloudflare_scan_url`

Submit a URL for scanning by Cloudflare Radar to analyze for phishing, malware, and other threats.

Get URL Scan Result`cloudflare_get_url_scan_result`

Retrieve the results of a URL scan including threat verdicts, page details, and detected technologies.

Search URL Scans`cloudflare_search_url_scans`

Search previously submitted URL scans using the ElasticSearch-syntax q parameter.

Get Radar Domain Ranking`cloudflare_get_radar_domain_ranking`

Get Cloudflare Radar domain popularity ranking for a specific domain.

Get Radar Top Domains`cloudflare_get_radar_top_domains`

Get the top ranked domains globally or by location from Cloudflare Radar.

Get Radar BGP Hijacks`cloudflare_get_radar_bgp_hijacks`

Get BGP hijack events detected by Cloudflare Radar for monitoring routing security.

Get Radar BGP Leaks`cloudflare_get_radar_bgp_leaks`

Get BGP route leak events detected by Cloudflare Radar for monitoring routing integrity.

Get Radar IP Info`cloudflare_get_radar_ip_info`

Look up IP address information including ASN, geolocation, and network details from Cloudflare Radar.

Get Radar ASN Info`cloudflare_get_radar_asn_info`

Look up ASN (Autonomous System Number) information including organization, country, and network size.

List Rules Lists`cloudflare_list_rules_lists`

List all rules lists (IP lists, hostname lists, etc.) in the account.

Get Rules List`cloudflare_get_rules_list`

Retrieve details for a specific rules list by ID.

Create Rules List`cloudflare_create_rules_list`

Create a new rules list for use in firewall rules and security features.

Delete Rules List`cloudflare_delete_rules_list`

Delete a rules list by ID.

List Rules List Items`cloudflare_list_rules_list_items`

List all items in a rules list with pagination.

List SSL Certificates`cloudflare_list_ssl_certificates`

List all SSL/TLS certificate packs for a zone including Universal, Advanced, and custom certificates.

Get SSL Certificate Pack`cloudflare_get_ssl_certificate_pack`

Retrieve details for a specific SSL/TLS certificate pack including status, hostnames, and expiration.

Order SSL Certificate Pack`cloudflare_order_ssl_certificate_pack`

Order an Advanced Certificate Manager certificate pack for specific hostnames.

Delete SSL Certificate Pack`cloudflare_delete_ssl_certificate_pack`

Delete an Advanced Certificate Manager certificate pack.

Get SSL Verification Status`cloudflare_get_ssl_verification`

Get the SSL verification status and validation records for a zone's certificate pack.

Get Universal SSL Settings`cloudflare_get_universal_ssl_settings`

Retrieve the Universal SSL settings for a zone including whether it is enabled.

Update Universal SSL Settings`cloudflare_update_universal_ssl_settings`

Enable or disable Universal SSL for a zone.

List Tunnels`cloudflare_list_tunnels`

List all Cloudflare Tunnels in the account for securely exposing applications without opening inbound ports.

Get Tunnel`cloudflare_get_tunnel`

Retrieve details for a specific Cloudflare Tunnel including status, connections, and configuration.

Create Tunnel`cloudflare_create_tunnel`

Create a new Cloudflare Tunnel for securely connecting origin servers to the Cloudflare network.

Delete Tunnel`cloudflare_delete_tunnel`

Delete a Cloudflare Tunnel. The tunnel must have no active connections before deletion.

List Tunnel Connections`cloudflare_list_tunnel_connections`

List active connections (cloudflared connectors) for a specific Cloudflare Tunnel.

Get Tunnel Configuration`cloudflare_get_tunnel_configuration`

Retrieve the configuration for a remotely-managed Cloudflare Tunnel including ingress rules.

List Waiting Rooms`cloudflare_list_waiting_rooms`

List all waiting rooms configured for a zone for managing traffic surges.

Get Waiting Room`cloudflare_get_waiting_room`

Retrieve details for a specific waiting room including its configuration and queue settings.

Create Waiting Room`cloudflare_create_waiting_room`

Create a new waiting room for a zone to manage traffic surges and protect origin servers.

Update Waiting Room`cloudflare_update_waiting_room`

Update a waiting room's configuration including capacity limits, queue settings, and session duration.

Get Waiting Room Status`cloudflare_get_waiting_room_status`

Get the real-time status of a waiting room including queue length, estimated wait time, and active users.

Delete Waiting Room`cloudflare_delete_waiting_room`

Delete a waiting room from a zone.

List Workers Scripts`cloudflare_list_workers_scripts`

List all Workers scripts deployed to the account.

Download Workers Script`cloudflare_get_workers_script`

Download the raw worker script source content.

Delete Workers Script`cloudflare_delete_workers_script`

Delete a Workers script by name.

List Workers Routes`cloudflare_list_workers_routes`

List all Workers routes for a zone.

Create Workers Route`cloudflare_create_workers_route`

Create a Workers route to map a URL pattern to a Workers script.

Delete Workers Route`cloudflare_delete_workers_route`

Delete a Workers route by ID.

List Workers Builds`cloudflare_list_workers_builds`

List all builds for a Workers script to track deployment pipeline history.

Get Workers Build`cloudflare_get_workers_build`

Retrieve details for a specific Workers build including status and metadata.

Get Workers Build Logs`cloudflare_get_workers_build_logs`

Retrieve build logs for a specific Workers build to diagnose build failures or review output.

List Workers Cron Triggers`cloudflare_list_workers_cron_triggers`

List all cron triggers (scheduled executions) for a Workers script.

Update Workers Cron Triggers`cloudflare_update_workers_cron_triggers`

Replace all cron triggers for a Workers script with a new set of schedules.

List Workers Secrets`cloudflare_list_workers_secrets`

List all secret bindings for a Workers script (names only, values are not returned).

Put Workers Secret`cloudflare_put_workers_secret`

Create or update a secret binding for a Workers script.

Delete Workers Secret`cloudflare_delete_workers_secret`

Delete a secret binding from a Workers script.

Get Workers Route`cloudflare_get_workers_route`

Retrieve details for a specific Workers route by ID.

Update Workers Route`cloudflare_update_workers_route`

Update a Workers route's URL pattern or associated script.

Query Workers Telemetry`cloudflare_query_workers_telemetry`

Execute a saved Workers observability query to retrieve logs, errors, and invocation events.

Get Workers Telemetry Keys`cloudflare_get_workers_telemetry_keys`

Retrieve available telemetry keys (filterable fields) for Workers observability queries.

Get Workers Telemetry Values`cloudflare_get_workers_telemetry_values`

Retrieve distinct values for a specific telemetry key to understand available filter options.

List Zones`cloudflare_list_zones`

List all zones (domains) in the account with optional filtering by name, status, and pagination.

Get Zone`cloudflare_get_zone`

Retrieve details for a specific zone by ID.

Create Zone`cloudflare_create_zone`

Add a new zone (domain) to the Cloudflare account.

Delete Zone`cloudflare_delete_zone`

Remove a zone (domain) from Cloudflare.

Purge Zone Cache`cloudflare_purge_zone_cache`

Purge cached content for a zone. Purge everything or specific files/tags/hosts.

Update Zone`cloudflare_update_zone`

Update settings for a zone such as vanity name servers, paused status, and type.

List Zone Settings`cloudflare_list_zone_settings`

List all settings for a zone including SSL mode, security level, caching, and more.

Get Zone Setting`cloudflare_get_zone_setting`

Retrieve the value of a specific zone setting by its ID.

Update Zone Setting`cloudflare_update_zone_setting`

Update the value of a specific zone setting such as SSL mode, security level, or caching.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.