External DocumentationTo learn more, visit the Cloudflare documentation.
Actions
Get Custom Ruleset
Get a specific custom firewall ruleset by ID, scoped to either an account or a zone.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| Account or Zone ID | The account ID or zone ID that the ruleset belongs to, matching the selected Scope. |
| Ruleset ID | The unique ID of the ruleset to retrieve. |
| Scope | Select whether the ruleset belongs to an account or a zone. |
{
"result": {
"id": "<RULESET_ID>",
"name": "Zone-level phase entry point",
"description": "Executes a managed ruleset.",
"kind": "zone",
"version": "3",
"rules": [
{
"id": "<RULE_ID>",
"version": "1",
"action": "execute",
"expression": "true",
"action_parameters": {
"id": "<MANAGED_RULESET_ID>"
},
"last_updated": "2025-03-17T15:42:37.917815Z"
}
],
"last_updated": "2025-03-17T15:42:37.917815Z",
"phase": "http_request_firewall_managed"
},
"success": true,
"errors": [],
"messages": []
}
Was this page helpful?