Deployments APIs
Get Allowed Config
Deployments API Documentation
Deployments APIs
Get Allowed Config
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
Response
200 - application/json
Successful Response
Example:
true
Base block options for input and output guardrails
Available options:
topic_detector
, nsfw
, toxicity
, pii
, injection_attack
, keyword_detector
, system_prompt
, policy_violation
, bias
, copyright_ip
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"
]
}
}