Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 6 callers
Function
get_openapi_schema
()
litellm/proxy/proxy_server.py:2290
↓ 6 callers
Method
get_optional_params_container_create
Get the optional parameters for container creation.
litellm/containers/utils.py:62
↓ 6 callers
Method
get_policies_with_matching_conditions
Filter policies to only those that apply to the given context. A policy applies when any policy in its inheritance chain has no
litellm/proxy/policy_engine/policy_matcher.py:190
↓ 6 callers
Method
get_prompt
(self, name: str, *, label: str | None = None, version: int | None = None)
litellm/integrations/langfuse/langfuse_sdk.py:1138
↓ 6 callers
Method
get_provider_rerank_config
( model: str, provider: LlmProviders, api_base: str | None, present_version_pa
litellm/utils.py:10313
↓ 6 callers
Method
get_public_key
(self, kid: str | None)
litellm/proxy/auth/handle_jwt.py:986
↓ 6 callers
Method
get_rate_limit_type
(self)
litellm/proxy/hooks/parallel_request_limiter_v3.py:4298
↓ 6 callers
Method
get_redirect_url_for_sso
Get the redirect URL for SSO Note: existing_key is not added to the URL to avoid changing the callback URL. It should be pas
litellm/proxy/management_endpoints/ui_sso.py:3626
↓ 6 callers
Function
get_request_stash_for_call
(litellm_call_id: str | None)
litellm/proxy/hooks/parallel_request_limiter_v3.py:626
↓ 6 callers
Function
get_request_team_id
The caller's team id, from whichever metadata bucket this surface writes to.
litellm/litellm_core_utils/routing_common_utils.py:114
↓ 6 callers
Function
get_s3_object_download_filename
Content-Disposition filename for the uploaded object, bounded to the metadata header cap.
litellm/integrations/s3.py:356
↓ 6 callers
Method
get_search_tool_by_id_from_db
Get a search tool by its ID from the database. Args: search_tool_id: ID of search tool to retrieve prisma_cl
litellm/proxy/search_endpoints/search_tool_registry.py:373
↓ 6 callers
Method
get_secret
(&self, name: &str)
litellm-rust/crates/secrets-azure/src/key_vault.rs:84
↓ 6 callers
Function
get_server_span
Return the (single) finished SERVER span, or None if it never ended.
tests/unit/integrations/open_telemetry/_helpers.py:25
↓ 6 callers
Method
get_skill
( skill_id: str, user_api_key_dict: UserAPIKeyAuth | None = None, )
litellm/llms/litellm_proxy/skills/handler.py:169
↓ 6 callers
Method
get_standard_logging_model_parameters
litellm/litellm_core_utils/model_param_helper.py:61
↓ 6 callers
Method
get_summary
(self)
tests/unit/proxy/auth/test_auth_hot_path_network_requests.py:57
↓ 6 callers
Method
get_supported_cohere_rerank_params
(self, model: str)
litellm/llms/voyage/rerank/transformation.py:46
↓ 6 callers
Function
get_team_member_default_budget
Fetches the team-level default per-member budget referenced by team.metadata["team_member_budget_id"]. This budget is applied to team member
litellm/proxy/auth/auth_checks.py:1813
↓ 6 callers
Function
get_team_spend_by_user
Spend per user within the given teams, attributed per request from spend logs. Proxy admins may query any team. Team admins and members hold
litellm/proxy/management_endpoints/team_endpoints.py:7550
↓ 6 callers
Method
get_timeout
Read GRACEFUL_SHUTDOWN_TIMEOUT (seconds) from the environment on each call so deployments can tune it without code changes. Falls bac
litellm/proxy/shutdown/graceful_shutdown_manager.py:60
↓ 6 callers
Method
get_tools_page
( self, server: MCPServer, mcp_auth_header: str | dict[str, str] | None = None,
litellm/proxy/mcp_server/mcp_server_manager.py:4460
↓ 6 callers
Method
get_toolset_by_name_cached
Return a toolset by name, cached in ``user_api_key_cache`` (Redis-backed ``DualCache`` in production) to avoid a DB hit on every routed reques
litellm/proxy/mcp_server/mcp_server_manager.py:3918
↓ 6 callers
Method
get_user_groups_from_graph_api
Returns a list of `team_ids` the user belongs to from the Microsoft Graph API Args: access_token (Optional[str]): Micros
litellm/proxy/management_endpoints/ui_sso.py:4877
↓ 6 callers
Method
get_vector_store_ids_from_file_search_tools
Extract unified vector_store_ids from file_search tools. Only returns IDs that are LiteLLM-managed (base64 unified IDs). Nat
enterprise/litellm_enterprise/proxy/hooks/managed_files.py:2004
↓ 6 callers
Method
get_vector_stores_from_db
Get vector stores from the database
litellm/vector_stores/vector_store_registry.py:529
↓ 6 callers
Function
get_version_number
Extract the version number from a versioned prompt ID (defaults to 1). Examples: >>> get_version_number("jack_success.v2") 2
litellm/proxy/prompts/prompt_registry.py:40
↓ 6 callers
Method
get_vertex_ai_credentials
(litellm_params: dict)
litellm/llms/vertex_ai/vertex_llm_base.py:1203
↓ 6 callers
Function
get_vertex_location_from_url
Get the vertex location from the url `https://${LOCATION}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishe
litellm/llms/vertex_ai/common_utils.py:1244
↓ 6 callers
Function
get_voyage_api_key
Resolve the key a Voyage request will authenticate with, explicit value first.
litellm/llms/voyage/common_utils.py:14
↓ 6 callers
Function
get_workload_identity_bearer_token
(config: OpenAIWorkloadIdentityConfig)
litellm/llms/openai/workload_identity.py:98
↓ 6 callers
Function
get_xai_auth_headers
( headers: Mapping[str, str] = _EMPTY_HEADERS, api_key: str | None = None )
litellm/llms/xai/batches/transformation.py:67
↓ 6 callers
Function
gi
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
githubApi
(token: string)
scripts/auto-close-duplicates.ts:268
↓ 6 callers
Function
github_copilot_user_session_from
(source: object)
litellm/llms/github_copilot/per_user_auth.py:684
↓ 6 callers
Function
go_headers
( headers: Mapping[str, object], params: object, api_key: str | None, model: str, )
litellm/llms/opencode/common_utils.py:53
↓ 6 callers
Function
granted_scope
The routes the assertion buys. With ``aud`` the bare origin the ``scope`` claim decides and no claim is the full credential. With the MCP resource
litellm/proxy/mcp_server/id_jag_grant.py:68
↓ 6 callers
Method
guardrail_entries
(self, response_id: str, name: str)
tests/integration/observability/test_akto_logging_only.py:235
↓ 6 callers
Function
h
(s,o,i,a)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
h
(e)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 6 callers
Function
h
({agent:e,onAgentClick:l})
litellm/proxy/_experimental/out/_next/static/chunks/1k52o6u_65gki.js:1
↓ 6 callers
Function
h
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0dvgjd47fte1d.js:1
↓ 6 callers
Function
h
({accessToken:e,userRole:l,userID:s})
litellm/proxy/_experimental/out/_next/static/chunks/0w6kofhv0tntp.js:1
↓ 6 callers
Function
h8
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 6 callers
Function
hL
(e)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:10
↓ 6 callers
Function
hand_built_assistant
( tool_calls: Sequence[tuple[str, str, Event]], fields: JsonValue = None, **extra: JsonValue )
tests/integration/providers/_tool_search_support.py:365
↓ 6 callers
Function
handed
Hands a call's execution to its caller the way the product entrypoints do: an async call gets the coroutine from `drive`, a sync call the value or str
litellm-rust/crates/host-python/tests/support/mod.rs:50
↓ 6 callers
Method
handle
(&self, client: ClientSocket, request: Request)
litellm-rust/crates/gateway-forward/src/forward.rs:79
↓ 6 callers
Function
handleAPIResponse
(resp *http.Response, reqBody interface{}, client *Client)
terraform/provider/litellm/utils.go:43
↓ 6 callers
Function
handleMCPAPIResponse
handleMCPAPIResponse handles API responses specifically for MCP server operations
terraform/provider/litellm/utils.go:144
↓ 6 callers
Function
handle_bedrock_passthrough_router_model
Handle Bedrock passthrough for router models (models defined in config.yaml). Uses the same common processing path as non-router models to e
litellm/proxy/pass_through_endpoints/llm_passthrough_endpoints.py:1307
↓ 6 callers
Function
handle_cohere_response
Parse a non-streaming Cohere OCI response into a LiteLLM ModelResponse.
litellm/llms/oci/chat/cohere.py:221
↓ 6 callers
Function
handle_generic_response
Parse a non-streaming GENERIC OCI response into a LiteLLM ModelResponse.
litellm/llms/oci/chat/generic.py:308
↓ 6 callers
Function
handle_mcp_tool_call
( tool_name: str, arguments: dict[str, Any], user_api_key_dict: UserAPIKeyAuth, client_ip: str
litellm/proxy/mcp_server/tool_search.py:700
↓ 6 callers
Method
handle_sensitive_data_detection
Handle sensitive data detection based on guardrail configuration. If on_sensitive_data='route', raises SensitiveDataRouteException t
litellm/integrations/custom_guardrail.py:794
↓ 6 callers
Method
handle_sync_success_callbacks_for_async_calls
Handles calling success callbacks for Async calls. Why: Some callbacks - `langfuse`, `s3` are sync callbacks. We need to call them i
litellm/litellm_core_utils/litellm_logging.py:4993
↓ 6 callers
Method
header_name
(self)
litellm-rust/crates/auth-types/src/http.rs:10
↓ 6 callers
Function
headers
(response: object)
tests/unit/test_router/core/test_streaming_characterization_chat.py:54
↓ 6 callers
Function
hold
()
tests/unit/integrations/test_adaptive_concurrency.py:69
↓ 6 callers
Function
holds_secret_pointer
A ``*_ref`` federation field is a secret POINTER the identity source dereferences at use time, so a loader expanding ``os.environ/`` values must l
litellm/types/router.py:540
↓ 6 callers
Function
hook
(data: UpdateKeyRequest)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:13565
↓ 6 callers
Function
hosted_call
( request: P::Request, observers: Option<ObservationSender>, execute: F, )
litellm-rust/crates/host/src/call.rs:41
↓ 6 callers
Function
i
(e,t,a)
litellm/proxy/_experimental/out/_next/static/chunks/218jq7ygtsrfo.js:1
↓ 6 callers
Function
iH
({className:e,...t})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 6 callers
Function
iW
(e,t,n,r,l)
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 6 callers
Function
ig
(e)
litellm/proxy/_experimental/out/_next/static/chunks/2_9r2jeem0dh8.js:53
↓ 6 callers
Function
ih
(s,o)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
import_seconds
()
tests/integration/_support/budget.py:50
↓ 6 callers
Method
in_list_sizes
(self)
tests/unit/repositories/test_chunked_in.py:62
↓ 6 callers
Method
inc
(self, amount: float = 1)
litellm/proxy/middleware/admission_control_middleware.py:47
↓ 6 callers
Method
includesCycle
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
info
(days=30, model="gemini/gemini-2.5-pro")
tests/unit/integrations/email_alerting/test_model_deprecation_email.py:32
↓ 6 callers
Function
inherit_message_logging_privacy
(disabled: bool)
litellm/litellm_core_utils/initialize_dynamic_callback_params.py:22
↓ 6 callers
Function
initialize_guardrail
(litellm_params: "LitellmParams", guardrail: "Guardrail")
litellm/proxy/guardrails/guardrail_hooks/reco/__init__.py:36
↓ 6 callers
Function
inject_lazy_stubs
Inject openapi entries for features not in loaded_modules. Uses the snapshot file when available (full route info), otherwise falls back to a
litellm/proxy/_lazy_features.py:671
↓ 6 callers
Function
inline_remote_document
( fetcher: &MediaFetcher, document: OcrDocument, connection: &OcrConnection, )
litellm-rust/crates/llms/src/base_llm/ocr/document.rs:51
↓ 6 callers
Method
insert
(&mut self, key: Value, value: Option<Value>)
litellm-rust/crates/python-compat/src/literal.rs:726
↓ 6 callers
Function
insert_rows
( client: &Client, connection: &Connection, database: &str, rows: Vec<InsertRow>, )
litellm-rust/crates/spend-clickhouse/src/insert.rs:34
↓ 6 callers
Function
invalid
(server: &str, fault: ConfigFault)
litellm-rust/crates/gateway-mcp/src/configured.rs:32
↓ 6 callers
Function
ir_to_openai_request
(model: str, request: DecisionsIRRequest)
litellm/llms/openai/decisions/transformation.py:200
↓ 6 callers
Method
isEmpty
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
isHeuristicChain
(classifierType: ClassifierType)
ui/litellm-dashboard/src/components/add_model/classifier_types.ts:14
↓ 6 callers
Function
isJSONSchemaObject
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
isMaskedSecret
(value: unknown)
ui/litellm-dashboard/src/utils/maskedSecretUtils.ts:7
↓ 6 callers
Function
isPrimitiveElement
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
isProxyAdminTierRole
(role: string)
ui/litellm-dashboard/src/utils/roles.ts:40
↓ 6 callers
Function
isUserTeamAdminForAnyTeam
(teams: Team[] | null, userID: string)
ui/litellm-dashboard/src/utils/roles.ts:42
↓ 6 callers
Function
is_WS_OR_EOL
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 6 callers
Function
is_anthropic_content_delta_chunk
Whether a chunk carries actual assistant-generated output (a ``content_block_delta`` frame), as opposed to a lifecycle/bookkeeping frame
litellm/llms/anthropic/messages/native/streaming_iterator.py:84
↓ 6 callers
Function
is_anthropic_tool_search_use
(tool_id: str, tool_name: str)
litellm/litellm_core_utils/prompt_templates/mid_conversation_system.py:298
↓ 6 callers
Method
is_azure_v1_api_version
(api_version: str | None)
litellm/llms/azure/common_utils.py:1150
↓ 6 callers
Function
is_bridge_envelope_shaped
Cheap, keyless test that an ``Authorization`` value carries an envelope of either kind (optional ``Bearer`` scheme stripped). The admission edge e
litellm/proxy/mcp_server/outbound_credentials/bridge_credentials.py:207
↓ 6 callers
Method
is_cache_control_set
Return if {"cache_control": ..} in message content block Used to check if anthropic prompt caching headers need to be set.
litellm/llms/anthropic/common_utils.py:726
↓ 6 callers
Function
is_chatgpt_oauth_key
(value: str | None)
litellm/llms/chatgpt/common_utils.py:300
↓ 6 callers
Method
is_computer_tool_used
Returns the computer tool version if used, e.g. 'computer_20250124' or None
litellm/llms/anthropic/common_utils.py:796
↓ 6 callers
Method
is_deadlock_error
True iff ``e`` is a Postgres deadlock (P2034 / 40P01) surfaced through prisma.
litellm/proxy/db/exception_handler.py:293
↓ 6 callers
Method
is_effort_used
Check if effort parameter is being used and requires a beta header. Returns True if effort-related parameters are present and
litellm/llms/anthropic/common_utils.py:1297
↓ 6 callers
Function
is_envelope
Cheap prefix check for an ACCESS envelope so the edge can route envelopes vs raw tokens without crypto. A refresh envelope has a different prefix
litellm/proxy/mcp_server/outbound_credentials/envelope.py:299
↓ 6 callers
Method
is_file_id_used
Return if {"source": {"type": "file", "file_id": ..}} in message content block
litellm/llms/anthropic/common_utils.py:743
↓ 6 callers
Function
is_file_reference
A `files/...` name or the Files API URI that `/v1/files` returns as the file id.
litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_transformation.py:51
← previous
next →
13,101–13,200 of 202,479, ranked by callers