POST
/
guardrails
/
policy-atomizer
curl --request POST \
  --url https://api.enkryptai.com/guardrails/policy-atomizer \
  --header 'Content-Type: multipart/form-data' \
  --header 'apikey: <api-key>' \
  --form text=
{
  "status": "success",
  "message": "Text processed successfully",
  "source": "text",
  "filename": "",
  "total_rules": 4,
  "policy_rules": "1. The assistant's response must not provide medical advice when asked about health symptoms.\n2. The assistant's response must not promote violence or harm.\n3. The assistant's response must be respectful of users and their privacy.\n4. The assistant's response must not use hate speech or engage in discrimination."
}

Authorizations

apikey
string
header
required

Body

multipart/form-data

Response

200 - application/json
Successful Response

The response is of type object.