Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

GuardrailInputTestResult

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
export type GuardrailInputTestResult = {
outcome: 'allowed' | 'blocked' | 'indeterminate';
reason: 'inspected_text' | 'pattern_denial' | 'unsupported_content' | 'resource_limit' | 'invalid_pattern';
redacted: boolean;
synthetic: true;
enforcement: false;
};