---
updatedAt: 2026-06-16T13:14:16.000Z
---

# Get total number of correlation rules

Gets the total number of correlation rules licensed versus used.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Service Health Consumption",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.us-west.exabeam.cloud"
    },
    {
      "url": "https://api.us-east.exabeam.cloud"
    },
    {
      "url": "https://api.sg.exabeam.cloud"
    },
    {
      "url": "https://api.jp.exabeam.cloud"
    },
    {
      "url": "https://api.eu.exabeam.cloud"
    },
    {
      "url": "https://api.au.exabeam.cloud"
    },
    {
      "url": "https://api.ca.exabeam.cloud"
    },
    {
      "url": "https://api.ch.exabeam.cloud"
    },
    {
      "url": "https://api.sa.exabeam.cloud"
    },
    {
      "url": "https://api.uk.exabeam.cloud"
    }
  ],
  "security": [
    {
      "oAuth2ClientCredentials": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-languages": [
      "python",
      "powershell",
      "curl",
      "go",
      "javascript",
      "java",
      "cplusplus",
      "csharp",
      "node",
      "node-simple"
    ]
  },
  "paths": {
    "/health-consumption/v1/consumption/correlationRule": {
      "get": {
        "tags": [
          "License Consumption"
        ],
        "summary": "Get total number of correlation rules",
        "description": "Gets the total number of correlation rules licensed versus used.",
        "operationId": "health-consumption-correlation-rules",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CorrelationRuleResponse"
                },
                "examples": {
                  "Get Correlation Rules enabled": {
                    "description": "Get Correlation Rules enabled Example.",
                    "value": {
                      "totalRuleUsed": 64,
                      "totalRuleLicensed": 200
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oAuth2ClientCredentials": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "auth/v1/token",
            "scopes": {}
          }
        }
      }
    },
    "schemas": {
      "CorrelationRuleResponse": {
        "type": "object",
        "properties": {
          "totalRuleUsed": {
            "type": "integer",
            "description": "Total number of correlation rules enabled.",
            "format": "int64",
            "example": 64
          },
          "totalRuleLicensed": {
            "description": "Total number of correlation rules licensed.",
            "format": "int64",
            "example": 64
          }
        }
      },
      "ApiError": {
        "type": "object",
        "description": "Schema of threat-center error response object.",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string",
            "description": "Error message information."
          }
        }
      },
      "ApiErrors": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      }
    },
    "responses": {
      "400": {
        "description": "Bad Request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrors"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrors"
            }
          }
        }
      },
      "403": {
        "description": "Permission Denied.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrors"
            }
          }
        }
      },
      "404": {
        "description": "Not Found.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrors"
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrors"
            }
          }
        }
      }
    }
  }
}
```