AI Safety endpoints
Evaluate
Evaluation and guardrails
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Rails and policies will be evaluated based on the messages. Policies requires at least the user and assistant, and system message is optional.
If enabled and any violation happens, will provide a compliant correction to the user input. Override_response has priority.
If provided, will override the default policies enabled on console.