+ Create new secret key
.Quickstart Key
.Add
button.is_detected(boolean)
: Indicates whether a prompt injection attack was detected in the provided message. In this example, it is False.score(float: 0.0 - 1.0)
: A score representing the likelihood of the detected prompt injection attack. In this example, it is 0.0.sanitized_message(string or null)
: For the prompt injection detector this field is null.latency(float or null)
: Time in milliseconds during which the detection was performed401 Unauthorized
: API key is missing or invalid.400 Bad Request
: The request body is malformed.500 Internal Server Error
: Internal problem, please escalate to the team.