Skip to content

OutputValidationResult

Result of an output validation function.

ok: boolean

Whether the output passed validation. false blocks the response.


optional output?: string

Modified output text (redaction, transformation). Only used when ok is true.


optional reason?: string

Reason for blocking (when ok is false).