latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

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/guardrails/apply_guardrail

Request body

guardrail_namestring required
textstring required
languagestring nullable
entitiesPiiEntityType[] nullable

Response

Successful Response

response_textstring required