Skip to main content

Interface: GuardrailInputPayload

Defined in: packages/agentos/src/safety/guardrails/IGuardrailService.ts:171

Payload for input guardrail evaluation.

Provided to IGuardrailService.evaluateInput before the request enters the orchestration pipeline. Use this to validate, sanitize, or block user input before processing.

Properties​

context​

context: GuardrailContext

Defined in: packages/agentos/src/safety/guardrails/IGuardrailService.ts:173

Conversational context for policy decisions


input​

input: AgentOSInput

Defined in: packages/agentos/src/safety/guardrails/IGuardrailService.ts:176

The user's input request to evaluate