Preview prompt-injection scan (free)
preview_scan_textFree. Prompt-injection pre-check for up to 1000 characters: verdict (safe/suspicious/malicious), score, categories and rule ids. For spans, a sanitized copy, long texts or batches use scan_text (paid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to check, up to 1000 characters | |
| source | No | Where the text comes from; tunes a few rules (token_metadata flags any URL in a token name). |