latestOpenAPI 3.1.02026-08-197104501.1 MB

8fbaab4fc7c5

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 body

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

Response

Successful Response

response_textstring required