diff --git a/litellm/proxy/policy_engine/policy_endpoints.py b/litellm/proxy/policy_engine/policy_endpoints.py index 33a69a9134c..af12a8598f6 100644 --- a/litellm/proxy/policy_engine/policy_endpoints.py +++ b/litellm/proxy/policy_engine/policy_endpoints.py @@ -360,6 +360,7 @@ async def get_resolved_guardrails(policy_id: str): @router.post( "/policies/test-pipeline", tags=["Policies"], + dependencies=[Depends(user_api_key_auth)], ) async def test_pipeline( request: PipelineTestRequest,