PUT
firecrawl_threat_protection_update.py
from charter.packs import firecrawl
result = await firecrawl.threat_protection_update.ainvoke({"mode": ...})
Body
| Field | Type | Description |
|---|---|---|
mode * | ThreatProtectionMode | Threat protection mode. |
riskScoreThreshold | integer | Normalized score (0-100) at or above which a classifier verdict is blocked. ≥ 0; ≤ 100 |
blacklist | string[] | Exact domains or globs always blocked, without a classifier call. |
whitelist | string[] | Exact domains or globs always allowed. Wins over every other rule. |
blockedTlds | string[] | Top-level domains to block outright, lowercase without a leading dot. |
failurePolicy | ThreatProtectionFailurePolicy | Behavior when the classifier is unreachable. The server applies ‘closed’ when this is absent. |
allowRequestOverrides | boolean | Whether individual requests may pass a threatProtection object. |