Apply Guardrail

Apply a guardrail to text input and return the processed result.

This endpoint allows testing guardrails by applying them to custom text inputs.

post/apply_guardrail

Request

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

Request body

guardrail_namestring required
textstring required
languagestring nullable
entitiesPiiEntityType[] nullable
input_typestring
messagesobject[] nullable
metadataobject nullable

Response

Successful Response

response_textstring required

Changes

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