Skip to content

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.

MethodPathCostScope
POST/rules1alerts:write
GET/rules1alerts:read
POST/webhooks1alerts:write
GET/webhooks1alerts:read
GET/rules/{rule_uuid}1alerts:read
PATCH/rules/{rule_uuid}1alerts:write
DELETE/rules/{rule_uuid}1alerts:write
GET/rules/fields1alerts:read
POST/rules/preview1alerts:read
PATCH/webhooks/{webhook_id}1alerts:write
DELETE/webhooks/{webhook_id}1alerts:write
POST/webhooks/{webhook_id}/test1alerts: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

NameInTypeRequiredDefaultMeaning
mssp_customer_idqueryinteger or nullnoBusiness: 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

NameInTypeRequiredDefaultMeaning
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
rulesarrayYour rules, newest first
rules[].uuidstringRule id
rules[].namestringRule name
rules[].sourcestringWhat the rule watches: stories, cves or darkweb
rules[].ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rules[].is_activebooleanFalse when the rule is paused
rules[].notify_inappbooleanSend matches to in-app alerts
rules[].notify_webhookbooleanSend matches to webhooks
rules[].notify_emailbooleanSend matches by email
rules[].notify_email_addressstring or nullAddress for email delivery
rules[].webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rules[].mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rules[].source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rules[].managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rules[].created_atstringWhen the rule was created (ISO 8601)
rules[].updated_atstring or nullWhen the rule was last changed (ISO 8601)
rules[].descriptionstringThe rule in plain English; empty string if it cannot be described
countintegerNumber of rules returned

POST /webhooks

Create a webhook (HTTPS, port 443, public host)

1 credit per call · scope alerts:write

Request body · WebhookCreatePublic

FieldTypeRequiredMeaning
webhook_urlstringyesHTTPS URL on port 443; internal and private hosts are rejected.
webhook_typestringnojson | slack | discord | teams
secret_keystring or nullnoOptional HMAC-SHA256 secret; json deliveries carry X-ThreatCluster-Signature.
namestring or nullnoYour label for the webhook.
mssp_customer_idinteger or nullnoBusiness: 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.

FieldTypeMeaning
webhookobjectThe new webhook
webhook.idintegerWebhook id
webhook.namestring or nullYour label for the webhook
webhook.webhook_urlstringDelivery URL
webhook.webhook_typestringPayload format: json, slack, discord or teams
webhook.is_activebooleanWhether the webhook receives deliveries
webhook.mssp_customer_idinteger or nullManaged customer the webhook belongs to; null for your own workspace
webhook.created_atstringWhen the webhook was created (ISO 8601)
webhook.has_secretbooleanWhether a signing secret is set; the secret itself is never returned
webhook.scopestringmssp_customer when tied to a managed customer, otherwise personal

GET /webhooks

List your webhooks

1 credit per call · scope alerts:read

Parameters

NameInTypeRequiredDefaultMeaning
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
webhooksarrayYour webhooks, newest first
webhooks[].idintegerWebhook id
webhooks[].namestring or nullYour label for the webhook
webhooks[].webhook_urlstringDelivery URL
webhooks[].webhook_typestringPayload format: json, slack, discord or teams
webhooks[].is_activebooleanWhether the webhook receives deliveries
webhooks[].mssp_customer_idinteger or nullManaged customer the webhook belongs to; null for your own workspace
webhooks[].created_atstringWhen the webhook was created (ISO 8601)
webhooks[].last_triggered_atstring or nullWhen the webhook was last sent to (ISO 8601)
webhooks[].failure_countintegerCount of failed deliveries recorded for the webhook
webhooks[].has_secretbooleanWhether a signing secret is set; the secret itself is never returned
webhooks[].scopestringmssp_customer when tied to a managed customer, otherwise personal
countintegerNumber of webhooks returned
mssp_customer_idinteger or nullThe 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule UUID, from GET /rules.

Request

curl -H "X-API-Key: $TC_KEY" \
  "https://threatcluster.io/api/public/v1/rules/{rule_uuid}"

Response fields

FieldTypeMeaning
ruleobjectThe rule
rule.uuidstringRule id
rule.namestringRule name
rule.sourcestringWhat the rule watches: stories, cves or darkweb
rule.ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rule.is_activebooleanFalse when the rule is paused
rule.notify_inappbooleanSend matches to in-app alerts
rule.notify_webhookbooleanSend matches to webhooks
rule.notify_emailbooleanSend matches by email
rule.notify_email_addressstring or nullAddress for email delivery
rule.webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rule.mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rule.source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rule.managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rule.created_atstringWhen the rule was created (ISO 8601)
rule.updated_atstring or nullWhen the rule was last changed (ISO 8601)
rule.descriptionstringThe 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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

FieldTypeMeaning
rule_uuidstringThe deleted rule's id, as given in the path
deletedbooleanAlways 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

FieldTypeMeaning
sourcesarrayRule sources: stories, cves, darkweb
fieldsobjectFields per source, keyed by source name
fields.<source>[].keystringField key used in a condition's field
fields.<source>[].labelstringHuman label
fields.<source>[].kindstringentity, text, number, choice or flag
fields.<source>[].opsarrayOperators the field accepts
fields.<source>[].choicesarrayAllowed values; only on fields with fixed choices
fields.<source>[].minnumberLowest value; only on number fields
fields.<source>[].maxnumberHighest value; only on number fields
max_conditionsintegerMost conditions a rule may hold (50)
max_depthintegerDeepest 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.

FieldTypeMeaning
sourcestringstories, cves or darkweb
daysintegerWindow in days (30)
match_countintegerTotal matches in the window
matchesarrayNewest matches, at most 25
matches[].idstringCluster id (stories), CVE id (cves) or victim id (darkweb; integer)
matches[].titlestring or nullCluster title, CVE description, or victim name
matches[].atstring or nullCluster created time, CVE published date, or victim discovered time (ISO 8601)
matches[].slugstring or nullstories only: cluster slug
matches[].threat_scorenumber or nullstories only: threat score
matches[].article_countinteger or nullstories only: number of articles
matches[].cvss_v3_scorenumber or nullcves only
matches[].cvss_v3_severitystring or nullcves only
matches[].in_kevboolean or nullcves only
matches[].has_exploitboolean or nullcves only
matches[].epss_percentilenumber or nullcves only
matches[].group_namestring or nulldarkweb only: ransomware group
matches[].countrystring or nulldarkweb only
matches[].sectorstring or nulldarkweb only
matches[].websitestring or nulldarkweb only: victim website
descriptionstringThe 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

NameInTypeRequiredDefaultMeaning
webhook_idpathintegeryesWebhook id, from GET /webhooks.

Request body · WebhookUpdatePublic

FieldTypeRequiredMeaning
webhook_urlstring or nullnoNew HTTPS URL on port 443.
webhook_typestring or nullnojson | slack | discord | teams
secret_keystring or nullnoNew HMAC-SHA256 secret for json deliveries.
is_activeboolean or nullnoFalse pauses deliveries to this webhook.
namestring or nullnoYour label for the webhook.
mssp_customer_idinteger or nullnoBusiness: 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.

FieldTypeMeaning
webhookobjectThe updated webhook
webhook.idintegerWebhook id
webhook.namestring or nullYour label for the webhook
webhook.webhook_urlstringDelivery URL
webhook.webhook_typestringPayload format: json, slack, discord or teams
webhook.is_activebooleanWhether the webhook receives deliveries
webhook.mssp_customer_idinteger or nullManaged customer the webhook belongs to; null for your own workspace
webhook.created_atstringWhen the webhook was created (ISO 8601)
webhook.last_triggered_atstring or nullWhen the webhook was last sent to (ISO 8601)
webhook.failure_countintegerCount of failed deliveries recorded for the webhook
webhook.has_secretbooleanWhether a signing secret is set; the secret itself is never returned
webhook.scopestringmssp_customer when tied to a managed customer, otherwise personal
updatedbooleanAlways true

DELETE /webhooks/{webhook_id}

Delete a webhook

1 credit per call · scope alerts:write

Parameters

NameInTypeRequiredDefaultMeaning
webhook_idpathintegeryesWebhook id, from GET /webhooks.
mssp_customer_idqueryinteger or nullnoBusiness: 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

FieldTypeMeaning
webhook_idintegerThe deleted webhook's id
deletedbooleanAlways true

POST /webhooks/{webhook_id}/test

Send a test payload to a webhook

1 credit per call · scope alerts:write

Parameters

NameInTypeRequiredDefaultMeaning
webhook_idpathintegeryesWebhook id, from GET /webhooks.
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
webhook_idintegerThe webhook tested
successbooleanTrue when the receiver answered 200, 201, 202 or 204
status_codeintegerHTTP status the receiver returned
upstream_responsestringFirst 300 characters of the receiver's response body
errorstringOnly 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.

MethodPathCostScope
POST/alert-rules1alerts:write
GET/alert-rules1alerts:read
POST/cve-alerts1alerts:write
GET/cve-alerts1alerts:read
GET/alert-rules/{rule_uuid}1alerts:read
PATCH/alert-rules/{rule_uuid}1alerts:write
DELETE/alert-rules/{rule_uuid}1alerts:write
GET/cve-alerts/{rule_uuid}1alerts:read
PATCH/cve-alerts/{rule_uuid}1alerts:write
DELETE/cve-alerts/{rule_uuid}1alerts:write
GET/cve-alerts/names1alerts:read
POST/cve-alerts/preview1alerts:read
POST/alert-rules/{rule_uuid}/send-test1alerts:write
POST/alert-rules/{rule_uuid}/test1alerts:read
POST/cve-alerts/{rule_uuid}/test1alerts: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

FieldTypeRequiredMeaning
namestringyesRule name (required).
descriptionstring or nullnoOptional description.
logic_operatorstringno'AND' (all conditions) or 'OR' (any).
conditionsarrayyes1+ conditions, up to 50 on every plan (the rule builder's limit).
notify_webhookbooleannoDeliver matches to your webhook(s).
notify_emailbooleannoDeliver matches by email.
notify_email_addressstring or nullnoCustom email (must be your domain). Defaults to your account email.
webhook_idinteger or nullnoSpecific webhook id to route to (must be yours). Omit to use all.
mssp_customer_idinteger or nullnoScope 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

NameInTypeRequiredDefaultMeaning
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
rulesarrayYour story rules, newest first
rules[].uuidstringRule id
rules[].namestringRule name
rules[].sourcestringWhat the rule watches: stories, cves or darkweb
rules[].ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rules[].is_activebooleanFalse when the rule is paused
rules[].notify_inappbooleanSend matches to in-app alerts
rules[].notify_webhookbooleanSend matches to webhooks
rules[].notify_emailbooleanSend matches by email
rules[].notify_email_addressstring or nullAddress for email delivery
rules[].webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rules[].mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rules[].source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rules[].managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rules[].created_atstringWhen the rule was created (ISO 8601)
rules[].updated_atstring or nullWhen the rule was last changed (ISO 8601)
rules[].descriptionstringThe rule in plain English; empty string if it cannot be described
rules[].rule_uuidstringSame value as uuid
rules[].kindstringAlways entity
rules[].logic_operatorstringAND or OR; present only when the rule can be expressed in the older body
rules[].conditionsarrayOlder-style conditions, each entity_type, entity_value, match_type (exact or contains); present only when expressible
countintegerNumber of rules returned
mssp_customer_idinteger or nullThe 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

FieldTypeRequiredMeaning
namestringyesRule name.
descriptionstring or nullnoOptional note for your team.
match_logicstring or nullnoHow the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one).
vendorsarray or nullnoVendor 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.
productsarray or nullnoProduct 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_idsarray or nullnoCWE ids, any of them, e.g. ['CWE-79', 'CWE-787'].
severityarray or nullnoCVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL.
cvss_minnumber or nullnoLowest CVSS v3 base score, 0-10, e.g. 7.5.
cvss_maxnumber or nullnoHighest CVSS v3 base score, 0-10.
epss_minnumber or nullnoLowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set.
epss_percentile_minnumber or nullnoLowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set.
require_kevboolean or nullnotrue: only CVEs on CISA's Known Exploited Vulnerabilities list.
require_exploitboolean or nullnotrue: only CVEs with a public exploit or proof of concept.
ransomware_usearray or nullnoCISA KEV ransomware flag values, e.g. ['Known'].
keywordsarray or nullnoWords or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass'].
notify_webhookbooleannoSend matches to your webhooks (all active ones, or webhook_id).
notify_emailbooleannoSend matches by email to the account address.
notify_inappbooleannoShow matches in the in-app bell and inbox.
webhook_idinteger or nullnoSend to this webhook only (GET /webhooks lists yours).
mssp_customer_idinteger or nullnoScope 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

NameInTypeRequiredDefaultMeaning
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
rulesarrayYour CVE rules, newest first
rules[].uuidstringRule id
rules[].namestringRule name
rules[].sourcestringWhat the rule watches: stories, cves or darkweb
rules[].ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rules[].is_activebooleanFalse when the rule is paused
rules[].notify_inappbooleanSend matches to in-app alerts
rules[].notify_webhookbooleanSend matches to webhooks
rules[].notify_emailbooleanSend matches by email
rules[].notify_email_addressstring or nullAddress for email delivery
rules[].webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rules[].mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rules[].source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rules[].managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rules[].created_atstringWhen the rule was created (ISO 8601)
rules[].updated_atstring or nullWhen the rule was last changed (ISO 8601)
rules[].descriptionstringThe rule in plain English; empty string if it cannot be described
rules[].rule_uuidstringSame value as uuid
rules[].kindstringAlways cve
rules[].match_logicstringAND or OR; present only when the rule can be expressed in the older body
rules[].vendorsarrayVendor names (only when that filter is set)
rules[].productsarrayProduct names (only when set)
rules[].cwe_idsarrayCWE ids (only when set)
rules[].severityarraySeverities in upper case, e.g. HIGH, CRITICAL (only when set)
rules[].cvss_minnumberMinimum CVSS (only when set)
rules[].cvss_maxnumberMaximum CVSS (only when set)
rules[].epss_minnumberMinimum EPSS score (only when set)
rules[].epss_percentile_minnumberMinimum EPSS percentile (only when set)
rules[].require_kevbooleanTrue when the rule requires KEV listing (only when set)
rules[].require_exploitbooleanTrue when the rule requires a public exploit (only when set)
rules[].ransomware_usearray["Known"] when the rule requires known ransomware use (only when set)
rules[].keywordsarrayKeywords (only when set)
countintegerNumber of rules returned
mssp_customer_idinteger or nullThe 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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.

FieldTypeMeaning
ruleobjectThe rule
rule.uuidstringRule id
rule.namestringRule name
rule.sourcestringWhat the rule watches: stories, cves or darkweb
rule.ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rule.is_activebooleanFalse when the rule is paused
rule.notify_inappbooleanSend matches to in-app alerts
rule.notify_webhookbooleanSend matches to webhooks
rule.notify_emailbooleanSend matches by email
rule.notify_email_addressstring or nullAddress for email delivery
rule.webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rule.mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rule.source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rule.managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rule.created_atstringWhen the rule was created (ISO 8601)
rule.updated_atstring or nullWhen the rule was last changed (ISO 8601)
rule.descriptionstringThe rule in plain English; empty string if it cannot be described
rule.rule_uuidstringSame value as uuid
rule.kindstringAlways entity
rule.logic_operatorstringAND or OR; present only when the rule can be expressed in the older body
rule.conditionsarrayOlder-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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule UUID, from GET /alert-rules.

Request body · AlertRuleUpdate

FieldTypeRequiredMeaning
namestring or nullnoNew rule name.
descriptionstring or nullnoNew description.
logic_operatorstring or nullno'AND' or 'OR'.
conditionsarray or nullnoReplaces the whole condition set: 1 or more {entity_type, entity_value}.
is_activeboolean or nullnoFalse pauses the rule.
notify_webhookboolean or nullnoDeliver matches to your webhook(s).
notify_emailboolean or nullnoDeliver matches by email.
notify_email_addressstring or nullnoEmpty string clears it.
webhook_idinteger or nullno0 clears it.
mssp_customer_idinteger or nullnoThe 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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

FieldTypeMeaning
rule_uuidstringThe uuid as given in the path (may be an older uuid)
deletedbooleanAlways 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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.

FieldTypeMeaning
ruleobjectThe rule
rule.uuidstringRule id
rule.namestringRule name
rule.sourcestringWhat the rule watches: stories, cves or darkweb
rule.ruleobjectThe rule definition: source and match (a group of mode all/any/none and items)
rule.is_activebooleanFalse when the rule is paused
rule.notify_inappbooleanSend matches to in-app alerts
rule.notify_webhookbooleanSend matches to webhooks
rule.notify_emailbooleanSend matches by email
rule.notify_email_addressstring or nullAddress for email delivery
rule.webhook_idinteger or nullSend to this webhook only; null for all your active webhooks
rule.mssp_customer_idinteger or nullManaged customer the rule belongs to; null for your own workspace
rule.source_feed_idinteger or nullFeed the rule follows, if any; such a rule's filters change on the feed, not here
rule.managed_bystring or nullSet when the rule is maintained by the platform (for example assets: rules from an asset import)
rule.created_atstringWhen the rule was created (ISO 8601)
rule.updated_atstring or nullWhen the rule was last changed (ISO 8601)
rule.descriptionstringThe rule in plain English; empty string if it cannot be described
rule.rule_uuidstringSame value as uuid
rule.kindstringAlways cve
rule.match_logicstringAND or OR; present only when the rule can be expressed in the older body
rule.vendorsarrayVendor names (only when that filter is set)
rule.productsarrayProduct names (only when set)
rule.cwe_idsarrayCWE ids (only when set)
rule.severityarraySeverities in upper case, e.g. HIGH, CRITICAL (only when set)
rule.cvss_minnumberMinimum CVSS (only when set)
rule.cvss_maxnumberMaximum CVSS (only when set)
rule.epss_minnumberMinimum EPSS score (only when set)
rule.epss_percentile_minnumberMinimum EPSS percentile (only when set)
rule.require_kevbooleanTrue when the rule requires KEV listing (only when set)
rule.require_exploitbooleanTrue when the rule requires a public exploit (only when set)
rule.ransomware_usearray["Known"] when the rule requires known ransomware use (only when set)
rule.keywordsarrayKeywords (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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule UUID, from GET /cve-alerts.

Request body · CveAlertRuleUpdate

FieldTypeRequiredMeaning
namestring or nullnoRule name.
descriptionstring or nullnoOptional note for your team.
is_activeboolean or nullnofalse pauses the rule without deleting it.
match_logicstring or nullnoHow the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one).
vendorsarray or nullnoVendor 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.
productsarray or nullnoProduct 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_idsarray or nullnoCWE ids, any of them, e.g. ['CWE-79', 'CWE-787'].
severityarray or nullnoCVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL.
cvss_minnumber or nullnoLowest CVSS v3 base score, 0-10, e.g. 7.5.
cvss_maxnumber or nullnoHighest CVSS v3 base score, 0-10.
epss_minnumber or nullnoLowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set.
epss_percentile_minnumber or nullnoLowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set.
require_kevboolean or nullnotrue: only CVEs on CISA's Known Exploited Vulnerabilities list.
require_exploitboolean or nullnotrue: only CVEs with a public exploit or proof of concept.
ransomware_usearray or nullnoCISA KEV ransomware flag values, e.g. ['Known'].
keywordsarray or nullnoWords or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass'].
notify_emailboolean or nullnoSend matches by email to the account address.
notify_webhookboolean or nullnoSend matches to your webhooks (all active ones, or webhook_id).
notify_inappboolean or nullnoShow matches in the in-app bell and inbox.
webhook_idinteger or nullnoSend to this webhook only (GET /webhooks lists yours).
mssp_customer_idinteger or nullnoScope 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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

NameInTypeRequiredDefaultMeaning
fieldquerystringnovendorvendor or product.
qquerystringnoAt least 2 characters of the name.
vendorquerystring or nullnoWith 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.

FieldTypeMeaning
namesarrayMatching vendor or product names from CVEs of the last two years, most CVEs first
names[].namestringThe name, spelling variants merged into one entry
names[].cvesintegerNumber 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

FieldTypeRequiredMeaning
namestringyesRule name.
descriptionstring or nullnoOptional note for your team.
match_logicstring or nullnoHow the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one).
vendorsarray or nullnoVendor 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.
productsarray or nullnoProduct 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_idsarray or nullnoCWE ids, any of them, e.g. ['CWE-79', 'CWE-787'].
severityarray or nullnoCVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL.
cvss_minnumber or nullnoLowest CVSS v3 base score, 0-10, e.g. 7.5.
cvss_maxnumber or nullnoHighest CVSS v3 base score, 0-10.
epss_minnumber or nullnoLowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set.
epss_percentile_minnumber or nullnoLowest EPSS percentile, 0-1 (0.95 = the top 5%). CVEs without an EPSS score yet do not match while this is set.
require_kevboolean or nullnotrue: only CVEs on CISA's Known Exploited Vulnerabilities list.
require_exploitboolean or nullnotrue: only CVEs with a public exploit or proof of concept.
ransomware_usearray or nullnoCISA KEV ransomware flag values, e.g. ['Known'].
keywordsarray or nullnoWords or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass'].
notify_webhookbooleannoSend matches to your webhooks (all active ones, or webhook_id).
notify_emailbooleannoSend matches by email to the account address.
notify_inappbooleannoShow matches in the in-app bell and inbox.
webhook_idinteger or nullnoSend to this webhook only (GET /webhooks lists yours).
mssp_customer_idinteger or nullnoScope 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.

FieldTypeMeaning
preview_window_daysintegerAlways 30
match_countintegerCVEs matched in the window
matchesarrayNewest matching CVEs, at most 25
matches[].cve_idstringCVE id
matches[].descriptionstring or nullCVE description
matches[].published_datestring or nullPublication date (ISO 8601)
matches[].last_modifiedstring or nullLast modified date (ISO 8601)
matches[].cvss_v3_scorenumber or nullCVSS v3 base score
matches[].cvss_v3_severitystring or nullCVSS v3 severity
matches[].epss_scorenumber or nullEPSS score
matches[].epss_percentilenumber or nullEPSS percentile
matches[].in_kevboolean or nullOn the CISA KEV list
matches[].kev_due_datestring or nullKEV due date (ISO 8601)
matches[].has_exploitboolean or nullA public exploit is known
matches[].exploit_countinteger or nullNumber of known exploits
matches[].ransomware_usestring or nullKEV ransomware-use value
matches[].affected_vendorsarrayVendor names on the CVE
matches[].affected_productsarrayProduct names on the CVE
matches[].cwe_idsarrayCWE 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule UUID, from GET /rules or GET /alert-rules.
mssp_customer_idqueryinteger or nullnoBusiness: 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.

FieldTypeMeaning
rule_uuidstringThe rule, as given in the path
sentintegerNumber of webhooks that accepted the test
resultsarrayOne entry per webhook tried
results[].webhook_idintegerWebhook id
results[].successbooleanTrue when the receiver answered 200, 201, 202 or 204
results[].status_codeintegerHTTP status returned (absent when sending failed)
results[].upstream_responsestringFirst 300 characters of the response (absent when sending failed)
results[].errorstringOnly when sending failed: blocked_by_policy or the exception class name
emailstringAlways 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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.

FieldTypeMeaning
rule_uuidstringThe uuid as given in the path
rule_namestringRule name
window_daysintegerAlways 7
descriptionstringThe rule in plain English
matching_clustersarrayNewest matching clusters, at most 10
matching_clusters[].cluster_idstringCluster id
matching_clusters[].titlestring or nullCluster title
matching_clusters[].threat_scorenumber or nullThreat score
matching_clusters[].created_atstring or nullCluster created time (ISO 8601)
total_matchesintegerTotal 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

NameInTypeRequiredDefaultMeaning
rule_uuidpathstringyesRule 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.

FieldTypeMeaning
rule_uuidstringThe uuid as given in the path
preview_window_daysintegerAlways 30
descriptionstringThe rule in plain English
matchesarrayNewest matching CVEs, at most 25
matches[].cve_idstringCVE id
matches[].cvss_v3_scorenumber or nullCVSS v3 score
matches[].cvss_v3_severitystring or nullCVSS v3 severity
matches[].epss_percentilenumber or nullEPSS percentile
matches[].in_kevboolean or nullOn the CISA KEV list
matches[].has_exploitboolean or nullA public exploit is known
matches[].published_datestring or nullPublication date (ISO 8601)
matches[].descriptionstring or nullCVE description
match_countintegerTotal 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.

StatusWhen
400A parameter has the wrong form, for example invalid_since for a timestamp that is not ISO-8601.
401The key is missing, wrong or revoked.
403 insufficient_scopeThe key lacks the scope this endpoint needs. The body names required_scope and the scopes the key has.
403 lookback_exceededA free key asked for a record older than its 7-day window.
404Nothing with that id. The credits are refunded and X-Request-Cost is 0.
422The request body or a typed parameter failed validation; the body lists each field.
429Too 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

PlanCredits a dayCalls a minuteHistoryRows a list
Free10030Last 7 days10
Starter1,00012090 days50
Growth5,000240Full archive100
Business10,000, plus 10,000 per managed customer, pooled600Full archiveNo 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.