GET
/
deployments
/
get-allowed-config
curl --request GET \
  --url https://api.enkryptai.com/deployments/get-allowed-config \
  --header 'apikey: <api-key>'
{
  "input_guardrails_policy": {
    "additional_config": {
      "pii_redaction": true
    },
    "block": [
      "topic_detector",
      "nsfw",
      "toxicity",
      "pii",
      "injection_attack",
      "keyword_detector",
      "system_prompt",
      "policy_violation",
      "bias",
      "copyright_ip"
    ]
  },
  "output_guardrails_policy": {
    "additional_config": {
      "hallucination": true,
      "adherence": true,
      "relevancy": true
    },
    "block": [
      "topic_detector",
      "nsfw",
      "toxicity",
      "pii",
      "injection_attack",
      "keyword_detector",
      "system_prompt",
      "policy_violation",
      "bias",
      "copyright_ip",
      "hallucination",
      "adherence",
      "relevancy"
    ]
  }
}

Authorizations

apikey
string
header
required

Response

200 - application/json
Successful Response
input_guardrails_policy
object
required
output_guardrails_policy
object
required