{"openapi":"3.1.0","info":{"title":"ThreatCluster Public API","description":"\n## ThreatCluster Public API\n\nProgrammatic access to threat intelligence data.\n\n### Authentication\n\nAll endpoints require an API key passed via the `X-API-Key` header:\n\n```\nX-API-Key: tc_live_your_api_key_here\n```\n\nEvery account — including **Free** — can mint a key in [Settings → API](/settings#api).\nNo card needed. Overview, quickstart and examples: [threatcluster.io/api](/api).\nClient examples and an OpenAPI snapshot: [github.com/Jam0k/Cyber-Threat-Intelligence-API](https://github.com/Jam0k/Cyber-Threat-Intelligence-API).\n\n### Plans, scopes and rate limits\n\nKeys carry scopes; each endpoint declares the scope it needs (a `403 insufficient_scope`\ntells you which). Budgets are per key.\n\n| Plan | Requests | Scopes on a new key |\n|------|----------|---------------------|\n| Free | 30 / min, **100 credits / day** | `threats:read` `iocs:read` `entities:read` `vulns:read` `darkweb:read` |\n| Starter | 120 / min, 1,000 credits / day | + `feeds:read` `feeds:write` `alerts:read` `alerts:write` |\n| Growth | 240 / min, 5,000 credits / day | same as Starter |\n| Business / MSSP | 600 / min, 10,000 credits / day + 10,000 per managed customer | all scopes (+ `mssp:*`) |\n\n**Free keys see a 7-day window and spend a weighted daily budget.** Time filters are clamped to the\nwindow (`time_filter` ≤ 7d, `hours` ≤ 168, `days` ≤ 7, `weeks` ≤ 1), by-id lookups of older records return\n`403 lookback_exceeded`, list requests return at most 10 rows (`X-TC-Clamped` and a `notice` say when a request was cut), and rows are trimmed: the short summary (not\nthe enhanced one), threat score + urgency (not the sub-scores or severity reasoning), a 3-event timeline,\nsource links without article bodies, secondary lists capped at 10.\n\nThe daily allowance is **100 credits**, not 100 requests. Records and lists cost 1; bulk and fan-out\nrequests (IOC feed and export, STIX bundles, dark-web keyword hits and trends) cost 3; `/search` costs 5;\na dark-web victim enrichment record costs 10. Every budgeted response\ncarries `X-Request-Cost`; free keys also get `X-RateLimit-Limit`, `X-RateLimit-Remaining` and\n`X-RateLimit-Reset` (next 00:00 UTC) so a script or an agent can pace itself. A request that finds nothing costs nothing:\nan empty `/search`, an empty keyword sweep or a 404 lookup refunds its credits and returns\n`X-Request-Cost: 0`. Exhausting the budget returns\n`429 daily_budget_exceeded` with `Retry-After`. Responses carry `\"tier\": \"free\"` and `\"lookback_days\": 7`\nso you can tell. Starter gets the full record, 90 days of history and 1,000 credits a day; Growth\ngets full history and 5,000. Business is a pooled budget: 10,000 a day for your own org plus\n10,000 per managed customer. Credit packs cover the overage on any plan.\n\n**Start with `GET /search?q=<term>`** — one call across clusters, entities and the dark web; chain the\n`short_id` / `entity_type` + `entity_value` it returns into the detail endpoints.\n\nOver budget returns `429` with a `Retry-After` header. Per-key overrides above the plan\nceiling are available for platform integrations — contact hello@threatcluster.io.\n\n### Base URL\n\n```\nhttps://threatcluster.io/api/public/v1\n```\n        ","version":"1.0.0"},"paths":{"/api/public/v1/search":{"get":{"tags":["threats"],"summary":"Search clusters, entities and the dark web in one call","description":"One query across the corpus. Case-insensitive substring match on cluster\ntitles and summaries, entity names, and dark-web victims, groups, markets,\nbreaches and underground sites. The same fan-out the site's search box\nuses.\n\nQuery parameters:\n- q: Search term (min 2 characters)\n- limit: Max hits per bucket (default 10, max 20; free keys 10)\n- days: Only hits dated within the last N days (clusters, articles,\n  victims, breaches, underground). Default: no window. Free keys: 7.\n- include_articles: Also return individual articles whose title matches\n  (default false; clusters are the primary unit, articles are noisier)\n\nReturns buckets: clusters (same shape as GET /threats, chain the short_id\nto /threats/{id}), entities (pass entity_type + entity_value to\n/entities/{type}/{value}), darkweb (typed hits: victim, group, market,\nbreach, underground, underground_victim) and, on request, articles.\n\nResults are most-recent first within each bucket.\n\nFree keys: the window is fixed at 7 days and clusters are trimmed like\n/threats.","operationId":"public_search_api_public_v1_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","title":"Days"}},{"name":"include_articles","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Articles"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats":{"get":{"tags":["threats"],"summary":"List threat clusters","description":"Get threat clusters.\n\nQuery parameters:\n- limit: Max results (default: 50, max: 100)\n- offset: Pagination offset\n- time_filter: 1h, 24h, 7d, 30d (default: 7d)\n- sort_by: trending, new (default: trending)\n- keyword: Optional keyword filter\n- ingested_since: ISO-8601 timestamp; rows that arrived or changed in our store after it, whatever their story date. Use this for a cursor set to the poll time.\n- since: ISO-8601 timestamp; return only clusters with reporting newer than\n  this. Intended for pollers: ask for a window that comfortably covers your\n  interval, pass the newest timestamp you saw last run, and you are billed\n  for one call instead of re-reading the whole window.\n\nReturns list of threat clusters with entities.","operationId":"public_get_threats_api_public_v1_threats_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Time Filter"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","default":"trending","title":"Sort By"}},{"name":"keyword","in":"query","required":false,"schema":{"type":"string","title":"Keyword"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}},{"name":"early_signal","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Early Signal"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/early-warning":{"get":{"tags":["threats"],"summary":"Early warning: single-source disclosures before the press covers them","description":"Early-warning clusters: stories that currently rest on ONE trusted source\n(a researcher disclosure, a vendor advisory, a CERT notice, a Hacker News\nwarning) and would otherwise wait for a second publisher before getting a\npage. `early_signal` is true while that is still the case; the cluster\nstays in this list after corroboration, since it started here.\n\nSame shape and parameters as /threats, newest first. Costs the same as a\n/threats call.","operationId":"public_get_early_warning_api_public_v1_early_warning_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Time Filter"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/breaking":{"get":{"tags":["threats"],"summary":"Breaking: stories independent sources piled onto within hours","description":"Breaking clusters: stories that five or more independent sources picked\nup within three hours of the first report (ten within six), carrying a\nthreat entity and passing an event check (cluster/breaking.py). Stamped\nonce, at detection, a median of six hours after the earliest article;\n`breaking_at` is that moment and `breaking_reason` says why. Newest\nstamp first. Same shape and cost as a /threats call.","operationId":"public_get_breaking_api_public_v1_breaking_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Time Filter"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats/{identifier}":{"get":{"tags":["threats"],"summary":"Threat cluster detail","description":"Get a single threat cluster by ID.\n\nPath parameters:\n- identifier: Full UUID or 8-char short ID\n\nReturns threat cluster with articles and entities.","operationId":"public_get_threat_api_public_v1_threats__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats/{identifier}/iocs":{"get":{"tags":["threats"],"summary":"Threat cluster IOCs","description":"Export IOCs from a threat cluster.\n\nPath parameters:\n- identifier: Cluster ID or short ID\n\nQuery parameters:\n- types: Comma-separated (ip, domain, url, hash, email, all) - default: all\n- format: json, csv, txt (default: json)\n\nReturns IOCs in requested format.","operationId":"public_export_threat_iocs_api_public_v1_threats__identifier__iocs_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}},{"name":"types","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Types"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"json","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatIocsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/iocs/export":{"get":{"tags":["iocs"],"summary":"Bulk IOC export (txt/csv/json)","description":"Export all IOCs across clusters, with confidence filtering.\n\nQuery parameters:\n- types: IOC types to include (ip, domain, hash, email, all) - default: all\n- format: Output format (txt, csv, json) - default: txt\n- confidence: \"confirmed\" (high+medium), \"high\", \"medium\", \"all\" (= confirmed), \"false_positive\" - default: confirmed.\n  Low-confidence and unvalidated IOCs are website-only and never exported.\n- hours: Time window in hours (default 720 = 30 days)\n- category: comma-separated IOC categories, such as phishing,c2. List them at /iocs/categories.\n\nReturns IOCs in requested format.\n\nStarter and up, like /iocs/feed (22 Nov 2026): a free key's first refused\ncall can start its 7-day Starter trial (and is then served). `hours` is\ncapped by the plan's archive depth (Starter 90 days; it was only ever\ncapped for free).","operationId":"public_export_bulk_iocs_api_public_v1_iocs_export_get","parameters":[{"name":"types","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Types"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"txt","title":"Format"}},{"name":"confidence","in":"query","required":false,"schema":{"type":"string","default":"confirmed","title":"Confidence"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":720,"title":"Hours"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/iocs/feed":{"get":{"tags":["iocs"],"summary":"Live IOC feed for SIEM polling","description":"Live IOC feed for automated polling by SIEMs, firewalls, and TIPs.\n\nReturns data inline (no download) with caching headers for efficient polling.\n\nQuery parameters:\n- types: IOC types (all, ip, domain, hash, email) - default: all\n- format: txt, csv, json, stix - default: txt\n- confidence: confirmed (high+medium), high, medium, all (= confirmed), false_positive - default: confirmed.\n  Low-confidence and unvalidated IOCs are website-only and never exported.\n- hours: Time window in hours (default 720 = 30 days)\n- since: ISO-8601 timestamp; the window starts there instead (SIEM pollers). JSON rows carry first_seen/last_seen.\n- enrich: (json only) attach the clusters + sources each IOC was seen in (up to 5 each)\n- threat_score: (requires enrich) include each cluster's threat-score breakdown\n- related_entities: (requires enrich) attach co-occurring attribution entities per IOC\n- category: comma-separated IOC categories, such as phishing,c2. List them at /iocs/categories.","operationId":"public_ioc_feed_api_public_v1_iocs_feed_get","parameters":[{"name":"types","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Types"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"txt","title":"Format"}},{"name":"confidence","in":"query","required":false,"schema":{"type":"string","default":"confirmed","title":"Confidence"}},{"name":"hours","in":"query","required":false,"schema":{"type":"integer","default":720,"title":"Hours"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}},{"name":"enrich","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Enrich"}},{"name":"threat_score","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Threat Score"}},{"name":"related_entities","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Related Entities"}},{"name":"category","in":"query","required":false,"schema":{"type":"string","title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/iocs/categories":{"get":{"tags":["iocs"],"summary":"IOC categories with live counts and feed links","description":"Every IOC category, with its description, 30-day counts by indicator type\nand feed links. Use a slug as the `category` filter on /iocs/feed and\n/iocs/export. Free: costs no credits.","operationId":"public_ioc_category_list_api_public_v1_iocs_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/v1/iocs/lookup":{"get":{"tags":["iocs"],"summary":"Reverse-lookup one indicator: the clusters that mention it","description":"Given an IOC value (IP, domain, hash, email, wallet), return the clusters\nthat mention it, newest first. The reputation command behind the SOAR\npacks (3 Nov 2026). Costs the default credit.\n\nQuery parameters:\n- value: IOC value to look up (required, min 3 chars). Case-insensitive.\n- entity_type: optional filter (ipv4, ipv6, domain, md5, sha1, sha256, email, btc, eth, xmr)\n- limit: max clusters to return (default 25, max 100)","operationId":"public_ioc_lookup_api_public_v1_iocs_lookup_get","parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}},{"name":"entity_type","in":"query","required":false,"schema":{"type":"string","title":"Entity Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/search":{"get":{"tags":["entities"],"summary":"Search entities","description":"Search entities.\n\nQuery parameters:\n- q: Search query\n- entity_type: Filter by type (optional)\n- limit: Max results (default: 20, max: 100)\n- offset: Skip N results for pagination (default: 0)\n- with_cve_count: Include a `cve_count` per entity (distinct CVEs co-occurring\n  with it). Adds a correlated subquery, so it's opt-in — leave off for\n  autocomplete/typeahead where latency matters.\n\nReturns matching entities with frequency data + pagination metadata\n(total, limit, offset) so consumers can page beyond the first 100.","operationId":"public_search_entities_api_public_v1_entities_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"entity_type","in":"query","required":false,"schema":{"type":"string","title":"Entity Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"with_cve_count","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"With Cve Count"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/{entity_type}/{entity_value}/related":{"get":{"tags":["entities"],"summary":"Related entities","description":"Get entities that co-occur in the same clusters as the target entity.\n\nPath parameters:\n- entity_type: Entity type (malware, apt-group, tool, campaign, etc.)\n- entity_value: Entity value (URL-encoded)\n\nQuery parameters:\n- limit: Max related entities (default 25, max 50)\n- sub: Include sub-relationships between related entities (default true)\n\nReturns related entities with shared cluster counts, plus pairwise sub-relationships.","operationId":"public_get_related_entities_api_public_v1_entities__entity_type___entity_value__related_get","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_value","in":"path","required":true,"schema":{"type":"string","title":"Entity Value"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"sub","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Sub"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RelatedEntitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/{entity_type}/{entity_value}/cooccurring-cves":{"get":{"tags":["entities"],"summary":"Co-occurring CVEs for an entity","description":"CVEs that co-occur with this entity in articles (mentioned alongside it),\nnewest-first and paginated. This is the full set the search endpoint's\n`cve_count` reports — use it to page through every co-occurring CVE, not the\ncapped co_entities bucket in the entity-detail response.\n\nQuery parameters:\n- page: Page number (default 1)\n- limit: Results per page (default 20, max 100)","operationId":"public_get_entity_cooccurring_cves_api_public_v1_entities__entity_type___entity_value__cooccurring_cves_get","parameters":[{"name":"entity_type","in":"path","required":true,"schema":{"type":"string","title":"Entity Type"}},{"name":"entity_value","in":"path","required":true,"schema":{"type":"string","title":"Entity Value"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CooccurringCvesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/{category}/{entity_value}/summary":{"get":{"tags":["entities"],"summary":"AI overview of an entity (stored)","operationId":"public_entity_summary_api_public_v1_entities__category___entity_value__summary_get","parameters":[{"name":"category","in":"path","required":true,"schema":{"type":"string","title":"Category"}},{"name":"entity_value","in":"path","required":true,"schema":{"type":"string","title":"Entity Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/company/{name}/darkweb-profile":{"get":{"tags":["darkweb"],"summary":"Leak-site sightings, clusters and articles for one company","operationId":"public_company_darkweb_profile_api_public_v1_entities_company__name__darkweb_profile_get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/{category}/{entity_value}":{"get":{"tags":["entities"],"summary":"Entity detail","description":"Get entity details with related clusters.\n\nPath parameters:\n- category: Entity type (cve, malware, apt-group, etc.)\n- entity_value: Entity value (URL-encoded)\n\nReturns entity info, related clusters, and articles.","operationId":"public_get_entity_details_api_public_v1_entities__category___entity_value__get","parameters":[{"name":"category","in":"path","required":true,"schema":{"type":"string","title":"Category"}},{"name":"entity_value","in":"path","required":true,"schema":{"type":"string","title":"Entity Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityDetailsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/entities/trending":{"get":{"tags":["entities"],"summary":"Trending entities by type","description":"Get trending entities across all types.\n\nQuery parameters:\n- time_filter: 7d, 30d (default: 7d)\n- limit: Max per type (default: 10, max: 50)\n\nReturns trending entities grouped by type with change indicators.","operationId":"public_get_trending_entities_api_public_v1_entities_trending_get","parameters":[{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Time Filter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesTrendingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats/{identifier}/ask":{"post":{"tags":["ai"],"summary":"Ask AI about one incident","description":"A grounded, cited answer about one cluster. 25 credits.\n\n`action` picks a canned analysis (executive_summary, extract_iocs,\nthreat_actor, related_campaigns, vulnerability, recommended_actions) or\n`custom` with your own `question`. The context is the cluster's own\nreporting: article bodies, sub-articles, IOCs, enriched CVEs and actors,\nrelated clusters. Answers cite sources with inline tags that map to\n`sources`. Identical canned asks are cached for an hour and cost the\nsame either way; model failures refund the credits.","operationId":"public_ask_threat_api_public_v1_threats__identifier__ask_post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskThreatRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/ask":{"post":{"tags":["ai"],"summary":"Ask AI across the whole corpus","description":"One question across every incident, indicator, entity and leak-site\nrecord, answered with citations. 50 credits.\n\nThe context is assembled by searching the corpus for the question,\ninlining the matching clusters' reporting and enriching the CVEs and\nactors it finds. Pass `history` for a follow-up turn. Model failures\nrefund the credits.","operationId":"public_ask_corpus_api_public_v1_ask_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskCorpusRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/me":{"get":{"tags":["account"],"summary":"Your plan, credits left and key","description":"What this key can do and how much budget is left, in one call.\n\nCosts nothing (weight 0), so an agent or a cron job can check before a\nbatch instead of parsing headers off every response. Reads the same\nper-key bucket that every request is charged against, so `used_today`\nmatches the `X-RateLimit-Remaining` header on your last call.\nWorks with an API key or a bearer minted from one.","operationId":"public_get_me_api_public_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMeResponse"}}}}}}},"/api/public/v1/stats/overview":{"get":{"tags":["stats"],"summary":"Global counts + 24h deltas","description":"Get threat database statistics.\n\nReturns total clusters, articles, average threat score, and last update time.","operationId":"public_get_stats_overview_api_public_v1_stats_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsOverviewResponse"}}}}}}},"/api/public/v1/stats/entities/timeline":{"get":{"tags":["stats"],"summary":"Entity timeline (daily counts)","description":"Get timeline data for top entities of a specific type.\n\nQuery parameters:\n- entity_type: Type of entity (malware, apt_group, ransomware_group, etc.)\n- days: Number of days to include (default: 7, max: 30)\n- limit: Number of top entities to track (default: 5, max: 10)\n\nReturns daily mention counts for top entities.","operationId":"public_get_entity_timeline_api_public_v1_stats_entities_timeline_get","parameters":[{"name":"entity_type","in":"query","required":false,"schema":{"type":"string","default":"malware","title":"Entity Type"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":5,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityTimelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/stats":{"get":{"tags":["darkweb"],"summary":"Dark-web counts + last-sync timestamp","description":"Get dark web monitoring statistics.\n\nReturns ransomware group counts and victim counts.","operationId":"public_get_darkweb_stats_api_public_v1_darkweb_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DarkwebStatsResponse"}}}}}}},"/api/public/v1/darkweb/ransomware/victims":{"get":{"tags":["darkweb"],"summary":"List ransomware victims","description":"Get ransomware victims.\n\nQuery parameters:\n- days: Filter to victims from last N days (default: 30). Capped by the plan: Free 7, Starter 90, Growth and Business the full archive.\n  Free keys read victims discovered at least 24 hours ago (the notice says so); Starter and up are real-time.\n- group: Filter by ransomware group name (optional)\n- country: Filter by country code (optional)\n- sector: Filter by victim sector/industry (optional). Use the values from\n  the /darkweb/ransomware/victims/facets endpoint. Turns this into a\n  per-client sector view for platform reports.\n- limit: Maximum results (default: 100, max: 500)\n- ingested_since: ISO-8601 timestamp; rows that arrived or changed in our store after it, whatever their story date. Use this for a cursor set to the poll time.\n- since: ISO-8601 timestamp; only listings first observed after it. Pass the\n  newest `discovered` you saw last run to poll incrementally.\n\nReturns list of ransomware victims with group, date, and country info.","operationId":"public_get_ransomware_victims_api_public_v1_darkweb_ransomware_victims_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"group","in":"query","required":false,"schema":{"type":"string","title":"Group"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","title":"Country"}},{"name":"sector","in":"query","required":false,"schema":{"type":"string","title":"Sector"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RansomwareVictimsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/ransomware/groups":{"get":{"tags":["darkweb"],"summary":"List ransomware groups","description":"Get ransomware groups.\n\nQuery parameters:\n- active_only: Only return currently active groups (default: false)\n\nReturns list of ransomware groups with victim counts and activity status.","operationId":"public_get_ransomware_groups_api_public_v1_darkweb_ransomware_groups_get","parameters":[{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Active Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RansomwareGroupsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/ransomware/group/{group_name}":{"get":{"tags":["darkweb"],"summary":"Ransomware group detail","description":"Get detailed information about a specific ransomware group.\n\nPath parameters:\n- group_name: Name of the ransomware group\n\nReturns group details, recent victims, and activity timeline.","operationId":"public_get_ransomware_group_detail_api_public_v1_darkweb_ransomware_group__group_name__get","parameters":[{"name":"group_name","in":"path","required":true,"schema":{"type":"string","title":"Group Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/ransomware/victim/{victim_id}":{"get":{"tags":["darkweb"],"summary":"Victim detail","description":"Full enriched victim payload: base record + LLM-extracted fields\n(headquarters, revenue, data_size, publication_status, negotiation\nstate), mirrored entities, leak images with personal details redacted and captioned, the\nfull-page site screenshot captured via our own Tor pipeline, and\n`timeline`: the listing's dated events, oldest first, each with\n{at, event_type, precision, title, detail, source, upcoming}.\n\nPath parameters:\n- victim_id: Victim ID (16-char hex, returned by /ransomware/victims)\n\nReturns 404 if not found.","operationId":"public_get_ransomware_victim_detail_api_public_v1_darkweb_ransomware_victim__victim_id__get","parameters":[{"name":"victim_id","in":"path","required":true,"schema":{"type":"string","title":"Victim Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VictimEnrichmentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/keyword-hits":{"get":{"tags":["darkweb"],"summary":"Keyword match across ransomware victims and groups","description":"Match one or more keywords against ransomware victim names and group\nnames. Case-insensitive\nsubstring match — ideal for supply-chain / brand monitoring.\n\nQuery parameters:\n- keywords: Comma-separated list (required). Caller-provided; this\n  endpoint does NOT use the org's stored keywords list.\n- per_bucket_limit: Max hits per bucket (default 25, max 100).\n\nReturns: { keywords, hits: {victims, groups}, total }\n\nStarter and up (2026-09-20): brand / supply-chain monitoring across leak\nsites is the paid feature; a free key's FIRST call here starts its 7-day\nStarter trial and is served, later free calls get 403 upgrade_required.","operationId":"public_get_keyword_hits_api_public_v1_darkweb_keyword_hits_get","parameters":[{"name":"keywords","in":"query","required":false,"schema":{"type":"string","title":"Keywords"}},{"name":"per_bucket_limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Per Bucket Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordHitsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/ransomware/victims/facets":{"get":{"tags":["darkweb"],"summary":"Victim filter facets (countries, sectors, groups)","description":"Distinct values for victim filter fields (countries, sectors, groups)\nwith counts. For building filter dropdowns in customer integrations.\n\nQuery parameters:\n- days: Lookback window (default 365, max 3650 = 10 years)\n\nReturns: { countries, sectors, groups }  — each is [{value, count}, ...]","operationId":"public_get_ransomware_victim_facets_api_public_v1_darkweb_ransomware_victims_facets_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":365,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VictimFacetsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/trends":{"get":{"tags":["darkweb"],"summary":"Dark-web trends: weekly victims, top industries, group heatmap","description":"Time-series dark-web trends for dashboards: weekly victim counts,\ntop industries, and a group×week activity heatmap.\n\nQuery parameters:\n- weeks: Weekly-timeline window (default 52, max 156)\n- industry_days: Top-industries window in days (default 90, max 365)\n- heatmap_top_n: Number of groups in the heatmap (default 12, max 30)\n- heatmap_weeks: Heatmap weeks (default 12, max 52)\n- sector: Restrict the weekly timeline + group heatmap to one industry\n  (per-client sector view). top_industries is the sector breakdown itself\n  and is always returned in full. Values from /darkweb/ransomware/victims/facets.\n\nReturns: { victims_weekly, top_industries, group_heatmap }","operationId":"public_get_trends_api_public_v1_darkweb_trends_get","parameters":[{"name":"weeks","in":"query","required":false,"schema":{"type":"integer","default":52,"title":"Weeks"}},{"name":"industry_days","in":"query","required":false,"schema":{"type":"integer","default":90,"title":"Industry Days"}},{"name":"heatmap_top_n","in":"query","required":false,"schema":{"type":"integer","default":12,"title":"Heatmap Top N"}},{"name":"heatmap_weeks","in":"query","required":false,"schema":{"type":"integer","default":12,"title":"Heatmap Weeks"}},{"name":"sector","in":"query","required":false,"schema":{"type":"string","title":"Sector"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrendsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/vulnerabilities":{"get":{"tags":["vulnerabilities"],"summary":"List CVEs","description":"Get CVE/vulnerability feed.\n\nQuery parameters:\n- days: CVEs from last N days (default: 30, max: 730). Ignored if published_after is set.\n- ingested_since: ISO-8601 timestamp; CVEs we first stored after it, whatever their publish date. Use this for a cursor set to the poll time.\n- published_after / published_before: ISO-8601 date bounds (absolute range; alternative to days).\n  `published_after` is also the incremental-polling parameter for this endpoint: pass the newest\n  `published_date` you saw last run instead of re-reading the whole window.\n- severity: Filter by severity (CRITICAL, HIGH, MEDIUM, LOW) - comma-separated\n- kev_only: Only CISA KEV entries (default: false)\n- has_exploit: Only CVEs with known exploits (default: false)\n- vendor: Filter by affected vendor (matches affected_vendors)\n- product: Filter by affected product (matches affected_products)\n- page: Page number (default: 1)\n- limit: Results per page (default: 50, max: 100)\n\nReturns paginated CVE list with CVSS scores and exploit status.","operationId":"public_get_vulnerabilities_api_public_v1_vulnerabilities_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}},{"name":"kev_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Kev Only"}},{"name":"has_exploit","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Has Exploit"}},{"name":"vendor","in":"query","required":false,"schema":{"type":"string","title":"Vendor"}},{"name":"product","in":"query","required":false,"schema":{"type":"string","title":"Product"}},{"name":"published_after","in":"query","required":false,"schema":{"type":"string","title":"Published After"}},{"name":"published_before","in":"query","required":false,"schema":{"type":"string","title":"Published Before"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/vulnerabilities/stats":{"get":{"tags":["vulnerabilities"],"summary":"CVE counts + severity breakdown","description":"Get vulnerability statistics.\n\nReturns total CVEs, KEV count, severity breakdown, and recent trends.","operationId":"public_get_vulnerability_stats_api_public_v1_vulnerabilities_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveStatsResponse"}}}}}}},"/api/public/v1/vulnerabilities/{cve_id}":{"get":{"tags":["vulnerabilities"],"summary":"CVE detail","description":"Get detailed CVE information.\n\nPath parameters:\n- cve_id: CVE identifier (e.g., CVE-2024-1234)\n\nReturns full CVE details including CVSS, affected products, KEV status, and exploit info.","operationId":"public_get_cve_detail_api_public_v1_vulnerabilities__cve_id__get","parameters":[{"name":"cve_id","in":"path","required":true,"schema":{"type":"string","title":"Cve Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats/{identifier}/stix":{"get":{"tags":["threats"],"summary":"Threat cluster as STIX 2.1 bundle","description":"Export threat cluster to STIX 2.1 format.\n\nPath parameters:\n- identifier: Cluster ID (full UUID or short ID)\n\nQuery parameters:\n- tlp: TLP marking (white, green, amber, red) - default: white\n\nReturns STIX 2.1 bundle with threat actors, malware, attack patterns, and indicators.","operationId":"public_export_threat_stix_api_public_v1_threats__identifier__stix_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}},{"name":"tlp","in":"query","required":false,"schema":{"type":"string","default":"white","title":"Tlp"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/feeds":{"get":{"tags":["feeds"],"summary":"List your custom feeds","description":"List your custom feeds in the requested slice (defaults to personal).\n\nPass `?mssp_customer_id=N` to scope the read to a specific managed customer.","operationId":"public_list_feeds_api_public_v1_feeds_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["feeds"],"summary":"Create a custom feed on your account","description":"Create a personal custom feed seeded with keywords. Returns the feed_id you\nread back via GET /feeds. (For a managed customer: use /mssp/customers/{id}/feed.)","operationId":"public_create_feed_api_public_v1_feeds_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/feeds/{feed_id}/entities":{"get":{"tags":["feeds"],"summary":"Entities tracked by a feed","description":"Get entities tracked in a custom feed.\n\nPass `?mssp_customer_id=N` to read a customer-scoped feed (default: personal).","operationId":"public_get_feed_entities_api_public_v1_feeds__feed_id__entities_get","parameters":[{"name":"feed_id","in":"path","required":true,"schema":{"type":"string","title":"Feed Id"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedEntitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["feeds"],"summary":"Add typed entities or keywords to a feed","operationId":"public_add_feed_entities_api_public_v1_feeds__feed_id__entities_post","parameters":[{"name":"feed_id","in":"path","required":true,"schema":{"type":"string","title":"Feed Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedEntitiesAdd"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/feed":{"get":{"tags":["feeds"],"summary":"Threats matching your feed filters","description":"Query the threat feed with full filtering.\n\nQuery parameters:\n- limit: Max results (default: 50, max: 100)\n- offset: Pagination offset (default: 0)\n- time_filter: 1h, 24h, 7d, 30d (default: 7d)\n- sort_by: trending, latest, popular, threat_score (default: trending)\n- content_type: all, threats, articles (default: all)\n- feed_type: trending, popular, latest, my_feed, custom (default: trending)\n- feed_id: UUID of custom feed (required when feed_type=custom)\n- keyword: Optional keyword filter\n- urgency: \"hot\" for high-velocity only (optional)\n\nUse feed_type=my_feed to query your personal keyword feed.\nUse feed_type=custom with feed_id to query a specific custom feed.","operationId":"public_get_feed_api_public_v1_feed_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"time_filter","in":"query","required":false,"schema":{"type":"string","default":"7d","title":"Time Filter"}},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","default":"trending","title":"Sort By"}},{"name":"content_type","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Content Type"}},{"name":"feed_type","in":"query","required":false,"schema":{"type":"string","default":"trending","title":"Feed Type"}},{"name":"feed_id","in":"query","required":false,"schema":{"type":"string","title":"Feed Id"}},{"name":"keyword","in":"query","required":false,"schema":{"type":"string","title":"Keyword"}},{"name":"urgency","in":"query","required":false,"schema":{"type":"string","title":"Urgency"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/alerts":{"get":{"tags":["compliance"],"summary":"List what your alert rules fired","description":"List what your alert rules fired, newest first: one row per match, with the\nrule, what matched and when.\n\n`alert_source` is `rule` for rules made in the rule builder (every rule since\n24 Nov 2026, including those created through /alert-rules and /cve-alerts),\nwith `rule_source` saying whether `entity_ref` is a story (cluster id), a CVE\nid or a dark-web leak-site listing; `cluster` and `cve` are rows fired by the\nolder rule tables. `trigger_id` and `entity_ref` are the same identifiers the\nrule webhook sends.\n\nFilters: mssp_customer_id (scope to one client), alert_source\n(cluster|cve|rule), since (ISO timestamp on triggered_at).","operationId":"public_list_alerts_api_public_v1_alerts_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"alert_source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alert Source"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/mssp/customers":{"get":{"tags":["mssp"],"summary":"List your managed customers (to discover mssp_customer_id)","description":"List the managed customers under your account (Business plan). The `id` field is the\nvalue to pass as `mssp_customer_id` on the feeds, alerts, assets and\nalerts-fired endpoints.","operationId":"public_list_mssp_customers_api_public_v1_mssp_customers_get","parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["mssp"],"summary":"Create a managed customer (programmatic onboarding)","description":"Create a managed customer under your account (Business plan). Managed\ncustomers are enabled per account: the number of active customers you may\nhold is set for your account after a short call, and a 403 with\n`error: managed_customers_not_enabled` or `managed_customer_limit_reached`\n(plus `limit` and `contact_url`) tells you when to talk to us. The returned\n`id` is the `mssp_customer_id` you pass to the feeds / alerts / assets /\nalerts-fired endpoints. This is the write path that lets a platform sync its\nclient roster without manual UI setup.","operationId":"public_create_mssp_customer_api_public_v1_mssp_customers_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MsspCustomerCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/mssp/customers/{customer_id}":{"patch":{"tags":["mssp"],"summary":"Update or deactivate a managed customer","description":"Update a managed customer (name / domain / contact_email / notes) or deactivate\nit (`\"is_active\": false`) for offboarding. `customer_id` is the integer id from\nthe customers list. Ownership is validated against your account. Send only the\nfields you want to change.","operationId":"public_update_mssp_customer_api_public_v1_mssp_customers__customer_id__patch","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MsspCustomerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/mssp/customers/{customer_id}/feed":{"post":{"tags":["mssp"],"summary":"Create a monitoring feed for a customer (with keywords)","description":"Create a monitoring feed scoped to one managed customer, seeded with keywords\nin a single call. Keywords cover the client's world for NEWS/CLUSTER matching —\ncompany names, brands, domains, supplier names, sector terms.\n\n(A customer's products and software go in through PUT /api/public/v1/assets\nwith the same mssp_customer_id; the import builds that customer's asset alert rules.)","operationId":"public_create_mssp_customer_feed_api_public_v1_mssp_customers__customer_id__feed_post","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MsspCustomerFeedCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/mssp/customers/{customer_id}/feed/{feed_uuid}":{"patch":{"tags":["mssp"],"summary":"Rename / update a customer's monitoring feed","description":"Update a customer feed's name / description. Manage its keywords via the\n/keywords sub-resource. `feed_uuid` is the `feed_id` returned on create.","operationId":"public_update_mssp_customer_feed_api_public_v1_mssp_customers__customer_id__feed__feed_uuid__patch","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}},{"name":"feed_uuid","in":"path","required":true,"schema":{"type":"string","title":"Feed Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MsspFeedUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/mssp/customers/{customer_id}/feed/{feed_uuid}/keywords":{"get":{"tags":["mssp"],"summary":"List a customer feed's keywords","description":"List the keywords currently on a customer feed.","operationId":"public_get_mssp_feed_keywords_api_public_v1_mssp_customers__customer_id__feed__feed_uuid__keywords_get","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}},{"name":"feed_uuid","in":"path","required":true,"schema":{"type":"string","title":"Feed Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["mssp"],"summary":"Set a customer feed's keywords (declarative sync)","description":"Declaratively set a feed's keywords to EXACTLY the provided set — adds new\nones, removes any not listed. This is the \"re-sync when the client's world\nchanges\" endpoint (new supplier added, product retired). Send the full\ndesired list each time; the diff is computed server-side.","operationId":"public_set_mssp_feed_keywords_api_public_v1_mssp_customers__customer_id__feed__feed_uuid__keywords_put","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"integer","title":"Customer Id"}},{"name":"feed_uuid","in":"path","required":true,"schema":{"type":"string","title":"Feed Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MsspFeedKeywords"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/assets":{"put":{"tags":["assets"],"summary":"Submit an asset snapshot (replaces the previous one)","description":"Submit the FULL current asset set for one scope (your account, or one\nmanaged customer). Vendors, products and OSes are resolved to ThreatCluster\nentities. The scope gets two alert rules built from the result, kept up to\ndate on every submission: \"My assets: vulnerabilities\" (CVEs for your\nproducts that are on CISA KEV, have a public exploit or are in the top 5%\nby EPSS) and \"My assets: news\" (stories about your products). They alert\nin the app until you choose other delivery, and you can tune their filters\nin the rule builder (GET /alert-rules lists them). An auto-managed\n\"My Assets\" custom feed (with its own RSS URL) mirrors the names. Your\ndefault feed is not changed. Snapshot semantics: the submitted set replaces\nthe previous import. Returns resolution counts, the rules and the unmatched\nraw strings.\n\nScoping: pass `mssp_customer_id` as a QUERY parameter (a customer-bound\nkey is refused without the matching value — the binding is enforced\nbefore this handler runs). Omit it entirely for your personal scope.","operationId":"public_assets_import_api_public_v1_assets_put","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["assets"],"summary":"Read the stored asset snapshot for a scope","description":"The current asset snapshot for your scope (or one managed customer),\neach software item annotated with the entity it resolved to and the\nmatch confidence.","operationId":"public_assets_get_api_public_v1_assets_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["assets"],"summary":"Clear a scope's imported assets","description":"Remove the scope's asset snapshot, its imported names, its two asset\nalert rules and the auto-managed \"My Assets\" feed. Your default feed is\nuntouched.","operationId":"public_assets_clear_api_public_v1_assets_delete","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/feeds/{feed_id}":{"patch":{"tags":["feeds"],"summary":"Rename or describe a feed","operationId":"public_update_feed_api_public_v1_feeds__feed_id__patch","parameters":[{"name":"feed_id","in":"path","required":true,"schema":{"type":"string","title":"Feed Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["feeds"],"summary":"Delete a feed","operationId":"public_delete_feed_api_public_v1_feeds__feed_id__delete","parameters":[{"name":"feed_id","in":"path","required":true,"schema":{"type":"string","title":"Feed Id"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/feeds/{feed_id}/entities/{keyword}":{"delete":{"tags":["feeds"],"summary":"Remove an entity or keyword from a feed","operationId":"public_remove_feed_entity_api_public_v1_feeds__feed_id__entities__keyword__delete","parameters":[{"name":"feed_id","in":"path","required":true,"schema":{"type":"string","title":"Feed Id"}},{"name":"keyword","in":"path","required":true,"schema":{"type":"string","title":"Keyword"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/webhooks":{"get":{"tags":["alerts"],"summary":"List your webhooks","operationId":"public_list_webhooks_api_public_v1_webhooks_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["alerts"],"summary":"Create a webhook (HTTPS, port 443, public host)","operationId":"public_create_webhook_api_public_v1_webhooks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreatePublic"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/webhooks/{webhook_id}":{"patch":{"tags":["alerts"],"summary":"Update a webhook","operationId":"public_update_webhook_api_public_v1_webhooks__webhook_id__patch","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdatePublic"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["alerts"],"summary":"Delete a webhook","operationId":"public_delete_webhook_api_public_v1_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/webhooks/{webhook_id}/test":{"post":{"tags":["alerts"],"summary":"Send a test payload to a webhook","operationId":"public_test_webhook_api_public_v1_webhooks__webhook_id__test_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/alert-rules/{rule_uuid}/send-test":{"post":{"tags":["alerts"],"summary":"Fire a test notification to the rule's webhooks","operationId":"public_send_test_alert_rule_api_public_v1_alert_rules__rule_uuid__send_test_post","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/cve-alerts/names":{"get":{"tags":["alerts"],"summary":"Look up vendor and product names for CVE rules","description":"Vendor or product names as they appear on CVEs from the last two years, most CVEs first, with\nhow many CVEs carry each. `field` is `vendor` or `product`; `q` is at least two characters;\n`vendor` narrows product names to that vendor. Rules match names however they are written\n(\"Palo Alto Networks\" = \"paloaltonetworks\", \"Windows\" covers every Windows version), so this is\nfor finding the right name, not its exact spelling.","operationId":"public_cve_rule_names_api_public_v1_cve_alerts_names_get","parameters":[{"name":"field","in":"query","required":false,"schema":{"type":"string","default":"vendor","title":"Field"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"vendor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"names":[{"name":"palo alto networks","cves":80},{"name":"cyberark software, a palo alto networks company","cves":1}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/cve-alerts/preview":{"post":{"tags":["alerts"],"summary":"Preview CVE filters before creating a rule (sends nothing)","description":"Run a CVE rule's filters against the last 30 days without saving anything. Takes the same body\nas POST /cve-alerts (`name` may be anything). `match_count` is the total; `matches` lists the\nnewest 25.","operationId":"public_preview_cve_filters_api_public_v1_cve_alerts_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveAlertRuleCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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."}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/keywords":{"get":{"tags":["feeds"],"summary":"List the keywords behind your personal feed","operationId":"public_list_keywords_api_public_v1_keywords_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["feeds"],"summary":"Track a keyword or entity on your personal feed","operationId":"public_add_keyword_api_public_v1_keywords_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeywordCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/keywords/{keyword}":{"delete":{"tags":["feeds"],"summary":"Stop tracking a keyword","operationId":"public_remove_keyword_api_public_v1_keywords__keyword__delete","parameters":[{"name":"keyword","in":"path","required":true,"schema":{"type":"string","title":"Keyword"}},{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/monitoring/company":{"get":{"tags":["monitoring"],"summary":"Your monitored company name and domains","operationId":"public_get_company_monitoring_api_public_v1_monitoring_company_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"tags":["monitoring"],"summary":"Set the company name and domains to watch on leak sites","operationId":"public_set_company_monitoring_api_public_v1_monitoring_company_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyMonitoringUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/monitoring/company/threats":{"get":{"tags":["monitoring"],"summary":"Leak-site victim postings naming your company or domains","operationId":"public_company_threats_api_public_v1_monitoring_company_threats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/v1/rules/fields":{"get":{"tags":["alerts"],"summary":"Fields, operators and choices for rules","description":"Everything a rule can test, per source (stories, cves, darkweb): each field's key, label,\nkind (entity, text, number, choice, flag), operators and, where fixed, its choices.","operationId":"public_rule_fields_api_public_v1_rules_fields_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/v1/rules/preview":{"post":{"tags":["alerts"],"summary":"Preview a rule against the last 30 days (saves nothing)","description":"What `rule` would have matched in the last 30 days. Nothing is saved and nothing is sent.\nA rule is `{\"source\": \"stories\"|\"cves\"|\"darkweb\", \"match\": GROUP}`; a GROUP is\n`{\"mode\": \"all\"|\"any\"|\"none\", \"items\": [...]}` holding conditions `{\"field\", \"op\", \"value\"}`\nand further groups (3 deep). GET /rules/fields lists the fields. A rule that cannot be used\nreturns 422 with the reason.","operationId":"public_rule_preview_api_public_v1_rules_preview_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"},"example":{"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}]}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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.0}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/rules":{"get":{"tags":["alerts"],"summary":"List your rules","description":"Your rules (or one managed customer's), each with `description`: the rule in plain English.","operationId":"public_rules_list_api_public_v1_rules_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["alerts"],"summary":"Create a rule","description":"Create a rule: `name`, `rule` (see POST /rules/preview) and delivery: `notify_inapp`\n(default true), `notify_webhook`, `notify_email`, `webhook_id`. Counts toward your plan's\nalert-rule limit.","operationId":"public_rules_create_api_public_v1_rules_post","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"},"example":{"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}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/rules/{rule_uuid}":{"get":{"tags":["alerts"],"summary":"Get one rule","description":"One rule by its `uuid`.","operationId":"public_rules_get_api_public_v1_rules__rule_uuid__get","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["alerts"],"summary":"Update a rule","description":"Change a rule: send only what changes (`name`, `rule`, `is_active`, `notify_*`, `webhook_id`).\nA `rule` you send replaces the old one. `{\"is_active\": false}` pauses it.","operationId":"public_rules_update_api_public_v1_rules__rule_uuid__patch","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Payload"},"example":{"is_active":false}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["alerts"],"summary":"Delete a rule","description":"Delete a rule. Matches it already sent stay in GET /alerts.","operationId":"public_rules_delete_api_public_v1_rules__rule_uuid__delete","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/threats/{identifier}/attack-flow":{"get":{"tags":["threats"],"summary":"Stored attack flow (CTID Attack Flow) for a cluster","operationId":"public_cluster_attack_flow_api_public_v1_threats__identifier__attack_flow_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/vulnerabilities/{cve_id}/attack-flow":{"get":{"tags":["vulnerabilities"],"summary":"Stored attack flow for a CVE","operationId":"public_cve_attack_flow_api_public_v1_vulnerabilities__cve_id__attack_flow_get","parameters":[{"name":"cve_id","in":"path","required":true,"schema":{"type":"string","title":"Cve Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/d3fend/{d3fend_id}":{"get":{"tags":["threats"],"summary":"D3FEND countermeasure detail","operationId":"public_d3fend_api_public_v1_d3fend__d3fend_id__get","parameters":[{"name":"d3fend_id","in":"path","required":true,"schema":{"type":"string","title":"D3Fend Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/vulnerabilities/{cve_id}/exploits":{"get":{"tags":["vulnerabilities"],"summary":"Public exploit intelligence for a CVE","operationId":"public_cve_exploits_api_public_v1_vulnerabilities__cve_id__exploits_get","parameters":[{"name":"cve_id","in":"path","required":true,"schema":{"type":"string","title":"Cve Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/darkweb/ransomware/victims/export":{"get":{"tags":["darkweb"],"summary":"Bulk export of ransomware victims (CSV or JSONL)","description":"Export ransomware leak-site victims in bulk. Growth and Business.\n\nQuery parameters:\n- format: `csv` (default) or `jsonl` (one JSON object per line).\n- since: ISO-8601; listings discovered at or after it.\n- until: ISO-8601; listings discovered before it.\n- ingested_since: ISO-8601; rows that reached our store after it (a poll cursor).\n- group: ransomware group, case-insensitive substring (as /victims).\n- country: two-letter country code.\n- sector: victim sector, case-insensitive substring. Values: /victims/facets.\n- limit: rows per file, default 10,000, max 50,000.\n\nColumns: id, name, group, discovered, ingested_at, country, sector,\nwebsite, domains (`;`-separated in CSV, a list in JSONL), victim_tld,\npublication_status, data_size, url.\n\nRows are oldest first. When a file stops at `limit`, the\n`X-Export-Next-Since` header is the `since` for the next file.\n\nCost: 5 credits plus 1 per 100 rows in the file (a 10,000-row file is\n105 credits). An empty file costs nothing. If the file needs more than\nyour remaining credits it is refused with 429 and nothing is charged.","operationId":"public_export_ransomware_victims_api_public_v1_darkweb_ransomware_victims_export_get","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"since","in":"query","required":false,"schema":{"type":"string","title":"Since"}},{"name":"until","in":"query","required":false,"schema":{"type":"string","title":"Until"}},{"name":"ingested_since","in":"query","required":false,"schema":{"type":"string","title":"Ingested Since"}},{"name":"group","in":"query","required":false,"schema":{"type":"string","title":"Group"}},{"name":"country","in":"query","required":false,"schema":{"type":"string","title":"Country"}},{"name":"sector","in":"query","required":false,"schema":{"type":"string","title":"Sector"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10000,"title":"Limit"}}],"responses":{"200":{"description":"The victims as a streamed file, oldest first.","content":{"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/alert-rules":{"post":{"tags":["alerts"],"summary":"Create an alert rule (personal or managed-customer scoped)","description":"Create a personal alert rule that fires when its conditions match a new threat\ncluster. Up to 50 conditions on every plan. Delivery via your\nwebhook(s) and/or email. Omit `mssp_customer_id` for a personal rule, or set it\nto scope the rule to one of your managed customers (Business plan).\n\nRules 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.","operationId":"create_api_public_v1_alert_rules_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRuleCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["alerts"],"summary":"List your alert rules","description":"Your rules of this kind (rule-builder rules on stories, or on CVEs).\n\nRules 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.","operationId":"list__api_public_v1_alert_rules_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/alert-rules/{rule_uuid}":{"get":{"tags":["alerts"],"summary":"Get one alert rule","description":"One rule, by its uuid (an older rule's uuid finds the rule it was moved to).\n\nRules 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.","operationId":"get_one_api_public_v1_alert_rules__rule_uuid__get","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["alerts"],"summary":"Update an alert rule","description":"Change a rule. Only the fields sent change; for alert rules `conditions` replaces the whole set.\n\nRules 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.","operationId":"patch_api_public_v1_alert_rules__rule_uuid__patch","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertRuleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["alerts"],"summary":"Delete an alert rule","description":"Delete a rule. Alerts it already sent stay in GET /alerts.\n\nRules 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.","operationId":"delete_api_public_v1_alert_rules__rule_uuid__delete","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/alert-rules/{rule_uuid}/test":{"post":{"tags":["alerts"],"summary":"Dry-run a rule against the last 7 days (sends nothing)","description":"What the rule matched recently. Nothing is sent.\n\nRules 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.","operationId":"test_api_public_v1_alert_rules__rule_uuid__test_post","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/cve-alerts":{"post":{"tags":["alerts"],"summary":"Create a CVE alert rule (personal or managed-customer scoped)","description":"Create a personal CVE alert rule. Fires when a CVE matches the filters\n(vendor/product/CWE/severity/CVSS/EPSS/KEV/exploit/ransomware/keywords),\ncombined by match_logic. Shares the alert-rule tier quota.\n\nRules 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.","operationId":"create_api_public_v1_cve_alerts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveAlertRuleCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["alerts"],"summary":"List your CVE alert rules","description":"Every CVE alert rule on your account (or one managed customer with `mssp_customer_id`), active and paused.\n\nRules 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.","operationId":"list__api_public_v1_cve_alerts_get","parameters":[{"name":"mssp_customer_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/cve-alerts/{rule_uuid}":{"get":{"tags":["alerts"],"summary":"Get one CVE alert rule","description":"One CVE alert rule by the `uuid` returned when it was created (also listed by GET /cve-alerts).\n\nRules 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.","operationId":"get_one_api_public_v1_cve_alerts__rule_uuid__get","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["alerts"],"summary":"Update a CVE alert rule","description":"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.\n\nRules 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.","operationId":"patch_api_public_v1_cve_alerts__rule_uuid__patch","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CveAlertRuleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["alerts"],"summary":"Delete a CVE alert rule","description":"Delete a CVE alert rule. Alerts it already sent stay in GET /alerts. To stop it for a while instead, PATCH `{\"is_active\": false}`.\n\nRules 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.","operationId":"delete_api_public_v1_cve_alerts__rule_uuid__delete","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"rule_uuid":"1fc68e2e-7f8f-415b-8dcd-8efdfed98084","deleted":true}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/v1/cve-alerts/{rule_uuid}/test":{"post":{"tags":["alerts"],"summary":"Preview which CVEs from the last 30 days a rule matches","description":"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.\n\nRules 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.","operationId":"test_api_public_v1_cve_alerts__rule_uuid__test_post","parameters":[{"name":"rule_uuid","in":"path","required":true,"schema":{"type":"string","title":"Rule Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{},"example":{"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."}]}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccountCreditsInfo":{"properties":{"daily_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Daily Limit","description":"Credits per UTC day on this plan; null = no daily budget (Business)"},"used_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Used Today","description":"Credits charged to this key's bucket since 00:00 UTC; null = counter unavailable"},"remaining_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Today"},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resets At","description":"ISO-8601 UTC, when the daily allowance refills"},"pack_balance":{"type":"integer","title":"Pack Balance","description":"Prepaid credits, spent only after the daily allowance; never expire","default":0}},"additionalProperties":true,"type":"object","title":"AccountCreditsInfo"},"AccountKeyInfo":{"properties":{"source":{"type":"string","title":"Source","description":"api_key (X-API-Key) or bearer (tc login / agent token)"},"key_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Class","description":"live, test, agent, org"},"key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Id"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"}},"additionalProperties":true,"type":"object","required":["source"],"title":"AccountKeyInfo"},"AccountMeResponse":{"properties":{"tier":{"type":"string","title":"Tier"},"rate_limit":{"type":"string","title":"Rate Limit","description":"Per-minute burst limit for this key, e.g. 120/minute"},"credits":{"$ref":"#/components/schemas/AccountCreditsInfo"},"key":{"$ref":"#/components/schemas/AccountKeyInfo"},"request_costs":{"additionalProperties":{"type":"integer"},"type":"object","title":"Request Costs","description":"Credits per request by endpoint family; everything else costs `default`"},"docs":{"type":"string","title":"Docs","default":"https://threatcluster.io/api"}},"additionalProperties":true,"type":"object","required":["tier","rate_limit","credits","key","request_costs"],"title":"AccountMeResponse"},"AlertCondition":{"properties":{"entity_type":{"type":"string","title":"Entity Type","description":"Entity type to match, e.g. 'country', 'attack_type', 'apt_group', 'malware', 'cve', 'company', 'platform'."},"entity_value":{"type":"string","title":"Entity Value","description":"Value to match, e.g. 'United Kingdom', 'Ransomware', 'LockBit'."},"match_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Match Type","description":"'exact' or 'contains'.","default":"exact"}},"type":"object","required":["entity_type","entity_value"],"title":"AlertCondition"},"AlertRuleCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"Rule name (required)."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional description."},"logic_operator":{"type":"string","title":"Logic Operator","description":"'AND' (all conditions) or 'OR' (any).","default":"AND"},"conditions":{"items":{"$ref":"#/components/schemas/AlertCondition"},"type":"array","minItems":1,"title":"Conditions","description":"1+ conditions, up to 50 on every plan (the rule builder's limit)."},"notify_webhook":{"type":"boolean","title":"Notify Webhook","description":"Deliver matches to your webhook(s).","default":true},"notify_email":{"type":"boolean","title":"Notify Email","description":"Deliver matches by email.","default":false},"notify_email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notify Email Address","description":"Custom email (must be your domain). Defaults to your account email."},"webhook_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id","description":"Specific webhook id to route to (must be yours). Omit to use all."},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"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."}},"type":"object","required":["name","conditions"],"title":"AlertRuleCreate","description":"Body for POST /api/public/v1/alert-rules — a personal cluster/news alert\nrule. Fires when the conditions match a new threat cluster.","example":{"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}},"AlertRuleUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"logic_operator":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logic Operator","description":"'AND' or 'OR'."},"conditions":{"anyOf":[{"items":{"$ref":"#/components/schemas/AlertCondition"},"type":"array","minItems":1},{"type":"null"}],"title":"Conditions"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"notify_webhook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Webhook"},"notify_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Email"},"notify_email_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notify Email Address","description":"Empty string clears it."},"webhook_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id","description":"0 clears it."},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"The managed customer the rule belongs to, if not personal."}},"type":"object","title":"AlertRuleUpdate","description":"Body for PATCH /alert-rules/{rule_uuid}. Only sent fields change; `conditions` replaces the whole set."},"AskCorpusRequest":{"properties":{"query":{"type":"string","maxLength":500,"minLength":2,"title":"Query"},"history":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}],"title":"History","description":"Prior turns as [{role: user|assistant, content}], up to 20"}},"type":"object","required":["query"],"title":"AskCorpusRequest"},"AskResponse":{"properties":{"answer":{"type":"string","title":"Answer","description":"Markdown, with inline citation tags like [A1] that map to `sources`"},"sources":{"items":{},"type":"array","title":"Sources","description":"Citation tags → article/cluster they point at"},"references":{"title":"References","description":"Clusters and articles the answer drew on: {clusters: [...], articles: [...]}"},"context_used":{"additionalProperties":true,"type":"object","title":"Context Used"},"cost":{"type":"integer","title":"Cost","description":"Credits charged for this call"},"cached":{"type":"boolean","title":"Cached","default":false}},"additionalProperties":true,"type":"object","required":["answer","cost"],"title":"AskResponse"},"AskThreatRequest":{"properties":{"action":{"type":"string","title":"Action","description":"executive_summary · extract_iocs · threat_actor · related_campaigns · vulnerability · recommended_actions · custom","default":"custom"},"question":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Question","description":"Required when action is custom"}},"type":"object","title":"AskThreatRequest"},"AssetHardware":{"properties":{"vendor":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Vendor","description":"Matters most for appliances, e.g. \"Fortinet\"."},"model":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Model","description":"e.g. \"FortiGate 60F\"."}},"type":"object","title":"AssetHardware"},"AssetImportRequest":{"properties":{"assets":{"items":{"$ref":"#/components/schemas/AssetRecord"},"type":"array","maxItems":500,"minItems":1,"title":"Assets"},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"Deprecated here — pass mssp_customer_id as a QUERY parameter instead (required to match for customer-bound keys; the body field is a fallback for unbound keys). Omit both for your own account's scope."}},"type":"object","required":["assets"],"title":"AssetImportRequest","description":"Body for PUT /api/public/v1/assets — a FULL snapshot for one scope.\n\nSnapshot semantics: the submitted set replaces the previous one, so the\ncall is idempotent and safe to retry. Keep an offline asset in the\nsnapshot until you consider it retired. Max 500 assets per scope.","example":{"assets":[{"criticality":4,"device_type":"network_appliance","hardware":{"model":"FortiGate 60F","vendor":"Fortinet"},"internet_facing":true,"name":"edge-fw-01","os":{"name":"FortiOS","version":"7.2.8"},"role":"firewall","software":[],"source":"manual"},{"criticality":4,"device_type":"server","name":"dc-01","os":{"name":"Windows Server 2019","version":"10.0.17763"},"role":"domain controller","software":[{"product":"Backup & Replication","vendor":"Veeam","version":"12.1.2"}]}],"mssp_customer_id":4}},"AssetOS":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name","description":"e.g. \"Windows Server 2019\", \"FortiOS\"."},"version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Version"},"cpe":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Cpe"}},"type":"object","title":"AssetOS"},"AssetRecord":{"properties":{"name":{"type":"string","maxLength":300,"minLength":1,"title":"Name","description":"Hostname or a label such as \"Main office firewall\"."},"asset_ref":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Asset Ref","description":"Your stable ID for the asset (RMM device ID, scanner UUID). Generated from `name` if omitted; used to replace the asset on the next snapshot."},"device_type":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Device Type","description":"server, desktop, laptop, mobile, virtual, network_appliance, iot, other."},"role":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Role","description":"domain controller, firewall, vpn gateway, mail, web, file, backup, hypervisor, workstation…"},"internet_facing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Internet Facing","description":"The single biggest prioritisation driver."},"criticality":{"anyOf":[{"type":"integer","maximum":4.0,"minimum":1.0},{"type":"null"}],"title":"Criticality","description":"1 (low) to 4 (crown jewel)."},"os":{"anyOf":[{"$ref":"#/components/schemas/AssetOS"},{"type":"null"}]},"hardware":{"anyOf":[{"$ref":"#/components/schemas/AssetHardware"},{"type":"null"}]},"software":{"anyOf":[{"items":{"$ref":"#/components/schemas/AssetSoftware"},"type":"array"},{"type":"null"}],"title":"Software"},"source":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Source","description":"manual, siem, rmm, scanner or agent.","default":"agent"},"source_product":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Source Product","description":"e.g. ninjaone, tenable_vm, defender_xdr."}},"type":"object","required":["name"],"title":"AssetRecord","description":"One asset (host, appliance, cloud instance). Only `name` is required —\na rough list still validates; every extra field improves matching.\nField names follow the OCSF device object where one exists."},"AssetSoftware":{"properties":{"vendor":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Vendor","description":"Vendor as the source reports it, e.g. \"Fortinet Inc\" — normalised server-side."},"product":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Product","description":"Product name, e.g. \"FortiOS\". Required unless `cpe` is given."},"version":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Version","description":"Version string. Without it, CVE matching stays at product level."},"cpe":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Cpe","description":"CPE 2.3 formatted string when the source supplies one (preferred identity key)."},"purl":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Purl","description":"Package URL for Linux packages / libraries with no CPE."}},"type":"object","title":"AssetSoftware","description":"One installed software item on an asset."},"BlockIn":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"}},"type":"object","title":"BlockIn"},"Body_cancel_subscription_api_subscription_cancel_post":{"properties":{"at_period_end":{"type":"boolean","title":"At Period End","default":true}},"type":"object","title":"Body_cancel_subscription_api_subscription_cancel_post"},"Body_create_billing_portal_api_subscription_portal_post":{"properties":{"flow":{"type":"string","title":"Flow"}},"type":"object","title":"Body_create_billing_portal_api_subscription_portal_post"},"Body_create_checkout_session_api_subscription_checkout_post":{"properties":{"tier":{"type":"string","title":"Tier"},"referral_id":{"type":"string","title":"Referral Id"},"promotion_code":{"type":"string","title":"Promotion Code"},"interval":{"type":"string","title":"Interval","default":"month"}},"type":"object","required":["tier"],"title":"Body_create_checkout_session_api_subscription_checkout_post"},"Body_upload_mssp_customer_logo_api_mssp_customers__customer_uuid__logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_mssp_customer_logo_api_mssp_customers__customer_uuid__logo_post"},"Body_upload_mssp_org_logo_api_mssp_organization_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_mssp_org_logo_api_mssp_organization_logo_post"},"Body_upload_org_logo_api_org_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_org_logo_api_org_logo_post"},"Body_upload_user_avatar_api_user_avatar_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_user_avatar_api_user_avatar_post"},"Body_upload_user_logo_api_user_logo_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_user_logo_api_user_logo_post"},"BrandDraftIn":{"properties":{"short_id":{"type":"string","maxLength":12,"minLength":6,"title":"Short Id"},"surface":{"type":"string","pattern":"^(post|analysis|thread_hook|lead)$","title":"Surface","default":"post"},"n":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"N","default":2}},"type":"object","required":["short_id"],"title":"BrandDraftIn"},"CIExchangeBody":{"properties":{"oidc_token":{"type":"string","title":"Oidc Token"},"session_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Session Id"},"max_requests":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Max Requests"}},"type":"object","required":["oidc_token"],"title":"CIExchangeBody"},"CVEAlertRuleUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"match_logic":{"anyOf":[{"type":"string","enum":["AND","OR"]},{"type":"null"}],"title":"Match Logic"},"vendors":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Vendors"},"products":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Products"},"cwe_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Cwe Ids"},"severity":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":4},{"type":"null"}],"title":"Severity"},"cvss_min":{"anyOf":[{"type":"number","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Cvss Min"},"cvss_max":{"anyOf":[{"type":"number","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Cvss Max"},"epss_min":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Epss Min"},"epss_percentile_min":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Epss Percentile Min"},"require_kev":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Kev"},"require_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Exploit"},"ransomware_use":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":5},{"type":"null"}],"title":"Ransomware Use"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Keywords"},"notify_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Email"},"notify_webhook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Webhook"},"notify_inapp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Inapp"},"webhook_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id"}},"type":"object","title":"CVEAlertRuleUpdate","description":"Validation model for CVE alert-rule updates. All fields optional."},"CompanyMonitoringUpdate":{"properties":{"company_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Company Name"},"domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Domains","description":"Domains to watch on ransomware leak sites. Organisation accounts may list several (up to their cap); personal accounts one."}},"type":"object","title":"CompanyMonitoringUpdate","description":"Body for PUT /monitoring/company.","example":{"company_name":"Acme Corp","domains":["acme.com","acme-supplier.io"]}},"CooccurringCveItem":{"properties":{"cve_id":{"type":"string","title":"Cve Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cvss_v3_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss V3 Score"},"cvss_v3_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvss V3 Severity"},"affected_vendors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Vendors"},"affected_products":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Products"},"cpe_configurations":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cpe Configurations"},"in_kev":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"In Kev"},"has_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Exploit"},"epss_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Score"},"epss_percentile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Percentile"},"published_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Date"},"last_modified":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified"},"kev_added_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Added Date"},"kev_due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Due Date"},"ransomware_use":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ransomware Use"},"exploit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exploit Count"},"co_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Co Count"}},"additionalProperties":true,"type":"object","required":["cve_id"],"title":"CooccurringCveItem"},"CooccurringCvesResponse":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"cves":{"items":{"$ref":"#/components/schemas/CooccurringCveItem"},"type":"array","title":"Cves"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"pages":{"type":"integer","title":"Pages"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value","cves","total","page","limit","pages"],"title":"CooccurringCvesResponse"},"CveAlertRuleCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"Rule name."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional note for your team."},"match_logic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Match Logic","description":"How the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one).","default":"AND"},"vendors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Vendors","description":"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":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Products","description":"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":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cwe Ids","description":"CWE ids, any of them, e.g. ['CWE-79', 'CWE-787']."},"severity":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Severity","description":"CVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL."},"cvss_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss Min","description":"Lowest CVSS v3 base score, 0-10, e.g. 7.5."},"cvss_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss Max","description":"Highest CVSS v3 base score, 0-10."},"epss_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Min","description":"Lowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set."},"epss_percentile_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Percentile Min","description":"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":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Kev","description":"true: only CVEs on CISA's Known Exploited Vulnerabilities list."},"require_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Exploit","description":"true: only CVEs with a public exploit or proof of concept."},"ransomware_use":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ransomware Use","description":"CISA KEV ransomware flag values, e.g. ['Known']."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass']."},"notify_webhook":{"type":"boolean","title":"Notify Webhook","description":"Send matches to your webhooks (all active ones, or webhook_id).","default":true},"notify_email":{"type":"boolean","title":"Notify Email","description":"Send matches by email to the account address.","default":false},"notify_inapp":{"type":"boolean","title":"Notify Inapp","description":"Show matches in the in-app bell and inbox.","default":true},"webhook_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id","description":"Send to this webhook only (GET /webhooks lists yours)."},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"Scope the rule to one of your managed customers (Business). Omit for your own rule."}},"type":"object","required":["name"],"title":"CveAlertRuleCreate","description":"Body for POST /api/public/v1/cve-alerts — a personal CVE alert rule.\nFires when a CVE matches the filters (vendor/product/severity/CVSS/EPSS/KEV/exploit).","example":{"cvss_min":7.5,"name":"Windows high and critical","notify_inapp":true,"notify_webhook":true,"products":["Windows"],"severity":["HIGH","CRITICAL"],"vendors":["Microsoft"]}},"CveAlertRuleUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name","description":"Rule name."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional note for your team."},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","description":"false pauses the rule without deleting it."},"match_logic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Match Logic","description":"How the filters combine: 'AND' (every filter you set must match, the default) or 'OR' (any one)."},"vendors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Vendors","description":"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":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Products","description":"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":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cwe Ids","description":"CWE ids, any of them, e.g. ['CWE-79', 'CWE-787']."},"severity":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Severity","description":"CVSS v3 severities, any of them: LOW, MEDIUM, HIGH, CRITICAL."},"cvss_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss Min","description":"Lowest CVSS v3 base score, 0-10, e.g. 7.5."},"cvss_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss Max","description":"Highest CVSS v3 base score, 0-10."},"epss_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Min","description":"Lowest EPSS probability, 0-1. CVEs without an EPSS score yet do not match while this is set."},"epss_percentile_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Percentile Min","description":"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":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Kev","description":"true: only CVEs on CISA's Known Exploited Vulnerabilities list."},"require_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Require Exploit","description":"true: only CVEs with a public exploit or proof of concept."},"ransomware_use":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ransomware Use","description":"CISA KEV ransomware flag values, e.g. ['Known']."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Words or phrases, any of them, searched in the CVE id, description, vendors and products, e.g. ['vpn', 'authentication bypass']."},"notify_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Email","description":"Send matches by email to the account address."},"notify_webhook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Webhook","description":"Send matches to your webhooks (all active ones, or webhook_id)."},"notify_inapp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Inapp","description":"Show matches in the in-app bell and inbox."},"webhook_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Webhook Id","description":"Send to this webhook only (GET /webhooks lists yours)."},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"Scope the rule to one of your managed customers (Business). Omit for your own rule."}},"type":"object","title":"CveAlertRuleUpdate","description":"Body for PATCH /cve-alerts/{rule_uuid}. Only sent fields change.","example":{"cvss_min":8.0,"products":["Windows","Windows Server"]}},"CveDetail":{"properties":{"cve_id":{"type":"string","title":"Cve Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cvss_v3_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss V3 Score"},"cvss_v3_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvss V3 Severity"},"affected_vendors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Vendors"},"affected_products":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Products"},"cpe_configurations":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cpe Configurations"},"in_kev":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"In Kev"},"has_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Exploit"},"epss_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Score"},"epss_percentile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Percentile"},"published_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Date"},"last_modified":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified"},"kev_added_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Added Date"},"kev_due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Due Date"},"ransomware_use":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ransomware Use"},"exploit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exploit Count"},"id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Id"},"cvss_v3_vector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvss V3 Vector"},"cwe_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cwe Ids"},"reference_urls":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"additionalProperties":true,"type":"object"}]},"type":"array"},{"type":"null"}],"title":"Reference Urls"},"first_exploit_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Exploit Date"},"fetched_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fetched At"}},"additionalProperties":true,"type":"object","required":["cve_id"],"title":"CveDetail"},"CveListItem":{"properties":{"cve_id":{"type":"string","title":"Cve Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cvss_v3_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss V3 Score"},"cvss_v3_severity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cvss V3 Severity"},"affected_vendors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Vendors"},"affected_products":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Affected Products"},"cpe_configurations":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Cpe Configurations"},"in_kev":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"In Kev"},"has_exploit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Exploit"},"epss_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Score"},"epss_percentile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epss Percentile"},"published_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Date"},"last_modified":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Modified"},"kev_added_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Added Date"},"kev_due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kev Due Date"},"ransomware_use":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ransomware Use"},"exploit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exploit Count"}},"additionalProperties":true,"type":"object","required":["cve_id"],"title":"CveListItem"},"CveListResponse":{"properties":{"cves":{"items":{"$ref":"#/components/schemas/CveListItem"},"type":"array","title":"Cves"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"pages":{"type":"integer","title":"Pages"}},"additionalProperties":true,"type":"object","required":["cves","total","page","limit","pages"],"title":"CveListResponse"},"CveSeverityBreakdown":{"properties":{"CRITICAL":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Critical","default":0},"HIGH":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"High","default":0},"MEDIUM":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Medium","default":0},"LOW":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low","default":0},"NONE":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"None","default":0}},"additionalProperties":true,"type":"object","title":"CveSeverityBreakdown"},"CveStatsResponse":{"properties":{"total_cves":{"type":"integer","title":"Total Cves"},"kev_count":{"type":"integer","title":"Kev Count"},"with_exploits":{"type":"integer","title":"With Exploits"},"last_7_days":{"type":"integer","title":"Last 7 Days"},"severity_breakdown":{"$ref":"#/components/schemas/CveSeverityBreakdown"}},"additionalProperties":true,"type":"object","required":["total_cves","kev_count","with_exploits","last_7_days","severity_breakdown"],"title":"CveStatsResponse"},"DarkwebStatsResponse":{"properties":{"ransomware_groups":{"type":"integer","title":"Ransomware Groups"},"total_victims":{"type":"integer","title":"Total Victims"},"victims_last_7d":{"type":"integer","title":"Victims Last 7D"},"victims_last_30d":{"type":"integer","title":"Victims Last 30D"},"last_updated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Updated"},"data_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Source"}},"additionalProperties":true,"type":"object","required":["ransomware_groups","total_victims","victims_last_7d","victims_last_30d"],"title":"DarkwebStatsResponse"},"DigestIssue":{"properties":{"id":{"type":"string","title":"Id"},"edition":{"type":"string","title":"Edition"},"date":{"type":"string","title":"Date"},"subject":{"type":"string","title":"Subject"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"},"industry_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry Slug"},"sections":{"items":{"$ref":"#/components/schemas/DigestSection"},"type":"array","title":"Sections"},"leak_sites":{"anyOf":[{"$ref":"#/components/schemas/DigestLeakSites"},{"type":"null"}]},"moving":{"items":{"type":"string"},"type":"array","title":"Moving"},"previous":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["id","edition","date","subject","sections","moving"],"title":"DigestIssue"},"DigestIssueList":{"properties":{"issues":{"items":{"$ref":"#/components/schemas/DigestIssueListItem"},"type":"array","title":"Issues"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["issues","total"],"title":"DigestIssueList"},"DigestIssueListItem":{"properties":{"id":{"type":"string","title":"Id"},"edition":{"type":"string","title":"Edition"},"date":{"type":"string","title":"Date"},"subject":{"type":"string","title":"Subject"},"story_count":{"type":"integer","title":"Story Count"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry"}},"type":"object","required":["id","edition","date","subject","story_count"],"title":"DigestIssueListItem"},"DigestLeakGroup":{"properties":{"name":{"type":"string","title":"Name"},"count":{"type":"integer","title":"Count","default":0}},"type":"object","required":["name"],"title":"DigestLeakGroup"},"DigestLeakSites":{"properties":{"hours":{"type":"integer","title":"Hours","default":24},"victims":{"type":"integer","title":"Victims","default":0},"group_total":{"type":"integer","title":"Group Total","default":0},"groups":{"items":{"$ref":"#/components/schemas/DigestLeakGroup"},"type":"array","title":"Groups","default":[]}},"type":"object","title":"DigestLeakSites"},"DigestSection":{"properties":{"title":{"type":"string","title":"Title"},"stories":{"items":{"$ref":"#/components/schemas/DigestStory"},"type":"array","title":"Stories"}},"type":"object","required":["title","stories"],"title":"DigestSection"},"DigestStory":{"properties":{"title":{"type":"string","title":"Title"},"summary":{"type":"string","title":"Summary","default":""},"url":{"type":"string","title":"Url","default":""},"category":{"type":"string","title":"Category","default":""},"sources":{"type":"integer","title":"Sources","default":0},"score":{"type":"integer","title":"Score","default":0},"entities":{"items":{"type":"string"},"type":"array","title":"Entities","default":[]}},"type":"object","required":["title"],"title":"DigestStory"},"DomainIn":{"properties":{"domain":{"type":"string","maxLength":253,"minLength":3,"title":"Domain"}},"type":"object","required":["domain"],"title":"DomainIn"},"EnableIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"reason":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Reason"}},"type":"object","required":["enabled"],"title":"EnableIn"},"EntitiesSearchResponse":{"properties":{"entities":{"items":{"$ref":"#/components/schemas/EntitySearchItem"},"type":"array","title":"Entities"},"count":{"type":"integer","title":"Count"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"},"entity_type_relaxed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Entity Type Relaxed"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"additionalProperties":true,"type":"object","required":["entities","count"],"title":"EntitiesSearchResponse"},"EntitiesTrendingResponse":{"properties":{"trending":{"additionalProperties":{"items":{"$ref":"#/components/schemas/TrendingEntity"},"type":"array"},"type":"object","title":"Trending","description":"Keyed by entity type (apt_group, malware, ...)"},"time_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Filter"},"limit_per_type":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Per Type"}},"additionalProperties":true,"type":"object","required":["trending"],"title":"EntitiesTrendingResponse"},"EntityDetailsResponse":{"properties":{"entity":{"$ref":"#/components/schemas/EntityInfo"},"overview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Overview"},"recent_events":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recent Events"},"clusters":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Clusters"},"articles":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Articles"},"co_entities":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Co Entities"},"co_entities_with_counts":{"anyOf":[{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Co Entities With Counts"},"aliases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Aliases"},"leak_site":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Leak Site"}},"additionalProperties":true,"type":"object","required":["entity"],"title":"EntityDetailsResponse"},"EntityInfo":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"frequency":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Frequency"},"first_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Seen"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value"],"title":"EntityInfo"},"EntitySearchItem":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"article_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Count"},"cluster_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cluster Count"},"cve_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cve Count"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"victim_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Victim Count"},"first_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Seen"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value"],"title":"EntitySearchItem"},"EntityTimelineResponse":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"days":{"type":"integer","title":"Days"},"timeline":{"title":"Timeline","description":"Shape TBD: dict of entity_value → daily counts"}},"additionalProperties":true,"type":"object","required":["entity_type","days","timeline"],"title":"EntityTimelineResponse"},"ExemptIn":{"properties":{"exempt":{"type":"boolean","title":"Exempt"}},"type":"object","required":["exempt"],"title":"ExemptIn"},"FacetValue":{"properties":{"value":{"type":"string","title":"Value"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["value","count"],"title":"FacetValue"},"FeedCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"Feed name (required)."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Untyped keywords to seed the feed — matched against the entity values extracted from articles."},"entities":{"anyOf":[{"items":{"$ref":"#/components/schemas/FeedEntityInput"},"type":"array"},{"type":"null"}],"title":"Entities","description":"Typed entities to seed the feed, e.g. {\"keyword\": \"FortiOS\", \"entity_type\": \"platform\"}. Use this for a stack or supply-chain feed."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional feed description."},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"Create the feed on one of your managed customers (Business plan). Omit for a personal feed."}},"type":"object","required":["name"],"title":"FeedCreate","description":"Body for POST /api/public/v1/feeds — create a feed on your OWN account.","example":{"description":"Kit I run + ransomware chatter","keywords":["Fortinet","FortiGate","ransomware"],"name":"Fortinet + ransomware"}},"FeedEntitiesAdd":{"properties":{"entities":{"anyOf":[{"items":{"$ref":"#/components/schemas/FeedEntityInput"},"type":"array"},{"type":"null"}],"title":"Entities"},"keyword":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Keyword","description":"Shorthand for a single entity."},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},"type":"object","title":"FeedEntitiesAdd","description":"Body for POST /feeds/{feed_id}/entities. Send `entities` (batch) or a single `keyword`.","example":{"entities":[{"entity_type":"platform","keyword":"FortiOS"},{"entity_type":"company","keyword":"Okta"}]}},"FeedEntitiesResponse":{"properties":{"feed_id":{"type":"string","title":"Feed Id"},"entities":{"items":{"$ref":"#/components/schemas/FeedEntity"},"type":"array","title":"Entities"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["feed_id","entities","count"],"title":"FeedEntitiesResponse"},"FeedEntity":{"properties":{"keyword":{"type":"string","title":"Keyword"},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"},"is_custom":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Custom"}},"additionalProperties":true,"type":"object","required":["keyword"],"title":"FeedEntity"},"FeedEntityInput":{"properties":{"keyword":{"type":"string","maxLength":200,"minLength":1,"title":"Keyword","description":"The value to match: a vendor, product, company, actor, malware, CVE…"},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type","description":"Type hint: company, platform, product, apt_group, ransomware_group, malware, cve, country, industry, attack_type. Omit for a plain keyword."},"is_custom":{"type":"boolean","title":"Is Custom","description":"True for a free-text keyword that is not a known entity.","default":false}},"type":"object","required":["keyword"],"title":"FeedEntityInput","description":"One entity to add to a feed."},"FeedResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ThreatListItem"},"type":"array","title":"Items"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"},"time_filter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Filter"},"sort_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort By"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"feed_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feed Type"}},"additionalProperties":true,"type":"object","required":["items"],"title":"FeedResponse"},"FeedSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"entity_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Count"},"is_shared":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Shared"},"is_owner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Owner"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"additionalProperties":true,"type":"object","required":["id","name"],"title":"FeedSummary"},"FeedUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description"},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id","description":"The managed customer the feed belongs to, if not personal."}},"type":"object","title":"FeedUpdate","description":"Body for PATCH /feeds/{feed_id}."},"FeedsListResponse":{"properties":{"feeds":{"items":{"$ref":"#/components/schemas/FeedSummary"},"type":"array","title":"Feeds"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["feeds","count"],"title":"FeedsListResponse"},"FounderPostIn":{"properties":{"kind":{"type":"string","pattern":"^(data|first|progress|take|brief)$","title":"Kind"},"note":{"type":"string","maxLength":4000,"title":"Note","default":""},"surface":{"type":"string","pattern":"^(linkedin|post|threads)$","title":"Surface","default":"linkedin"}},"type":"object","required":["kind"],"title":"FounderPostIn"},"FounderReplyIn":{"properties":{"url":{"type":"string","maxLength":300,"title":"Url"},"note":{"type":"string","maxLength":1000,"title":"Note","default":""}},"type":"object","required":["url"],"title":"FounderReplyIn"},"GroupDetailResponse":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active","description":"Computed from recent victim activity, not upstream flag"},"has_captcha":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Captcha"},"first_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Seen"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"},"victim_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Victim Count"},"recent_victim_count_30d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Victim Count 30D"},"tools":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tools"},"urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Urls","description":"Tor leak-site URLs"},"profile_links":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Profile Links","description":"Analyst write-ups / research blogs"},"recent_victims":{"anyOf":[{"items":{"$ref":"#/components/schemas/GroupRecentVictim"},"type":"array"},{"type":"null"}],"title":"Recent Victims"},"screenshot_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot Url"},"page_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Title"},"ai_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Description"},"ai_risk_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Ai Risk Tags"},"ai_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Language"},"captcha_or_login_gate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Captcha Or Login Gate"},"scraped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scraped At"},"entities":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Entities"}},"additionalProperties":true,"type":"object","required":["name"],"title":"GroupDetailResponse"},"GroupHeatmap":{"properties":{"groups":{"items":{"type":"string"},"type":"array","title":"Groups","description":"Group names, row order in the heatmap"},"weeks":{"items":{"type":"string"},"type":"array","title":"Weeks","description":"Week-start dates, column order"},"cells":{"additionalProperties":{"items":{"type":"integer"},"type":"array"},"type":"object","title":"Cells","description":"group_name → weekly victim counts (aligned with `weeks`)"}},"additionalProperties":true,"type":"object","required":["groups","weeks","cells"],"title":"GroupHeatmap"},"GroupRecentVictim":{"properties":{"id":{"type":"string","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},"additionalProperties":true,"type":"object","required":["id"],"title":"GroupRecentVictim"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeywordCreate":{"properties":{"keyword":{"type":"string","maxLength":200,"minLength":1,"title":"Keyword"},"entity_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Type"},"is_custom":{"type":"boolean","title":"Is Custom","default":false},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},"type":"object","required":["keyword"],"title":"KeywordCreate","description":"Body for POST /keywords (the entities behind feed_type=my_feed)."},"KeywordHitGroup":{"properties":{"group_name":{"type":"string","title":"Group Name"},"victim_count":{"type":"integer","title":"Victim Count"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"}},"additionalProperties":true,"type":"object","required":["group_name","victim_count"],"title":"KeywordHitGroup"},"KeywordHitVictim":{"properties":{"id":{"type":"string","title":"Id"},"victim_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Victim Name"},"group_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Name"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered"}},"additionalProperties":true,"type":"object","required":["id"],"title":"KeywordHitVictim"},"KeywordHitsBucket":{"properties":{"victims":{"items":{"$ref":"#/components/schemas/KeywordHitVictim"},"type":"array","title":"Victims","default":[]},"groups":{"items":{"$ref":"#/components/schemas/KeywordHitGroup"},"type":"array","title":"Groups","default":[]}},"additionalProperties":true,"type":"object","title":"KeywordHitsBucket"},"KeywordHitsResponse":{"properties":{"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords","description":"Echo of the keywords matched against"},"hits":{"$ref":"#/components/schemas/KeywordHitsBucket"},"total":{"type":"integer","title":"Total","description":"Sum across all buckets"}},"additionalProperties":true,"type":"object","required":["keywords","hits","total"],"title":"KeywordHitsResponse"},"LintIn":{"properties":{"text":{"type":"string","maxLength":8000,"title":"Text"},"voice":{"type":"string","pattern":"^(brand|founder)$","title":"Voice","default":"brand"},"surface":{"type":"string","pattern":"^(post|reply|linkedin|thread|analysis|threads)$","title":"Surface","default":"post"}},"type":"object","required":["text"],"title":"LintIn"},"MintBearerBody":{"properties":{"session_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Session Id"},"max_requests":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Max Requests"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","title":"MintBearerBody"},"MsspCustomerCreate":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name","description":"Customer display name (required)."},"domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Domain","description":"Primary domain, e.g. acme.com. Used for matching/branding."},"contact_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Contact Email","description":"Contact address for this customer (optional)."},"sector":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Sector","description":"Client industry/sector. When set, the dark-web trends widgets auto-scope to it for this client (use values from /darkweb/ransomware/victims/facets)."},"country":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Country","description":"Client country/region (ISO-2 or name)."},"notes":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Notes","description":"Free-text notes (optional)."}},"type":"object","required":["name"],"title":"MsspCustomerCreate","description":"Body for POST /api/public/v1/mssp/customers.","example":{"contact_email":"soc@acme.com","country":"GB","domain":"acme.com","name":"Acme Ltd","notes":"Onboarded via platform sync","sector":"Financial Services"}},"MsspCustomerFeedCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"Feed name (required)."},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords","description":"Keywords to seed the feed with — company names, brands, domains, supplier names, sector terms. Matched against news clusters."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Optional feed description."}},"type":"object","required":["name"],"title":"MsspCustomerFeedCreate","description":"Body for POST /api/public/v1/mssp/customers/{customer_id}/feed.","example":{"description":"News/cluster monitoring for Acme + suppliers","keywords":["Acme","acme.com","Acme Payroll"],"name":"Acme monitoring"}},"MsspCustomerUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name","description":"New display name."},"domain":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Domain","description":"New primary domain."},"contact_email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Contact Email","description":"New contact address."},"sector":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Sector","description":"New sector/industry (auto-scopes trends widgets)."},"country":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Country","description":"New country/region."},"notes":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Notes","description":"New notes."},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","description":"Set false to deactivate/offboard the customer (soft-delete; cascades to its scoped feeds, alert rules, webhooks and digests — deactivated, not purged). Reactivation is not available via the API."}},"type":"object","title":"MsspCustomerUpdate","description":"Body for PATCH /api/public/v1/mssp/customers/{customer_id}. Send only the\nfields you want to change. `is_active: false` offboards the customer.","example":{"is_active":false,"name":"Acme Ltd (renamed)"}},"MsspFeedKeywords":{"properties":{"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords","description":"The complete desired keyword set for this feed. Missing keywords are removed; new ones are added."}},"type":"object","required":["keywords"],"title":"MsspFeedKeywords","description":"Body for PUT …/feed/{feed_uuid}/keywords — declarative keyword sync. The\nfeed's keywords become EXACTLY this set (adds new, removes any not listed).\nIdeal for a platform re-syncing a client's suppliers/stack when it changes.","example":{"keywords":["Acme","acme.com","Acme Payroll","NewSupplier Ltd"]}},"MsspFeedUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name","description":"New feed name."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"New description."}},"type":"object","title":"MsspFeedUpdate","description":"Body for PATCH …/feed/{feed_uuid} — rename / re-describe a feed.","example":{"name":"Acme monitoring (updated)"}},"RansomwareGroupListItem":{"properties":{"name":{"type":"string","title":"Name"},"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"victim_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Victim Count"},"recent_victim_count_30d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Victim Count 30D"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"has_captcha":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Captcha"},"profile_links":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Profile Links"},"tools":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tools"}},"additionalProperties":true,"type":"object","required":["name"],"title":"RansomwareGroupListItem"},"RansomwareGroupsListResponse":{"properties":{"groups":{"items":{"$ref":"#/components/schemas/RansomwareGroupListItem"},"type":"array","title":"Groups"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["groups","count"],"title":"RansomwareGroupsListResponse"},"RansomwareVictimsListResponse":{"properties":{"victims":{"items":{"$ref":"#/components/schemas/VictimListItem"},"type":"array","title":"Victims"},"count":{"type":"integer","title":"Count","description":"Items returned in this response (not total)"}},"additionalProperties":true,"type":"object","required":["victims","count"],"title":"RansomwareVictimsListResponse"},"RelatedEntitiesResponse":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"related":{"items":{"$ref":"#/components/schemas/RelatedEntity"},"type":"array","title":"Related"},"sub_relationships":{"anyOf":[{},{"type":"null"}],"title":"Sub Relationships"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value","related"],"title":"RelatedEntitiesResponse"},"RelatedEntity":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"shared_clusters":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shared Clusters"},"co_occurrences":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Co Occurrences"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value"],"title":"RelatedEntity"},"SearchArticleHit":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"pub_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pub Date"}},"additionalProperties":true,"type":"object","title":"SearchArticleHit"},"SearchDarkwebHit":{"properties":{"type":{"type":"string","title":"Type","description":"victim | group | market | breach | underground | underground_victim"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date","description":"Event date where the hit has one (victims, breaches, underground)"}},"additionalProperties":true,"type":"object","required":["type"],"title":"SearchDarkwebHit"},"SearchEntityHit":{"properties":{"entity_type":{"type":"string","title":"Entity Type"},"entity_value":{"type":"string","title":"Entity Value"},"cluster_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cluster Count"},"article_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Count"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"},"is_new":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is New"}},"additionalProperties":true,"type":"object","required":["entity_type","entity_value"],"title":"SearchEntityHit"},"SearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"clusters":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Clusters","description":"Clusters in the same shape as GET /threats"},"entities":{"items":{"$ref":"#/components/schemas/SearchEntityHit"},"type":"array","title":"Entities"},"darkweb":{"items":{"$ref":"#/components/schemas/SearchDarkwebHit"},"type":"array","title":"Darkweb"},"articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/SearchArticleHit"},"type":"array"},{"type":"null"}],"title":"Articles","description":"Only present when include_articles=true"},"include_articles":{"type":"boolean","title":"Include Articles","default":false},"limit":{"type":"integer","title":"Limit"},"days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days","description":"Window applied, when one was (free keys: always 7)"},"total":{"type":"integer","title":"Total","description":"Sum across the returned buckets"},"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tier"},"lookback_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lookback Days"},"terms_searched":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Terms Searched"},"indicator":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Indicator"},"did_you_mean":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Did You Mean"},"corrected_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Corrected To","description":"Set when nothing matched the query and the results are for this near name instead"},"matched_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched Stage","description":"'words' when the phrase matched nothing and the results come from its significant words"}},"additionalProperties":true,"type":"object","required":["query","limit","total"],"title":"SearchResponse"},"StatsOverviewResponse":{"properties":{"total_clusters":{"type":"integer","title":"Total Clusters"},"total_articles":{"type":"integer","title":"Total Articles"},"total_entities":{"type":"integer","title":"Total Entities"},"clusters_24h":{"type":"integer","title":"Clusters 24H"},"articles_24h":{"type":"integer","title":"Articles 24H"}},"additionalProperties":true,"type":"object","required":["total_clusters","total_articles","total_entities","clusters_24h","articles_24h"],"title":"StatsOverviewResponse"},"ThreatDetailResponse":{"properties":{"cluster_id":{"type":"string","title":"Cluster Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"ai_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Title"},"ai_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Summary"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"timeline":{"anyOf":[{"type":"string"},{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Timeline"},"article_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Count"},"threat_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threat Score"},"recency_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recency Score"},"coverage_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage Score"},"severity_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Severity Score"},"sentiment_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sentiment Score"},"geopolitical_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Geopolitical Score"},"actionability_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actionability Score"},"severity_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity Reason"},"credibility_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Credibility Score"},"urgency_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency Level"},"early_signal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Early Signal"},"breaking_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Breaking At"},"breaking_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Breaking Reason"},"ranking_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ranking Score"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords"},"sources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sources"},"severity_indicators":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Severity Indicators"},"date_range_earliest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range Earliest"},"date_range_latest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range Latest"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"recent_article_count_12h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Article Count 12H"},"recent_article_count_6h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Article Count 6H"},"insights_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Insights Count"},"articles":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Articles"},"entities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Entities"}},"additionalProperties":true,"type":"object","required":["cluster_id"],"title":"ThreatDetailResponse","description":"Threat detail response — same shape as a list item but clients\ntypically expect the full row. Kept as a separate model so Swagger\ncan annotate it independently (summary, example)."},"ThreatIocsResponse":{"properties":{"iocs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Iocs","description":"Each entry: {type, value, confidence, reason, ...}"},"count":{"type":"integer","title":"Count"},"cluster_id":{"type":"string","title":"Cluster Id"}},"additionalProperties":true,"type":"object","required":["iocs","count","cluster_id"],"title":"ThreatIocsResponse"},"ThreatListItem":{"properties":{"cluster_id":{"type":"string","title":"Cluster Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"ai_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Title"},"ai_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Summary"},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url"},"timeline":{"anyOf":[{"type":"string"},{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Timeline"},"article_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Count"},"threat_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Threat Score"},"recency_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recency Score"},"coverage_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage Score"},"severity_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Severity Score"},"sentiment_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sentiment Score"},"geopolitical_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Geopolitical Score"},"actionability_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Actionability Score"},"severity_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity Reason"},"credibility_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Credibility Score"},"urgency_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urgency Level"},"early_signal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Early Signal"},"breaking_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Breaking At"},"breaking_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Breaking Reason"},"ranking_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ranking Score"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords"},"sources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sources"},"severity_indicators":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Severity Indicators"},"date_range_earliest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range Earliest"},"date_range_latest":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Range Latest"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"recent_article_count_12h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Article Count 12H"},"recent_article_count_6h":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recent Article Count 6H"},"insights_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Insights Count"},"articles":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Articles"},"entities":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Entities"}},"additionalProperties":true,"type":"object","required":["cluster_id"],"title":"ThreatListItem"},"ThreatsListResponse":{"properties":{"threats":{"items":{"$ref":"#/components/schemas/ThreatListItem"},"type":"array","title":"Threats"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"}},"additionalProperties":true,"type":"object","required":["threats"],"title":"ThreatsListResponse"},"TopIndustry":{"properties":{"industry":{"type":"string","title":"Industry"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["industry","count"],"title":"TopIndustry"},"TrendingEntity":{"properties":{"value":{"type":"string","title":"Value"},"frequency":{"type":"integer","title":"Frequency"},"change":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change","description":"% change vs prior window"},"is_new":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is New"}},"additionalProperties":true,"type":"object","required":["value","frequency"],"title":"TrendingEntity"},"TrendsResponse":{"properties":{"victims_weekly":{"items":{"$ref":"#/components/schemas/WeeklyVictimPoint"},"type":"array","title":"Victims Weekly"},"top_industries":{"items":{"$ref":"#/components/schemas/TopIndustry"},"type":"array","title":"Top Industries"},"group_heatmap":{"$ref":"#/components/schemas/GroupHeatmap"}},"additionalProperties":true,"type":"object","required":["victims_weekly","top_industries","group_heatmap"],"title":"TrendsResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VictimEnrichmentResponse":{"properties":{"id":{"type":"string","title":"Id"},"victim_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Victim Name"},"group_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Name"},"discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"post_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Post Url"},"screenshot_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot Url","description":"Screenshot of the listing, when we hold one"},"scraped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scraped At"},"extracted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extracted At"},"scrape_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Scrape Ok"},"scrape_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scrape Error"},"legal_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Name"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"headquarters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Headquarters"},"revenue":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Revenue"},"employee_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Employee Count"},"founded_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Founded Year"},"victim_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Victim Description","description":"AI-generated victim description"},"domains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Domains"},"people":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"People"},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Platforms"},"data_size":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data Size"},"data_size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data Size Bytes"},"file_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Count"},"view_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"View Count"},"data_categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Data Categories"},"group_tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Group Tags"},"publication_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Status","description":"listed | countdown | partial_leak | fully_leaked | removed"},"victim_status_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Victim Status Raw"},"countdown":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Countdown"},"countdown_ends_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Countdown Ends At"},"posted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Posted At"},"publication_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication At"},"ransom_amount":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Ransom Amount"},"sample_files":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sample Files"},"file_types":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"File Types"},"negotiation_contacts":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Negotiation Contacts"},"negotiation_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Negotiation State"},"negotiation_chat_excerpts":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Negotiation Chat Excerpts"},"page_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Language"},"victim_tld":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Victim Tld"},"is_sea_hit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sea Hit"},"image_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Count"},"image_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Image Bytes"},"images":{"anyOf":[{"items":{"$ref":"#/components/schemas/VictimImage"},"type":"array"},{"type":"null"}],"title":"Images"},"site_screenshot_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Screenshot Url"},"site_screenshot_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Screenshot At"},"site_screenshot_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site Screenshot Error"},"entities":{"anyOf":[{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Entities","description":"Entities extracted from the leak post, keyed by entity_type (company, country, industry, ...) → [{value, confidence}]"},"timeline":{"anyOf":[{"items":{"$ref":"#/components/schemas/VictimTimelineEvent"},"type":"array"},{"type":"null"}],"title":"Timeline","description":"Dated events for this listing, oldest first, with any deadline the group printed as the last, upcoming entry. Built only from stored timestamps."},"last_scraped_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Scraped At","description":"ISO 8601 UTC: the latest time ThreatCluster fetched the leak post (successful or not)."}},"additionalProperties":true,"type":"object","required":["id"],"title":"VictimEnrichmentResponse"},"VictimFacetsResponse":{"properties":{"countries":{"items":{"$ref":"#/components/schemas/FacetValue"},"type":"array","title":"Countries","default":[]},"sectors":{"items":{"$ref":"#/components/schemas/FacetValue"},"type":"array","title":"Sectors","default":[]},"groups":{"items":{"$ref":"#/components/schemas/FacetValue"},"type":"array","title":"Groups","default":[]}},"additionalProperties":true,"type":"object","title":"VictimFacetsResponse"},"VictimImage":{"properties":{"url":{"type":"string","title":"Url","description":"DO Spaces URL of the blurred, watermarked thumbnail"},"hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hash"},"bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bytes"},"mime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Original onion URL the image was scraped from"},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption","description":"GPT-4o-mini factual caption (no PII reproduced)"},"blurred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Blurred","description":"Always true for customer-facing images","default":true}},"additionalProperties":true,"type":"object","required":["url"],"title":"VictimImage"},"VictimListItem":{"properties":{"id":{"type":"string","title":"Id","description":"16-char victim id; stable primary key"},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group","description":"Ransomware group short name (e.g. 'qilin')"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Victim organisation name as posted on the leak site"},"discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Discovered","description":"ISO-8601 timestamp we first saw this victim"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"ISO-2 country code or full name"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"screenshot_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot Url","description":"Screenshot of the listing, when we hold one"},"post_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Post Url","description":"Onion URL of the original leak post"}},"additionalProperties":true,"type":"object","required":["id"],"title":"VictimListItem"},"VictimTimelineEvent":{"properties":{"at":{"type":"string","title":"At","description":"ISO 8601 UTC instant. When precision is 'day' the source printed a date only and this is midnight UTC of that date."},"event_type":{"type":"string","title":"Event Type","description":"Derived from stored timestamps: posted | first_recorded | first_read | screenshot_captured | images_archived | last_read | last_seen | delisted | countdown_deadline | publication_date. Observed changes between two of our reads: data_size_changed | file_count_changed | status_changed | countdown_set | countdown_changed | countdown_cleared | relisted | screenshot_changed | mirror_down | mirror_up (a mirror of the group's leak site)."},"precision":{"type":"string","title":"Precision","description":"'time' or 'day'","default":"time"},"title":{"type":"string","title":"Title","description":"Short sentence, e.g. \"Aurora's countdown deadline\". The group is the subject of every claim."},"detail":{"type":"string","title":"Detail","description":"Context for the event, e.g. the claims as of our last read or the countdown text as printed.","default":""},"source":{"type":"string","title":"Source","description":"Where the date came from: 'leak site' (printed by the group), 'leak-site monitoring' (when the listing was first recorded) or 'ThreatCluster crawl' (our own collector)."},"upcoming":{"type":"boolean","title":"Upcoming","description":"True for a deadline (countdown_deadline, publication_date) still in the future at response time.","default":false}},"additionalProperties":true,"type":"object","required":["at","event_type","title","source"],"title":"VictimTimelineEvent","description":"One dated event in a leak-site listing's history. Built only from\nstored timestamps; nothing is inferred. Claims are the group's."},"WebhookCreate":{"properties":{"webhook_url":{"type":"string","maxLength":500,"minLength":10,"title":"Webhook Url"},"webhook_type":{"type":"string","enum":["json","discord","slack","teams"],"title":"Webhook Type","default":"json"},"secret_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Secret Key"},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"}},"type":"object","required":["webhook_url"],"title":"WebhookCreate","description":"Validation model for webhook creation."},"WebhookCreatePublic":{"properties":{"webhook_url":{"type":"string","maxLength":500,"minLength":10,"title":"Webhook Url","description":"HTTPS URL on port 443; internal and private hosts are rejected."},"webhook_type":{"type":"string","title":"Webhook Type","description":"json | slack | discord | teams","default":"json"},"secret_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Secret Key","description":"Optional HMAC-SHA256 secret; json deliveries carry X-ThreatCluster-Signature."},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},"type":"object","required":["webhook_url"],"title":"WebhookCreatePublic","description":"Body for POST /webhooks.","example":{"name":"SOAR intake","webhook_type":"json","webhook_url":"https://hooks.example.com/threatcluster"}},"WebhookUpdate":{"properties":{"webhook_url":{"anyOf":[{"type":"string","maxLength":500,"minLength":10},{"type":"null"}],"title":"Webhook Url"},"webhook_type":{"anyOf":[{"type":"string","enum":["json","discord","slack","teams"]},{"type":"null"}],"title":"Webhook Type"},"secret_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Secret Key"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"}},"type":"object","title":"WebhookUpdate","description":"Validation model for webhook updates."},"WebhookUpdatePublic":{"properties":{"webhook_url":{"anyOf":[{"type":"string","maxLength":500,"minLength":10},{"type":"null"}],"title":"Webhook Url"},"webhook_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Type"},"secret_key":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Secret Key"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"name":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Name"},"mssp_customer_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mssp Customer Id"}},"type":"object","title":"WebhookUpdatePublic","description":"Body for PATCH /webhooks/{id}. Only sent fields change."},"WeeklyVictimPoint":{"properties":{"week":{"type":"string","title":"Week","description":"ISO date of the week-start (Monday)"},"count":{"type":"integer","title":"Count"}},"additionalProperties":true,"type":"object","required":["week","count"],"title":"WeeklyVictimPoint"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key for authentication. Get yours from Settings."}}},"servers":[{"url":"https://threatcluster.io","description":"Production"}],"security":[{"ApiKeyAuth":[]}]}