{"record":{"id":"f4054ad852d6b65d","repo":"BerriAI/litellm","slug":"video-list-is-not-supported-by-google-veo-use-the","errorCode":null,"errorMessage":"Video list is not supported by Google Veo. Use the operations endpoint directly if you need to list operations.","messagePattern":"Video list is not supported by Google Veo\\. Use the operations endpoint directly if you need to list operations\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/gemini/videos/transformation.py","lineNumber":514,"sourceCode":"        custom_llm_provider: str | None = None,\n    ) -> VideoObject:\n        \"\"\"Video remix is not supported.\"\"\"\n        raise NotImplementedError(\"Video remix is not supported by Google Veo.\")\n\n    def transform_video_list_request(\n        self,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n        after: str | None = None,\n        limit: int | None = None,\n        order: str | None = None,\n        extra_query: dict[str, Any] | None = None,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Video list is not supported by Veo API.\n        \"\"\"\n        raise NotImplementedError(\n            \"Video list is not supported by Google Veo. \"\n            \"Use the operations endpoint directly if you need to list operations.\"\n        )\n\n    def transform_video_list_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        custom_llm_provider: str | None = None,\n    ) -> dict[str, str]:\n        \"\"\"Video list is not supported.\"\"\"\n        raise NotImplementedError(\"Video list is not supported by Google Veo.\")\n\n    def transform_video_delete_request(\n        self,\n        video_id: str,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,","sourceCodeStart":496,"sourceCodeEnd":532,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/gemini/videos/transformation.py#L496-L532","documentation":"transform_video_list_request for Gemini/Veo raises NotImplementedError because Google's Veo API exposes no 'list videos' endpoint (videos are addressed by operation name). The message points you at the raw long-running-operations endpoint if you truly need to enumerate operations.","triggerScenarios":"Calling litellm.video_list(...) (or a wrapper) with a Gemini/Veo model/provider configuration.","commonSituations":"Porting an application from OpenAI's video API (which lists videos) to Gemini; building generic 'my videos' gallery pages that assume listing exists for every provider.","solutions":["Track the video ids (operation names) your application creates — persist the VideoObject.id from each video_generation call — instead of listing.","If you must enumerate, call Google's operations REST endpoint directly: GET {api_base}/v1beta/operations with your API-key header, per the error's guidance.","Guard the list action per provider so Gemini is excluded or handled separately."],"exampleFix":"# before\nvideos = litellm.video_list(model=\"gemini/veo-3\", limit=10)\n\n# after: Veo has no list API; GET operations directly with httpx\nimport httpx\nresp = httpx.get(\n    f\"https://generativelanguage.googleapis.com/v1beta/operations\",\n    headers={\"x-goog-api-key\": api_key},\n    params={\"pageSize\": 10},\n)\noperations = resp.json().get(\"operations\", [])","handlingStrategy":"try-catch","validationCode":"def provider_supports_video_list(model: str) -> bool:\n    return not model.lower().startswith((\"gemini/\", \"vedo/\"))","typeGuard":"def can_list_videos(model: str) -> bool:\n    return not model.lower().startswith((\"gemini/\", \"vedo/\"))","tryCatchPattern":"try:\n    videos = litellm.video_list(model=model)\nexcept NotImplementedError:\n    videos = load_video_ids_from_local_store()  # Gemini: track ids yourself","preventionTips":["Persist every VideoObject.id you create; that is the only inventory for Veo.","Build galleries from your own records, not provider listing.","Use the raw operations REST endpoint if enumeration is unavoidable."],"tags":["veo","gemini","video-list","not-implemented","unsupported-operation"],"backgroundTag":"unsupported-operation","analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}