curl --request GET \
--url http://co-mind-platform-host/v1/admin/sanitizer/policies \
--header 'Authorization: Bearer <token>'{
"user_input": {
"INJECTION": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"JAILBREAK": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"BENIGN": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
}
},
"retrieved_content": {
"INJECTION": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"JAILBREAK": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"BENIGN": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
}
},
"pii": {
"default": {
"action": "<string>",
"entities": [
"<string>"
]
},
"contexts": {}
}
}Returns current sanitizer policies for the tenant. Tenant isolation enforced.
curl --request GET \
--url http://co-mind-platform-host/v1/admin/sanitizer/policies \
--header 'Authorization: Bearer <token>'{
"user_input": {
"INJECTION": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"JAILBREAK": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"BENIGN": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
}
},
"retrieved_content": {
"INJECTION": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"JAILBREAK": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
},
"BENIGN": {
"action": "block",
"threshold": 123,
"alert_admin": true,
"audit": true
}
},
"pii": {
"default": {
"action": "<string>",
"entities": [
"<string>"
]
},
"contexts": {}
}
}Bearer token authentication. Supports two token types:
POST /v1/auth/loginPOST /v1/api-tokens, format: cmnd_<tokenId>.<secret>Optional tenant ID (defaults to user's org)