Count Cases
thehive.count_cases
ActionBusiness appsconnection required
Calls the TheHive API with the connection's credentials.
Count the cases that match a filter, without fetching them.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- TheHive
- Secret shape
- the TheHive API key, or {"api_key": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
filters A raw TheHive filter expression as JSON, e.g. {"_in": {"_field": "status", "_values": ["New", "InProgress"]}}. It is combined with the fields above using _and. | object | No | — | — | {"_in":{"_field":"status","_values":["New","InProgress"]}} |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"filters": {
"_in": {
"_field": "status",
"_values": [
"New",
"InProgress"
]
}
}
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
count How many cases matched the filter. | number | — |
{
"count": 0
}See Count Cases run in a workflow.
In a technical demo we add the TheHive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.