API changelog
Changes to the hosted Scan API and how to migrate existing integrations.
Projects and Guardrails
Section titled “Projects and Guardrails”API keys now belong to projects that store a versioned scan configuration. Existing integrations keep working.
- Project Guardrails: a request without
configscans with the Guardrails of the key’s project. Existing keys belong to the Standard project, whose Guardrails use the seven default categories, so requests withoutconfigbehave as before until you change them. - Provenance: such responses and their asynchronous jobs include
project: {id, revision}. Requests with an explicitconfigare unchanged and carry noproject. - Explicit config replaces: a request
configis never merged with project Guardrails. - Stricter
gates.cascade: onlymoduleswithdetect_thresholdandclear_thresholdbetween0and1for selectable categories are accepted. Other fields now return422. - More API keys: Free allows two active keys, Personal three; Pro stays at five.
- Example clients: the complete clients on examples no longer send a default
config, so they use project Guardrails.
To adopt projects, create a project per application, configure its Guardrails, bind the application’s key, and remove the hard-coded config from the client. See projects and Guardrails.
Ark 0.1.18 integration
Section titled “Ark 0.1.18 integration”The hosted Scan API now uses Ark 0.1.18 for analysis. The /api/v1/scan route and job lifecycle stay the same. The detection taxonomy, default categories, model assets, and some result fields change.
Breaking changes
Section titled “Breaking changes”- Default categories: A request without
config.categoriesnow selectspii,dlp,injection,jailbreak,prompt_extraction,tool_poisoning, andexfiltration. Previously it selected onlyinjectionanddlp. Setconfig.categoriesexplicitly if an integration needs a fixed set or if it should avoid the added checks. threatremoved: The old category is rejected. Select the attack classes relevant to your policy:injection,jailbreak,prompt_extraction,tool_poisoning,agent_config_tampering,memory_poisoning,exfiltration,unsafe_action,resource_exhaustion,harmful_content, andtoxic_language. Rules run only for selected categories. A formerinjection-only request needs other categories to retain jailbreak, prompt-extraction, or tool-poisoning coverage.- DLP scope:
dlpreports secrets and classification markings. Destructive operations, sensitive-material access, and risky MCP calls now report underunsafe_action; secret transfers report underexfiltration. Existingdlp_*rule switches still work. - Category results: Attack findings appear under their attack-class keys. Inspect every selected category and the job’s
completionbefore acting. A missing category result does not establish clean input.
Added and changed
Section titled “Added and changed”- Wolf Defender Small v2.2: Injection uses the dedicated Wolf Small L3 model and the matching new injection NTDB L2 package. The service prepares and pins these assets; clients do not choose model revisions per scan. Other model-backed categories use Ark 0.1.18’s revision-pinned NTDB packages.
- PII and DLP heuristics:
gates.pii_modeandgates.dlp_modeacceptstrict,balanced, orrecall. The latter modes filter native evidence below their score floors. Each attack class has its own<category>_modewith the same values. Evidence spans keep their source-text offsets. - Cat Shell Risk Commander: Select
shell_commandto inspect a command or script before execution. The category exposesshell_decision(allow,ask,block) and boundedshell_detailsfor its model and Cedar policy evidence. The job decision mapsasktoreviewunless another selected category blocks;blockmaps toblock. Cat never executes the command. - Advanced gates:
metadata,ntdb_operating_point, request-localdynamic_pii, and Ark’s conditional, L3 policy, and opt-in cascade gates are available in scan configuration. Cascade results can includemodule_decision.
Migrate a request
Section titled “Migrate a request”Old:
{"text": "Text to inspect", "config": {"categories": ["injection", "dlp", "pii", "threat"]}}New example with explicit attack classes:
{"text": "Text to inspect", "config": {"categories": ["pii", "dlp", "injection", "jailbreak", "prompt_extraction", "tool_poisoning", "exfiltration", "unsafe_action"]}}The exact replacement for threat depends on the detections your application enforces. See configuration and results for the full category and response contracts.