From 654edbd15c7550ea33ef57b87c3d2e3e9bed728a Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 29 Jan 2026 11:42:49 +0530 Subject: [PATCH] Fix Only allowed to call routes: ['llm_api_routes']. Tried to call route: /batches/bGl0ZWxsbV9wcm/cancel --- litellm/proxy/_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index d9f824be222..9ef451bd70e 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -293,6 +293,8 @@ class LiteLLMRoutes(enum.Enum): "/batches", "/v1/batches/{batch_id}", "/batches/{batch_id}", + "/v1/batches/{batch_id}/cancel", + "/batches/{batch_id}/cancel", # files "/v1/files", "/files",