AI Guard API Reference
Base URL
ai-guard.<csp>.<region>.pangea.cloud
post/v1beta/text/guard
cURL
curl -sSLX POST 'https://ai-guard.aws.us.pangea.cloud/v1beta/text/guard' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Text Guard for scanning LLM inputs and outputs
POST
https://ai-guard.aws.us.pangea.cloud/v1beta/text/guardAnalyze and redact text to avoid manipulation of the model, addition of malicious content, and other undesirable data transfers.
Status Codes
Status | Status Code | Description |
---|---|---|
NoProviderConfigured | 400 | Provider for intelligence services used by ai-guard is not configured |
RecipeNotExist | 400 | Recipe does not exist in the ai-guard configuration |
Was this article helpful?