Alerts endpoints
Alert rules for stories, CVEs and leak-site listings, and the webhooks they deliver to. Starter and up.
Manage rules from a script
Five calls, with a key that has the alerts:write scope (Starter and up).
A rule watches stories, CVEs or leak-site listings and delivers in the app, by email or to your webhooks. A rejected rule returns HTTP 422 with the reason.
How rules work in the app, with screenshots: the alerts guide.
1. Find the fields
Each source (stories, cves, darkweb) has its own fields and operators. A rule has up to 50 conditions of 50 values each, in all, any or none groups nested 3 deep.
curl -H "X-API-Key: $TC_KEY" "https://threatcluster.io/api/public/v1/rules/fields"
2. Try the rule before saving
Nothing is saved or sent. You get the rule in plain English, how many items from the last 30 days it would have matched, and the newest of them.
curl -H "X-API-Key: $TC_KEY" -X POST -H "Content-Type: application/json" \
-d '{"rule": {"source": "cves", "match": {"mode": "all", "items": [{"field": "vendor", "op": "is", "value": ["Fortinet", "Ivanti"]}, {"mode": "any", "items": [{"field": "kev", "op": "yes"}, {"field": "exploit", "op": "yes"}]}]}}}' \
"https://threatcluster.io/api/public/v1/rules/preview" 3. Create it
Send a name, the rule and delivery: notify_inapp (default true), notify_email, notify_webhook and webhook_id. The response holds the rule and its uuid.
curl -H "X-API-Key: $TC_KEY" -X POST -H "Content-Type: application/json" \
-d '{"name": "Exploited Fortinet and Ivanti flaws", "rule": {"source": "cves", "match": {"mode": "all", "items": [{"field": "vendor", "op": "is", "value": ["Fortinet", "Ivanti"]}, {"mode": "any", "items": [{"field": "kev", "op": "yes"}, {"field": "exploit", "op": "yes"}]}]}}, "notify_webhook": true}' \
"https://threatcluster.io/api/public/v1/rules" An asset list sent with PUT /assets keeps two rules of its own; see assets.
4. Change, pause or delete it
Send only what changes; {"is_active": false} pauses the rule. A rule that follows a feed (a feed alert) takes delivery changes only: change what it watches on the feed.
curl -H "X-API-Key: $TC_KEY" -X PATCH -H "Content-Type: application/json" \
-d '{"is_active": false}' "https://threatcluster.io/api/public/v1/rules/$RULE_UUID"
curl -H "X-API-Key: $TC_KEY" -X DELETE "https://threatcluster.io/api/public/v1/rules/$RULE_UUID" 5. See what fired
GET /alerts lists every match a rule sent, newest first. Rules report as alert_source=rule, and rule_source says whether entity_ref is a story, a CVE or a leak-site listing.
curl -H "X-API-Key: $TC_KEY" "https://threatcluster.io/api/public/v1/alerts?alert_source=rule&since=2026-11-01T00:00:00Z"
Alert emails
The subject is always [ThreatCluster] <rule name>: <count> new <stories|CVEs|leak-site listings>. For machine-readable delivery use a webhook or GET /alerts.
Endpoints
Paths are under https://threatcluster.io/api/public/v1. Cost is credits per call.
| Method | Path | Cost | Scope |
|---|---|---|---|
| POST | /rules | 1 | alerts:write |
| GET | /rules | 1 | alerts:read |
| POST | /webhooks | 1 | alerts:write |
| GET | /webhooks | 1 | alerts:read |
| GET | /rules/{rule_uuid} | 1 | alerts:read |
| PATCH | /rules/{rule_uuid} | 1 | alerts:write |
| DELETE | /rules/{rule_uuid} | 1 | alerts:write |
| GET | /rules/fields | 1 | alerts:read |
| POST | /rules/preview | 1 | alerts:read |
| PATCH | /webhooks/{webhook_id} | 1 | alerts:write |
| DELETE | /webhooks/{webhook_id} | 1 | alerts:write |
| POST | /webhooks/{webhook_id}/test | 1 | alerts:write |
POST /rules
Create a rule
1 credit per call · scope alerts:write
Create a rule: name, rule (see POST /rules/preview) and delivery: notify_inapp (default true), notify_webhook, notify_email, webhook_id. Counts toward your plan's alert-rule limit.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"name":"Our stack, Switzerland and insurance","rule":{"source":"stories","match":{"mode":"all","items":[{"field":"company","op":"is","value":["Microsoft","Cisco","Fortinet"]},{"mode":"any","items":[{"field":"cve","op":"that is","value":"on KEV"},{"field":"country","op":"is","value":["Switzerland"]}]},{"mode":"none","items":[{"field":"keyword","op":"contain","value":["acquisition","earnings"]}]},{"field":"score","op":"at least","value":50}]}},"notify_webhook":true}' \
"https://threatcluster.io/api/public/v1/rules" Response fields
Same fields as GET /rules/{rule_uuid}.
Needs the alert_rules feature (Starter or above) and counts toward the plan's rule limit (403 otherwise).
GET /rules
List your rules
1 credit per call · scope alerts:read
Your rules (or one managed customer's), each with description: the rule in plain English.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/rules"
Response fields
Business keys can pass mssp_customer_id for one managed customer's rules; there is no mssp_customer_id key in this response.
| Field | Type | Meaning |
|---|---|---|
| rules | array | Your rules, newest first |
| rules[].uuid | string | Rule id |
| rules[].name | string | Rule name |
| rules[].source | string | What the rule watches: stories, cves or darkweb |
| rules[].rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rules[].is_active | boolean | False when the rule is paused |
| rules[].notify_inapp | boolean | Send matches to in-app alerts |
| rules[].notify_webhook | boolean | Send matches to webhooks |
| rules[].notify_email | boolean | Send matches by email |
| rules[].notify_email_address | string or null | Address for email delivery |
| rules[].webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rules[].mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rules[].source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rules[].managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rules[].created_at | string | When the rule was created (ISO 8601) |
| rules[].updated_at | string or null | When the rule was last changed (ISO 8601) |
| rules[].description | string | The rule in plain English; empty string if it cannot be described |
| count | integer | Number of rules returned |
POST /webhooks
Create a webhook (HTTPS, port 443, public host)
1 credit per call · scope alerts:write
Request body · WebhookCreatePublic
| Field | Type | Required | Meaning |
|---|---|---|---|
| webhook_url | string | yes | HTTPS URL on port 443; internal and private hosts are rejected. |
| webhook_type | string | no | json | slack | discord | teams |
| secret_key | string or null | no | Optional HMAC-SHA256 secret; json deliveries carry X-ThreatCluster-Signature. |
| name | string or null | no | Your label for the webhook. |
| mssp_customer_id | integer or null | no | Business: the managed customer this applies to (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"name":"SOAR intake","webhook_type":"json","webhook_url":"https://hooks.example.com/threatcluster"}' \
"https://threatcluster.io/api/public/v1/webhooks" Response fields
Status 201. The created row has fewer columns than GET: no last_triggered_at or failure_count. Webhook count is limited by plan (403 limit_exceeded). Signing: when the webhook has a secret and webhook_type is json, the request carries X-ThreatCluster-Signature: sha256=<hex>, an HMAC-SHA256 of the raw JSON body keyed with the secret. Slack, Discord and Teams deliveries are reformatted and not signed.
| Field | Type | Meaning |
|---|---|---|
| webhook | object | The new webhook |
| webhook.id | integer | Webhook id |
| webhook.name | string or null | Your label for the webhook |
| webhook.webhook_url | string | Delivery URL |
| webhook.webhook_type | string | Payload format: json, slack, discord or teams |
| webhook.is_active | boolean | Whether the webhook receives deliveries |
| webhook.mssp_customer_id | integer or null | Managed customer the webhook belongs to; null for your own workspace |
| webhook.created_at | string | When the webhook was created (ISO 8601) |
| webhook.has_secret | boolean | Whether a signing secret is set; the secret itself is never returned |
| webhook.scope | string | mssp_customer when tied to a managed customer, otherwise personal |
GET /webhooks
List your webhooks
1 credit per call · scope alerts:read
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/webhooks"
Response fields
Business keys can pass mssp_customer_id to list one managed customer's webhooks; without it only personal webhooks are listed.
| Field | Type | Meaning |
|---|---|---|
| webhooks | array | Your webhooks, newest first |
| webhooks[].id | integer | Webhook id |
| webhooks[].name | string or null | Your label for the webhook |
| webhooks[].webhook_url | string | Delivery URL |
| webhooks[].webhook_type | string | Payload format: json, slack, discord or teams |
| webhooks[].is_active | boolean | Whether the webhook receives deliveries |
| webhooks[].mssp_customer_id | integer or null | Managed customer the webhook belongs to; null for your own workspace |
| webhooks[].created_at | string | When the webhook was created (ISO 8601) |
| webhooks[].last_triggered_at | string or null | When the webhook was last sent to (ISO 8601) |
| webhooks[].failure_count | integer | Count of failed deliveries recorded for the webhook |
| webhooks[].has_secret | boolean | Whether a signing secret is set; the secret itself is never returned |
| webhooks[].scope | string | mssp_customer when tied to a managed customer, otherwise personal |
| count | integer | Number of webhooks returned |
| mssp_customer_id | integer or null | The managed customer listed, or null |
GET /rules/{rule_uuid}
Get one rule
1 credit per call · scope alerts:read
One rule by its uuid.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /rules. |
Request
curl -H "X-API-Key: $TC_KEY" \
"https://threatcluster.io/api/public/v1/rules/{rule_uuid}" Response fields
| Field | Type | Meaning |
|---|---|---|
| rule | object | The rule |
| rule.uuid | string | Rule id |
| rule.name | string | Rule name |
| rule.source | string | What the rule watches: stories, cves or darkweb |
| rule.rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rule.is_active | boolean | False when the rule is paused |
| rule.notify_inapp | boolean | Send matches to in-app alerts |
| rule.notify_webhook | boolean | Send matches to webhooks |
| rule.notify_email | boolean | Send matches by email |
| rule.notify_email_address | string or null | Address for email delivery |
| rule.webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rule.mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rule.source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rule.managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rule.created_at | string | When the rule was created (ISO 8601) |
| rule.updated_at | string or null | When the rule was last changed (ISO 8601) |
| rule.description | string | The rule in plain English; empty string if it cannot be described |
PATCH /rules/{rule_uuid}
Update a rule
1 credit per call · scope alerts:write
Change a rule: send only what changes (name, rule, is_active, notify_*, webhook_id). A rule you send replaces the old one. {"is_active": false} pauses it.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /rules. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{"is_active":false}' \
"https://threatcluster.io/api/public/v1/rules/{rule_uuid}" Response fields
Same fields as GET /rules/{rule_uuid}.
Adds updated (boolean, always true) alongside rule.
DELETE /rules/{rule_uuid}
Delete a rule
1 credit per call · scope alerts:write
Delete a rule. Matches it already sent stay in GET /alerts.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /rules. |
Request
curl -H "X-API-Key: $TC_KEY" -X DELETE \
"https://threatcluster.io/api/public/v1/rules/{rule_uuid}" Response fields
| Field | Type | Meaning |
|---|---|---|
| rule_uuid | string | The deleted rule's id, as given in the path |
| deleted | boolean | Always true |
GET /rules/fields
Fields, operators and choices for rules
1 credit per call · scope alerts:read
Everything a rule can test, per source (stories, cves, darkweb): each field's key, label, kind (entity, text, number, choice, flag), operators and, where fixed, its choices.
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/rules/fields"
Response fields
| Field | Type | Meaning |
|---|---|---|
| sources | array | Rule sources: stories, cves, darkweb |
| fields | object | Fields per source, keyed by source name |
| fields.<source>[].key | string | Field key used in a condition's field |
| fields.<source>[].label | string | Human label |
| fields.<source>[].kind | string | entity, text, number, choice or flag |
| fields.<source>[].ops | array | Operators the field accepts |
| fields.<source>[].choices | array | Allowed values; only on fields with fixed choices |
| fields.<source>[].min | number | Lowest value; only on number fields |
| fields.<source>[].max | number | Highest value; only on number fields |
| max_conditions | integer | Most conditions a rule may hold (50) |
| max_depth | integer | Deepest group nesting allowed (3) |
POST /rules/preview
Preview a rule against the last 30 days (saves nothing)
1 credit per call · scope alerts:read
What rule would have matched in the last 30 days. Nothing is saved and nothing is sent. A rule is {"source": "stories"|"cves"|"darkweb", "match": GROUP}; a GROUP is {"mode": "all"|"any"|"none", "items": [...]} holding conditions {"field", "op", "value"} and further groups (3 deep). GET /rules/fields lists the fields. A rule that cannot be used returns 422 with the reason.
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"rule":{"source":"stories","match":{"mode":"all","items":[{"field":"company","op":"is","value":["Microsoft","Cisco","Fortinet"]},{"mode":"any","items":[{"field":"cve","op":"that is","value":"on KEV"},{"field":"country","op":"is","value":["Switzerland"]}]},{"mode":"none","items":[{"field":"keyword","op":"contain","value":["acquisition","earnings"]}]},{"field":"score","op":"at least","value":50}]}}}' \
"https://threatcluster.io/api/public/v1/rules/preview" Response fields
Nothing is saved or sent; 422 with the reason when the rule is invalid or too slow to check. The columns in matches[] depend on source.
| Field | Type | Meaning |
|---|---|---|
| source | string | stories, cves or darkweb |
| days | integer | Window in days (30) |
| match_count | integer | Total matches in the window |
| matches | array | Newest matches, at most 25 |
| matches[].id | string | Cluster id (stories), CVE id (cves) or victim id (darkweb; integer) |
| matches[].title | string or null | Cluster title, CVE description, or victim name |
| matches[].at | string or null | Cluster created time, CVE published date, or victim discovered time (ISO 8601) |
| matches[].slug | string or null | stories only: cluster slug |
| matches[].threat_score | number or null | stories only: threat score |
| matches[].article_count | integer or null | stories only: number of articles |
| matches[].cvss_v3_score | number or null | cves only |
| matches[].cvss_v3_severity | string or null | cves only |
| matches[].in_kev | boolean or null | cves only |
| matches[].has_exploit | boolean or null | cves only |
| matches[].epss_percentile | number or null | cves only |
| matches[].group_name | string or null | darkweb only: ransomware group |
| matches[].country | string or null | darkweb only |
| matches[].sector | string or null | darkweb only |
| matches[].website | string or null | darkweb only: victim website |
| description | string | The rule in plain English |
Example response
An example of the shape; ids, names and values are illustrative.
{
"source": "stories",
"days": 30,
"match_count": 19,
"description": "company or vendor is Microsoft or Cisco or Fortinet and (mentions a CVE that is on KEV or country is Switzerland) and not (words in title or summary contain acquisition or earnings) and threat score at least 50",
"matches": [
{
"id": "f4a06b7f-d154-4d3b-8274-f61cd28be186",
"title": "Ivanti EPMM zero-day chained for pre-auth RCE, added to KEV",
"threat_score": 78
}
]
}PATCH /webhooks/{webhook_id}
Update a webhook
1 credit per call · scope alerts:write
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| webhook_id | path | integer | yes | Webhook id, from GET /webhooks. |
Request body · WebhookUpdatePublic
| Field | Type | Required | Meaning |
|---|---|---|---|
| webhook_url | string or null | no | New HTTPS URL on port 443. |
| webhook_type | string or null | no | json | slack | discord | teams |
| secret_key | string or null | no | New HMAC-SHA256 secret for json deliveries. |
| is_active | boolean or null | no | False pauses deliveries to this webhook. |
| name | string or null | no | Your label for the webhook. |
| mssp_customer_id | integer or null | no | Business: the managed customer this applies to (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{}' \
"https://threatcluster.io/api/public/v1/webhooks/{webhook_id}" Response fields
Returns the webhook as re-read after the change, with the same fields as an item of GET /webhooks.
| Field | Type | Meaning |
|---|---|---|
| webhook | object | The updated webhook |
| webhook.id | integer | Webhook id |
| webhook.name | string or null | Your label for the webhook |
| webhook.webhook_url | string | Delivery URL |
| webhook.webhook_type | string | Payload format: json, slack, discord or teams |
| webhook.is_active | boolean | Whether the webhook receives deliveries |
| webhook.mssp_customer_id | integer or null | Managed customer the webhook belongs to; null for your own workspace |
| webhook.created_at | string | When the webhook was created (ISO 8601) |
| webhook.last_triggered_at | string or null | When the webhook was last sent to (ISO 8601) |
| webhook.failure_count | integer | Count of failed deliveries recorded for the webhook |
| webhook.has_secret | boolean | Whether a signing secret is set; the secret itself is never returned |
| webhook.scope | string | mssp_customer when tied to a managed customer, otherwise personal |
| updated | boolean | Always true |
DELETE /webhooks/{webhook_id}
Delete a webhook
1 credit per call · scope alerts:write
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| webhook_id | path | integer | yes | Webhook id, from GET /webhooks. | |
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X DELETE \
"https://threatcluster.io/api/public/v1/webhooks/{webhook_id}" Response fields
| Field | Type | Meaning |
|---|---|---|
| webhook_id | integer | The deleted webhook's id |
| deleted | boolean | Always true |
POST /webhooks/{webhook_id}/test
Send a test payload to a webhook
1 credit per call · scope alerts:write
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| webhook_id | path | integer | yes | Webhook id, from GET /webhooks. | |
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
"https://threatcluster.io/api/public/v1/webhooks/{webhook_id}/test" Response fields
Sends a fixed test payload (event: test) to the webhook. When the request could not be made, status_code and upstream_response are absent and error is present instead. Signing: when the webhook has a secret and webhook_type is json, the request carries X-ThreatCluster-Signature: sha256=<hex>, an HMAC-SHA256 of the raw JSON body keyed with the secret. Slack, Discord and Teams deliveries are reformatted and not signed.
| Field | Type | Meaning |
|---|---|---|
| webhook_id | integer | The webhook tested |
| success | boolean | True when the receiver answered 200, 201, 202 or 204 |
| status_code | integer | HTTP status the receiver returned |
| upstream_response | string | First 300 characters of the receiver's response body |
| error | string | Only on failure to send: blocked_by_policy (URL refused by the outbound-request guard) or the exception class name, e.g. a timeout |
Older endpoints
These still work and, since 24 Nov 2026, save rule-builder rules, so they show in GET /rules and Settings. Use /rules for new work.
| Method | Path | Cost | Scope |
|---|---|---|---|
| POST | /alert-rules | 1 | alerts:write |
| GET | /alert-rules | 1 | alerts:read |
| POST | /cve-alerts | 1 | alerts:write |
| GET | /cve-alerts | 1 | alerts:read |
| GET | /alert-rules/{rule_uuid} | 1 | alerts:read |
| PATCH | /alert-rules/{rule_uuid} | 1 | alerts:write |
| DELETE | /alert-rules/{rule_uuid} | 1 | alerts:write |
| GET | /cve-alerts/{rule_uuid} | 1 | alerts:read |
| PATCH | /cve-alerts/{rule_uuid} | 1 | alerts:write |
| DELETE | /cve-alerts/{rule_uuid} | 1 | alerts:write |
| GET | /cve-alerts/names | 1 | alerts:read |
| POST | /cve-alerts/preview | 1 | alerts:read |
| POST | /alert-rules/{rule_uuid}/send-test | 1 | alerts:write |
| POST | /alert-rules/{rule_uuid}/test | 1 | alerts:read |
| POST | /cve-alerts/{rule_uuid}/test | 1 | alerts:read |
POST /alert-rules
Create an alert rule (personal or managed-customer scoped)
1 credit per call · scope alerts:write
Create a personal alert rule that fires when its conditions match a new threat cluster. Up to 50 conditions on every plan. Delivery via your webhook(s) and/or email. Omit mssp_customer_id for a personal rule, or set it to scope the rule to one of your managed customers (Business plan).
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Request body · AlertRuleCreate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string | yes | Rule name (required). |
| description | string or null | no | Optional description. |
| logic_operator | string | no | 'AND' (all conditions) or 'OR' (any). |
| conditions | array | yes | 1+ conditions, up to 50 on every plan (the rule builder's limit). |
| notify_webhook | boolean | no | Deliver matches to your webhook(s). |
| notify_email | boolean | no | Deliver matches by email. |
| notify_email_address | string or null | no | Custom email (must be your domain). Defaults to your account email. |
| webhook_id | integer or null | no | Specific webhook id to route to (must be yours). Omit to use all. |
| mssp_customer_id | integer or null | no | Scope this rule to one of your managed customers (Business). Omit for a personal rule. If set, any webhook_id must be scoped to the same customer or be unscoped. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"conditions":[{"entity_type":"country","entity_value":"United Kingdom"},{"entity_type":"attack_type","entity_value":"Ransomware"}],"logic_operator":"AND","name":"UK Ransomware","notify_email":false,"notify_webhook":true}' \
"https://threatcluster.io/api/public/v1/alert-rules" Response fields
Same fields as GET /alert-rules/{rule_uuid}.
Adds success (boolean, always true). Needs Starter or above and counts toward the plan's rule limit.
GET /alert-rules
List your alert rules
1 credit per call · scope alerts:read
Your rules of this kind (rule-builder rules on stories, or on CVEs).
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/alert-rules"
Response fields
Rules are stored as rule-builder rules (see GET /rules), so each carries the full v2 fields plus rule_uuid, kind and the older filter fields. The older filter fields are left out when the rule uses a shape the older body cannot express (nested groups, none, other fields). Lists only rules whose source is stories.
| Field | Type | Meaning |
|---|---|---|
| rules | array | Your story rules, newest first |
| rules[].uuid | string | Rule id |
| rules[].name | string | Rule name |
| rules[].source | string | What the rule watches: stories, cves or darkweb |
| rules[].rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rules[].is_active | boolean | False when the rule is paused |
| rules[].notify_inapp | boolean | Send matches to in-app alerts |
| rules[].notify_webhook | boolean | Send matches to webhooks |
| rules[].notify_email | boolean | Send matches by email |
| rules[].notify_email_address | string or null | Address for email delivery |
| rules[].webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rules[].mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rules[].source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rules[].managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rules[].created_at | string | When the rule was created (ISO 8601) |
| rules[].updated_at | string or null | When the rule was last changed (ISO 8601) |
| rules[].description | string | The rule in plain English; empty string if it cannot be described |
| rules[].rule_uuid | string | Same value as uuid |
| rules[].kind | string | Always entity |
| rules[].logic_operator | string | AND or OR; present only when the rule can be expressed in the older body |
| rules[].conditions | array | Older-style conditions, each entity_type, entity_value, match_type (exact or contains); present only when expressible |
| count | integer | Number of rules returned |
| mssp_customer_id | integer or null | The managed customer listed, or null |
POST /cve-alerts
Create a CVE alert rule (personal or managed-customer scoped)
1 credit per call · scope alerts:write
Create a personal CVE alert rule. Fires when a CVE matches the filters (vendor/product/CWE/severity/CVSS/EPSS/KEV/exploit/ransomware/keywords), combined by match_logic. Shares the alert-rule tier quota.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Request body · CveAlertRuleCreate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string | yes | Rule name. |
| description | string or null | no | Optional note for your team. |
| match_logic | string or null | no | How the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one). |
| vendors | array or null | no | Vendor names, any of them. Written as you would say them: 'Microsoft', 'Palo Alto Networks', 'Fortinet'. Matching ignores case, spaces and punctuation; GET /cve-alerts/names lists the names found on CVEs. |
| products | array or null | no | Product names, any of them. A family name covers its versions: 'Windows' matches windows_11_24h2 and windows_server_2025, 'FortiOS', 'PAN-OS', 'Linux Kernel'. With vendors set, 'Microsoft Windows' also works. |
| cwe_ids | array or null | no | CWE ids, any of them, e.g. ['CWE-79', 'CWE-787']. |
| severity | array or null | no | CVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL. |
| cvss_min | number or null | no | Lowest CVSS v3 base score, 0-10, e.g. 7.5. |
| cvss_max | number or null | no | Highest CVSS v3 base score, 0-10. |
| epss_min | number or null | no | Lowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set. |
| epss_percentile_min | number or null | no | Lowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set. |
| require_kev | boolean or null | no | true: only CVEs on CISA's Known Exploited Vulnerabilities list. |
| require_exploit | boolean or null | no | true: only CVEs with a public exploit or proof of concept. |
| ransomware_use | array or null | no | CISA KEV ransomware flag values, e.g. ['Known']. |
| keywords | array or null | no | Words or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass']. |
| notify_webhook | boolean | no | Send matches to your webhooks (all active ones, or webhook_id). |
| notify_email | boolean | no | Send matches by email to the account address. |
| notify_inapp | boolean | no | Show matches in the in-app bell and inbox. |
| webhook_id | integer or null | no | Send to this webhook only (GET /webhooks lists yours). |
| mssp_customer_id | integer or null | no | Scope the rule to one of your managed customers (Business). Omit for your own rule. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"cvss_min":7.5,"name":"Windows high and critical","notify_inapp":true,"notify_webhook":true,"products":["Windows"],"severity":["HIGH","CRITICAL"],"vendors":["Microsoft"]}' \
"https://threatcluster.io/api/public/v1/cve-alerts" Response fields
Same fields as GET /cve-alerts/{rule_uuid}.
Adds success (boolean, always true). Needs Starter or above and counts toward the plan's rule limit.
GET /cve-alerts
List your CVE alert rules
1 credit per call · scope alerts:read
Every CVE alert rule on your account (or one managed customer with mssp_customer_id), active and paused.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/cve-alerts"
Response fields
Rules are stored as rule-builder rules (see GET /rules), so each carries the full v2 fields plus rule_uuid, kind and the older filter fields. The older filter fields are left out when the rule uses a shape the older body cannot express (nested groups, none, other fields). Lists only rules whose source is cves.
| Field | Type | Meaning |
|---|---|---|
| rules | array | Your CVE rules, newest first |
| rules[].uuid | string | Rule id |
| rules[].name | string | Rule name |
| rules[].source | string | What the rule watches: stories, cves or darkweb |
| rules[].rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rules[].is_active | boolean | False when the rule is paused |
| rules[].notify_inapp | boolean | Send matches to in-app alerts |
| rules[].notify_webhook | boolean | Send matches to webhooks |
| rules[].notify_email | boolean | Send matches by email |
| rules[].notify_email_address | string or null | Address for email delivery |
| rules[].webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rules[].mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rules[].source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rules[].managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rules[].created_at | string | When the rule was created (ISO 8601) |
| rules[].updated_at | string or null | When the rule was last changed (ISO 8601) |
| rules[].description | string | The rule in plain English; empty string if it cannot be described |
| rules[].rule_uuid | string | Same value as uuid |
| rules[].kind | string | Always cve |
| rules[].match_logic | string | AND or OR; present only when the rule can be expressed in the older body |
| rules[].vendors | array | Vendor names (only when that filter is set) |
| rules[].products | array | Product names (only when set) |
| rules[].cwe_ids | array | CWE ids (only when set) |
| rules[].severity | array | Severities in upper case, e.g. HIGH, CRITICAL (only when set) |
| rules[].cvss_min | number | Minimum CVSS (only when set) |
| rules[].cvss_max | number | Maximum CVSS (only when set) |
| rules[].epss_min | number | Minimum EPSS score (only when set) |
| rules[].epss_percentile_min | number | Minimum EPSS percentile (only when set) |
| rules[].require_kev | boolean | True when the rule requires KEV listing (only when set) |
| rules[].require_exploit | boolean | True when the rule requires a public exploit (only when set) |
| rules[].ransomware_use | array | ["Known"] when the rule requires known ransomware use (only when set) |
| rules[].keywords | array | Keywords (only when set) |
| count | integer | Number of rules returned |
| mssp_customer_id | integer or null | The managed customer listed, or null |
Example response
An example of the shape; ids, names and values are illustrative.
{
"rules": [
{
"uuid": "1fc68e2e-7f8f-415b-8dcd-8efdfed98084",
"name": "Windows high and critical",
"is_active": true,
"match_logic": "AND",
"vendors": [
"microsoft"
],
"products": [
"windows"
],
"severity": [
"HIGH",
"CRITICAL"
],
"cvss_min": 7.5,
"notify_inapp": true,
"notify_webhook": true,
"notify_email": false,
"created_at": "2026-11-24T10:00:00+00:00",
"updated_at": "2026-11-24T10:00:00+00:00"
}
],
"count": 1
}GET /alert-rules/{rule_uuid}
Get one alert rule
1 credit per call · scope alerts:read
One rule, by its uuid (an older rule's uuid finds the rule it was moved to).
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /alert-rules. |
Request
curl -H "X-API-Key: $TC_KEY" \
"https://threatcluster.io/api/public/v1/alert-rules/{rule_uuid}" Response fields
Rules are stored as rule-builder rules (see GET /rules), so each carries the full v2 fields plus rule_uuid, kind and the older filter fields. The older filter fields are left out when the rule uses a shape the older body cannot express (nested groups, none, other fields). Only rules with source stories are found here; an older rule's uuid finds the rule it was moved to.
| Field | Type | Meaning |
|---|---|---|
| rule | object | The rule |
| rule.uuid | string | Rule id |
| rule.name | string | Rule name |
| rule.source | string | What the rule watches: stories, cves or darkweb |
| rule.rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rule.is_active | boolean | False when the rule is paused |
| rule.notify_inapp | boolean | Send matches to in-app alerts |
| rule.notify_webhook | boolean | Send matches to webhooks |
| rule.notify_email | boolean | Send matches by email |
| rule.notify_email_address | string or null | Address for email delivery |
| rule.webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rule.mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rule.source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rule.managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rule.created_at | string | When the rule was created (ISO 8601) |
| rule.updated_at | string or null | When the rule was last changed (ISO 8601) |
| rule.description | string | The rule in plain English; empty string if it cannot be described |
| rule.rule_uuid | string | Same value as uuid |
| rule.kind | string | Always entity |
| rule.logic_operator | string | AND or OR; present only when the rule can be expressed in the older body |
| rule.conditions | array | Older-style conditions, each entity_type, entity_value, match_type (exact or contains); present only when expressible |
PATCH /alert-rules/{rule_uuid}
Update an alert rule
1 credit per call · scope alerts:write
Change a rule. Only the fields sent change; for alert rules conditions replaces the whole set.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /alert-rules. |
Request body · AlertRuleUpdate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string or null | no | New rule name. |
| description | string or null | no | New description. |
| logic_operator | string or null | no | 'AND' or 'OR'. |
| conditions | array or null | no | Replaces the whole condition set: 1 or more {entity_type, entity_value}. |
| is_active | boolean or null | no | False pauses the rule. |
| notify_webhook | boolean or null | no | Deliver matches to your webhook(s). |
| notify_email | boolean or null | no | Deliver matches by email. |
| notify_email_address | string or null | no | Empty string clears it. |
| webhook_id | integer or null | no | 0 clears it. |
| mssp_customer_id | integer or null | no | The managed customer the rule belongs to, if not personal. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{}' \
"https://threatcluster.io/api/public/v1/alert-rules/{rule_uuid}" Response fields
Same fields as GET /alert-rules/{rule_uuid}.
Adds updated (boolean, always true).
DELETE /alert-rules/{rule_uuid}
Delete an alert rule
1 credit per call · scope alerts:write
Delete a rule. Alerts it already sent stay in GET /alerts.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /alert-rules. |
Request
curl -H "X-API-Key: $TC_KEY" -X DELETE \
"https://threatcluster.io/api/public/v1/alert-rules/{rule_uuid}" Response fields
| Field | Type | Meaning |
|---|---|---|
| rule_uuid | string | The uuid as given in the path (may be an older uuid) |
| deleted | boolean | Always true |
GET /cve-alerts/{rule_uuid}
Get one CVE alert rule
1 credit per call · scope alerts:read
One CVE alert rule by the uuid returned when it was created (also listed by GET /cve-alerts).
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /cve-alerts. |
Request
curl -H "X-API-Key: $TC_KEY" \
"https://threatcluster.io/api/public/v1/cve-alerts/{rule_uuid}" Response fields
Rules are stored as rule-builder rules (see GET /rules), so each carries the full v2 fields plus rule_uuid, kind and the older filter fields. The older filter fields are left out when the rule uses a shape the older body cannot express (nested groups, none, other fields). Only rules with source cves are found here; an older rule's uuid finds the rule it was moved to.
| Field | Type | Meaning |
|---|---|---|
| rule | object | The rule |
| rule.uuid | string | Rule id |
| rule.name | string | Rule name |
| rule.source | string | What the rule watches: stories, cves or darkweb |
| rule.rule | object | The rule definition: source and match (a group of mode all/any/none and items) |
| rule.is_active | boolean | False when the rule is paused |
| rule.notify_inapp | boolean | Send matches to in-app alerts |
| rule.notify_webhook | boolean | Send matches to webhooks |
| rule.notify_email | boolean | Send matches by email |
| rule.notify_email_address | string or null | Address for email delivery |
| rule.webhook_id | integer or null | Send to this webhook only; null for all your active webhooks |
| rule.mssp_customer_id | integer or null | Managed customer the rule belongs to; null for your own workspace |
| rule.source_feed_id | integer or null | Feed the rule follows, if any; such a rule's filters change on the feed, not here |
| rule.managed_by | string or null | Set when the rule is maintained by the platform (for example assets: rules from an asset import) |
| rule.created_at | string | When the rule was created (ISO 8601) |
| rule.updated_at | string or null | When the rule was last changed (ISO 8601) |
| rule.description | string | The rule in plain English; empty string if it cannot be described |
| rule.rule_uuid | string | Same value as uuid |
| rule.kind | string | Always cve |
| rule.match_logic | string | AND or OR; present only when the rule can be expressed in the older body |
| rule.vendors | array | Vendor names (only when that filter is set) |
| rule.products | array | Product names (only when set) |
| rule.cwe_ids | array | CWE ids (only when set) |
| rule.severity | array | Severities in upper case, e.g. HIGH, CRITICAL (only when set) |
| rule.cvss_min | number | Minimum CVSS (only when set) |
| rule.cvss_max | number | Maximum CVSS (only when set) |
| rule.epss_min | number | Minimum EPSS score (only when set) |
| rule.epss_percentile_min | number | Minimum EPSS percentile (only when set) |
| rule.require_kev | boolean | True when the rule requires KEV listing (only when set) |
| rule.require_exploit | boolean | True when the rule requires a public exploit (only when set) |
| rule.ransomware_use | array | ["Known"] when the rule requires known ransomware use (only when set) |
| rule.keywords | array | Keywords (only when set) |
Example response
An example of the shape; ids, names and values are illustrative.
{
"rule": {
"uuid": "1fc68e2e-7f8f-415b-8dcd-8efdfed98084",
"name": "Windows high and critical",
"is_active": true,
"match_logic": "AND",
"vendors": [
"microsoft"
],
"products": [
"windows"
],
"severity": [
"HIGH",
"CRITICAL"
],
"cvss_min": 7.5,
"notify_inapp": true,
"notify_webhook": true,
"notify_email": false,
"created_at": "2026-11-24T10:00:00+00:00",
"updated_at": "2026-11-24T10:00:00+00:00"
}
}PATCH /cve-alerts/{rule_uuid}
Update a CVE alert rule
1 credit per call · scope alerts:write
Change a CVE alert rule. Send only the fields to change; a list you send replaces the old list. {"is_active": false} pauses the rule without deleting it; {"is_active": true} resumes it.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /cve-alerts. |
Request body · CveAlertRuleUpdate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string or null | no | Rule name. |
| description | string or null | no | Optional note for your team. |
| is_active | boolean or null | no | false pauses the rule without deleting it. |
| match_logic | string or null | no | How the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one). |
| vendors | array or null | no | Vendor names, any of them. Written as you would say them: 'Microsoft', 'Palo Alto Networks', 'Fortinet'. Matching ignores case, spaces and punctuation; GET /cve-alerts/names lists the names found on CVEs. |
| products | array or null | no | Product names, any of them. A family name covers its versions: 'Windows' matches windows_11_24h2 and windows_server_2025, 'FortiOS', 'PAN-OS', 'Linux Kernel'. With vendors set, 'Microsoft Windows' also works. |
| cwe_ids | array or null | no | CWE ids, any of them, e.g. ['CWE-79', 'CWE-787']. |
| severity | array or null | no | CVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL. |
| cvss_min | number or null | no | Lowest CVSS v3 base score, 0-10, e.g. 7.5. |
| cvss_max | number or null | no | Highest CVSS v3 base score, 0-10. |
| epss_min | number or null | no | Lowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set. |
| epss_percentile_min | number or null | no | Lowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set. |
| require_kev | boolean or null | no | true: only CVEs on CISA's Known Exploited Vulnerabilities list. |
| require_exploit | boolean or null | no | true: only CVEs with a public exploit or proof of concept. |
| ransomware_use | array or null | no | CISA KEV ransomware flag values, e.g. ['Known']. |
| keywords | array or null | no | Words or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass']. |
| notify_email | boolean or null | no | Send matches by email to the account address. |
| notify_webhook | boolean or null | no | Send matches to your webhooks (all active ones, or webhook_id). |
| notify_inapp | boolean or null | no | Show matches in the in-app bell and inbox. |
| webhook_id | integer or null | no | Send to this webhook only (GET /webhooks lists yours). |
| mssp_customer_id | integer or null | no | Scope the rule to one of your managed customers (Business). Omit for your own rule. |
Request
curl -H "X-API-Key: $TC_KEY" -X PATCH \
-H "Content-Type: application/json" -d '{"cvss_min":8,"products":["Windows","Windows Server"]}' \
"https://threatcluster.io/api/public/v1/cve-alerts/{rule_uuid}" Response fields
Same fields as GET /cve-alerts/{rule_uuid}.
Adds updated (boolean, always true).
Example response
An example of the shape; ids, names and values are illustrative.
{
"rule": {
"uuid": "1fc68e2e-7f8f-415b-8dcd-8efdfed98084",
"name": "Windows high and critical",
"is_active": true,
"match_logic": "AND",
"vendors": [
"microsoft"
],
"products": [
"windows"
],
"severity": [
"HIGH",
"CRITICAL"
],
"cvss_min": 7.5,
"notify_inapp": true,
"notify_webhook": true,
"notify_email": false,
"created_at": "2026-11-24T10:00:00+00:00",
"updated_at": "2026-11-24T10:00:00+00:00"
},
"updated": true
}DELETE /cve-alerts/{rule_uuid}
Delete a CVE alert rule
1 credit per call · scope alerts:write
Delete a CVE alert rule. Alerts it already sent stay in GET /alerts. To stop it for a while instead, PATCH {"is_active": false}.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /cve-alerts. |
Request
curl -H "X-API-Key: $TC_KEY" -X DELETE \
"https://threatcluster.io/api/public/v1/cve-alerts/{rule_uuid}" Response fields
Same fields as DELETE /alert-rules/{rule_uuid}.
Example response
An example of the shape; ids, names and values are illustrative.
{
"rule_uuid": "1fc68e2e-7f8f-415b-8dcd-8efdfed98084",
"deleted": true
}GET /cve-alerts/names
Look up vendor and product names for CVE rules
1 credit per call · scope alerts:read
Vendor or product names as they appear on CVEs from the last two years, most CVEs first, with how many CVEs carry each. field is vendor or product; q is at least two characters; vendor narrows product names to that vendor. Rules match names however they are written ("Palo Alto Networks" = "paloaltonetworks", "Windows" covers every Windows version), so this is for finding the right name, not its exact spelling.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| field | query | string | no | vendor | vendor or product. |
| q | query | string | no | At least 2 characters of the name. | |
| vendor | query | string or null | no | With field=product: only products of this vendor. |
Request
curl -H "X-API-Key: $TC_KEY" \ "https://threatcluster.io/api/public/v1/cve-alerts/names"
Response fields
Returns at most 12 names; an empty list when q has fewer than two usable characters or the lookup fails.
| Field | Type | Meaning |
|---|---|---|
| names | array | Matching vendor or product names from CVEs of the last two years, most CVEs first |
| names[].name | string | The name, spelling variants merged into one entry |
| names[].cves | integer | Number of CVEs carrying the name |
Example response
An example of the shape; ids, names and values are illustrative.
{
"names": [
{
"name": "palo alto networks",
"cves": 80
},
{
"name": "cyberark software, a palo alto networks company",
"cves": 1
}
]
}POST /cve-alerts/preview
Preview CVE filters before creating a rule (sends nothing)
1 credit per call · scope alerts:read
Run a CVE rule's filters against the last 30 days without saving anything. Takes the same body as POST /cve-alerts (name may be anything). match_count is the total; matches lists the newest 25.
Request body · CveAlertRuleCreate
| Field | Type | Required | Meaning |
|---|---|---|---|
| name | string | yes | Rule name. |
| description | string or null | no | Optional note for your team. |
| match_logic | string or null | no | How the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one). |
| vendors | array or null | no | Vendor names, any of them. Written as you would say them: 'Microsoft', 'Palo Alto Networks', 'Fortinet'. Matching ignores case, spaces and punctuation; GET /cve-alerts/names lists the names found on CVEs. |
| products | array or null | no | Product names, any of them. A family name covers its versions: 'Windows' matches windows_11_24h2 and windows_server_2025, 'FortiOS', 'PAN-OS', 'Linux Kernel'. With vendors set, 'Microsoft Windows' also works. |
| cwe_ids | array or null | no | CWE ids, any of them, e.g. ['CWE-79', 'CWE-787']. |
| severity | array or null | no | CVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL. |
| cvss_min | number or null | no | Lowest CVSS v3 base score, 0-10, e.g. 7.5. |
| cvss_max | number or null | no | Highest CVSS v3 base score, 0-10. |
| epss_min | number or null | no | Lowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set. |
| epss_percentile_min | number or null | no | Lowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set. |
| require_kev | boolean or null | no | true: only CVEs on CISA's Known Exploited Vulnerabilities list. |
| require_exploit | boolean or null | no | true: only CVEs with a public exploit or proof of concept. |
| ransomware_use | array or null | no | CISA KEV ransomware flag values, e.g. ['Known']. |
| keywords | array or null | no | Words or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass']. |
| notify_webhook | boolean | no | Send matches to your webhooks (all active ones, or webhook_id). |
| notify_email | boolean | no | Send matches by email to the account address. |
| notify_inapp | boolean | no | Show matches in the in-app bell and inbox. |
| webhook_id | integer or null | no | Send to this webhook only (GET /webhooks lists yours). |
| mssp_customer_id | integer or null | no | Scope the rule to one of your managed customers (Business). Omit for your own rule. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
-H "Content-Type: application/json" -d '{"cvss_min":7.5,"name":"Windows high and critical","notify_inapp":true,"notify_webhook":true,"products":["Windows"],"severity":["HIGH","CRITICAL"],"vendors":["Microsoft"]}' \
"https://threatcluster.io/api/public/v1/cve-alerts/preview" Response fields
Nothing is saved or sent. matches holds the newest 25; match_count is the full total.
| Field | Type | Meaning |
|---|---|---|
| preview_window_days | integer | Always 30 |
| match_count | integer | CVEs matched in the window |
| matches | array | Newest matching CVEs, at most 25 |
| matches[].cve_id | string | CVE id |
| matches[].description | string or null | CVE description |
| matches[].published_date | string or null | Publication date (ISO 8601) |
| matches[].last_modified | string or null | Last modified date (ISO 8601) |
| matches[].cvss_v3_score | number or null | CVSS v3 base score |
| matches[].cvss_v3_severity | string or null | CVSS v3 severity |
| matches[].epss_score | number or null | EPSS score |
| matches[].epss_percentile | number or null | EPSS percentile |
| matches[].in_kev | boolean or null | On the CISA KEV list |
| matches[].kev_due_date | string or null | KEV due date (ISO 8601) |
| matches[].has_exploit | boolean or null | A public exploit is known |
| matches[].exploit_count | integer or null | Number of known exploits |
| matches[].ransomware_use | string or null | KEV ransomware-use value |
| matches[].affected_vendors | array | Vendor names on the CVE |
| matches[].affected_products | array | Product names on the CVE |
| matches[].cwe_ids | array | CWE ids on the CVE |
Example response
An example of the shape; ids, names and values are illustrative.
{
"preview_window_days": 30,
"match_count": 123,
"matches": [
{
"cve_id": "CVE-2026-97013",
"cvss_v3_score": 7.8,
"cvss_v3_severity": "HIGH",
"epss_percentile": 0.41,
"in_kev": false,
"has_exploit": false,
"published_date": "2026-11-12T18:15:00",
"affected_vendors": [
"microsoft"
],
"affected_products": [
"windows_11_24h2",
"windows_server_2025"
],
"description": "Access of resource using incompatible type ('type confusion') in Windows Shell allows an authorized attacker to elevate privileges locally."
}
]
}POST /alert-rules/{rule_uuid}/send-test
Fire a test notification to the rule's webhooks
1 credit per call · scope alerts:write
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /rules or GET /alert-rules. | |
| mssp_customer_id | query | integer or null | no | Business: act for one managed customer (its id from GET /mssp/customers). Omit for your own workspace. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
"https://threatcluster.io/api/public/v1/alert-rules/{rule_uuid}/send-test" Response fields
Delivers a test alert_rule_match payload to the rule's webhook (or every active webhook in the rule's scope when the rule has none pinned); 400 when there is none. Email is not sent. Signing: when the webhook has a secret and webhook_type is json, the request carries X-ThreatCluster-Signature: sha256=<hex>, an HMAC-SHA256 of the raw JSON body keyed with the secret. Slack, Discord and Teams deliveries are reformatted and not signed.
| Field | Type | Meaning |
|---|---|---|
| rule_uuid | string | The rule, as given in the path |
| sent | integer | Number of webhooks that accepted the test |
| results | array | One entry per webhook tried |
| results[].webhook_id | integer | Webhook id |
| results[].success | boolean | True when the receiver answered 200, 201, 202 or 204 |
| results[].status_code | integer | HTTP status returned (absent when sending failed) |
| results[].upstream_response | string | First 300 characters of the response (absent when sending failed) |
| results[].error | string | Only when sending failed: blocked_by_policy or the exception class name |
| string | Always not sent by this endpoint |
POST /alert-rules/{rule_uuid}/test
Dry-run a rule against the last 7 days (sends nothing)
1 credit per call · scope alerts:read
What the rule matched recently. Nothing is sent.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /alert-rules. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
"https://threatcluster.io/api/public/v1/alert-rules/{rule_uuid}/test" Response fields
Runs the rule over the last 7 days of stories; nothing is sent.
| Field | Type | Meaning |
|---|---|---|
| rule_uuid | string | The uuid as given in the path |
| rule_name | string | Rule name |
| window_days | integer | Always 7 |
| description | string | The rule in plain English |
| matching_clusters | array | Newest matching clusters, at most 10 |
| matching_clusters[].cluster_id | string | Cluster id |
| matching_clusters[].title | string or null | Cluster title |
| matching_clusters[].threat_score | number or null | Threat score |
| matching_clusters[].created_at | string or null | Cluster created time (ISO 8601) |
| total_matches | integer | Total matches in the window |
POST /cve-alerts/{rule_uuid}/test
Preview which CVEs from the last 30 days a rule matches
1 credit per call · scope alerts:read
Run a saved rule against the last 30 days of CVEs. Nothing is sent. match_count is the total; matches lists the newest 25. To try filters before saving, use POST /cve-alerts/preview.
Rules made here are stored as rule-builder rules: they also appear in GET /rules, where they can use AND / OR / NOT groups and more fields.
Parameters
| Name | In | Type | Required | Default | Meaning |
|---|---|---|---|---|---|
| rule_uuid | path | string | yes | Rule UUID, from GET /cve-alerts. |
Request
curl -H "X-API-Key: $TC_KEY" -X POST \
"https://threatcluster.io/api/public/v1/cve-alerts/{rule_uuid}/test" Response fields
Runs the rule over the last 30 days of CVEs; nothing is sent. Fewer columns than POST /cve-alerts/preview.
| Field | Type | Meaning |
|---|---|---|
| rule_uuid | string | The uuid as given in the path |
| preview_window_days | integer | Always 30 |
| description | string | The rule in plain English |
| matches | array | Newest matching CVEs, at most 25 |
| matches[].cve_id | string | CVE id |
| matches[].cvss_v3_score | number or null | CVSS v3 score |
| matches[].cvss_v3_severity | string or null | CVSS v3 severity |
| matches[].epss_percentile | number or null | EPSS percentile |
| matches[].in_kev | boolean or null | On the CISA KEV list |
| matches[].has_exploit | boolean or null | A public exploit is known |
| matches[].published_date | string or null | Publication date (ISO 8601) |
| matches[].description | string or null | CVE description |
| match_count | integer | Total matches in the window |
Example response
An example of the shape; ids, names and values are illustrative.
{
"rule_uuid": "1fc68e2e-7f8f-415b-8dcd-8efdfed98084",
"preview_window_days": 30,
"match_count": 123,
"matches": [
{
"cve_id": "CVE-2026-97013",
"cvss_v3_score": 7.8,
"cvss_v3_severity": "HIGH",
"epss_percentile": 0.41,
"in_kev": false,
"has_exploit": false,
"published_date": "2026-11-12T18:15:00",
"affected_vendors": [
"microsoft"
],
"affected_products": [
"windows_11_24h2",
"windows_server_2025"
],
"description": "Access of resource using incompatible type ('type confusion') in Windows Shell allows an authorized attacker to elevate privileges locally."
}
]
}Errors
Errors are JSON with an error code and a message. A call refused for its key, scope or rate is not charged.
| Status | When |
|---|---|
| 400 | A parameter has the wrong form, for example invalid_since for a timestamp that is not ISO-8601. |
| 401 | The key is missing, wrong or revoked. |
| 403 insufficient_scope | The key lacks the scope this endpoint needs. The body names required_scope and the scopes the key has. |
| 403 lookback_exceeded | A free key asked for a record older than its 7-day window. |
| 404 | Nothing with that id. The credits are refunded and X-Request-Cost is 0. |
| 422 | The request body or a typed parameter failed validation; the body lists each field. |
| 429 | Too many calls a minute, or daily_budget_exceeded. Wait for the Retry-After seconds; the daily allowance refills at 00:00 UTC. |
Limits by plan
| Plan | Credits a day | Calls a minute | History | Rows a list |
|---|---|---|---|---|
| Free | 100 | 30 | Last 7 days | 10 |
| Starter | 1,000 | 120 | 90 days | 50 |
| Growth | 5,000 | 240 | Full archive | 100 |
| Business | 10,000, plus 10,000 per managed customer, pooled | 600 | Full archive | No cap |
Headers and credits are covered in conventions.
Things to know
Rules made through /alert-rules or /cve-alerts are stored as rule-builder rules too. Pick one API for a rule and edit it through that one.
Preview a rule with POST /rules/preview before saving it: a rule that matches hundreds of records a day will fill an inbox.
What the data can miss
A rule only sees records ThreatCluster has. A leak-site match is a claim by a ransomware group, not a confirmed breach.
Standards and sources
FAQ
Which rule endpoints should I use?
Use /rules, the rule builder, for new work. /alert-rules and /cve-alerts are the older shapes; rules made through them are stored as rule-builder rules too.
How do I check a rule before saving it?
POST /rules/preview and POST /cve-alerts/preview run the filters without saving or sending anything.
How do I verify a webhook came from ThreatCluster?
Set a secret on the webhook. Each call then carries X-ThreatCluster-Signature: sha256= followed by the HMAC-SHA256 of the raw body, which you recompute with the same secret.
Which plan do I need?
Alerts need the alerts:read and alerts:write scopes, on Starter and up.