Injection

POST
Injection detects potential prompt injection attacks.

Request

This endpoint expects an object.
prompt
stringRequired
The prompt to check for injection attack.
detect
booleanRequired
Whether to detect potential injection attacks.

Response

This endpoint returns an object
id
stringOptional
Unique ID for the chat completion.
object
stringOptional
Type of object (chat completion).
created
integerOptional
Timestamp of when the chat completion was created.
checks
list of objectsOptional
The set of vectorized data.

Errors