guardrails

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

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

Response

Successful Response

response_textstring required

Changes