Your AI team, working in Cloudflare Api Key

Cloudflare provides a suite of services to enhance the security, performance, and reliability of websites and applications.

Start your company

What your team can do in Cloudflare Api Key

103 tools to work with, connected with an API key.

Attach Worker Domain

Attach or update a custom hostname routed to a Cloudflare Worker.

Bulk Read KV ValuesReads only

Read up to 100 text or JSON values from a Workers KV namespace.

Configure Email Routing DNS

Enable Email Routing and add and lock its required MX and SPF records.

Create Access Application

Create a bookmark or self-hosted app with focused common settings. Attach policies afterward with CREATE_ACCESS_APPLICATION_POLICY. Advanced application variants and settings are outside this focused action.

Create Access Application Policy

Create a deprecated application-scoped inline Access policy. For new configurations, prefer CREATE_ACCESS_REUSABLE_POLICY and reference the reusable policy ID from the application's policies array.

Create Access Reusable Policy

Create an account-level reusable Cloudflare Access policy.

Create Account Token

Create an account token and return its secret value exactly once.

Create AI Chat Completion

Create an OpenAI-compatible Workers AI chat completion as one JSON response.

Create DNS Record

Tool to create a new DNS record in a Cloudflare zone. Use when you need to add a record (A, CNAME, TXT, MX, etc.) to a specified zone.

Create Email Routing Rule

Create an Email Routing rule for a Cloudflare zone.

Create Pages Deployment

Create a Cloudflare Pages deployment from a Git branch or Direct Upload manifest.

Create Pages Project

Create a Cloudflare Pages project for a production branch.

Create R2 Temporary Credentials

Issue sensitive, short-lived R2 credentials; never log or persist them.

Create Rule in Ruleset

Tool to add a rule to an existing ruleset. Use when you need to append or insert a new rule in a Cloudflare ruleset.

Create Ruleset

Creates a new Cloudflare ruleset at account or zone scope. Rulesets contain rules that control traffic behavior (firewall, rate limiting, redirects, etc.). First use List Zones to get a zone_id, then specify the phase (e.g., 'http_request_firewall_custom' for WAF rules).

Create Turnstile Widget

Create a Turnstile widget and return its sitekey and sensitive verification secret.

Create Worker Deployment

Deploy existing Worker versions to live traffic by percentage. This immediately shifts production traffic away from the currently active deployment to the versions and percentages given.

Create Worker Version

Upload code, assets, and configuration as a new Worker version, optionally deploying it to 100% of traffic. Bindings and settings are NOT copied from earlier versions. Pass every binding again, or pass {name, type: "inherit"} to carry an existing binding forward.

Create Zone

Create a pending Cloudflare zone; activation requires nameserver or partial-zone verification.

Create Zone Lockdown Rule

Tool to create a Zone Lockdown rule. Use when you need to restrict access to specific URL patterns to defined IPs/CIDR ranges. Use after confirming zone_id.

Delete a zone

Tool to delete an existing zone. Use after confirming the zone_id to permanently remove the zone.

Delete Access Reusable Policy

Permanently delete one account-level reusable Cloudflare Access policy.

Delete DNS Record

Tool to delete a DNS record. Use when you need to remove a specific DNS record from a zone after confirming both zone and record IDs.

Delete DNSSEC

Tool to delete DNSSEC records for a zone. Use after disabling DNSSEC at the registrar to remove DNSSEC configuration.

Delete R2 Object

Permanently delete one R2 object by its complete key; this cannot be undone.

Delete Rule from Ruleset

Tool to delete a specific rule from a ruleset. Use when you need to remove an outdated or incorrect rule from an account or zone ruleset after confirming IDs.

Delete Ruleset

Tool to delete all versions of a ruleset. Use when you need to remove a ruleset from an account or zone after confirming no references exist.

Deploy Worker Script

Use the deprecated legacy path to upload and immediately deploy one JavaScript module Worker script. For versioned or gradual releases, use Create Worker Version and Create Worker Deployment instead.

Execute D1 Query

Execute SQL against one Cloudflare D1 database. SQL may read, write, or permanently delete database data or schema.

Export DNS RecordsReads only

Export a zone's matching DNS records as a BIND zone file.

Extract Data with ClairicReads only

Extract typed values and calibrated estimates from text or embedded images.

Get Access ApplicationReads only

Retrieve one Cloudflare Access application by identifier.

Get Account TokenReads only

Retrieve non-secret metadata and policies for one account-owned API token.

Get Cloudflare IP AddressesReads only

Tool to retrieve IP addresses used on the Cloudflare or JD Cloud network. Use when you need to obtain the list of IPv4 and IPv6 CIDR blocks used by Cloudflare's infrastructure or JD Cloud data centers.

Get DNSSECReads only

Retrieve a zone's DNSSEC status and signing details.

Get Email Routing SettingsReads only

Retrieve a zone's Cloudflare Email Routing configuration and enabled status.

Get Email Routing SetupReads only

Inspect a zone's required Email Routing DNS records and catch-all rule.

Get Entrypoint RulesetReads only

Fetch the latest account redirect-phase entrypoint ruleset.

Get Entrypoint Ruleset VersionReads only

Retrieves a specific historical version of an entry point ruleset from Cloudflare. Entry point rulesets are phase-specific and define the rules that execute during a particular phase of request/response processing. This tool fetches a specific version, allowing you to view rules as they existed at a particular point in time. Use cases: - Audit historical rule configurations - Compare rule changes between versions - Rollback analysis (view what rules looked like before a change) - Debug issues by examining past ruleset states Prerequisites: - Requires a valid account_id or zone_id (use List Zones to get zone IDs) - Requires knowing the ruleset phase (e.g., 'http_request_firewall_custom') - Requires knowing the version number to fetch

Get KV NamespaceReads only

Retrieve metadata for one Cloudflare Workers KV namespace.

Get KV ValueReads only

Retrieve one Workers KV value as decoded text or base64 binary content.

Get Lockdown RuleReads only

Tool to get a Zone Lockdown rule. Use when you need to fetch details of a specific lockdown rule by its ID within a Cloudflare zone.

Get Pages DeploymentReads only

Retrieve one Cloudflare Pages deployment by UUID.

Get Pages Deployment LogsReads only

Retrieve build log lines for one Cloudflare Pages deployment.

Get Pages ProjectReads only

Retrieve one Cloudflare Pages project and its complete configuration.

Get Pages Project DomainReads only

Retrieve one named custom domain from a Cloudflare Pages project.

Get Pages Upload TokenReads only

Return a sensitive short-lived JWT for Pages Direct Upload; do not log or persist it.

Get R2 ObjectReads only

Downloads an object's stored content and metadata from a Cloudflare R2 bucket.

Get Regional Tiered CacheReads only

Tool to get the regional tiered cache setting for a zone. Use when you need to verify if regional tiered cache is enabled for performance optimization after zone activation.

Get RulesetReads only

Tool to fetch the latest version of a ruleset by ID. Use after you have the ruleset scope and ID.

Get Turnstile WidgetReads only

Retrieve one Turnstile widget, including its sensitive verification secret.

Get User API TokenReads only

Retrieve metadata, policies, permissions, and status for one user token.

Get Worker BuildReads only

Retrieve status and source metadata for one Workers CI build.

Get Worker SchedulesReads only

Get the Cron Triggers configured for one Worker script.

Get Worker Script and Version SettingsReads only

Retrieve a Worker script's metadata and runtime configuration. Calls GET /accounts/{account_id}/workers/scripts/{script_name}/settings (script and version settings: bindings, compatibility date/flags, usage model, etc.), not the separate /script-settings endpoint.

Get Worker Script ContentReads only

Retrieve the deployed content of one Cloudflare Worker script.

Get Worker Script SubdomainReads only

Inspect workers.dev and preview URL availability for a Worker script.

Get Worker Subdomain And SchedulesReads only

Read a Worker's workers.dev subdomain routing and cron schedules. This does not return the script settings resource (bindings, compatibility_date, logpush, ...).

Get Worker VersionReads only

Retrieve one beta Worker version, optionally including module content.

Get Workers SubdomainReads only

Return the workers.dev subdomain configured for a Cloudflare account.

Get Zone DetailsReads only

Tool to get details for a specific zone. Use when you need detailed zone metadata by ID.

Get Zone SettingReads only

Retrieve one named Cloudflare zone setting, such as browser_cache_ttl.

List Access Application PoliciesReads only

List policies attached to one Cloudflare Access application.

List Access ApplicationsReads only

List and filter Cloudflare Access applications in an account.

List Access Reusable PoliciesReads only

List reusable Cloudflare Access policies for an account.

List Account SubscriptionsReads only

List billing subscriptions and plan details for one Cloudflare account.

List Account TokensReads only

List account-owned API tokens for inventory and lifecycle operations.

List AccountsReads only

List accounts accessible to the credential for downstream account operations.

List Alert PoliciesReads only

List notification policies configured for a Cloudflare account.

List Cloudflare ZonesReads only

Tool to list, search, sort, and filter Cloudflare zones. Use when you need to retrieve a paginated list of zones available to the authenticated user.

List D1 DatabasesReads only

List one page of D1 databases in a Cloudflare account.

List DNS RecordsReads only

List, search, sort, and filter DNS records for a Cloudflare zone. Use this tool to retrieve DNS records (A, AAAA, CNAME, TXT, MX, etc.) for a zone. Supports filtering by record type, name, content, and proxy status. Results are paginated; use page and per_page parameters for large record sets. Requires a valid zone_id which can be obtained from the List Zones action.

List Email Routing Destination AddressesReads only

List and filter Email Routing destination addresses for an account.

List Email Routing RulesReads only

List and filter Email Routing rules configured for a Cloudflare zone.

List KV KeysReads only

List key names and metadata in a Cloudflare Workers KV namespace.

List Page RulesReads only

List Page Rules for a zone; the legacy product is deprecated, not removed.

List Pages DeploymentsReads only

List production or preview deployments for a Cloudflare Pages project.

List Pages Project DomainsReads only

List custom domains attached to a Cloudflare Pages project, including validation state.

List Pages ProjectsReads only

List Cloudflare Pages projects in an account with page-based pagination.

List R2 BucketsReads only

List and filter R2 buckets in a Cloudflare account.

List R2 ObjectsReads only

List object metadata and keys in an R2 bucket with cursor pagination.

List Web Analytics SitesReads only

List one page of Web Analytics site configurations for an account.

List Worker Build TriggersReads only

List repository build triggers configured for a Worker external script ID.

List Worker DeploymentsReads only

List deployment history for a classic Worker; the first result is active.

List Worker DomainsReads only

List custom domains routed to Workers in a Cloudflare account.

List Worker RoutesReads only

List route patterns and Worker script assignments for a Cloudflare zone.

List Worker ScriptsReads only

List uploaded classic Worker scripts, optionally filtering by tag rules.

List Worker SecretsReads only

List the names and types of secrets bound to one Worker script.

List Zone Certificate PacksReads only

List one page of a zone's certificate packs, with status and deployment filters.

List Zone RulesetsReads only

List a zone's rulesets and their identifiers, phases, and versions.

Overwrite DNS Record

Overwrites a DNS record in a Cloudflare zone using the supported record fields, including type, name, content, TTL, proxy status, comments, tags, and settings.

Query Cloudflare GraphQLReads only

Execute a Cloudflare GraphQL query using its dataset-specific token permissions.

Rerun Zone Activation Check

Triggers a new activation check for a zone with 'pending' status. Use this after creating a zone or updating nameservers to verify that DNS propagation is complete and the zone can be activated. Rate limits apply: once every 5 minutes for paid plans (paygo/Enterprise) or once per hour for Free plans.

Run Workers AI ModelReads only

Run a selected Workers AI model with model-specific JSON input.

Update Cloudflare Zone

Tool to edit a Cloudflare zone. Use when you need to update a single zone property at a time. Ensure only one of paused, type, or vanity_name_servers is provided per call.

Update DNSSEC Status

Tool to update DNSSEC configuration for a zone. Use when you need to enable or disable DNSSEC or adjust DNSSEC options after confirming the zone ID.

Update Lockdown Rule

Updates a Zone Lockdown rule in a Cloudflare zone, supplying both the allowed IP addresses or CIDR ranges and the URL patterns.

Update Pages Project

Rename a Pages project or update its production branch, build configuration, deployment environments, or source repository settings.

Update Rule in Ruleset

Tool to update a specific rule in a ruleset. Use when you need to modify a rule's configuration or reorder it after reviewing its current settings.

Update Ruleset

Update a Cloudflare ruleset, creating a new version. Use this to modify ruleset description, name, or rules. IMPORTANT: When updating rules, you must include ALL rules you want to keep - any rules not included will be removed. Cannot modify managed rulesets directly - use overrides instead.

Upload File to S3

Upload UTF-8 encoded text content to temporary storage for staging files used by actions requiring FileUploadable.

Upload Pages Assets

Upload static assets and register their hashes for a Pages deployment.

Upload R2 Object

Upload content to an R2 key, replacing its content if it already exists.

More in Security & identity tools

See them all β†’

Your company, run by an AI team

Start your company

BRAINER

Continue to B.R.A.I.N.E.R.

Continue with Google or your email.

or