AI Guard API Reference
post/v1/text/guard
cURL
curl -sSLX POST 'https://ai-guard.aws.us.pangea.cloud/v1/text/guard' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Guard LLM input and output text
POST
https://ai-guard.aws.us.pangea.cloud/v1/text/guardDetect, remove, or block malicious content and intent in LLM inputs and outputs to prevent model manipulation and data leakage.
post/v1beta/guard
cURL
curl -sSLX POST 'https://ai-guard.aws.us.pangea.cloud/v1beta/guard' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Guard LLM input and output
POST
https://ai-guard.aws.us.pangea.cloud/v1beta/guardAnalyze and redact content to avoid manipulation of the model, addition of malicious content, and other undesirable data transfers.