diff --git a/ui/litellm-dashboard/src/components/policies/types.ts b/ui/litellm-dashboard/src/components/policies/types.ts index b3a373441d7..a1036c013eb 100644 --- a/ui/litellm-dashboard/src/components/policies/types.ts +++ b/ui/litellm-dashboard/src/components/policies/types.ts @@ -82,3 +82,20 @@ export interface PolicyAttachmentListResponse { attachments: PolicyAttachment[]; total_count: number; } + +export interface PipelineStepResult { + guardrail_name: string; + outcome: "pass" | "fail" | "error"; + action_taken: string; + modified_data: Record | null; + error_detail: string | null; + duration_seconds: number | null; +} + +export interface PipelineTestResult { + terminal_action: string; + step_results: PipelineStepResult[]; + modified_data: Record | null; + error_message: string | null; + modify_response_message: string | null; +}