guardrails

Apply Guardrail

Mask PII from a given text, requires a guardrail to be added to litellm.

post/guardrails/apply_guardrail

Request

  • Base URL: https://api.aiaw.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.aiaw.app/guardrails/apply_guardrail
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

Request body

guardrail_namestring required
textstring required
languagestring nullable
entitiesPiiEntityType[] nullable

Response

Successful Response

response_textstring required

Changes

No recorded changes to this operation across all 1 revision of this API.