This endpoint accepts a text prompt, strips PII, and checks it for prompt injection, returning an injection score.

Log in to see full request history
Body Params
string

The user ID of the user who is submitting the prompt. This is used to flag suspicious users

string

The session ID of the user who is submitting the prompt. This is used to flag suspicious sessions

string
required

The text prompt to be verified.

boolean

Whether to scan for PII in the prompt.

string

The XML tag that is used to escape user input in your prompt (this may have been generated with keep).

boolean

Whether to scan for badwords in the prompt.

boolean

Whether to perform a fast check on the prompt instead of a full check.

Responses

400

Bad request. The prompt field is missing or invalid.

500

Internal server error.

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json