MCPcopy Create free account

hub / github.com/BerriAI/litellm / endpoints

Endpoints5,595 in github.com/BerriAI/litellm

Routesession_logout
router.post( "/session/logout", tags=("UI Session",), )
litellm/proxy/management_endpoints/session_endpoints.py:None
Routeset
with_service_target(MCP_OAUTH_TOKENS_TARGET)
litellm/proxy/mcp_server/oauth2_token_cache.py:None
Routeset
with_service_target(MCP_OAUTH_TOKENS_TARGET)
litellm/proxy/mcp_server/outbound_credentials/dual_cache_token_backend.py:None
Routeset
with_service_target(SPEND_COUNTERS_TARGET)
litellm/redis/stores/spend_counters/__init__.py:None
Routeset
with_service_target(AUTH_CACHE_TARGET)
litellm/redis/stores/auth_cache/__init__.py:None
Routeset
with_service_target(SENSITIVE_ROUTE_PINS_TARGET)
litellm/redis/stores/sensitive_route_pins/__init__.py:None
RoutesetUp
patch.dict(os.environ, {"CONFIDENT_API_KEY": "test-api-key"})
tests/unit/integrations/test_deepeval.py:None
Routeset_access_group_budget
router.put( "/access_group/{access_group}/budget", dependencies=_AUTH_DEPENDENCIES, response_model
litellm/proxy/management_endpoints/model_access_group_management_endpoints.py:None
Routeset_access_group_budget
step("Set a shared budget on the model access group {access_group}")
tests/e2e/quota_management/budgets/budget_client.py:None
Routeset_cooldown_deployments
renamed_router_param("litellm_router_instance")
litellm/router_utils/cooldown_handlers.py:None
Routeset_deployment_health_states
with_service_target(HEALTH_CHECKS_TARGET)
litellm/router_utils/health_state_cache.py:None
Routeset_many
with_service_target(AUTH_CACHE_TARGET)
litellm/redis/stores/auth_cache/__init__.py:None
Routeset_max
with_service_target(SPEND_COUNTERS_TARGET)
litellm/redis/stores/spend_counters/__init__.py:None
Routeset_max_parallel_requests_client
renamed_router_param("litellm_router_instance")
litellm/router_utils/client_initalization_utils.py:None
Routeset_spend_counter_with_floor_and_broadcast
with_service_target(SPEND_COUNTERS_TARGET)
litellm/proxy/proxy_server.py:None
Routeset_sync
with_service_target(AUTH_CACHE_TARGET)
litellm/redis/stores/auth_cache/__init__.py:None
Routeset_user_provider_credential_cache
with_service_target("user_provider_connections")
litellm/proxy/credential_endpoints/user_provider_credentials.py:None
Routeshared_health_check_status_endpoint
router.get("/health/shared-status", tags=["health"], dependencies=[Depends(user_api_key_auth)])
litellm/proxy/health_endpoints/_health_endpoints.py:None
Routeshould_cooldown_based_on_allowed_fails_policy
renamed_router_param("litellm_router_instance")
litellm/router_utils/cooldown_handlers.py:None
Routeshould_rate_limit
with_service_target(RATE_LIMITS_TARGET)
litellm/proxy/hooks/parallel_request_limiter_v3.py:None
Routeskill_content
router.get("/{name}/content", response_class=Response, responses={200: {"content": {"text/markdown": {}}}})
litellm/proxy/discovery_endpoints/skill_hub_endpoints.py:None
Routesliding_window
with_service_target(RATE_LIMITS_TARGET)
litellm/redis/stores/rate_limits/__init__.py:None
Routesnapshot
computed_field
tests/unit/test_logging.py:None
Routespend_key_fn
router.get( "/spend/keys", tags=["Budget & Spend Tracking"], dependencies=[Depends(user_api_key_au
litellm/proxy/spend_tracking/spend_management_endpoints.py:None
Routespend_user_fn
router.get( "/spend/users", tags=["Budget & Spend Tracking"], dependencies=[Depends(user_api_key_a
litellm/proxy/spend_tracking/spend_management_endpoints.py:None
Routesso_readiness
router.get( "/sso/readiness", tags=["experimental"], dependencies=[Depends(user_api_key_auth)], )
litellm/proxy/management_endpoints/ui_sso.py:None
Routesso_return_to_redirect
with_service_target(SSO_SESSIONS_TARGET)
litellm/proxy/management_endpoints/ui_sso.py:None
Routestart
autoroute_group.command("start")
litellm/proxy/client/cli/commands/autoroute/commands.py:None
Routestart_observed_authorization
router.post("/oauth/{provider}/start", response_model=ObservedAuthorization)
litellm/proxy/management_endpoints/roi_observed_endpoints.py:None
Routestart_observed_sync
router.post("/sync", response_model=ROISyncStatus, status_code=202)
litellm/proxy/management_endpoints/roi_observed_endpoints.py:None
Routestart_roi_calculator_sync
router.post( "/roi-calculator/sync", response_model=ROISyncStatus, status_code=202, tags=_ROI_
litellm/proxy/management_endpoints/roi_calculator_endpoints.py:None
Routestart_shadow_eval
router.post( "/auto_router/shadow_eval/start", tags=("auto router",), dependencies=(Depends(user_a
litellm/proxy/management_endpoints/auto_router_endpoints.py:None
Routestart_skill_scan
router.post( "/skill-hub/submissions/{submission_id}/scan", tags=["Skills Hub"], response_model=Sk
litellm/proxy/discovery_endpoints/skill_scanning.py:None
Routestart_user_connection
router.post( "/credentials/{credential_name:path}/user_connection/start", dependencies=[Depends(user_a
litellm/proxy/credential_endpoints/endpoints.py:None
Routestatus
computed_field
litellm/types/management_endpoints/auto_router_endpoints.py:None
Routestop
autoroute_group.command("stop")
litellm/proxy/client/cli/commands/autoroute/commands.py:None
Routestop_shadow_eval_job
router.post( "/auto_router/shadow_eval/{job_id}/stop", tags=("auto router",), dependencies=(Depend
litellm/proxy/management_endpoints/auto_router_endpoints.py:None
Routestore_in_memory_spend_updates_in_redis
with_service_target(SPEND_QUEUE_TARGET)
litellm/proxy/db/db_transaction_queue/redis_update_buffer.py:None
Routestore_mcp_oauth_user_credential
router.post( "/server/{server_id}/oauth-user-credential", description="Store the calling user'
litellm/proxy/management_endpoints/mcp_management_endpoints.py:None
Routestore_mcp_user_credential
router.post( "/server/{server_id}/user-credential", description="Store or update the calling u
litellm/proxy/management_endpoints/mcp_management_endpoints.py:None
Routestore_mcp_user_env_vars
router.post( "/server/{server_id}/user-env-vars", description=( "Store the calling
litellm/proxy/management_endpoints/mcp_management_endpoints.py:None
Routestore_spend_logs_in_redis
with_service_target(SPEND_QUEUE_TARGET)
litellm/proxy/db/db_transaction_queue/redis_update_buffer.py:None
Routestore_tool_discoveries_in_redis
with_service_target(SPEND_QUEUE_TARGET)
litellm/proxy/db/db_transaction_queue/redis_update_buffer.py:None
Routestore_unified_file_id
with_service_target(_MANAGED_FILES_TARGET)
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:None
Routestore_unified_object_id
with_service_target(_MANAGED_FILES_TARGET)
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:None
Routestore_unified_resource_id
with_service_target(MANAGED_RESOURCES_TARGET)
litellm/llms/base_llm/managed_resources/base_managed_resource.py:None
Routestream
app.get("/stream")
tests/unit/integrations/otel/test_otel_v2_mount.py:None
Routestrip_reasoning_the_targets_cannot_decrypt
renamed_router_param("router")
litellm/router_utils/pre_call_checks/encrypted_content_affinity_check.py:None
Routesuccess
app.get("/success")
tests/unit/integrations/otel/test_otel_v2_mount.py:None
Routesuggest_policy_templates
router.post( "/policy/templates/suggest", tags=["policy management"], dependencies=[Depends(user_a
litellm/proxy/management_endpoints/policy_endpoints/endpoints.py:None
Routesupported_openai_params
router.get( "/utils/supported_openai_params", tags=["llm utils"], dependencies=[Depends(user_api_k
litellm/proxy/proxy_server.py:None
Routesync_forever
with_service_target("router_usage")
tests/unit/test_internal_context.py:None
Routesync_user_role_and_teams
with_service_target(AUTH_OBJECTS_TARGET)
litellm/proxy/auth/handle_jwt.py:None
Routesystemone
router.post( "/v1/systemone", dependencies=[Depends(user_api_key_auth)], response_class=ORJSONResp
litellm/proxy/decisions_endpoints/endpoints.py:None
Routesystemone
app.post("/v1/systemone")
tests/e2e/ui/fixtures/mock_llm_server/server.py:None
Routeteam_budget_windows
step("Read the team's budget windows from /team/info")
tests/e2e/quota_management/budgets/budget_client.py:None
Routeteam_info
router.get("/team/info", tags=["team management"], dependencies=[Depends(user_api_key_auth)])
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_member_add
router.post( "/team/member_add", tags=["team management"], dependencies=[Depends(user_api_key_auth
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_member_delete
router.post( "/team/member_delete", tags=["team management"], dependencies=[Depends(user_api_key_a
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_member_me
router.get( "/team/{team_id}/members/me", tags=["team management"], dependencies=[Depends(user_api
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_member_permissions
router.get( "/team/permissions_list", tags=["team management"], dependencies=[Depends(user_api_key
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_member_update
router.post( "/team/member_update", tags=["team management"], dependencies=[Depends(user_api_key_a
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_model_add
router.post( "/team/model/add", tags=["team management"], dependencies=[Depends(user_api_key_auth)
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteam_model_delete
router.post( "/team/model/delete", tags=["team management"], dependencies=[Depends(user_api_key_au
litellm/proxy/management_endpoints/team_endpoints.py:None
Routeteardown
step("Delete every resource the test created, newest first")
tests/e2e/lifecycle.py:None
Routetest_5xx_routes_to_fallback
pytest.mark.covers("reliability.fallback.5xx.routes_to_fallback")
tests/e2e/router/test_reliability_fallbacks_e2e.py:None
Routetest_ProxyConfig_add_deployment_rebuilds_pass_through_routes_only_from_an_object_general_settings_row
pytest.mark.parametrize( "stored_row, rebuilds_routes", [({"pass_through_endpoints": []}, True), ('{"p
tests/unit/proxy/proxy_server/test_proxy_config.py:None
Routetest_a2a_url_target_owns_invocation_fee_and_request_limit
pytest.mark.parametrize("route", ["/a2a/expensive", "/a2a/expensive/message/send", "/v1/a2a/expensive/message/
tests/unit/proxy/hooks/test_parallel_request_limiter_v3.py:None
Routetest_a_404_for_another_identifier_preserves_recovery
pytest.mark.parametrize("error_source", ("batch", "output"))
tests/unit/proxy/common_utils/test_check_batch_cost.py:None
Routetest_a_404_without_an_output_identity_remains_retryable
pytest.mark.parametrize("output_file_id", (None, ""))
tests/unit/proxy/common_utils/test_check_batch_cost.py:None
Routetest_a_base_that_is_only_a_scheme_never_turns_the_route_into_the_host
pytest.mark.parametrize("route", ["v1/messages", "models/gemini-flash:generateContent"])
tests/unit/litellm_core_utils/test_url_utils.py:None
Routetest_a_bedrock_deployment_sends_cache_points_by_its_own_flag_not_a_siblings_on_the_same_model
pytest.mark.parametrize( ("model", "flagged", "declared", "tools"), [ pytest.param("moonshotai
tests/unit/llms/bedrock/test_bedrock_common_utils.py:None
Routetest_a_bill_settled_off_the_creating_worker_matches_the_creating_worker_spend_row
pytest.mark.parametrize("create", [_create_through_the_proxy_router, _create_with_header_tags])
tests/unit/interactions/test_background_cost_polling.py:None
Routetest_a_billed_background_response_counts_toward_its_creators_project_and_model_budget
pytest.mark.parametrize("budget_owner", ["key", "team", "user", "budget_tier"])
tests/integration/spend/test_background_response_billed_once.py:None
Routetest_a_body_model_info_never_turns_box_questions_on_and_never_reaches_the_provider
pytest.mark.parametrize("route", ("/v1/decisions", "/v1/systemone"))
tests/integration/providers/test_decisions_box_deployment_flag_wire.py:None
Routetest_a_body_total_timeout_it_cannot_apply_is_refused_before_the_call
pytest.mark.parametrize( ("body", "route_type"), [ ({"total_timeout": 60, "stream"
tests/unit/proxy/test_common_request_processing.py:None
Routetest_a_breakpoint_on_text_inside_a_tool_result_covers_only_the_screenshots_before_that_text
pytest.mark.parametrize( ("content", "output", "screenshot"), [ pytest.param(
tests/unit/llms/anthropic/messages/responses_adapters/test_responses_adapters_transformation.py:None
Routetest_a_budget_window_write_renders_a_postgres_update_span_for_its_table
pytest.mark.parametrize( ("write_windows", "prisma_table", "span_name"), [ (_write_key_windows
tests/unit/proxy/common_utils/test_reset_budget_job.py:None
Routetest_a_cache_hit_is_checked_like_a_fresh_response
pytest.mark.parametrize("route", ["acompletion", "aresponses"])
tests/unit/integrations/test_custom_guardrail_post_call_once.py:None
Routetest_a_call_cannot_carry_an_oidc_api_key_in_litellm_params
pytest.mark.parametrize("route", [None, "/chat/completions"])
tests/unit/proxy/auth/test_auth_utils.py:None
Routetest_a_call_still_cannot_pick_a_federated_identity_by_credential_name
pytest.mark.parametrize( "route", [ None, "/v1/chat/completions", "/v1/message
tests/unit/proxy/auth/test_auth_utils.py:None
Routetest_a_caller_sent_model_info_never_turns_media_on
pytest.mark.parametrize( "value", ({"supports_audio_input": True, "supports_video_input": True}, 5, [{
tests/integration/providers/test_decisions_media_deployment_flag_wire.py:None
Routetest_a_caller_with_access_gets_back_the_exact_id_they_sent
pytest.mark.parametrize("call_type", ["aget_responses", "acancel_responses"])
tests/unit/test_responses_id_security.py:None
Routetest_a_chained_proxy_relays_which_downstream_guardrail_blocked_the_request
pytest.mark.parametrize( ("route", "call"), [ ( "responses", lambda: l
tests/unit/proxy/test_common_request_processing.py:None
Routetest_a_changeset_that_changes_no_deployment_keeps_the_registry_version
pytest.mark.parametrize( "changes", [ ChangeSet(), ChangeSet(upsert=[_deployment("gpt"
tests/unit/test_router/core/test_registry_changesets.py:None
Routetest_a_changeset_without_settings_keeps_the_snapshot
pytest.mark.parametrize( "changes", [ChangeSet(upsert=[_deployment("gpt", "c")]), ChangeSet(delete=["a
tests/unit/test_router/core/test_registry_changesets.py:None
Routetest_a_chat_models_media_flags_do_not_count_for_decisions
pytest.mark.parametrize( ("model", "url", "cost_map_entry"), ( ( "typesafe/jev-cha
tests/unit/decisions/test_main.py:None
Routetest_a_chat_stream_that_stalls_past_its_stream_timeout_ends_with_a_408_timeout_and_logs_it
pytest.mark.parametrize( ("backend", "target"), ( pytest.param(_HOSTED, _CHAT_TARGET, id="host
tests/integration/providers/test_hosted_vllm_stream_stall_wire.py:None
Routetest_a_claude_route_sent_no_server_search_tool_keeps_each_tools_own_defer_loading
pytest.mark.parametrize(("route", "search", "stream"), _cells(_KEEPING))
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:None
Routetest_a_claude_search_call_with_no_result_is_dropped_only_on_the_routes_that_reject_it
pytest.mark.parametrize(("route", "stream"), _history_cells())
tests/integration/providers/test_chat_completions_tool_search_history_wire.py:None
Routetest_a_compact_rejection_logs_one_failure_row_as_compact
pytest.mark.parametrize("compact_input", [_text_items, lambda marker: marker], ids=["list_input", "string_inpu
tests/integration/providers/test_malformed_tools_wire.py:None
Routetest_a_control_event_before_session_update_leaves_the_setup_open
pytest.mark.parametrize("control_type", ["response.cancel", "conversation.item.delete", "input_audio_buffer.cl
tests/unit/litellm_core_utils/test_realtime_streaming.py:None
Routetest_a_creator_lookup_that_fails_keeps_the_aliases_and_budgets_of_the_rows_that_did_load
pytest.mark.parametrize( "failing_lookup, key_is_live, loaded_attribution", [ ("litellm_verifi
tests/unit/proxy/common_utils/test_check_responses_cost.py:None
Routetest_a_creator_lookup_that_keeps_failing_still_bills_the_response_once_without_the_creators_settings
pytest.mark.parametrize( "failing_lookup, live_key_logging, team_logging", [ ("litellm_verific
tests/unit/proxy/common_utils/test_check_responses_cost.py:None
Routetest_a_creator_rotated_or_deleted_before_the_bill_still_gets_the_charge_in_its_own_langfuse_project
pytest.mark.parametrize("retired", ["rotated key", "key rotated twice", "deleted key", "deleted team"])
tests/unit/proxy/common_utils/test_check_responses_cost.py:None
Routetest_a_creator_that_is_gone_counts_as_turned_off
pytest.mark.parametrize( ("job_fields", "key_row", "team_row"), [ ({}, None, None)
tests/unit/proxy/common_utils/test_check_batch_cost.py:None
Routetest_a_database_refusing_work_during_a_failover_answers_503
pytest.mark.parametrize( "postgres_refusal", [ 'FATAL: database "litellm" is not currently acc
tests/unit/proxy/common_utils/test_openai_error_payload.py:None
Routetest_a_declared_breakpoint_flag_picks_openais_dialect_only_where_the_request_goes_out_openai_shaped
pytest.mark.parametrize( ("model", "custom_llm_provider", "expected"), [ ("us.anthropic.claude
tests/unit/integrations/test_anthropic_cache_control_hook.py:None
Routetest_a_default_effort_beside_a_thinking_budget_sends_no_effort_on_a_declaring_adaptive_claude_deployment
pytest.mark.parametrize("default_effort", [{"reasoning_effort": "default"}, {"output_config": {"effort": "defa
tests/unit/test_main.py:None
Routetest_a_deferred_custom_tool_keeps_its_deferral_only_while_a_search_tool_goes_out
pytest.mark.parametrize("route", ["anthropic", "mistral"])
tests/integration/providers/test_responses_bridge_tool_search_undeferred_wire.py:None
← previousnext →1,201–1,300 of 5,595, ranked by callers