MCPcopy Create free account

hub / github.com/BerriAI/litellm / endpoints

Endpoints5,595 in github.com/BerriAI/litellm

Routetest_vertex_regional_image_generation_costs_uplift_over_global
pytest.mark.parametrize( "usage", [ ImageUsage( input_tokens=100, inpu
tests/unit/test_cost_calculator.py:None
Routetest_vertex_rejects_an_undocumented_voice_on_the_session_update
pytest.mark.parametrize( ("session", "param"), [ ({"voice": "Nova"}, "session.voice"),
tests/unit/llms/vertex_ai/realtime/test_vertex_ai_realtime_transformation.py:None
Routetest_vertex_text_embedding_sends_dimensionality_and_preserves_input_order
pytest.mark.parametrize( ("embedding_input", "expected_inputs"), ((list(_VERTEX_INPUTS), _VERTEX_INPUT
tests/integration/providers/test_vertex_embedding_wire.py:None
Routetest_vertex_turns_activity_detection_off_for_null_turn_detection
pytest.mark.parametrize( ("session", "disabled"), [ ({"turn_detection": None}, True),
tests/unit/llms/vertex_ai/realtime/test_vertex_ai_realtime_transformation.py:None
Routetest_videos_route_is_llm_api_route
pytest.mark.parametrize( "route", [ "/videos", "/v1/videos", "/videos/video_12
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_view_only_user_denied_credential_connection_routes
pytest.mark.parametrize( ("method", "route"), [ ("GET", "/credentials/user_connections"),
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_viewer_inference_uses_the_normal_key_authorization_path
pytest.mark.parametrize("route", ["/chat/completions", "/v1/chat/completions"])
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:None
Routetest_virtual_key_allowed_routes_with_litellm_routes_member_name_allowed
pytest.mark.parametrize("group, route", ( ("openai_routes", "/chat/completions"), ("skill_hub_routes",
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_route_includes_passthrough_prefix
pytest.mark.parametrize( "route", [ "/anthropic/v1/messages", "/anthropic/v1/count_tok
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_allows_agent_registry
pytest.mark.parametrize("route", AGENT_MANAGEMENT_ROUTES)
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_allows_get_mcp_server_discovery
pytest.mark.parametrize( "route", [ "/v1/mcp/server", "/v1/mcp/server/abc-123", ],
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_allows_google_routes
pytest.mark.parametrize( "route", [ "/v1beta/models/gemini-2.5-flash:countTokens", "/v
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_allows_mcp_inference_endpoints
pytest.mark.parametrize( "route, method", [ ("/mcp", "POST"), ("/mcp/", "POST"),
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_allows_model_info
pytest.mark.parametrize("route", ["/model/info", "/v1/model/info"])
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_denies_other_model_info_routes
pytest.mark.parametrize("route", ["/v2/model/info"])
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_rejects_mcp_multi_segment_admin_subpaths
pytest.mark.parametrize( "route", [ # Multi-segment admin-only sub-paths must NOT be reachable
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_llm_api_routes_rejects_non_get_mcp_server_discovery
pytest.mark.parametrize( "route", [ "/v1/mcp/server", "/v1/mcp/server/abc-123", ],
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_max_budget_alert_check_scenarios
pytest.mark.parametrize( "spend, max_budget, expect_alert", [ (80.0, 100.0, True), # At 80% t
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:None
Routetest_virtual_key_max_budget_check
pytest.mark.parametrize( "token_spend, max_budget, expect_budget_error", [ (5.0, 10.0, False),
tests/unit/proxy/auth/test_auth_checks.py:None
Routetest_virtual_key_mcp_routes_allows_v1_mcp_server_subpaths
pytest.mark.parametrize( "route", [ "/v1/mcp/server/register", "/v1/mcp/server/health"
tests/unit/proxy/auth/test_route_checks.py:None
Routetest_virtual_key_soft_budget_check
pytest.mark.parametrize( "spend, soft_budget, expect_alert", [ (100, 50, True), # Over soft b
tests/unit/proxy/auth/test_auth_checks.py:None
Routetest_virtual_key_soft_budget_check_scenarios
pytest.mark.parametrize( "spend, soft_budget, expect_alert", [ (100.0, 50.0, True), # Over so
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:None
Routetest_vision_anthropic
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/vision/test_anthropic.py:None
Routetest_vision_azure
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/vision/test_azure.py:None
Routetest_vision_bedrock_converse
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/vision/test_bedrock_converse.py:None
Routetest_vision_bedrock_invoke
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/vision/test_bedrock_invoke.py:None
Routetest_vision_vertex_ai
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/vision/test_vertex_ai.py:None
Routetest_vllm_proxy_route_asks_the_router_model_for_stream_usage_and_hides_it_from_the_client
patch( # test-quality-ok: patching litellm internal for unit test isolation "litellm.proxy.pass_throu
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:None
Routetest_vllm_proxy_route_closes_the_upstream_stream_when_the_client_disconnects
patch( # test-quality-ok: patching litellm internal for unit test isolation "litellm.proxy.pass_throu
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:None
Routetest_vllm_proxy_route_fallback_to_factory
patch( # test-quality-ok: patching litellm internal for unit test isolation "litellm.proxy.pass_throu
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:None
Routetest_vllm_proxy_route_with_router_model
patch( # test-quality-ok: patching litellm internal for unit test isolation "litellm.proxy.pass_throu
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:None
Routetest_vtt_format_returns_webvtt_transcript
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.AUDIO, p
tests/e2e/llm_translation/test_audio_transcriptions_e2e.py:None
Routetest_weave_input_value_carries_the_request_functions_and_tools
pytest.mark.parametrize( ("request_kwargs", "expected_input"), [ ( {
tests/unit/integrations/test_weave_otel.py:None
Routetest_web_fetch_tool_result_is_surfaced
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.CHAT_COMPLETIONS,
tests/e2e/llm_translation/test_anthropic_completion_e2e.py:None
Routetest_web_search_anthropic
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/web_search/test_anthropic.py:None
Routetest_web_search_azure
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/web_search/test_azure.py:None
Routetest_web_search_bedrock_converse
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/web_search/test_bedrock_converse.py:None
Routetest_web_search_bedrock_invoke
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/web_search/test_bedrock_invoke.py:None
Routetest_web_search_reports_server_tool_use
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.CHAT_COMPLETIONS,
tests/e2e/llm_translation/test_anthropic_completion_e2e.py:None
Routetest_web_search_server_tool_is_served
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES,
tests/e2e/llm_translation/test_bedrock_web_search_server_tool_e2e.py:None
Routetest_web_search_vertex_ai
meta( Subject( domain=Domain.LLM_TRANSLATION, route=Route.MESSAGES, providers=(Pro
tests/e2e/claude_code/web_search/test_vertex_ai.py:None
Routetest_webhook_alerting
pytest.mark.parametrize( "alerting_type", [ "token_budget", "user_budget", "te
tests/unit/integrations/SlackAlerting/test_slack_alerting.py:None
Routetest_websocket_passthrough_checks_the_model_a_client_frame_asks_for
pytest.mark.parametrize( "frame, expected_model", [ ({"type": "response.create", "model": "gpt
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:None
Routetest_websocket_passthrough_connect_failure_logs_the_provider_of_the_upstream_url
pytest.mark.parametrize( "target, builtin_provider_route, expected_provider", [ (_VERTEX_LIVE_
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:None
Routetest_websocket_passthrough_forwards_frames_that_name_no_model
pytest.mark.parametrize( "frame", [ '{"type": "input_audio_buffer.append", "audio": "AAAA"}',
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:None
Routetest_websocket_passthrough_still_bills_the_answer_in_flight_when_a_later_frame_is_refused
pytest.mark.parametrize( "later_frame", [ json.dumps({"type": "response.create", "model": "gpt
tests/unit/proxy/pass_through_endpoints/test_pass_through_endpoints.py:None
Routetest_weighted_selection_router
pytest.mark.parametrize( ("metric", "placement", "async_selection"), [ pytest.param("rpm", "de
tests/unit/test_router/test_router_get_deployments.py:None
Routetest_without_a_search_tool_on_the_wire_every_tool_arrives_without_defer_loading
pytest.mark.parametrize(("route", "search", "stream"), _cells(_UNDEFERRING))
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:None
Routetest_without_any_stream_timeout_none_is_sent_and_the_plain_timeout_applies
pytest.mark.parametrize("router_arguments", [{}, {"timeout": 42}], ids=["no-router-timeout", "router-timeout"]
tests/unit/test_router/core/test_streaming_characterization_chat.py:None
Routetest_without_bridge_flag_uses_native_endpoint
patch.object(import_module("litellm.responses.main").base_llm_http_handler, "response_api_handler")
tests/unit/responses/test_responses_api_bridge_flag.py:None
Routetest_worker_sigkill_mid_burst_leaves_the_sibling_renaming_the_yaml_limit
pytest.mark.timeout(_chaos_budget(boots=3, stops=1))
tests/integration/providers/test_bedrock_mantle_output_limit_wire.py:None
Routetest_wrapper_publishes_the_written_model_id_for_row_writes
pytest.mark.parametrize( "action_name, expected_ids", [ ("create", ("m-1",)), ("update
tests/unit/proxy/common_utils/test_config_sync_pubsub.py:None
Routetest_writer_checks_the_installed_codex_before_replacing_a_key_or_receipt
pytest.mark.parametrize("output,returncode", [ (None, 0), ("codex-cli 0.128.0\n", 0), ("codex-cli
tests/unit/proxy/client/cli/test_codex_settings.py:None
Routetest_writing_a_global_mapping_evicts_what_a_configured_issuer_cached_for_its_claim
pytest.mark.parametrize( "write_global_mapping", [_create_global_mapping, _reactivate_global_mapping,
tests/unit/proxy/management_endpoints/test_jwt_key_mapping.py:None
Routetest_x_litellm_api_key_with_any_auth_scheme_authenticates_once_on_every_vertex_route
pytest.mark.parametrize( "route, upstream_url, credential_location, answer", [ (
tests/unit/proxy/pass_through_endpoints/test_llm_pass_through_endpoints.py:None
Routetest_xai_session_update_gate_leaves_out_the_vad_type
pytest.mark.parametrize( "client_sessions", [ pytest.param(({"type": "realtime", "instructions
tests/unit/litellm_core_utils/test_realtime_streaming.py:None
Routetest_yaml_scope_loading_keeps_guardrail_enforcement
pytest.mark.parametrize( ("row_id", "mode", "scope", "expected_status", "expected_directions", "expected_g
tests/integration/observability/test_logging_only_scope_config.py:None
Routetinyfish_proxy_route
router.api_route( "/tinyfish/{endpoint:path}", methods=["GET", "POST"], tags=["TinyFish Pass-throu
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:None
Routetoken_counter
router.post( "/utils/token_counter", tags=["llm utils"], dependencies=[Depends(user_api_key_auth)]
litellm/proxy/proxy_server.py:None
Routetoken_endpoint
router.post("/{mcp_server_name}/token")
litellm/proxy/mcp_server/discoverable_endpoints.py:None
Routetoken_increment
with_service_target(RATE_LIMITS_TARGET)
litellm/redis/stores/rate_limits/__init__.py:None
Routetoken_increment_post_call
with_service_target(RATE_LIMITS_TARGET)
litellm/redis/stores/rate_limits/__init__.py:None
Routetoolset_mcp_route
app.api_route( "/toolset/{toolset_name}/mcp", methods=["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIO
litellm/proxy/proxy_server.py:None
Routetranscribe_proxy_route
router.post( "/transcribe/{operation}", tags=["Amazon Transcribe Pass-through", "pass-through"], )
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:None
Routetranscribe_sdk_proxy_route
router.post( "/transcribe", tags=["Amazon Transcribe Pass-through", "pass-through"], )
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:None
Routetransform_request
router.post( "/utils/transform_request", tags=["llm utils"], dependencies=[Depends(user_api_key_au
litellm/proxy/proxy_server.py:None
Routetrigger_agent_kill_switch
router.post( "/v1/agents/{agent_id}/kill_switch", tags=["[beta] A2A Agents"], dependencies=(Depend
litellm/proxy/agent_endpoints/endpoints.py:None
Routetypesafe_proxy_route
router.api_route( "/typesafe/{endpoint:path}", methods=["GET", "POST", "PUT", "DELETE", "PATCH"],
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:None
Routeui_events_enabled
router.get("/telemetry/ui_events/enabled", tags=["Telemetry"], response_model=UIEventsEnabledResponse)
litellm/proxy/telemetry/endpoints.py:None
Routeui_get_available_role
router.get( "/user/available_roles", tags=["Internal User management"], include_in_schema=False,
litellm/proxy/management_endpoints/internal_user_endpoints.py:None
Routeui_view_request_response_for_request_id
router.get( "/spend/logs/ui/{request_id}", tags=["Budget & Spend Tracking"], dependencies=[Depends
litellm/proxy/spend_tracking/spend_management_endpoints.py:None
Routeui_view_session_spend_logs
router.get( "/spend/logs/session/ui", tags=["Budget & Spend Tracking"], dependencies=[Depends(user
litellm/proxy/spend_tracking/spend_management_endpoints.py:None
Routeui_view_spend_logs
router.get( "/spend/logs/v2", tags=["Budget & Spend Tracking"], dependencies=[Depends(user_api_key
litellm/proxy/spend_tracking/spend_management_endpoints.py:None
Routeui_view_teams
router.get( "/team/filter/ui", tags=["team management"], dependencies=[Depends(user_api_key_auth)]
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeui_view_users
router.get( "/user/filter/ui", tags=["Internal User management"], dependencies=[Depends(user_api_k
litellm/proxy/management_endpoints/internal_user_endpoints.py:None
Routeunblock_key
router.post("/key/unblock", tags=["key management"], dependencies=[Depends(user_api_key_auth)])
litellm/proxy/management_endpoints/key_management_endpoints.py:None
Routeunblock_model
router.post( "/model/unblock", tags=["model management"], dependencies=[Depends(user_api_key_auth)
litellm/proxy/management_endpoints/model_management_endpoints.py:None
Routeunblock_team
router.post("/team/unblock", tags=["team management"], dependencies=[Depends(user_api_key_auth)])
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeunblock_user
router.post( "/end_user/unblock", tags=["Customer Management"], dependencies=[Depends(user_api_key
litellm/proxy/management_endpoints/customer_endpoints.py:None
Routeunconfigure_claude
click.option("--forget", is_flag=True, help="Also delete the saved Claude Code setup and key.")
litellm/proxy/client/cli/commands/configure.py:None
Routeunconfigure_codex
click.option("--forget", is_flag=True, help="Also delete the saved Codex setup and key.")
litellm/proxy/client/cli/commands/configure.py:None
Routeunconfigure_group
click.option("--forget", is_flag=True, help="Also delete saved setups and their keys.")
litellm/proxy/client/cli/commands/configure.py:None
Routeunpin_mcp_server_tools
router.delete( "/server/{server_id}/pin", description="Unpin the server's tool list (admin onl
litellm/proxy/management_endpoints/mcp_management_endpoints.py:None
Routeunpublish_skill
router.post("/{name}/unpublish", response_model=SkillHubSkill)
litellm/proxy/discovery_endpoints/skill_hub_endpoints.py:None
Routeup
autoroute_group.command("up", hidden=True)
litellm/proxy/client/cli/commands/autoroute/commands.py:None
Routeupdate_access_group
router.put( "/v1/access_group/{access_group_id}", response_model=AccessGroupResponse, )
litellm/proxy/management_endpoints/access_group_endpoints.py:None
Routeupdate_access_group
router.put( "/access_group/{access_group}/update", dependencies=_AUTH_DEPENDENCIES, response_model
litellm/proxy/management_endpoints/model_access_group_management_endpoints.py:None
Routeupdate_agent
router.put( "/v1/agents/{agent_id}", tags=["[beta] A2A Agents"], dependencies=[Depends(user_api_ke
litellm/proxy/agent_endpoints/endpoints.py:None
Routeupdate_background_chat_settings
router.patch( "/update/background_chat_settings", tags=["Settings"], dependencies=[Depends(user_ap
litellm/proxy/ui_crud_endpoints/proxy_setting_endpoints.py:None
Routeupdate_block_requests_for_models_without_pricing
router.patch( "/config/block_requests_for_models_without_pricing", tags=("Cost Tracking",), depend
litellm/proxy/management_endpoints/cost_tracking_settings.py:None
Routeupdate_budget
router.post( "/budget/update", tags=["budget management"], dependencies=[Depends(user_api_key_auth
litellm/proxy/management_endpoints/budget_management_endpoints.py:None
Routeupdate_cache_settings
router.post( "/cache/settings", tags=["Cache Settings"], dependencies=[Depends(user_api_key_auth)]
litellm/proxy/management_endpoints/cache_settings_endpoints.py:None
Routeupdate_cloudzero_settings
router.put( "/cloudzero/settings", tags=["CloudZero"], dependencies=[Depends(user_api_key_auth)],
litellm/proxy/spend_tracking/cloudzero_endpoints.py:None
Routeupdate_config
app.post("/config/update")
cookbook/mock_guardrail_server/mock_bedrock_guardrail_server.py:None
Routeupdate_config
router.post( "/config/update", tags=["config.yaml"], dependencies=[Depends(user_api_key_auth)],
litellm/proxy/proxy_server.py:None
Routeupdate_config_general_settings
router.post( "/config/field/update", tags=["config.yaml"], dependencies=[Depends(user_api_key_auth
litellm/proxy/proxy_server.py:None
Routeupdate_coordination_redis_settings
router.post( "/coordination_redis/settings", tags=["Coordination Redis Settings"], dependencies=[D
litellm/proxy/management_endpoints/coordination_redis_endpoints.py:None
Routeupdate_cost_discount_config
router.patch( "/config/cost_discount_config", tags=["Cost Tracking"], dependencies=[Depends(user_a
litellm/proxy/management_endpoints/cost_tracking_settings.py:None
Routeupdate_cost_margin_config
router.patch( "/config/cost_margin_config", tags=["Cost Tracking"], dependencies=[Depends(user_api
litellm/proxy/management_endpoints/cost_tracking_settings.py:None
Routeupdate_credential
router.patch( "/credentials/{credential_name:path}", dependencies=[Depends(user_api_key_auth)], ta
litellm/proxy/credential_endpoints/endpoints.py:None
← previousnext →5,401–5,500 of 5,595, ranked by callers