Scan image for prompt injection
API Reference
Scan Image for Prompt Injection
POST
Scan image for prompt injection
Learn more about the risk categories returned by this endpoint in Risk Classifications.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Base64-encoded image string. Supported formats: PNG, JPEG, GIF, WebP
Only detect these categories (mutually exclusive with 'exclude')
Available options:
output_manipulation, context_injection, data_exfiltration, unauthorized_actions Exclude these categories from detection (mutually exclusive with 'only')
Available options:
output_manipulation, context_injection, data_exfiltration, unauthorized_actions Minimum confidence level to include in results. Default: 'medium' (include all)
Available options:
medium, high 
