Injection

POST

Injection detects potential prompt injection attacks.

Request

This endpoint expects an object.
promptstringRequired

The prompt to check for injection attack.

detectbooleanRequired

Whether to detect potential injection attacks.

Response

Successful response.

idstringOptional

Unique ID for the injection check.

objectstringOptional

Type of object (injection_check).

createdintegerOptional

Timestamp of when the injection check was created.

checkslist of objectsOptional

The set of vectorized data.

Errors

Built with