/v1/rai/policies
Create a new Responsible AI (RAI) policy.
Description
This endpoint allows creating a new RAI policy including configuration for topics, keywords, toxicity checks, prompt injection protection, and PII/secrets detection.Request
Headersx-api-key
: API key for authentication (required)Content-Type
:application/json
Response
200 OK
422 Unprocessable Entity
Curl Example
Authorizations
Body
application/json