get_kv_value | Read the value stored under a KV key. Unlike every other action, the answer is the RAW value (text, or parsed JSON if the value is JSON), not the { success, result } envelope; an unknown key answers 404. |
get_user | Get the user who owns the token (needs a user-level permission; account-owned tokens get an error). Payload in result of the { success, errors, result } envelope. |
get_zone | Get one zone by zone_id (status, name servers, plan, account). Payload in result. |
get_zone_setting | Read one zone setting by its id, e.g. “ssl”, “always_use_https”, “development_mode”, “cache_level”, “browser_cache_ttl”, “min_tls_version”, “security_level”. Returns result = { id, value, editable, modified_on }. |
list_accounts | List the accounts the token can access — use result[].id as account_id for Workers, KV and Pages actions. Optional filters: name, page (1-based), per_page (5–50, default 20), direction (asc|desc). Payload in result, pagination in result_info. |
list_dns_records | List DNS records of a zone. Optional filters: type (A, AAAA, CNAME, TXT, MX, NS, SRV, CAA…), name (exact FQDN, e.g. “www.example.com”), content (exact value), proxied, search (free text over name/content), page (1-based), per_page (default 100), order, direction. Payload in result, pagination in result_info. |
list_kv_keys | List the keys of a KV namespace (name, expiration, metadata — not the values). Optional: prefix, limit (10–1000, default 1000), cursor (from result_info.cursor for the next page). |
list_kv_namespaces | List the Workers KV namespaces of an account (id, title). Optional: page (1-based), per_page (1–1000, default 20), order (id|title), direction. Payload in result, pagination in result_info. |
list_pages_deployments | List the deployments of a Pages project (id, url, environment, latest_stage status, deployment_trigger with branch/commit). Optional env (production|preview), page, per_page. Payload in result. |
list_pages_projects | List the Cloudflare Pages projects of an account (name, subdomain, domains, production branch, latest deployment). Optional page / per_page. Payload in result. |
list_workers | List the Worker scripts of an account (metadata only: id, created_on, modified_on, handlers, routes…). Optional tags filter. Payload in result. |
list_zone_rulesets | List the rulesets of a zone (WAF, custom rules, redirects, transforms…), read-only. Cursor pagination: pass result_info.cursor back as cursor; per_page up to 50. |
list_zones | List zones (domains). Optional filters: name (domain, e.g. “example.com”), status (initializing|pending|active|moved), account_id (sent as account.id), page (1-based), per_page (5–50, default 20), order, direction. Use result[].id as zone_id. Payload in result, pagination in result_info. |
verify_token | Verify the connected API token (probe, no arguments). Returns the Cloudflare envelope { success, errors, messages, result } with result = { id, status (“active”|“disabled”|“expired”), not_before, expires_on }. |