@homeflare/distilled-litellm 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +77 -0
- package/dist/credentials.d.ts +27 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +67 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +92 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +72 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +18 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +135 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +50 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +43 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/a2a.d.ts +70 -0
- package/dist/services/a2a.d.ts.map +1 -0
- package/dist/services/a2a.js +128 -0
- package/dist/services/a2a.js.map +1 -0
- package/dist/services/a2a_registration.d.ts +43 -0
- package/dist/services/a2a_registration.d.ts.map +1 -0
- package/dist/services/a2a_registration.js +40 -0
- package/dist/services/a2a_registration.js.map +1 -0
- package/dist/services/access_groups.d.ts +192 -0
- package/dist/services/access_groups.d.ts.map +1 -0
- package/dist/services/access_groups.js +283 -0
- package/dist/services/access_groups.js.map +1 -0
- package/dist/services/adaptive_router.d.ts +15 -0
- package/dist/services/adaptive_router.d.ts.map +1 -0
- package/dist/services/adaptive_router.js +25 -0
- package/dist/services/adaptive_router.js.map +1 -0
- package/dist/services/agents.d.ts +537 -0
- package/dist/services/agents.d.ts.map +1 -0
- package/dist/services/agents.js +481 -0
- package/dist/services/agents.js.map +1 -0
- package/dist/services/alerting.d.ts +15 -0
- package/dist/services/alerting.d.ts.map +1 -0
- package/dist/services/alerting.js +25 -0
- package/dist/services/alerting.js.map +1 -0
- package/dist/services/anthropic_pass_through.d.ts +70 -0
- package/dist/services/anthropic_pass_through.d.ts.map +1 -0
- package/dist/services/anthropic_pass_through.js +114 -0
- package/dist/services/anthropic_pass_through.js.map +1 -0
- package/dist/services/anthropic_passthrough.d.ts +35 -0
- package/dist/services/anthropic_passthrough.d.ts.map +1 -0
- package/dist/services/anthropic_passthrough.js +59 -0
- package/dist/services/anthropic_passthrough.js.map +1 -0
- package/dist/services/anthropic_skills.d.ts +74 -0
- package/dist/services/anthropic_skills.d.ts.map +1 -0
- package/dist/services/anthropic_skills.js +94 -0
- package/dist/services/anthropic_skills.js.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_eu_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_eu_pass_through.js +114 -0
- package/dist/services/assembly_ai_eu_pass_through.js.map +1 -0
- package/dist/services/assembly_ai_pass_through.d.ts +70 -0
- package/dist/services/assembly_ai_pass_through.d.ts.map +1 -0
- package/dist/services/assembly_ai_pass_through.js +114 -0
- package/dist/services/assembly_ai_pass_through.js.map +1 -0
- package/dist/services/assistants.d.ts +185 -0
- package/dist/services/assistants.d.ts.map +1 -0
- package/dist/services/assistants.js +331 -0
- package/dist/services/assistants.js.map +1 -0
- package/dist/services/audio.d.ts +57 -0
- package/dist/services/audio.d.ts.map +1 -0
- package/dist/services/audio.js +96 -0
- package/dist/services/audio.js.map +1 -0
- package/dist/services/audit_logging.d.ts +98 -0
- package/dist/services/audit_logging.d.ts.map +1 -0
- package/dist/services/audit_logging.js +83 -0
- package/dist/services/audit_logging.js.map +1 -0
- package/dist/services/auto_router.d.ts +286 -0
- package/dist/services/auto_router.d.ts.map +1 -0
- package/dist/services/auto_router.js +248 -0
- package/dist/services/auto_router.js.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts +36 -0
- package/dist/services/aws_comprehend_medical_pass_through.d.ts.map +1 -0
- package/dist/services/aws_comprehend_medical_pass_through.js +56 -0
- package/dist/services/aws_comprehend_medical_pass_through.js.map +1 -0
- package/dist/services/azure_ai_pass_through.d.ts +70 -0
- package/dist/services/azure_ai_pass_through.d.ts.map +1 -0
- package/dist/services/azure_ai_pass_through.js +112 -0
- package/dist/services/azure_ai_pass_through.js.map +1 -0
- package/dist/services/azure_pass_through.d.ts +70 -0
- package/dist/services/azure_pass_through.d.ts.map +1 -0
- package/dist/services/azure_pass_through.js +107 -0
- package/dist/services/azure_pass_through.js.map +1 -0
- package/dist/services/batch.d.ts +165 -0
- package/dist/services/batch.d.ts.map +1 -0
- package/dist/services/batch.js +265 -0
- package/dist/services/batch.js.map +1 -0
- package/dist/services/bedrock_pass_through.d.ts +70 -0
- package/dist/services/bedrock_pass_through.d.ts.map +1 -0
- package/dist/services/bedrock_pass_through.js +114 -0
- package/dist/services/bedrock_pass_through.js.map +1 -0
- package/dist/services/beta_agents.d.ts +199 -0
- package/dist/services/beta_agents.d.ts.map +1 -0
- package/dist/services/beta_agents.js +151 -0
- package/dist/services/beta_agents.js.map +1 -0
- package/dist/services/beta_mcp.d.ts +37 -0
- package/dist/services/beta_mcp.d.ts.map +1 -0
- package/dist/services/beta_mcp.js +40 -0
- package/dist/services/beta_mcp.js.map +1 -0
- package/dist/services/budget_management.d.ts +185 -0
- package/dist/services/budget_management.d.ts.map +1 -0
- package/dist/services/budget_management.js +196 -0
- package/dist/services/budget_management.js.map +1 -0
- package/dist/services/budget_spend_tracking.d.ts +967 -0
- package/dist/services/budget_spend_tracking.d.ts.map +1 -0
- package/dist/services/budget_spend_tracking.js +1103 -0
- package/dist/services/budget_spend_tracking.js.map +1 -0
- package/dist/services/cache_settings.d.ts +96 -0
- package/dist/services/cache_settings.d.ts.map +1 -0
- package/dist/services/cache_settings.js +95 -0
- package/dist/services/cache_settings.js.map +1 -0
- package/dist/services/caching.d.ts +54 -0
- package/dist/services/caching.d.ts.map +1 -0
- package/dist/services/caching.js +78 -0
- package/dist/services/caching.js.map +1 -0
- package/dist/services/chat_completions.d.ts +656 -0
- package/dist/services/chat_completions.d.ts.map +1 -0
- package/dist/services/chat_completions.js +590 -0
- package/dist/services/chat_completions.js.map +1 -0
- package/dist/services/claude_code_marketplace.d.ts +212 -0
- package/dist/services/claude_code_marketplace.d.ts.map +1 -0
- package/dist/services/claude_code_marketplace.js +248 -0
- package/dist/services/claude_code_marketplace.js.map +1 -0
- package/dist/services/cloudzero.d.ts +117 -0
- package/dist/services/cloudzero.d.ts.map +1 -0
- package/dist/services/cloudzero.js +130 -0
- package/dist/services/cloudzero.js.map +1 -0
- package/dist/services/cohere_pass_through.d.ts +70 -0
- package/dist/services/cohere_pass_through.d.ts.map +1 -0
- package/dist/services/cohere_pass_through.js +112 -0
- package/dist/services/cohere_pass_through.js.map +1 -0
- package/dist/services/completions.d.ts +59 -0
- package/dist/services/completions.d.ts.map +1 -0
- package/dist/services/completions.js +98 -0
- package/dist/services/completions.js.map +1 -0
- package/dist/services/compliance.d.ts +66 -0
- package/dist/services/compliance.d.ts.map +1 -0
- package/dist/services/compliance.js +74 -0
- package/dist/services/compliance.js.map +1 -0
- package/dist/services/config_overrides.d.ts +157 -0
- package/dist/services/config_overrides.d.ts.map +1 -0
- package/dist/services/config_overrides.js +207 -0
- package/dist/services/config_overrides.js.map +1 -0
- package/dist/services/config_yaml.d.ts +647 -0
- package/dist/services/config_yaml.d.ts.map +1 -0
- package/dist/services/config_yaml.js +504 -0
- package/dist/services/config_yaml.js.map +1 -0
- package/dist/services/containers.d.ts +215 -0
- package/dist/services/containers.d.ts.map +1 -0
- package/dist/services/containers.js +416 -0
- package/dist/services/containers.js.map +1 -0
- package/dist/services/coordination_redis_settings.d.ts +93 -0
- package/dist/services/coordination_redis_settings.d.ts.map +1 -0
- package/dist/services/coordination_redis_settings.js +104 -0
- package/dist/services/coordination_redis_settings.js.map +1 -0
- package/dist/services/cost_tracking.d.ts +140 -0
- package/dist/services/cost_tracking.d.ts.map +1 -0
- package/dist/services/cost_tracking.js +181 -0
- package/dist/services/cost_tracking.js.map +1 -0
- package/dist/services/credential_management.d.ts +133 -0
- package/dist/services/credential_management.d.ts.map +1 -0
- package/dist/services/credential_management.js +198 -0
- package/dist/services/credential_management.js.map +1 -0
- package/dist/services/cursor_pass_through.d.ts +70 -0
- package/dist/services/cursor_pass_through.d.ts.map +1 -0
- package/dist/services/cursor_pass_through.js +112 -0
- package/dist/services/cursor_pass_through.js.map +1 -0
- package/dist/services/customer_management.d.ts +545 -0
- package/dist/services/customer_management.d.ts.map +1 -0
- package/dist/services/customer_management.js +567 -0
- package/dist/services/customer_management.js.map +1 -0
- package/dist/services/email_management.d.ts +57 -0
- package/dist/services/email_management.d.ts.map +1 -0
- package/dist/services/email_management.js +79 -0
- package/dist/services/email_management.js.map +1 -0
- package/dist/services/embeddings.d.ts +155 -0
- package/dist/services/embeddings.d.ts.map +1 -0
- package/dist/services/embeddings.js +168 -0
- package/dist/services/embeddings.js.map +1 -0
- package/dist/services/evals.d.ts +245 -0
- package/dist/services/evals.d.ts.map +1 -0
- package/dist/services/evals.js +292 -0
- package/dist/services/evals.js.map +1 -0
- package/dist/services/experimental.d.ts +166 -0
- package/dist/services/experimental.d.ts.map +1 -0
- package/dist/services/experimental.js +265 -0
- package/dist/services/experimental.js.map +1 -0
- package/dist/services/fallback_management.d.ts +91 -0
- package/dist/services/fallback_management.d.ts.map +1 -0
- package/dist/services/fallback_management.js +86 -0
- package/dist/services/fallback_management.js.map +1 -0
- package/dist/services/files.d.ts +219 -0
- package/dist/services/files.d.ts.map +1 -0
- package/dist/services/files.js +358 -0
- package/dist/services/files.js.map +1 -0
- package/dist/services/fine_tuning.d.ts +155 -0
- package/dist/services/fine_tuning.d.ts.map +1 -0
- package/dist/services/fine_tuning.js +232 -0
- package/dist/services/fine_tuning.js.map +1 -0
- package/dist/services/gemini_agents.d.ts +68 -0
- package/dist/services/gemini_agents.d.ts.map +1 -0
- package/dist/services/gemini_agents.js +110 -0
- package/dist/services/gemini_agents.js.map +1 -0
- package/dist/services/google_ai_studio_pass_through.d.ts +70 -0
- package/dist/services/google_ai_studio_pass_through.d.ts.map +1 -0
- package/dist/services/google_ai_studio_pass_through.js +112 -0
- package/dist/services/google_ai_studio_pass_through.js.map +1 -0
- package/dist/services/google_genai_endpoints.d.ts +174 -0
- package/dist/services/google_genai_endpoints.d.ts.map +1 -0
- package/dist/services/google_genai_endpoints.js +340 -0
- package/dist/services/google_genai_endpoints.js.map +1 -0
- package/dist/services/guardrails.d.ts +1221 -0
- package/dist/services/guardrails.d.ts.map +1 -0
- package/dist/services/guardrails.js +1087 -0
- package/dist/services/guardrails.js.map +1 -0
- package/dist/services/health.d.ts +212 -0
- package/dist/services/health.d.ts.map +1 -0
- package/dist/services/health.js +309 -0
- package/dist/services/health.js.map +1 -0
- package/dist/services/images.d.ts +117 -0
- package/dist/services/images.d.ts.map +1 -0
- package/dist/services/images.js +184 -0
- package/dist/services/images.js.map +1 -0
- package/dist/services/index.d.ts +106 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +107 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/internal_user_management.d.ts +1062 -0
- package/dist/services/internal_user_management.d.ts.map +1 -0
- package/dist/services/internal_user_management.js +850 -0
- package/dist/services/internal_user_management.js.map +1 -0
- package/dist/services/invite_links.d.ts +56 -0
- package/dist/services/invite_links.d.ts.map +1 -0
- package/dist/services/invite_links.js +82 -0
- package/dist/services/invite_links.js.map +1 -0
- package/dist/services/jwt_mappings.d.ts +79 -0
- package/dist/services/jwt_mappings.d.ts.map +1 -0
- package/dist/services/jwt_mappings.js +116 -0
- package/dist/services/jwt_mappings.js.map +1 -0
- package/dist/services/key_management.d.ts +1640 -0
- package/dist/services/key_management.d.ts.map +1 -0
- package/dist/services/key_management.js +1344 -0
- package/dist/services/key_management.js.map +1 -0
- package/dist/services/langfuse_passthrough.d.ts +70 -0
- package/dist/services/langfuse_passthrough.d.ts.map +1 -0
- package/dist/services/langfuse_passthrough.js +114 -0
- package/dist/services/langfuse_passthrough.js.map +1 -0
- package/dist/services/llm_utils.d.ts +101 -0
- package/dist/services/llm_utils.d.ts.map +1 -0
- package/dist/services/llm_utils.js +110 -0
- package/dist/services/llm_utils.js.map +1 -0
- package/dist/services/logging_callbacks.d.ts +33 -0
- package/dist/services/logging_callbacks.d.ts.map +1 -0
- package/dist/services/logging_callbacks.js +46 -0
- package/dist/services/logging_callbacks.js.map +1 -0
- package/dist/services/mcp_byok_oauth.d.ts +112 -0
- package/dist/services/mcp_byok_oauth.d.ts.map +1 -0
- package/dist/services/mcp_byok_oauth.js +226 -0
- package/dist/services/mcp_byok_oauth.js.map +1 -0
- package/dist/services/mcp_discoverable.d.ts +197 -0
- package/dist/services/mcp_discoverable.d.ts.map +1 -0
- package/dist/services/mcp_discoverable.js +304 -0
- package/dist/services/mcp_discoverable.js.map +1 -0
- package/dist/services/mcp_management.d.ts +956 -0
- package/dist/services/mcp_management.d.ts.map +1 -0
- package/dist/services/mcp_management.js +1139 -0
- package/dist/services/mcp_management.js.map +1 -0
- package/dist/services/mcp_rest.d.ts +281 -0
- package/dist/services/mcp_rest.d.ts.map +1 -0
- package/dist/services/mcp_rest.js +269 -0
- package/dist/services/mcp_rest.js.map +1 -0
- package/dist/services/memory_management.d.ts +93 -0
- package/dist/services/memory_management.d.ts.map +1 -0
- package/dist/services/memory_management.js +117 -0
- package/dist/services/memory_management.js.map +1 -0
- package/dist/services/milvus_pass_through.d.ts +70 -0
- package/dist/services/milvus_pass_through.d.ts.map +1 -0
- package/dist/services/milvus_pass_through.js +112 -0
- package/dist/services/milvus_pass_through.js.map +1 -0
- package/dist/services/misc.d.ts +676 -0
- package/dist/services/misc.d.ts.map +1 -0
- package/dist/services/misc.js +954 -0
- package/dist/services/misc.js.map +1 -0
- package/dist/services/mistral_pass_through.d.ts +70 -0
- package/dist/services/mistral_pass_through.d.ts.map +1 -0
- package/dist/services/mistral_pass_through.js +114 -0
- package/dist/services/mistral_pass_through.js.map +1 -0
- package/dist/services/model_management.d.ts +1649 -0
- package/dist/services/model_management.d.ts.map +1 -0
- package/dist/services/model_management.js +1805 -0
- package/dist/services/model_management.js.map +1 -0
- package/dist/services/moderations.d.ts +25 -0
- package/dist/services/moderations.d.ts.map +1 -0
- package/dist/services/moderations.js +39 -0
- package/dist/services/moderations.js.map +1 -0
- package/dist/services/ocr.d.ts +25 -0
- package/dist/services/ocr.d.ts.map +1 -0
- package/dist/services/ocr.js +39 -0
- package/dist/services/ocr.js.map +1 -0
- package/dist/services/open_ai_pass_through.d.ts +125 -0
- package/dist/services/open_ai_pass_through.d.ts.map +1 -0
- package/dist/services/open_ai_pass_through.js +232 -0
- package/dist/services/open_ai_pass_through.js.map +1 -0
- package/dist/services/organization_management.d.ts +664 -0
- package/dist/services/organization_management.d.ts.map +1 -0
- package/dist/services/organization_management.js +644 -0
- package/dist/services/organization_management.js.map +1 -0
- package/dist/services/plugins.d.ts +106 -0
- package/dist/services/plugins.d.ts.map +1 -0
- package/dist/services/plugins.js +180 -0
- package/dist/services/plugins.js.map +1 -0
- package/dist/services/policies.d.ts +618 -0
- package/dist/services/policies.d.ts.map +1 -0
- package/dist/services/policies.js +616 -0
- package/dist/services/policies.js.map +1 -0
- package/dist/services/policy_engine.d.ts +483 -0
- package/dist/services/policy_engine.d.ts.map +1 -0
- package/dist/services/policy_engine.js +501 -0
- package/dist/services/policy_engine.js.map +1 -0
- package/dist/services/project_management.d.ts +356 -0
- package/dist/services/project_management.d.ts.map +1 -0
- package/dist/services/project_management.js +318 -0
- package/dist/services/project_management.js.map +1 -0
- package/dist/services/prompts.d.ts +193 -0
- package/dist/services/prompts.d.ts.map +1 -0
- package/dist/services/prompts.js +260 -0
- package/dist/services/prompts.js.map +1 -0
- package/dist/services/public.d.ts +300 -0
- package/dist/services/public.d.ts.map +1 -0
- package/dist/services/public.js +362 -0
- package/dist/services/public.js.map +1 -0
- package/dist/services/rag.d.ts +45 -0
- package/dist/services/rag.d.ts.map +1 -0
- package/dist/services/rag.js +71 -0
- package/dist/services/rag.js.map +1 -0
- package/dist/services/realtime.d.ts +91 -0
- package/dist/services/realtime.d.ts.map +1 -0
- package/dist/services/realtime.js +164 -0
- package/dist/services/realtime.js.map +1 -0
- package/dist/services/rerank.d.ts +35 -0
- package/dist/services/rerank.d.ts.map +1 -0
- package/dist/services/rerank.js +55 -0
- package/dist/services/rerank.js.map +1 -0
- package/dist/services/responses.d.ts +237 -0
- package/dist/services/responses.d.ts.map +1 -0
- package/dist/services/responses.js +445 -0
- package/dist/services/responses.js.map +1 -0
- package/dist/services/router_settings.d.ts +67 -0
- package/dist/services/router_settings.d.ts.map +1 -0
- package/dist/services/router_settings.js +63 -0
- package/dist/services/router_settings.js.map +1 -0
- package/dist/services/rust_control_plane.d.ts +52 -0
- package/dist/services/rust_control_plane.d.ts.map +1 -0
- package/dist/services/rust_control_plane.js +54 -0
- package/dist/services/rust_control_plane.js.map +1 -0
- package/dist/services/scim.d.ts +412 -0
- package/dist/services/scim.d.ts.map +1 -0
- package/dist/services/scim.js +519 -0
- package/dist/services/scim.js.map +1 -0
- package/dist/services/search.d.ts +79 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +122 -0
- package/dist/services/search.js.map +1 -0
- package/dist/services/search_tools.d.ts +140 -0
- package/dist/services/search_tools.d.ts.map +1 -0
- package/dist/services/search_tools.js +201 -0
- package/dist/services/search_tools.js.map +1 -0
- package/dist/services/settings.d.ts +53 -0
- package/dist/services/settings.d.ts.map +1 -0
- package/dist/services/settings.js +67 -0
- package/dist/services/settings.js.map +1 -0
- package/dist/services/sso_settings.d.ts +239 -0
- package/dist/services/sso_settings.d.ts.map +1 -0
- package/dist/services/sso_settings.js +214 -0
- package/dist/services/sso_settings.js.map +1 -0
- package/dist/services/tag_management.d.ts +390 -0
- package/dist/services/tag_management.d.ts.map +1 -0
- package/dist/services/tag_management.js +407 -0
- package/dist/services/tag_management.js.map +1 -0
- package/dist/services/team_management.d.ts +1502 -0
- package/dist/services/team_management.d.ts.map +1 -0
- package/dist/services/team_management.js +1429 -0
- package/dist/services/team_management.js.map +1 -0
- package/dist/services/tools.d.ts +227 -0
- package/dist/services/tools.d.ts.map +1 -0
- package/dist/services/tools.js +266 -0
- package/dist/services/tools.js.map +1 -0
- package/dist/services/ui_settings.d.ts +90 -0
- package/dist/services/ui_settings.d.ts.map +1 -0
- package/dist/services/ui_settings.js +96 -0
- package/dist/services/ui_settings.js.map +1 -0
- package/dist/services/ui_theme_settings.d.ts +62 -0
- package/dist/services/ui_theme_settings.d.ts.map +1 -0
- package/dist/services/ui_theme_settings.js +79 -0
- package/dist/services/ui_theme_settings.js.map +1 -0
- package/dist/services/usage_ai.d.ts +39 -0
- package/dist/services/usage_ai.d.ts.map +1 -0
- package/dist/services/usage_ai.js +40 -0
- package/dist/services/usage_ai.js.map +1 -0
- package/dist/services/vantage.d.ts +108 -0
- package/dist/services/vantage.d.ts.map +1 -0
- package/dist/services/vantage.js +124 -0
- package/dist/services/vantage.js.map +1 -0
- package/dist/services/vector_store_management.d.ts +161 -0
- package/dist/services/vector_store_management.d.ts.map +1 -0
- package/dist/services/vector_store_management.js +191 -0
- package/dist/services/vector_store_management.js.map +1 -0
- package/dist/services/vector_stores.d.ts +342 -0
- package/dist/services/vector_stores.d.ts.map +1 -0
- package/dist/services/vector_stores.js +639 -0
- package/dist/services/vector_stores.js.map +1 -0
- package/dist/services/vertex_ai_pass_through.d.ts +180 -0
- package/dist/services/vertex_ai_pass_through.d.ts.map +1 -0
- package/dist/services/vertex_ai_pass_through.js +334 -0
- package/dist/services/vertex_ai_pass_through.js.map +1 -0
- package/dist/services/videos.d.ts +207 -0
- package/dist/services/videos.d.ts.map +1 -0
- package/dist/services/videos.js +373 -0
- package/dist/services/videos.js.map +1 -0
- package/dist/services/vllm_pass_through.d.ts +70 -0
- package/dist/services/vllm_pass_through.d.ts.map +1 -0
- package/dist/services/vllm_pass_through.js +104 -0
- package/dist/services/vllm_pass_through.js.map +1 -0
- package/dist/services/watsonx_pass_through.d.ts +70 -0
- package/dist/services/watsonx_pass_through.d.ts.map +1 -0
- package/dist/services/watsonx_pass_through.js +114 -0
- package/dist/services/watsonx_pass_through.js.map +1 -0
- package/dist/services/web_socket.d.ts +77 -0
- package/dist/services/web_socket.d.ts.map +1 -0
- package/dist/services/web_socket.js +135 -0
- package/dist/services/web_socket.js.map +1 -0
- package/dist/services/workflow_management.d.ts +140 -0
- package/dist/services/workflow_management.d.ts.map +1 -0
- package/dist/services/workflow_management.js +220 -0
- package/dist/services/workflow_management.js.map +1 -0
- package/dist/traits.d.ts +14 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +15 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +97 -0
- package/src/errors.ts +108 -0
- package/src/index.ts +33 -0
- package/src/protocol.ts +160 -0
- package/src/retry.ts +74 -0
- package/src/services/a2a.ts +250 -0
- package/src/services/a2a_registration.ts +94 -0
- package/src/services/access_groups.ts +716 -0
- package/src/services/adaptive_router.ts +49 -0
- package/src/services/agents.ts +1314 -0
- package/src/services/alerting.ts +49 -0
- package/src/services/anthropic_pass_through.ts +233 -0
- package/src/services/anthropic_passthrough.ts +123 -0
- package/src/services/anthropic_skills.ts +200 -0
- package/src/services/assembly_ai_eu_pass_through.ts +237 -0
- package/src/services/assembly_ai_pass_through.ts +237 -0
- package/src/services/assistants.ts +685 -0
- package/src/services/audio.ts +189 -0
- package/src/services/audit_logging.ts +194 -0
- package/src/services/auto_router.ts +625 -0
- package/src/services/aws_comprehend_medical_pass_through.ts +109 -0
- package/src/services/azure_ai_pass_through.ts +231 -0
- package/src/services/azure_pass_through.ts +227 -0
- package/src/services/batch.ts +553 -0
- package/src/services/bedrock_pass_through.ts +229 -0
- package/src/services/beta_agents.ts +444 -0
- package/src/services/beta_mcp.ts +105 -0
- package/src/services/budget_management.ts +465 -0
- package/src/services/budget_spend_tracking.ts +2670 -0
- package/src/services/cache_settings.ts +234 -0
- package/src/services/caching.ts +175 -0
- package/src/services/chat_completions.ts +1788 -0
- package/src/services/claude_code_marketplace.ts +569 -0
- package/src/services/cloudzero.ts +297 -0
- package/src/services/cohere_pass_through.ts +227 -0
- package/src/services/completions.ts +194 -0
- package/src/services/compliance.ts +175 -0
- package/src/services/config_overrides.ts +466 -0
- package/src/services/config_yaml.ts +1537 -0
- package/src/services/containers.ts +848 -0
- package/src/services/coordination_redis_settings.ts +251 -0
- package/src/services/cost_tracking.ts +407 -0
- package/src/services/credential_management.ts +436 -0
- package/src/services/cursor_pass_through.ts +227 -0
- package/src/services/customer_management.ts +1475 -0
- package/src/services/email_management.ts +171 -0
- package/src/services/embeddings.ts +424 -0
- package/src/services/evals.ts +672 -0
- package/src/services/experimental.ts +572 -0
- package/src/services/fallback_management.ts +224 -0
- package/src/services/files.ts +732 -0
- package/src/services/fine_tuning.ts +547 -0
- package/src/services/gemini_agents.ts +227 -0
- package/src/services/google_ai_studio_pass_through.ts +227 -0
- package/src/services/google_genai_endpoints.ts +688 -0
- package/src/services/guardrails.ts +3006 -0
- package/src/services/health.ts +713 -0
- package/src/services/images.ts +430 -0
- package/src/services/index.ts +106 -0
- package/src/services/internal_user_management.ts +2574 -0
- package/src/services/invite_links.ts +167 -0
- package/src/services/jwt_mappings.ts +238 -0
- package/src/services/key_management.ts +4162 -0
- package/src/services/langfuse_passthrough.ts +231 -0
- package/src/services/llm_utils.ts +429 -0
- package/src/services/logging_callbacks.ts +104 -0
- package/src/services/mcp_byok_oauth.ts +468 -0
- package/src/services/mcp_discoverable.ts +626 -0
- package/src/services/mcp_management.ts +2915 -0
- package/src/services/mcp_rest.ts +779 -0
- package/src/services/memory_management.ts +248 -0
- package/src/services/milvus_pass_through.ts +227 -0
- package/src/services/misc.ts +2128 -0
- package/src/services/mistral_pass_through.ts +229 -0
- package/src/services/model_management.ts +4501 -0
- package/src/services/moderations.ts +80 -0
- package/src/services/ocr.ts +78 -0
- package/src/services/open_ai_pass_through.ts +462 -0
- package/src/services/organization_management.ts +1749 -0
- package/src/services/plugins.ts +367 -0
- package/src/services/policies.ts +1676 -0
- package/src/services/policy_engine.ts +1318 -0
- package/src/services/project_management.ts +938 -0
- package/src/services/prompts.ts +592 -0
- package/src/services/public.ts +880 -0
- package/src/services/rag.ts +148 -0
- package/src/services/realtime.ts +350 -0
- package/src/services/rerank.ts +111 -0
- package/src/services/responses.ts +909 -0
- package/src/services/router_settings.ts +168 -0
- package/src/services/rust_control_plane.ts +123 -0
- package/src/services/scim.ts +1243 -0
- package/src/services/search.ts +260 -0
- package/src/services/search_tools.ts +439 -0
- package/src/services/settings.ts +146 -0
- package/src/services/sso_settings.ts +626 -0
- package/src/services/tag_management.ts +1004 -0
- package/src/services/team_management.ts +3990 -0
- package/src/services/tools.ts +628 -0
- package/src/services/ui_settings.ts +237 -0
- package/src/services/ui_theme_settings.ts +173 -0
- package/src/services/usage_ai.ts +86 -0
- package/src/services/vantage.ts +283 -0
- package/src/services/vector_store_management.ts +454 -0
- package/src/services/vector_stores.ts +1321 -0
- package/src/services/vertex_ai_pass_through.ts +684 -0
- package/src/services/videos.ts +762 -0
- package/src/services/vllm_pass_through.ts +227 -0
- package/src/services/watsonx_pass_through.ts +229 -0
- package/src/services/web_socket.ts +254 -0
- package/src/services/workflow_management.ts +482 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1640 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as Redacted from "effect/Redacted";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import { type LitellmOpError, type LitellmOpContext } from "../protocol.ts";
|
|
5
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
6
|
+
declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
|
|
7
|
+
readonly code: any;
|
|
8
|
+
readonly message: any;
|
|
9
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
10
|
+
"@distilled.cloud/error/categories": {
|
|
11
|
+
BadRequestError: true;
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
15
|
+
}
|
|
16
|
+
declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
|
|
17
|
+
readonly code: any;
|
|
18
|
+
readonly message: any;
|
|
19
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
20
|
+
"@distilled.cloud/error/categories": {
|
|
21
|
+
AuthError: true;
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
|
|
25
|
+
}
|
|
26
|
+
declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
|
|
27
|
+
readonly code: any;
|
|
28
|
+
readonly message: any;
|
|
29
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
30
|
+
"@distilled.cloud/error/categories": {
|
|
31
|
+
BadRequestError: true;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
35
|
+
}
|
|
36
|
+
declare const UnprocessableEntity_base: S.Class<UnprocessableEntity, S.TaggedStruct<"UnprocessableEntity", {
|
|
37
|
+
readonly code: any;
|
|
38
|
+
readonly message: any;
|
|
39
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
40
|
+
"@distilled.cloud/error/categories": {
|
|
41
|
+
BadRequestError: true;
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
export declare class UnprocessableEntity extends /*@__PURE__*/ UnprocessableEntity_base {
|
|
45
|
+
}
|
|
46
|
+
export type BulkUpdateKeyRequestItemTagsList = Array<string>;
|
|
47
|
+
export declare const BulkUpdateKeyRequestItemTagsList: S.Schema<BulkUpdateKeyRequestItemTagsList>;
|
|
48
|
+
/** Individual key update request item */
|
|
49
|
+
export interface BulkUpdateKeyRequestItem {
|
|
50
|
+
budget_id?: string | null;
|
|
51
|
+
key: string;
|
|
52
|
+
max_budget?: number | null;
|
|
53
|
+
tags?: BulkUpdateKeyRequestItemTagsList | null;
|
|
54
|
+
team_id?: string | null;
|
|
55
|
+
}
|
|
56
|
+
export declare const BulkUpdateKeyRequestItem: S.Schema<BulkUpdateKeyRequestItem>;
|
|
57
|
+
export type BulkUpdateKeysKeyBulkUpdatePostRequestKeysList = Array<BulkUpdateKeyRequestItem>;
|
|
58
|
+
export declare const BulkUpdateKeysKeyBulkUpdatePostRequestKeysList: S.Schema<BulkUpdateKeysKeyBulkUpdatePostRequestKeysList>;
|
|
59
|
+
export interface BulkUpdateKeysKeyBulkUpdatePostRequest {
|
|
60
|
+
keys: BulkUpdateKeysKeyBulkUpdatePostRequestKeysList;
|
|
61
|
+
}
|
|
62
|
+
export declare const BulkUpdateKeysKeyBulkUpdatePostRequest: S.Schema<BulkUpdateKeysKeyBulkUpdatePostRequest>;
|
|
63
|
+
export type FailedKeyUpdateKeyInfoMap = {
|
|
64
|
+
[key: string]: unknown | undefined;
|
|
65
|
+
};
|
|
66
|
+
export declare const FailedKeyUpdateKeyInfoMap: S.Schema<FailedKeyUpdateKeyInfoMap>;
|
|
67
|
+
/** Failed key update with reason */
|
|
68
|
+
export interface FailedKeyUpdate {
|
|
69
|
+
failed_reason: string;
|
|
70
|
+
key: string;
|
|
71
|
+
key_info?: FailedKeyUpdateKeyInfoMap | null;
|
|
72
|
+
}
|
|
73
|
+
export declare const FailedKeyUpdate: S.Schema<FailedKeyUpdate>;
|
|
74
|
+
export type BulkUpdateKeyResponseFailedUpdatesList = Array<FailedKeyUpdate>;
|
|
75
|
+
export declare const BulkUpdateKeyResponseFailedUpdatesList: S.Schema<BulkUpdateKeyResponseFailedUpdatesList>;
|
|
76
|
+
export type SuccessfulKeyUpdateKeyInfoMap = {
|
|
77
|
+
[key: string]: unknown | undefined;
|
|
78
|
+
};
|
|
79
|
+
export declare const SuccessfulKeyUpdateKeyInfoMap: S.Schema<SuccessfulKeyUpdateKeyInfoMap>;
|
|
80
|
+
/** Successfully updated key with its updated information */
|
|
81
|
+
export interface SuccessfulKeyUpdate {
|
|
82
|
+
key: string;
|
|
83
|
+
key_info: SuccessfulKeyUpdateKeyInfoMap;
|
|
84
|
+
}
|
|
85
|
+
export declare const SuccessfulKeyUpdate: S.Schema<SuccessfulKeyUpdate>;
|
|
86
|
+
export type BulkUpdateKeyResponseSuccessfulUpdatesList = Array<SuccessfulKeyUpdate>;
|
|
87
|
+
export declare const BulkUpdateKeyResponseSuccessfulUpdatesList: S.Schema<BulkUpdateKeyResponseSuccessfulUpdatesList>;
|
|
88
|
+
/** Response for bulk key update operations */
|
|
89
|
+
export interface BulkUpdateKeyResponse {
|
|
90
|
+
failed_updates: BulkUpdateKeyResponseFailedUpdatesList;
|
|
91
|
+
successful_updates: BulkUpdateKeyResponseSuccessfulUpdatesList;
|
|
92
|
+
total_requested: number;
|
|
93
|
+
}
|
|
94
|
+
export declare const BulkUpdateKeyResponse: S.Schema<BulkUpdateKeyResponse>;
|
|
95
|
+
export type BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequestKeyIdsList = Array<string>;
|
|
96
|
+
export declare const BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequestKeyIdsList: S.Schema<BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequestKeyIdsList>;
|
|
97
|
+
export type KeyUpdateFieldsBudgetLimitsList = Array<unknown>;
|
|
98
|
+
export declare const KeyUpdateFieldsBudgetLimitsList: S.Schema<KeyUpdateFieldsBudgetLimitsList>;
|
|
99
|
+
export type KeyUpdateFieldsMetadataMap = {
|
|
100
|
+
[key: string]: unknown | undefined;
|
|
101
|
+
};
|
|
102
|
+
export declare const KeyUpdateFieldsMetadataMap: S.Schema<KeyUpdateFieldsMetadataMap>;
|
|
103
|
+
export type KeyUpdateFieldsModelMaxBudgetMap = {
|
|
104
|
+
[key: string]: unknown | undefined;
|
|
105
|
+
};
|
|
106
|
+
export declare const KeyUpdateFieldsModelMaxBudgetMap: S.Schema<KeyUpdateFieldsModelMaxBudgetMap>;
|
|
107
|
+
export type KeyUpdateFieldsModelRpmLimitMap = {
|
|
108
|
+
[key: string]: unknown | undefined;
|
|
109
|
+
};
|
|
110
|
+
export declare const KeyUpdateFieldsModelRpmLimitMap: S.Schema<KeyUpdateFieldsModelRpmLimitMap>;
|
|
111
|
+
export type KeyUpdateFieldsModelTpmLimitMap = {
|
|
112
|
+
[key: string]: unknown | undefined;
|
|
113
|
+
};
|
|
114
|
+
export declare const KeyUpdateFieldsModelTpmLimitMap: S.Schema<KeyUpdateFieldsModelTpmLimitMap>;
|
|
115
|
+
export type KeyUpdateFieldsRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
116
|
+
export declare const KeyUpdateFieldsRpmLimitType: any;
|
|
117
|
+
export type KeyUpdateFieldsTagsList = Array<string>;
|
|
118
|
+
export declare const KeyUpdateFieldsTagsList: S.Schema<KeyUpdateFieldsTagsList>;
|
|
119
|
+
export type KeyUpdateFieldsTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
120
|
+
export declare const KeyUpdateFieldsTpmLimitType: any;
|
|
121
|
+
/** Allowlist of bulk-broadcastable fields for /team/key/bulk_update; `extra="forbid"` blocks RBAC/ownership/scope mutations even by team admins. */
|
|
122
|
+
export interface KeyUpdateFields {
|
|
123
|
+
budget_duration?: string | null;
|
|
124
|
+
budget_id?: string | null;
|
|
125
|
+
budget_limits?: KeyUpdateFieldsBudgetLimitsList | null;
|
|
126
|
+
duration?: string | null;
|
|
127
|
+
max_budget?: number | null;
|
|
128
|
+
max_parallel_requests?: number | null;
|
|
129
|
+
metadata?: KeyUpdateFieldsMetadataMap | null;
|
|
130
|
+
model_max_budget?: KeyUpdateFieldsModelMaxBudgetMap | null;
|
|
131
|
+
model_rpm_limit?: KeyUpdateFieldsModelRpmLimitMap | null;
|
|
132
|
+
model_tpm_limit?: KeyUpdateFieldsModelTpmLimitMap | null;
|
|
133
|
+
rpm_limit?: number | null;
|
|
134
|
+
rpm_limit_type?: KeyUpdateFieldsRpmLimitType | (string & {}) | null;
|
|
135
|
+
tags?: KeyUpdateFieldsTagsList | null;
|
|
136
|
+
temp_budget_expiry?: string | null;
|
|
137
|
+
temp_budget_increase?: number | null;
|
|
138
|
+
tpm_limit?: number | null;
|
|
139
|
+
tpm_limit_type?: KeyUpdateFieldsTpmLimitType | (string & {}) | null;
|
|
140
|
+
}
|
|
141
|
+
export declare const KeyUpdateFields: S.Schema<KeyUpdateFields>;
|
|
142
|
+
export interface BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequest {
|
|
143
|
+
all_keys_in_team?: boolean;
|
|
144
|
+
key_ids?: BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequestKeyIdsList | null;
|
|
145
|
+
team_id: string;
|
|
146
|
+
update_fields: KeyUpdateFields;
|
|
147
|
+
}
|
|
148
|
+
export declare const BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequest: S.Schema<BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequest>;
|
|
149
|
+
export type DeleteKeyFnKeyDeletePostRequestKeyAliasesList = Array<string>;
|
|
150
|
+
export declare const DeleteKeyFnKeyDeletePostRequestKeyAliasesList: S.Schema<DeleteKeyFnKeyDeletePostRequestKeyAliasesList>;
|
|
151
|
+
export type DeleteKeyFnKeyDeletePostRequestKeysList = Array<string>;
|
|
152
|
+
export declare const DeleteKeyFnKeyDeletePostRequestKeysList: S.Schema<DeleteKeyFnKeyDeletePostRequestKeysList>;
|
|
153
|
+
export interface DeleteKeyFnKeyDeletePostRequest {
|
|
154
|
+
key_aliases?: DeleteKeyFnKeyDeletePostRequestKeyAliasesList | null;
|
|
155
|
+
keys?: DeleteKeyFnKeyDeletePostRequestKeysList | null;
|
|
156
|
+
}
|
|
157
|
+
export declare const DeleteKeyFnKeyDeletePostRequest: S.Schema<DeleteKeyFnKeyDeletePostRequest>;
|
|
158
|
+
export interface DeleteKeyFnKeyDeletePostResponse {
|
|
159
|
+
body: unknown;
|
|
160
|
+
}
|
|
161
|
+
export declare const DeleteKeyFnKeyDeletePostResponse: S.Schema<DeleteKeyFnKeyDeletePostResponse>;
|
|
162
|
+
export type GenerateKeyFnKeyGeneratePostRequestAccessGroupIdsList = Array<string>;
|
|
163
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAccessGroupIdsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestAccessGroupIdsList>;
|
|
164
|
+
export type GenerateKeyFnKeyGeneratePostRequestAliasesMap = {
|
|
165
|
+
[key: string]: unknown | undefined;
|
|
166
|
+
};
|
|
167
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAliasesMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestAliasesMap>;
|
|
168
|
+
export type GenerateKeyFnKeyGeneratePostRequestAllowedCacheControlsList = Array<unknown>;
|
|
169
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAllowedCacheControlsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestAllowedCacheControlsList>;
|
|
170
|
+
export type GenerateKeyFnKeyGeneratePostRequestAllowedPassthroughRoutesList = Array<unknown>;
|
|
171
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAllowedPassthroughRoutesList: S.Schema<GenerateKeyFnKeyGeneratePostRequestAllowedPassthroughRoutesList>;
|
|
172
|
+
export type GenerateKeyFnKeyGeneratePostRequestAllowedRoutesList = Array<unknown>;
|
|
173
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAllowedRoutesList: S.Schema<GenerateKeyFnKeyGeneratePostRequestAllowedRoutesList>;
|
|
174
|
+
export type AllowedVectorStoreIndexItemIndexPermissionsItem = "read" | "write";
|
|
175
|
+
export declare const AllowedVectorStoreIndexItemIndexPermissionsItem: any;
|
|
176
|
+
export type AllowedVectorStoreIndexItemIndexPermissionsList = Array<AllowedVectorStoreIndexItemIndexPermissionsItem | (string & {})>;
|
|
177
|
+
export declare const AllowedVectorStoreIndexItemIndexPermissionsList: S.Schema<AllowedVectorStoreIndexItemIndexPermissionsList>;
|
|
178
|
+
export interface AllowedVectorStoreIndexItem {
|
|
179
|
+
index_name: string;
|
|
180
|
+
index_permissions: AllowedVectorStoreIndexItemIndexPermissionsList;
|
|
181
|
+
}
|
|
182
|
+
export declare const AllowedVectorStoreIndexItem: S.Schema<AllowedVectorStoreIndexItem>;
|
|
183
|
+
export type GenerateKeyFnKeyGeneratePostRequestAllowedVectorStoreIndexesList = Array<AllowedVectorStoreIndexItem>;
|
|
184
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestAllowedVectorStoreIndexesList: S.Schema<GenerateKeyFnKeyGeneratePostRequestAllowedVectorStoreIndexesList>;
|
|
185
|
+
export type GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksValueList = Array<string>;
|
|
186
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksValueList: S.Schema<GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksValueList>;
|
|
187
|
+
export type GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksMap = {
|
|
188
|
+
[key: string]: GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksValueList | undefined;
|
|
189
|
+
};
|
|
190
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksMap>;
|
|
191
|
+
/** A single budget window with its own limit and independent reset schedule. */
|
|
192
|
+
export interface BudgetLimitEntry {
|
|
193
|
+
budget_duration: string;
|
|
194
|
+
max_budget: number;
|
|
195
|
+
reset_at?: string | null;
|
|
196
|
+
}
|
|
197
|
+
export declare const BudgetLimitEntry: S.Schema<BudgetLimitEntry>;
|
|
198
|
+
export type GenerateKeyFnKeyGeneratePostRequestBudgetLimitsList = Array<BudgetLimitEntry>;
|
|
199
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestBudgetLimitsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestBudgetLimitsList>;
|
|
200
|
+
export type GenerateKeyFnKeyGeneratePostRequestConfigMap = {
|
|
201
|
+
[key: string]: unknown | undefined;
|
|
202
|
+
};
|
|
203
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestConfigMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestConfigMap>;
|
|
204
|
+
export type GenerateKeyFnKeyGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap = {
|
|
205
|
+
[key: string]: number | undefined;
|
|
206
|
+
};
|
|
207
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap>;
|
|
208
|
+
export type GenerateKeyFnKeyGeneratePostRequestEnforcedParamsList = Array<string>;
|
|
209
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestEnforcedParamsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestEnforcedParamsList>;
|
|
210
|
+
export type GenerateKeyFnKeyGeneratePostRequestGuardrailsList = Array<string>;
|
|
211
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestGuardrailsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestGuardrailsList>;
|
|
212
|
+
/** Enum for key types that determine what routes a key can access */
|
|
213
|
+
export type LiteLLMKeyType = "llm_api" | "management" | "read_only" | "default";
|
|
214
|
+
export declare const LiteLLMKeyType: any;
|
|
215
|
+
export type GenerateKeyFnKeyGeneratePostRequestMcpRpmLimitMap = {
|
|
216
|
+
[key: string]: number | undefined;
|
|
217
|
+
};
|
|
218
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestMcpRpmLimitMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestMcpRpmLimitMap>;
|
|
219
|
+
export type GenerateKeyFnKeyGeneratePostRequestMetadataMap = {
|
|
220
|
+
[key: string]: unknown | undefined;
|
|
221
|
+
};
|
|
222
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestMetadataMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestMetadataMap>;
|
|
223
|
+
export type GenerateKeyFnKeyGeneratePostRequestModelMaxBudgetMap = {
|
|
224
|
+
[key: string]: unknown | undefined;
|
|
225
|
+
};
|
|
226
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestModelMaxBudgetMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestModelMaxBudgetMap>;
|
|
227
|
+
export type GenerateKeyFnKeyGeneratePostRequestModelRpmLimitMap = {
|
|
228
|
+
[key: string]: unknown | undefined;
|
|
229
|
+
};
|
|
230
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestModelRpmLimitMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestModelRpmLimitMap>;
|
|
231
|
+
export type GenerateKeyFnKeyGeneratePostRequestModelTpmLimitMap = {
|
|
232
|
+
[key: string]: unknown | undefined;
|
|
233
|
+
};
|
|
234
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestModelTpmLimitMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestModelTpmLimitMap>;
|
|
235
|
+
export type GenerateKeyFnKeyGeneratePostRequestModelsList = Array<unknown>;
|
|
236
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestModelsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestModelsList>;
|
|
237
|
+
export type LiteLLMObjectPermissionBaseAgentAccessGroupsList = Array<string>;
|
|
238
|
+
export declare const LiteLLMObjectPermissionBaseAgentAccessGroupsList: S.Schema<LiteLLMObjectPermissionBaseAgentAccessGroupsList>;
|
|
239
|
+
export type LiteLLMObjectPermissionBaseAgentsList = Array<string>;
|
|
240
|
+
export declare const LiteLLMObjectPermissionBaseAgentsList: S.Schema<LiteLLMObjectPermissionBaseAgentsList>;
|
|
241
|
+
export type LiteLLMObjectPermissionBaseBlockedToolsList = Array<string>;
|
|
242
|
+
export declare const LiteLLMObjectPermissionBaseBlockedToolsList: S.Schema<LiteLLMObjectPermissionBaseBlockedToolsList>;
|
|
243
|
+
export type LiteLLMObjectPermissionBaseMcpAccessGroupsList = Array<string>;
|
|
244
|
+
export declare const LiteLLMObjectPermissionBaseMcpAccessGroupsList: S.Schema<LiteLLMObjectPermissionBaseMcpAccessGroupsList>;
|
|
245
|
+
export type LiteLLMObjectPermissionBaseMcpServersList = Array<string>;
|
|
246
|
+
export declare const LiteLLMObjectPermissionBaseMcpServersList: S.Schema<LiteLLMObjectPermissionBaseMcpServersList>;
|
|
247
|
+
export type LiteLLMObjectPermissionBaseMcpToolPermissionsValueList = Array<string>;
|
|
248
|
+
export declare const LiteLLMObjectPermissionBaseMcpToolPermissionsValueList: S.Schema<LiteLLMObjectPermissionBaseMcpToolPermissionsValueList>;
|
|
249
|
+
export type LiteLLMObjectPermissionBaseMcpToolPermissionsMap = {
|
|
250
|
+
[key: string]: LiteLLMObjectPermissionBaseMcpToolPermissionsValueList | undefined;
|
|
251
|
+
};
|
|
252
|
+
export declare const LiteLLMObjectPermissionBaseMcpToolPermissionsMap: S.Schema<LiteLLMObjectPermissionBaseMcpToolPermissionsMap>;
|
|
253
|
+
export type LiteLLMObjectPermissionBaseMcpToolsetsList = Array<string>;
|
|
254
|
+
export declare const LiteLLMObjectPermissionBaseMcpToolsetsList: S.Schema<LiteLLMObjectPermissionBaseMcpToolsetsList>;
|
|
255
|
+
export type LiteLLMObjectPermissionBaseModelsList = Array<string>;
|
|
256
|
+
export declare const LiteLLMObjectPermissionBaseModelsList: S.Schema<LiteLLMObjectPermissionBaseModelsList>;
|
|
257
|
+
export type LiteLLMObjectPermissionBaseSearchToolsList = Array<string>;
|
|
258
|
+
export declare const LiteLLMObjectPermissionBaseSearchToolsList: S.Schema<LiteLLMObjectPermissionBaseSearchToolsList>;
|
|
259
|
+
export type LiteLLMObjectPermissionBaseVectorStoresList = Array<string>;
|
|
260
|
+
export declare const LiteLLMObjectPermissionBaseVectorStoresList: S.Schema<LiteLLMObjectPermissionBaseVectorStoresList>;
|
|
261
|
+
export interface LiteLLMObjectPermissionBase {
|
|
262
|
+
agent_access_groups?: LiteLLMObjectPermissionBaseAgentAccessGroupsList | null;
|
|
263
|
+
agents?: LiteLLMObjectPermissionBaseAgentsList | null;
|
|
264
|
+
blocked_tools?: LiteLLMObjectPermissionBaseBlockedToolsList | null;
|
|
265
|
+
mcp_access_groups?: LiteLLMObjectPermissionBaseMcpAccessGroupsList | null;
|
|
266
|
+
mcp_servers?: LiteLLMObjectPermissionBaseMcpServersList | null;
|
|
267
|
+
mcp_tool_permissions?: LiteLLMObjectPermissionBaseMcpToolPermissionsMap | null;
|
|
268
|
+
mcp_tool_search_enabled?: boolean | null;
|
|
269
|
+
mcp_toolsets?: LiteLLMObjectPermissionBaseMcpToolsetsList | null;
|
|
270
|
+
models?: LiteLLMObjectPermissionBaseModelsList | null;
|
|
271
|
+
search_tools?: LiteLLMObjectPermissionBaseSearchToolsList | null;
|
|
272
|
+
vector_stores?: LiteLLMObjectPermissionBaseVectorStoresList | null;
|
|
273
|
+
}
|
|
274
|
+
export declare const LiteLLMObjectPermissionBase: S.Schema<LiteLLMObjectPermissionBase>;
|
|
275
|
+
export type GenerateKeyFnKeyGeneratePostRequestPermissionsMap = {
|
|
276
|
+
[key: string]: unknown | undefined;
|
|
277
|
+
};
|
|
278
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestPermissionsMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestPermissionsMap>;
|
|
279
|
+
export type GenerateKeyFnKeyGeneratePostRequestPoliciesList = Array<string>;
|
|
280
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestPoliciesList: S.Schema<GenerateKeyFnKeyGeneratePostRequestPoliciesList>;
|
|
281
|
+
export type GenerateKeyFnKeyGeneratePostRequestPromptsList = Array<string>;
|
|
282
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestPromptsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestPromptsList>;
|
|
283
|
+
export type UpdateRouterConfigContextWindowFallbacksItemMap = {
|
|
284
|
+
[key: string]: unknown | undefined;
|
|
285
|
+
};
|
|
286
|
+
export declare const UpdateRouterConfigContextWindowFallbacksItemMap: S.Schema<UpdateRouterConfigContextWindowFallbacksItemMap>;
|
|
287
|
+
export type UpdateRouterConfigContextWindowFallbacksList = Array<UpdateRouterConfigContextWindowFallbacksItemMap>;
|
|
288
|
+
export declare const UpdateRouterConfigContextWindowFallbacksList: S.Schema<UpdateRouterConfigContextWindowFallbacksList>;
|
|
289
|
+
export type UpdateRouterConfigFallbacksItemMap = {
|
|
290
|
+
[key: string]: unknown | undefined;
|
|
291
|
+
};
|
|
292
|
+
export declare const UpdateRouterConfigFallbacksItemMap: S.Schema<UpdateRouterConfigFallbacksItemMap>;
|
|
293
|
+
export type UpdateRouterConfigFallbacksList = Array<UpdateRouterConfigFallbacksItemMap>;
|
|
294
|
+
export declare const UpdateRouterConfigFallbacksList: S.Schema<UpdateRouterConfigFallbacksList>;
|
|
295
|
+
export type UpdateRouterConfigModelGroupAffinityConfigValueList = Array<string>;
|
|
296
|
+
export declare const UpdateRouterConfigModelGroupAffinityConfigValueList: S.Schema<UpdateRouterConfigModelGroupAffinityConfigValueList>;
|
|
297
|
+
export type UpdateRouterConfigModelGroupAffinityConfigMap = {
|
|
298
|
+
[key: string]: UpdateRouterConfigModelGroupAffinityConfigValueList | undefined;
|
|
299
|
+
};
|
|
300
|
+
export declare const UpdateRouterConfigModelGroupAffinityConfigMap: S.Schema<UpdateRouterConfigModelGroupAffinityConfigMap>;
|
|
301
|
+
export type UpdateRouterConfigModelGroupAliasValueCase1Map = {
|
|
302
|
+
[key: string]: unknown | undefined;
|
|
303
|
+
};
|
|
304
|
+
export declare const UpdateRouterConfigModelGroupAliasValueCase1Map: S.Schema<UpdateRouterConfigModelGroupAliasValueCase1Map>;
|
|
305
|
+
export type UpdateRouterConfigModelGroupAliasValue = string | UpdateRouterConfigModelGroupAliasValueCase1Map;
|
|
306
|
+
export declare const UpdateRouterConfigModelGroupAliasValue: S.Schema<UpdateRouterConfigModelGroupAliasValue>;
|
|
307
|
+
export type UpdateRouterConfigModelGroupAliasMap = {
|
|
308
|
+
[key: string]: UpdateRouterConfigModelGroupAliasValue | undefined;
|
|
309
|
+
};
|
|
310
|
+
export declare const UpdateRouterConfigModelGroupAliasMap: S.Schema<UpdateRouterConfigModelGroupAliasMap>;
|
|
311
|
+
/** Use this to set a custom number of retries per exception type If RateLimitErrorRetries = 3, then 3 retries will be made for RateLimitError Mapping of Exception type to number of retries https://docs.litellm.ai/docs/exception_mapping */
|
|
312
|
+
export interface RetryPolicy {
|
|
313
|
+
AuthenticationErrorRetries?: number | null;
|
|
314
|
+
BadRequestErrorRetries?: number | null;
|
|
315
|
+
ContentPolicyViolationErrorRetries?: number | null;
|
|
316
|
+
InternalServerErrorRetries?: number | null;
|
|
317
|
+
RateLimitErrorRetries?: number | null;
|
|
318
|
+
TimeoutErrorRetries?: number | null;
|
|
319
|
+
}
|
|
320
|
+
export declare const RetryPolicy: S.Schema<RetryPolicy>;
|
|
321
|
+
export type UpdateRouterConfigModelGroupRetryPolicyMap = {
|
|
322
|
+
[key: string]: RetryPolicy | undefined;
|
|
323
|
+
};
|
|
324
|
+
export declare const UpdateRouterConfigModelGroupRetryPolicyMap: S.Schema<UpdateRouterConfigModelGroupRetryPolicyMap>;
|
|
325
|
+
export type RoutingGroupModelsList = Array<string>;
|
|
326
|
+
export declare const RoutingGroupModelsList: S.Schema<RoutingGroupModelsList>;
|
|
327
|
+
export type RoutingGroupRoutingStrategyArgsMap = {
|
|
328
|
+
[key: string]: unknown | undefined;
|
|
329
|
+
};
|
|
330
|
+
export declare const RoutingGroupRoutingStrategyArgsMap: S.Schema<RoutingGroupRoutingStrategyArgsMap>;
|
|
331
|
+
/** A group of models that share a routing strategy. */
|
|
332
|
+
export interface RoutingGroup {
|
|
333
|
+
group_name: string;
|
|
334
|
+
models: RoutingGroupModelsList;
|
|
335
|
+
routing_strategy: string;
|
|
336
|
+
routing_strategy_args?: RoutingGroupRoutingStrategyArgsMap | null;
|
|
337
|
+
}
|
|
338
|
+
export declare const RoutingGroup: S.Schema<RoutingGroup>;
|
|
339
|
+
export type UpdateRouterConfigRoutingGroupsList = Array<RoutingGroup>;
|
|
340
|
+
export declare const UpdateRouterConfigRoutingGroupsList: S.Schema<UpdateRouterConfigRoutingGroupsList>;
|
|
341
|
+
export type UpdateRouterConfigRoutingStrategyArgsMap = {
|
|
342
|
+
[key: string]: unknown | undefined;
|
|
343
|
+
};
|
|
344
|
+
export declare const UpdateRouterConfigRoutingStrategyArgsMap: S.Schema<UpdateRouterConfigRoutingStrategyArgsMap>;
|
|
345
|
+
/** Set of params that you can modify via `router.update_settings()`. */
|
|
346
|
+
export interface UpdateRouterConfig {
|
|
347
|
+
allowed_fails?: number | null;
|
|
348
|
+
context_window_fallbacks?: UpdateRouterConfigContextWindowFallbacksList | null;
|
|
349
|
+
cooldown_time?: number | null;
|
|
350
|
+
enable_tag_filtering?: boolean | null;
|
|
351
|
+
fallbacks?: UpdateRouterConfigFallbacksList | null;
|
|
352
|
+
max_retries?: number | null;
|
|
353
|
+
model_group_affinity_config?: UpdateRouterConfigModelGroupAffinityConfigMap | null;
|
|
354
|
+
model_group_alias?: UpdateRouterConfigModelGroupAliasMap | null;
|
|
355
|
+
model_group_retry_policy?: UpdateRouterConfigModelGroupRetryPolicyMap | null;
|
|
356
|
+
num_retries?: number | null;
|
|
357
|
+
retry_after?: number | null;
|
|
358
|
+
retry_policy?: RetryPolicy | null;
|
|
359
|
+
routing_groups?: UpdateRouterConfigRoutingGroupsList | null;
|
|
360
|
+
routing_strategy?: string | null;
|
|
361
|
+
routing_strategy_args?: UpdateRouterConfigRoutingStrategyArgsMap | null;
|
|
362
|
+
tag_routing_prefix?: string | null;
|
|
363
|
+
timeout?: number | null;
|
|
364
|
+
}
|
|
365
|
+
export declare const UpdateRouterConfig: S.Schema<UpdateRouterConfig>;
|
|
366
|
+
export type GenerateKeyFnKeyGeneratePostRequestRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
367
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestRpmLimitType: any;
|
|
368
|
+
export type GenerateKeyFnKeyGeneratePostRequestTagRpmLimitMap = {
|
|
369
|
+
[key: string]: number | undefined;
|
|
370
|
+
};
|
|
371
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestTagRpmLimitMap: S.Schema<GenerateKeyFnKeyGeneratePostRequestTagRpmLimitMap>;
|
|
372
|
+
export type GenerateKeyFnKeyGeneratePostRequestTagsList = Array<string>;
|
|
373
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestTagsList: S.Schema<GenerateKeyFnKeyGeneratePostRequestTagsList>;
|
|
374
|
+
export type GenerateKeyFnKeyGeneratePostRequestTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
375
|
+
export declare const GenerateKeyFnKeyGeneratePostRequestTpmLimitType: any;
|
|
376
|
+
export interface GenerateKeyFnKeyGeneratePostRequest {
|
|
377
|
+
access_group_ids?: GenerateKeyFnKeyGeneratePostRequestAccessGroupIdsList | null;
|
|
378
|
+
agent_id?: string | null;
|
|
379
|
+
aliases?: GenerateKeyFnKeyGeneratePostRequestAliasesMap | null;
|
|
380
|
+
allowed_cache_controls?: GenerateKeyFnKeyGeneratePostRequestAllowedCacheControlsList | null;
|
|
381
|
+
allowed_passthrough_routes?: GenerateKeyFnKeyGeneratePostRequestAllowedPassthroughRoutesList | null;
|
|
382
|
+
allowed_routes?: GenerateKeyFnKeyGeneratePostRequestAllowedRoutesList | null;
|
|
383
|
+
allowed_vector_store_indexes?: GenerateKeyFnKeyGeneratePostRequestAllowedVectorStoreIndexesList | null;
|
|
384
|
+
/** Whether this key should be automatically rotated */
|
|
385
|
+
auto_rotate?: boolean | null;
|
|
386
|
+
blocked?: boolean | null;
|
|
387
|
+
budget_duration?: string | null;
|
|
388
|
+
budget_fallbacks?: GenerateKeyFnKeyGeneratePostRequestBudgetFallbacksMap | null;
|
|
389
|
+
budget_id?: string | null;
|
|
390
|
+
budget_limits?: GenerateKeyFnKeyGeneratePostRequestBudgetLimitsList | null;
|
|
391
|
+
config?: GenerateKeyFnKeyGeneratePostRequestConfigMap | null;
|
|
392
|
+
default_estimated_output_tokens?: number | null;
|
|
393
|
+
default_estimated_output_tokens_per_model?: GenerateKeyFnKeyGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap | null;
|
|
394
|
+
disable_global_guardrails?: boolean | null;
|
|
395
|
+
duration?: string | null;
|
|
396
|
+
enable_prompt_caching?: boolean | null;
|
|
397
|
+
enforced_params?: GenerateKeyFnKeyGeneratePostRequestEnforcedParamsList | null;
|
|
398
|
+
guardrails?: GenerateKeyFnKeyGeneratePostRequestGuardrailsList | null;
|
|
399
|
+
key?: string | null;
|
|
400
|
+
key_alias?: string | null;
|
|
401
|
+
/** Type of key that determines default allowed routes. */
|
|
402
|
+
key_type?: LiteLLMKeyType | (string & {}) | null;
|
|
403
|
+
max_budget?: number | null;
|
|
404
|
+
max_parallel_requests?: number | null;
|
|
405
|
+
mcp_rpm_limit?: GenerateKeyFnKeyGeneratePostRequestMcpRpmLimitMap | null;
|
|
406
|
+
metadata?: GenerateKeyFnKeyGeneratePostRequestMetadataMap | null;
|
|
407
|
+
model_max_budget?: GenerateKeyFnKeyGeneratePostRequestModelMaxBudgetMap | null;
|
|
408
|
+
model_rpm_limit?: GenerateKeyFnKeyGeneratePostRequestModelRpmLimitMap | null;
|
|
409
|
+
model_tpm_limit?: GenerateKeyFnKeyGeneratePostRequestModelTpmLimitMap | null;
|
|
410
|
+
models?: GenerateKeyFnKeyGeneratePostRequestModelsList | null;
|
|
411
|
+
object_permission?: LiteLLMObjectPermissionBase | null;
|
|
412
|
+
organization_id?: string | null;
|
|
413
|
+
permissions?: GenerateKeyFnKeyGeneratePostRequestPermissionsMap | null;
|
|
414
|
+
policies?: GenerateKeyFnKeyGeneratePostRequestPoliciesList | null;
|
|
415
|
+
project_id?: string | null;
|
|
416
|
+
prompts?: GenerateKeyFnKeyGeneratePostRequestPromptsList | null;
|
|
417
|
+
/** How often to rotate this key (e.g., '30d', '90d'). Required if auto_rotate=True */
|
|
418
|
+
rotation_interval?: string | null;
|
|
419
|
+
router_settings?: UpdateRouterConfig | null;
|
|
420
|
+
rpm_limit?: number | null;
|
|
421
|
+
rpm_limit_type?: GenerateKeyFnKeyGeneratePostRequestRpmLimitType | (string & {}) | null;
|
|
422
|
+
send_invite_email?: boolean | null;
|
|
423
|
+
soft_budget?: number | null;
|
|
424
|
+
spend?: number | null;
|
|
425
|
+
tag_rpm_limit?: GenerateKeyFnKeyGeneratePostRequestTagRpmLimitMap | null;
|
|
426
|
+
tags?: GenerateKeyFnKeyGeneratePostRequestTagsList | null;
|
|
427
|
+
team_id?: string | null;
|
|
428
|
+
throttle_on_budget_exceeded?: boolean | null;
|
|
429
|
+
tpm_limit?: number | null;
|
|
430
|
+
tpm_limit_type?: GenerateKeyFnKeyGeneratePostRequestTpmLimitType | (string & {}) | null;
|
|
431
|
+
user_id?: string | null;
|
|
432
|
+
}
|
|
433
|
+
export declare const GenerateKeyFnKeyGeneratePostRequest: S.Schema<GenerateKeyFnKeyGeneratePostRequest>;
|
|
434
|
+
export type GenerateKeyResponseAccessGroupIdsList = Array<string>;
|
|
435
|
+
export declare const GenerateKeyResponseAccessGroupIdsList: S.Schema<GenerateKeyResponseAccessGroupIdsList>;
|
|
436
|
+
export type GenerateKeyResponseAliasesMap = {
|
|
437
|
+
[key: string]: unknown | undefined;
|
|
438
|
+
};
|
|
439
|
+
export declare const GenerateKeyResponseAliasesMap: S.Schema<GenerateKeyResponseAliasesMap>;
|
|
440
|
+
export type GenerateKeyResponseAllowedCacheControlsList = Array<unknown>;
|
|
441
|
+
export declare const GenerateKeyResponseAllowedCacheControlsList: S.Schema<GenerateKeyResponseAllowedCacheControlsList>;
|
|
442
|
+
export type GenerateKeyResponseAllowedPassthroughRoutesList = Array<unknown>;
|
|
443
|
+
export declare const GenerateKeyResponseAllowedPassthroughRoutesList: S.Schema<GenerateKeyResponseAllowedPassthroughRoutesList>;
|
|
444
|
+
export type GenerateKeyResponseAllowedRoutesList = Array<unknown>;
|
|
445
|
+
export declare const GenerateKeyResponseAllowedRoutesList: S.Schema<GenerateKeyResponseAllowedRoutesList>;
|
|
446
|
+
export type GenerateKeyResponseAllowedVectorStoreIndexesList = Array<AllowedVectorStoreIndexItem>;
|
|
447
|
+
export declare const GenerateKeyResponseAllowedVectorStoreIndexesList: S.Schema<GenerateKeyResponseAllowedVectorStoreIndexesList>;
|
|
448
|
+
export type GenerateKeyResponseBudgetFallbacksValueList = Array<string>;
|
|
449
|
+
export declare const GenerateKeyResponseBudgetFallbacksValueList: S.Schema<GenerateKeyResponseBudgetFallbacksValueList>;
|
|
450
|
+
export type GenerateKeyResponseBudgetFallbacksMap = {
|
|
451
|
+
[key: string]: GenerateKeyResponseBudgetFallbacksValueList | undefined;
|
|
452
|
+
};
|
|
453
|
+
export declare const GenerateKeyResponseBudgetFallbacksMap: S.Schema<GenerateKeyResponseBudgetFallbacksMap>;
|
|
454
|
+
export type GenerateKeyResponseBudgetLimitsList = Array<BudgetLimitEntry>;
|
|
455
|
+
export declare const GenerateKeyResponseBudgetLimitsList: S.Schema<GenerateKeyResponseBudgetLimitsList>;
|
|
456
|
+
export type GenerateKeyResponseConfigMap = {
|
|
457
|
+
[key: string]: unknown | undefined;
|
|
458
|
+
};
|
|
459
|
+
export declare const GenerateKeyResponseConfigMap: S.Schema<GenerateKeyResponseConfigMap>;
|
|
460
|
+
export type GenerateKeyResponseDefaultEstimatedOutputTokensPerModelMap = {
|
|
461
|
+
[key: string]: number | undefined;
|
|
462
|
+
};
|
|
463
|
+
export declare const GenerateKeyResponseDefaultEstimatedOutputTokensPerModelMap: S.Schema<GenerateKeyResponseDefaultEstimatedOutputTokensPerModelMap>;
|
|
464
|
+
export type GenerateKeyResponseEnforcedParamsList = Array<string>;
|
|
465
|
+
export declare const GenerateKeyResponseEnforcedParamsList: S.Schema<GenerateKeyResponseEnforcedParamsList>;
|
|
466
|
+
export type GenerateKeyResponseGuardrailsList = Array<string>;
|
|
467
|
+
export declare const GenerateKeyResponseGuardrailsList: S.Schema<GenerateKeyResponseGuardrailsList>;
|
|
468
|
+
export type GenerateKeyResponseMcpRpmLimitMap = {
|
|
469
|
+
[key: string]: number | undefined;
|
|
470
|
+
};
|
|
471
|
+
export declare const GenerateKeyResponseMcpRpmLimitMap: S.Schema<GenerateKeyResponseMcpRpmLimitMap>;
|
|
472
|
+
export type GenerateKeyResponseMetadataMap = {
|
|
473
|
+
[key: string]: unknown | undefined;
|
|
474
|
+
};
|
|
475
|
+
export declare const GenerateKeyResponseMetadataMap: S.Schema<GenerateKeyResponseMetadataMap>;
|
|
476
|
+
export type GenerateKeyResponseModelMaxBudgetMap = {
|
|
477
|
+
[key: string]: unknown | undefined;
|
|
478
|
+
};
|
|
479
|
+
export declare const GenerateKeyResponseModelMaxBudgetMap: S.Schema<GenerateKeyResponseModelMaxBudgetMap>;
|
|
480
|
+
export type GenerateKeyResponseModelRpmLimitMap = {
|
|
481
|
+
[key: string]: unknown | undefined;
|
|
482
|
+
};
|
|
483
|
+
export declare const GenerateKeyResponseModelRpmLimitMap: S.Schema<GenerateKeyResponseModelRpmLimitMap>;
|
|
484
|
+
export type GenerateKeyResponseModelTpmLimitMap = {
|
|
485
|
+
[key: string]: unknown | undefined;
|
|
486
|
+
};
|
|
487
|
+
export declare const GenerateKeyResponseModelTpmLimitMap: S.Schema<GenerateKeyResponseModelTpmLimitMap>;
|
|
488
|
+
export type GenerateKeyResponseModelsList = Array<unknown>;
|
|
489
|
+
export declare const GenerateKeyResponseModelsList: S.Schema<GenerateKeyResponseModelsList>;
|
|
490
|
+
export type GenerateKeyResponsePermissionsMap = {
|
|
491
|
+
[key: string]: unknown | undefined;
|
|
492
|
+
};
|
|
493
|
+
export declare const GenerateKeyResponsePermissionsMap: S.Schema<GenerateKeyResponsePermissionsMap>;
|
|
494
|
+
export type GenerateKeyResponsePoliciesList = Array<string>;
|
|
495
|
+
export declare const GenerateKeyResponsePoliciesList: S.Schema<GenerateKeyResponsePoliciesList>;
|
|
496
|
+
export type GenerateKeyResponsePromptsList = Array<string>;
|
|
497
|
+
export declare const GenerateKeyResponsePromptsList: S.Schema<GenerateKeyResponsePromptsList>;
|
|
498
|
+
export type GenerateKeyResponseRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
499
|
+
export declare const GenerateKeyResponseRpmLimitType: any;
|
|
500
|
+
export type GenerateKeyResponseTagRpmLimitMap = {
|
|
501
|
+
[key: string]: number | undefined;
|
|
502
|
+
};
|
|
503
|
+
export declare const GenerateKeyResponseTagRpmLimitMap: S.Schema<GenerateKeyResponseTagRpmLimitMap>;
|
|
504
|
+
export type GenerateKeyResponseTagsList = Array<string>;
|
|
505
|
+
export declare const GenerateKeyResponseTagsList: S.Schema<GenerateKeyResponseTagsList>;
|
|
506
|
+
export type GenerateKeyResponseTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
507
|
+
export declare const GenerateKeyResponseTpmLimitType: any;
|
|
508
|
+
export interface GenerateKeyResponse {
|
|
509
|
+
access_group_ids?: GenerateKeyResponseAccessGroupIdsList | null;
|
|
510
|
+
agent_id?: string | null;
|
|
511
|
+
aliases?: GenerateKeyResponseAliasesMap | null;
|
|
512
|
+
allowed_cache_controls?: GenerateKeyResponseAllowedCacheControlsList | null;
|
|
513
|
+
allowed_passthrough_routes?: GenerateKeyResponseAllowedPassthroughRoutesList | null;
|
|
514
|
+
allowed_routes?: GenerateKeyResponseAllowedRoutesList | null;
|
|
515
|
+
allowed_vector_store_indexes?: GenerateKeyResponseAllowedVectorStoreIndexesList | null;
|
|
516
|
+
blocked?: boolean | null;
|
|
517
|
+
budget_duration?: string | null;
|
|
518
|
+
budget_fallbacks?: GenerateKeyResponseBudgetFallbacksMap | null;
|
|
519
|
+
budget_id?: string | null;
|
|
520
|
+
budget_limits?: GenerateKeyResponseBudgetLimitsList | null;
|
|
521
|
+
config?: GenerateKeyResponseConfigMap | null;
|
|
522
|
+
created_at?: string | null;
|
|
523
|
+
created_by?: string | null;
|
|
524
|
+
default_estimated_output_tokens?: number | null;
|
|
525
|
+
default_estimated_output_tokens_per_model?: GenerateKeyResponseDefaultEstimatedOutputTokensPerModelMap | null;
|
|
526
|
+
disable_global_guardrails?: boolean | null;
|
|
527
|
+
duration?: string | null;
|
|
528
|
+
enable_prompt_caching?: boolean | null;
|
|
529
|
+
enforced_params?: GenerateKeyResponseEnforcedParamsList | null;
|
|
530
|
+
expires?: string | null;
|
|
531
|
+
guardrails?: GenerateKeyResponseGuardrailsList | null;
|
|
532
|
+
key: string | Redacted.Redacted<string>;
|
|
533
|
+
key_alias?: string | null;
|
|
534
|
+
key_name?: string | null;
|
|
535
|
+
key_type?: string | null;
|
|
536
|
+
litellm_budget_table?: unknown | null;
|
|
537
|
+
max_budget?: number | null;
|
|
538
|
+
max_parallel_requests?: number | null;
|
|
539
|
+
mcp_rpm_limit?: GenerateKeyResponseMcpRpmLimitMap | null;
|
|
540
|
+
metadata?: GenerateKeyResponseMetadataMap | null;
|
|
541
|
+
model_max_budget?: GenerateKeyResponseModelMaxBudgetMap | null;
|
|
542
|
+
model_rpm_limit?: GenerateKeyResponseModelRpmLimitMap | null;
|
|
543
|
+
model_tpm_limit?: GenerateKeyResponseModelTpmLimitMap | null;
|
|
544
|
+
models?: GenerateKeyResponseModelsList | null;
|
|
545
|
+
object_permission?: LiteLLMObjectPermissionBase | null;
|
|
546
|
+
organization_id?: string | null;
|
|
547
|
+
permissions?: GenerateKeyResponsePermissionsMap | null;
|
|
548
|
+
policies?: GenerateKeyResponsePoliciesList | null;
|
|
549
|
+
project_id?: string | null;
|
|
550
|
+
prompts?: GenerateKeyResponsePromptsList | null;
|
|
551
|
+
router_settings?: UpdateRouterConfig | null;
|
|
552
|
+
rpm_limit?: number | null;
|
|
553
|
+
rpm_limit_type?: GenerateKeyResponseRpmLimitType | null;
|
|
554
|
+
spend?: number | null;
|
|
555
|
+
tag_rpm_limit?: GenerateKeyResponseTagRpmLimitMap | null;
|
|
556
|
+
tags?: GenerateKeyResponseTagsList | null;
|
|
557
|
+
team_id?: string | null;
|
|
558
|
+
throttle_on_budget_exceeded?: boolean | null;
|
|
559
|
+
token?: string | null;
|
|
560
|
+
token_id?: string | null;
|
|
561
|
+
tpm_limit?: number | null;
|
|
562
|
+
tpm_limit_type?: GenerateKeyResponseTpmLimitType | null;
|
|
563
|
+
updated_at?: string | null;
|
|
564
|
+
updated_by?: string | null;
|
|
565
|
+
user_id?: string | null;
|
|
566
|
+
}
|
|
567
|
+
export declare const GenerateKeyResponse: S.Schema<GenerateKeyResponse>;
|
|
568
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAccessGroupIdsList = Array<string>;
|
|
569
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAccessGroupIdsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAccessGroupIdsList>;
|
|
570
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAliasesMap = {
|
|
571
|
+
[key: string]: unknown | undefined;
|
|
572
|
+
};
|
|
573
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAliasesMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAliasesMap>;
|
|
574
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedCacheControlsList = Array<unknown>;
|
|
575
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedCacheControlsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedCacheControlsList>;
|
|
576
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedPassthroughRoutesList = Array<unknown>;
|
|
577
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedPassthroughRoutesList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedPassthroughRoutesList>;
|
|
578
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedRoutesList = Array<unknown>;
|
|
579
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedRoutesList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedRoutesList>;
|
|
580
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedVectorStoreIndexesList = Array<AllowedVectorStoreIndexItem>;
|
|
581
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedVectorStoreIndexesList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedVectorStoreIndexesList>;
|
|
582
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksValueList = Array<string>;
|
|
583
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksValueList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksValueList>;
|
|
584
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksMap = {
|
|
585
|
+
[key: string]: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksValueList | undefined;
|
|
586
|
+
};
|
|
587
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksMap>;
|
|
588
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetLimitsList = Array<BudgetLimitEntry>;
|
|
589
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetLimitsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetLimitsList>;
|
|
590
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestConfigMap = {
|
|
591
|
+
[key: string]: unknown | undefined;
|
|
592
|
+
};
|
|
593
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestConfigMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestConfigMap>;
|
|
594
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap = {
|
|
595
|
+
[key: string]: number | undefined;
|
|
596
|
+
};
|
|
597
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap>;
|
|
598
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestEnforcedParamsList = Array<string>;
|
|
599
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestEnforcedParamsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestEnforcedParamsList>;
|
|
600
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestGuardrailsList = Array<string>;
|
|
601
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestGuardrailsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestGuardrailsList>;
|
|
602
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMcpRpmLimitMap = {
|
|
603
|
+
[key: string]: number | undefined;
|
|
604
|
+
};
|
|
605
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMcpRpmLimitMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMcpRpmLimitMap>;
|
|
606
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMetadataMap = {
|
|
607
|
+
[key: string]: unknown | undefined;
|
|
608
|
+
};
|
|
609
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMetadataMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMetadataMap>;
|
|
610
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelMaxBudgetMap = {
|
|
611
|
+
[key: string]: unknown | undefined;
|
|
612
|
+
};
|
|
613
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelMaxBudgetMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelMaxBudgetMap>;
|
|
614
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelRpmLimitMap = {
|
|
615
|
+
[key: string]: unknown | undefined;
|
|
616
|
+
};
|
|
617
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelRpmLimitMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelRpmLimitMap>;
|
|
618
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelTpmLimitMap = {
|
|
619
|
+
[key: string]: unknown | undefined;
|
|
620
|
+
};
|
|
621
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelTpmLimitMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelTpmLimitMap>;
|
|
622
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelsList = Array<unknown>;
|
|
623
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelsList>;
|
|
624
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPermissionsMap = {
|
|
625
|
+
[key: string]: unknown | undefined;
|
|
626
|
+
};
|
|
627
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPermissionsMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPermissionsMap>;
|
|
628
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPoliciesList = Array<string>;
|
|
629
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPoliciesList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPoliciesList>;
|
|
630
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPromptsList = Array<string>;
|
|
631
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPromptsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPromptsList>;
|
|
632
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
633
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestRpmLimitType: any;
|
|
634
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagRpmLimitMap = {
|
|
635
|
+
[key: string]: number | undefined;
|
|
636
|
+
};
|
|
637
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagRpmLimitMap: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagRpmLimitMap>;
|
|
638
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagsList = Array<string>;
|
|
639
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagsList: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagsList>;
|
|
640
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
641
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTpmLimitType: any;
|
|
642
|
+
export interface GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequest {
|
|
643
|
+
access_group_ids?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAccessGroupIdsList | null;
|
|
644
|
+
agent_id?: string | null;
|
|
645
|
+
aliases?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAliasesMap | null;
|
|
646
|
+
allowed_cache_controls?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedCacheControlsList | null;
|
|
647
|
+
allowed_passthrough_routes?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedPassthroughRoutesList | null;
|
|
648
|
+
allowed_routes?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedRoutesList | null;
|
|
649
|
+
allowed_vector_store_indexes?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestAllowedVectorStoreIndexesList | null;
|
|
650
|
+
/** Whether this key should be automatically rotated */
|
|
651
|
+
auto_rotate?: boolean | null;
|
|
652
|
+
blocked?: boolean | null;
|
|
653
|
+
budget_duration?: string | null;
|
|
654
|
+
budget_fallbacks?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetFallbacksMap | null;
|
|
655
|
+
budget_id?: string | null;
|
|
656
|
+
budget_limits?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestBudgetLimitsList | null;
|
|
657
|
+
config?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestConfigMap | null;
|
|
658
|
+
default_estimated_output_tokens?: number | null;
|
|
659
|
+
default_estimated_output_tokens_per_model?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestDefaultEstimatedOutputTokensPerModelMap | null;
|
|
660
|
+
disable_global_guardrails?: boolean | null;
|
|
661
|
+
duration?: string | null;
|
|
662
|
+
enable_prompt_caching?: boolean | null;
|
|
663
|
+
enforced_params?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestEnforcedParamsList | null;
|
|
664
|
+
guardrails?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestGuardrailsList | null;
|
|
665
|
+
key?: string | null;
|
|
666
|
+
key_alias?: string | null;
|
|
667
|
+
/** Type of key that determines default allowed routes. */
|
|
668
|
+
key_type?: LiteLLMKeyType | (string & {}) | null;
|
|
669
|
+
max_budget?: number | null;
|
|
670
|
+
max_parallel_requests?: number | null;
|
|
671
|
+
mcp_rpm_limit?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMcpRpmLimitMap | null;
|
|
672
|
+
metadata?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestMetadataMap | null;
|
|
673
|
+
model_max_budget?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelMaxBudgetMap | null;
|
|
674
|
+
model_rpm_limit?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelRpmLimitMap | null;
|
|
675
|
+
model_tpm_limit?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelTpmLimitMap | null;
|
|
676
|
+
models?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestModelsList | null;
|
|
677
|
+
object_permission?: LiteLLMObjectPermissionBase | null;
|
|
678
|
+
organization_id?: string | null;
|
|
679
|
+
permissions?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPermissionsMap | null;
|
|
680
|
+
policies?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPoliciesList | null;
|
|
681
|
+
project_id?: string | null;
|
|
682
|
+
prompts?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestPromptsList | null;
|
|
683
|
+
/** How often to rotate this key (e.g., '30d', '90d'). Required if auto_rotate=True */
|
|
684
|
+
rotation_interval?: string | null;
|
|
685
|
+
router_settings?: UpdateRouterConfig | null;
|
|
686
|
+
rpm_limit?: number | null;
|
|
687
|
+
rpm_limit_type?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestRpmLimitType | (string & {}) | null;
|
|
688
|
+
send_invite_email?: boolean | null;
|
|
689
|
+
soft_budget?: number | null;
|
|
690
|
+
spend?: number | null;
|
|
691
|
+
tag_rpm_limit?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagRpmLimitMap | null;
|
|
692
|
+
tags?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTagsList | null;
|
|
693
|
+
team_id?: string | null;
|
|
694
|
+
throttle_on_budget_exceeded?: boolean | null;
|
|
695
|
+
tpm_limit?: number | null;
|
|
696
|
+
tpm_limit_type?: GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequestTpmLimitType | (string & {}) | null;
|
|
697
|
+
user_id?: string | null;
|
|
698
|
+
}
|
|
699
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequest: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequest>;
|
|
700
|
+
export interface GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostResponse {
|
|
701
|
+
body: unknown;
|
|
702
|
+
}
|
|
703
|
+
export declare const GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostResponse: S.Schema<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostResponse>;
|
|
704
|
+
export interface GetInfoKeyFnKeyInfoRequest {
|
|
705
|
+
/** Key in the request parameters */
|
|
706
|
+
key?: string;
|
|
707
|
+
}
|
|
708
|
+
export declare const GetInfoKeyFnKeyInfoRequest: S.Schema<GetInfoKeyFnKeyInfoRequest>;
|
|
709
|
+
export interface GetInfoKeyFnKeyInfoResponse {
|
|
710
|
+
body: unknown;
|
|
711
|
+
}
|
|
712
|
+
export declare const GetInfoKeyFnKeyInfoResponse: S.Schema<GetInfoKeyFnKeyInfoResponse>;
|
|
713
|
+
export interface GetKeyAliasesKeyAliasRequest {
|
|
714
|
+
/** Page number */
|
|
715
|
+
page?: number;
|
|
716
|
+
/** Page size */
|
|
717
|
+
size?: number;
|
|
718
|
+
/** Search key aliases (case-insensitive partial match) */
|
|
719
|
+
search?: string;
|
|
720
|
+
/** Filter aliases to keys belonging to this team */
|
|
721
|
+
team_id?: string;
|
|
722
|
+
}
|
|
723
|
+
export declare const GetKeyAliasesKeyAliasRequest: S.Schema<GetKeyAliasesKeyAliasRequest>;
|
|
724
|
+
export type GetKeyAliasesKeyAliasResponseBodyMap = {
|
|
725
|
+
[key: string]: unknown | undefined;
|
|
726
|
+
};
|
|
727
|
+
export declare const GetKeyAliasesKeyAliasResponseBodyMap: S.Schema<GetKeyAliasesKeyAliasResponseBodyMap>;
|
|
728
|
+
export interface GetKeyAliasesKeyAliasResponse {
|
|
729
|
+
body: GetKeyAliasesKeyAliasResponseBodyMap;
|
|
730
|
+
}
|
|
731
|
+
export declare const GetKeyAliasesKeyAliasResponse: S.Schema<GetKeyAliasesKeyAliasResponse>;
|
|
732
|
+
export type ListKeysKeyListGetRequestExpandList = Array<string>;
|
|
733
|
+
export declare const ListKeysKeyListGetRequestExpandList: S.Schema<ListKeysKeyListGetRequestExpandList>;
|
|
734
|
+
export interface ListKeysKeyListGetRequest {
|
|
735
|
+
/** Page number */
|
|
736
|
+
page?: number;
|
|
737
|
+
/** Page size */
|
|
738
|
+
size?: number;
|
|
739
|
+
/** Filter keys by user ID. Exact match by default; set substring_matching=true (admin only) for case-insensitive substring matching. */
|
|
740
|
+
user_id?: string;
|
|
741
|
+
/** Filter keys by team ID */
|
|
742
|
+
team_id?: string;
|
|
743
|
+
/** Filter keys by organization ID */
|
|
744
|
+
organization_id?: string;
|
|
745
|
+
/** Filter keys by key hash */
|
|
746
|
+
key_hash?: string;
|
|
747
|
+
/** Filter keys by key alias. Exact match by default; set substring_matching=true (admin only) for case-insensitive substring matching. */
|
|
748
|
+
key_alias?: string;
|
|
749
|
+
/** Return full key object */
|
|
750
|
+
return_full_object?: boolean;
|
|
751
|
+
/** Include all keys for teams that user is an admin of. */
|
|
752
|
+
include_team_keys?: boolean;
|
|
753
|
+
/** Include keys created by the user */
|
|
754
|
+
include_created_by_keys?: boolean;
|
|
755
|
+
/** Column to sort by (e.g. 'user_id', 'created_at', 'spend') */
|
|
756
|
+
sort_by?: string;
|
|
757
|
+
/** Sort order ('asc' or 'desc') */
|
|
758
|
+
sort_order?: string;
|
|
759
|
+
/** Expand related objects (e.g. 'user') */
|
|
760
|
+
expand?: ListKeysKeyListGetRequestExpandList;
|
|
761
|
+
/** Filter by status (e.g. 'deleted') */
|
|
762
|
+
status?: string;
|
|
763
|
+
/** Filter keys by project ID */
|
|
764
|
+
project_id?: string;
|
|
765
|
+
/** Filter keys by access group ID */
|
|
766
|
+
access_group_id?: string;
|
|
767
|
+
/** Filter keys by agent ID */
|
|
768
|
+
agent_id?: string;
|
|
769
|
+
/** If true (proxy admins only), match user_id/key_alias as case-insensitive substrings instead of exact values. Defaults to false: /key/list matched these exactly before substring search was added, and an exact user_id/key_alias filter must never return another user's keys. */
|
|
770
|
+
substring_matching?: boolean;
|
|
771
|
+
/** Filter keys by expiration. 'expired' returns keys whose expires is in the past; 'active' returns keys that never expire or expire in the future. Omit to return keys regardless of expiration. */
|
|
772
|
+
expires?: string;
|
|
773
|
+
}
|
|
774
|
+
export declare const ListKeysKeyListGetRequest: S.Schema<ListKeysKeyListGetRequest>;
|
|
775
|
+
export type UserAPIKeyAuthAccessGroupIdsList = Array<string>;
|
|
776
|
+
export declare const UserAPIKeyAuthAccessGroupIdsList: S.Schema<UserAPIKeyAuthAccessGroupIdsList>;
|
|
777
|
+
export type UserAPIKeyAuthAliasesMap = {
|
|
778
|
+
[key: string]: unknown | undefined;
|
|
779
|
+
};
|
|
780
|
+
export declare const UserAPIKeyAuthAliasesMap: S.Schema<UserAPIKeyAuthAliasesMap>;
|
|
781
|
+
export type UserAPIKeyAuthAllowedCacheControlsList = Array<unknown>;
|
|
782
|
+
export declare const UserAPIKeyAuthAllowedCacheControlsList: S.Schema<UserAPIKeyAuthAllowedCacheControlsList>;
|
|
783
|
+
export type UserAPIKeyAuthAllowedModelRegion = "eu" | "us";
|
|
784
|
+
export declare const UserAPIKeyAuthAllowedModelRegion: any;
|
|
785
|
+
export type UserAPIKeyAuthAllowedRoutesList = Array<unknown>;
|
|
786
|
+
export declare const UserAPIKeyAuthAllowedRoutesList: S.Schema<UserAPIKeyAuthAllowedRoutesList>;
|
|
787
|
+
export type UserAPIKeyAuthBudgetFallbacksValueList = Array<string>;
|
|
788
|
+
export declare const UserAPIKeyAuthBudgetFallbacksValueList: S.Schema<UserAPIKeyAuthBudgetFallbacksValueList>;
|
|
789
|
+
export type UserAPIKeyAuthBudgetFallbacksMap = {
|
|
790
|
+
[key: string]: UserAPIKeyAuthBudgetFallbacksValueList | undefined;
|
|
791
|
+
};
|
|
792
|
+
export declare const UserAPIKeyAuthBudgetFallbacksMap: S.Schema<UserAPIKeyAuthBudgetFallbacksMap>;
|
|
793
|
+
export type UserAPIKeyAuthBudgetLimitsItemMap = {
|
|
794
|
+
[key: string]: unknown | undefined;
|
|
795
|
+
};
|
|
796
|
+
export declare const UserAPIKeyAuthBudgetLimitsItemMap: S.Schema<UserAPIKeyAuthBudgetLimitsItemMap>;
|
|
797
|
+
export type UserAPIKeyAuthBudgetLimitsList = Array<UserAPIKeyAuthBudgetLimitsItemMap>;
|
|
798
|
+
export declare const UserAPIKeyAuthBudgetLimitsList: S.Schema<UserAPIKeyAuthBudgetLimitsList>;
|
|
799
|
+
export type UserAPIKeyAuthConfigMap = {
|
|
800
|
+
[key: string]: unknown | undefined;
|
|
801
|
+
};
|
|
802
|
+
export declare const UserAPIKeyAuthConfigMap: S.Schema<UserAPIKeyAuthConfigMap>;
|
|
803
|
+
export type UserAPIKeyAuthEndUserModelMaxBudgetMap = {
|
|
804
|
+
[key: string]: unknown | undefined;
|
|
805
|
+
};
|
|
806
|
+
export declare const UserAPIKeyAuthEndUserModelMaxBudgetMap: S.Schema<UserAPIKeyAuthEndUserModelMaxBudgetMap>;
|
|
807
|
+
export type LiteLLMObjectPermissionTableAgentAccessGroupsList = Array<string>;
|
|
808
|
+
export declare const LiteLLMObjectPermissionTableAgentAccessGroupsList: S.Schema<LiteLLMObjectPermissionTableAgentAccessGroupsList>;
|
|
809
|
+
export type LiteLLMObjectPermissionTableAgentsList = Array<string>;
|
|
810
|
+
export declare const LiteLLMObjectPermissionTableAgentsList: S.Schema<LiteLLMObjectPermissionTableAgentsList>;
|
|
811
|
+
export type LiteLLMObjectPermissionTableBlockedToolsList = Array<string>;
|
|
812
|
+
export declare const LiteLLMObjectPermissionTableBlockedToolsList: S.Schema<LiteLLMObjectPermissionTableBlockedToolsList>;
|
|
813
|
+
export type LiteLLMObjectPermissionTableMcpAccessGroupsList = Array<string>;
|
|
814
|
+
export declare const LiteLLMObjectPermissionTableMcpAccessGroupsList: S.Schema<LiteLLMObjectPermissionTableMcpAccessGroupsList>;
|
|
815
|
+
export type LiteLLMObjectPermissionTableMcpServersList = Array<string>;
|
|
816
|
+
export declare const LiteLLMObjectPermissionTableMcpServersList: S.Schema<LiteLLMObjectPermissionTableMcpServersList>;
|
|
817
|
+
export type LiteLLMObjectPermissionTableMcpToolPermissionsValueList = Array<string>;
|
|
818
|
+
export declare const LiteLLMObjectPermissionTableMcpToolPermissionsValueList: S.Schema<LiteLLMObjectPermissionTableMcpToolPermissionsValueList>;
|
|
819
|
+
export type LiteLLMObjectPermissionTableMcpToolPermissionsMap = {
|
|
820
|
+
[key: string]: LiteLLMObjectPermissionTableMcpToolPermissionsValueList | undefined;
|
|
821
|
+
};
|
|
822
|
+
export declare const LiteLLMObjectPermissionTableMcpToolPermissionsMap: S.Schema<LiteLLMObjectPermissionTableMcpToolPermissionsMap>;
|
|
823
|
+
export type LiteLLMObjectPermissionTableMcpToolsetsList = Array<string>;
|
|
824
|
+
export declare const LiteLLMObjectPermissionTableMcpToolsetsList: S.Schema<LiteLLMObjectPermissionTableMcpToolsetsList>;
|
|
825
|
+
export type LiteLLMObjectPermissionTableModelsList = Array<string>;
|
|
826
|
+
export declare const LiteLLMObjectPermissionTableModelsList: S.Schema<LiteLLMObjectPermissionTableModelsList>;
|
|
827
|
+
export type LiteLLMObjectPermissionTableSearchToolsList = Array<string>;
|
|
828
|
+
export declare const LiteLLMObjectPermissionTableSearchToolsList: S.Schema<LiteLLMObjectPermissionTableSearchToolsList>;
|
|
829
|
+
export type LiteLLMObjectPermissionTableVectorStoresList = Array<string>;
|
|
830
|
+
export declare const LiteLLMObjectPermissionTableVectorStoresList: S.Schema<LiteLLMObjectPermissionTableVectorStoresList>;
|
|
831
|
+
/** Represents a LiteLLM_ObjectPermissionTable record */
|
|
832
|
+
export interface LiteLLMObjectPermissionTable {
|
|
833
|
+
agent_access_groups?: LiteLLMObjectPermissionTableAgentAccessGroupsList | null;
|
|
834
|
+
agents?: LiteLLMObjectPermissionTableAgentsList | null;
|
|
835
|
+
blocked_tools?: LiteLLMObjectPermissionTableBlockedToolsList | null;
|
|
836
|
+
mcp_access_groups?: LiteLLMObjectPermissionTableMcpAccessGroupsList | null;
|
|
837
|
+
mcp_servers?: LiteLLMObjectPermissionTableMcpServersList | null;
|
|
838
|
+
mcp_tool_permissions?: LiteLLMObjectPermissionTableMcpToolPermissionsMap | null;
|
|
839
|
+
mcp_tool_search_enabled?: boolean | null;
|
|
840
|
+
mcp_toolsets?: LiteLLMObjectPermissionTableMcpToolsetsList | null;
|
|
841
|
+
models?: LiteLLMObjectPermissionTableModelsList | null;
|
|
842
|
+
object_permission_id: string;
|
|
843
|
+
search_tools?: LiteLLMObjectPermissionTableSearchToolsList | null;
|
|
844
|
+
vector_stores?: LiteLLMObjectPermissionTableVectorStoresList | null;
|
|
845
|
+
}
|
|
846
|
+
export declare const LiteLLMObjectPermissionTable: S.Schema<LiteLLMObjectPermissionTable>;
|
|
847
|
+
export type UserAPIKeyAuthJwtClaimsMap = {
|
|
848
|
+
[key: string]: unknown | undefined;
|
|
849
|
+
};
|
|
850
|
+
export declare const UserAPIKeyAuthJwtClaimsMap: S.Schema<UserAPIKeyAuthJwtClaimsMap>;
|
|
851
|
+
export type UserAPIKeyAuthLitellmBudgetTableMap = {
|
|
852
|
+
[key: string]: unknown | undefined;
|
|
853
|
+
};
|
|
854
|
+
export declare const UserAPIKeyAuthLitellmBudgetTableMap: S.Schema<UserAPIKeyAuthLitellmBudgetTableMap>;
|
|
855
|
+
export type UserAPIKeyAuthMetadataMap = {
|
|
856
|
+
[key: string]: unknown | undefined;
|
|
857
|
+
};
|
|
858
|
+
export declare const UserAPIKeyAuthMetadataMap: S.Schema<UserAPIKeyAuthMetadataMap>;
|
|
859
|
+
export type UserAPIKeyAuthModelMaxBudgetMap = {
|
|
860
|
+
[key: string]: unknown | undefined;
|
|
861
|
+
};
|
|
862
|
+
export declare const UserAPIKeyAuthModelMaxBudgetMap: S.Schema<UserAPIKeyAuthModelMaxBudgetMap>;
|
|
863
|
+
export type UserAPIKeyAuthModelSpendMap = {
|
|
864
|
+
[key: string]: unknown | undefined;
|
|
865
|
+
};
|
|
866
|
+
export declare const UserAPIKeyAuthModelSpendMap: S.Schema<UserAPIKeyAuthModelSpendMap>;
|
|
867
|
+
export type UserAPIKeyAuthModelsList = Array<unknown>;
|
|
868
|
+
export declare const UserAPIKeyAuthModelsList: S.Schema<UserAPIKeyAuthModelsList>;
|
|
869
|
+
export type UserAPIKeyAuthOrganizationMetadataMap = {
|
|
870
|
+
[key: string]: unknown | undefined;
|
|
871
|
+
};
|
|
872
|
+
export declare const UserAPIKeyAuthOrganizationMetadataMap: S.Schema<UserAPIKeyAuthOrganizationMetadataMap>;
|
|
873
|
+
export type UserAPIKeyAuthPermissionsMap = {
|
|
874
|
+
[key: string]: unknown | undefined;
|
|
875
|
+
};
|
|
876
|
+
export declare const UserAPIKeyAuthPermissionsMap: S.Schema<UserAPIKeyAuthPermissionsMap>;
|
|
877
|
+
export type UserAPIKeyAuthProjectMetadataMap = {
|
|
878
|
+
[key: string]: unknown | undefined;
|
|
879
|
+
};
|
|
880
|
+
export declare const UserAPIKeyAuthProjectMetadataMap: S.Schema<UserAPIKeyAuthProjectMetadataMap>;
|
|
881
|
+
export type UserAPIKeyAuthRouterSettingsMap = {
|
|
882
|
+
[key: string]: unknown | undefined;
|
|
883
|
+
};
|
|
884
|
+
export declare const UserAPIKeyAuthRouterSettingsMap: S.Schema<UserAPIKeyAuthRouterSettingsMap>;
|
|
885
|
+
export type UserAPIKeyAuthRpmLimitPerModelMap = {
|
|
886
|
+
[key: string]: number | undefined;
|
|
887
|
+
};
|
|
888
|
+
export declare const UserAPIKeyAuthRpmLimitPerModelMap: S.Schema<UserAPIKeyAuthRpmLimitPerModelMap>;
|
|
889
|
+
/** The role of the user within the team. 'admin' users can manage team settings and members, 'user' is a regular team member */
|
|
890
|
+
export type MemberRole = "admin" | "user";
|
|
891
|
+
export declare const MemberRole: any;
|
|
892
|
+
export interface Member {
|
|
893
|
+
/** The role of the user within the team. 'admin' users can manage team settings and members, 'user' is a regular team member */
|
|
894
|
+
role: MemberRole;
|
|
895
|
+
/** The email address of the user to add. Either user_id or user_email must be provided */
|
|
896
|
+
user_email?: string | null;
|
|
897
|
+
/** The unique ID of the user to add. Either user_id or user_email must be provided */
|
|
898
|
+
user_id?: string | null;
|
|
899
|
+
}
|
|
900
|
+
export declare const Member: S.Schema<Member>;
|
|
901
|
+
export type UserAPIKeyAuthTeamMetadataMap = {
|
|
902
|
+
[key: string]: unknown | undefined;
|
|
903
|
+
};
|
|
904
|
+
export declare const UserAPIKeyAuthTeamMetadataMap: S.Schema<UserAPIKeyAuthTeamMetadataMap>;
|
|
905
|
+
export type UserAPIKeyAuthTeamModelAliasesMap = {
|
|
906
|
+
[key: string]: unknown | undefined;
|
|
907
|
+
};
|
|
908
|
+
export declare const UserAPIKeyAuthTeamModelAliasesMap: S.Schema<UserAPIKeyAuthTeamModelAliasesMap>;
|
|
909
|
+
export type UserAPIKeyAuthTeamModelsList = Array<unknown>;
|
|
910
|
+
export declare const UserAPIKeyAuthTeamModelsList: S.Schema<UserAPIKeyAuthTeamModelsList>;
|
|
911
|
+
export type UserAPIKeyAuthTpmLimitPerModelMap = {
|
|
912
|
+
[key: string]: number | undefined;
|
|
913
|
+
};
|
|
914
|
+
export declare const UserAPIKeyAuthTpmLimitPerModelMap: S.Schema<UserAPIKeyAuthTpmLimitPerModelMap>;
|
|
915
|
+
export type UserAPIKeyAuthUserModelMaxBudgetMap = {
|
|
916
|
+
[key: string]: unknown | undefined;
|
|
917
|
+
};
|
|
918
|
+
export declare const UserAPIKeyAuthUserModelMaxBudgetMap: S.Schema<UserAPIKeyAuthUserModelMaxBudgetMap>;
|
|
919
|
+
/** Admin Roles: PROXY_ADMIN: admin over the platform PROXY_ADMIN_VIEW_ONLY: can login, view all own keys, view all spend ORG_ADMIN: admin over a specific organization, can create teams, users only within their organization Internal User Roles: INTERNAL_USER: can login, view/create/delete their own keys, view their spend INTERNAL_USER_VIEW_ONLY: can login, view their own keys, view their own spend Team Roles: TEAM: used for JWT auth Customer Roles: CUSTOMER: External users -> these are customers */
|
|
920
|
+
export type LitellmUserRoles = "proxy_admin" | "proxy_admin_viewer" | "org_admin" | "internal_user" | "internal_user_viewer" | "team" | "customer";
|
|
921
|
+
export declare const LitellmUserRoles: any;
|
|
922
|
+
/** Return the row in the db */
|
|
923
|
+
export interface UserAPIKeyAuth {
|
|
924
|
+
access_group_ids?: UserAPIKeyAuthAccessGroupIdsList | null;
|
|
925
|
+
agent_id?: string | null;
|
|
926
|
+
aliases?: UserAPIKeyAuthAliasesMap;
|
|
927
|
+
allowed_cache_controls?: UserAPIKeyAuthAllowedCacheControlsList | null;
|
|
928
|
+
allowed_model_region?: UserAPIKeyAuthAllowedModelRegion | null;
|
|
929
|
+
allowed_routes?: UserAPIKeyAuthAllowedRoutesList | null;
|
|
930
|
+
api_key?: string | null;
|
|
931
|
+
auto_rotate?: boolean | null;
|
|
932
|
+
blocked?: boolean | null;
|
|
933
|
+
budget_duration?: string | null;
|
|
934
|
+
budget_fallbacks?: UserAPIKeyAuthBudgetFallbacksMap;
|
|
935
|
+
budget_id?: string | null;
|
|
936
|
+
budget_limits?: UserAPIKeyAuthBudgetLimitsList | null;
|
|
937
|
+
budget_reset_at?: string | null;
|
|
938
|
+
config?: UserAPIKeyAuthConfigMap;
|
|
939
|
+
created_at?: string | null;
|
|
940
|
+
created_by?: string | null;
|
|
941
|
+
created_by_user?: unknown | null;
|
|
942
|
+
end_user_id?: string | null;
|
|
943
|
+
end_user_max_budget?: number | null;
|
|
944
|
+
end_user_model_max_budget?: UserAPIKeyAuthEndUserModelMaxBudgetMap | null;
|
|
945
|
+
end_user_object_permission?: LiteLLMObjectPermissionTable | null;
|
|
946
|
+
end_user_rpm_limit?: number | null;
|
|
947
|
+
end_user_tpm_limit?: number | null;
|
|
948
|
+
expires?: string | null;
|
|
949
|
+
is_session_token?: boolean;
|
|
950
|
+
jwt_claims?: UserAPIKeyAuthJwtClaimsMap | null;
|
|
951
|
+
key_alias?: string | null;
|
|
952
|
+
key_name?: string | null;
|
|
953
|
+
key_rotation_at?: string | null;
|
|
954
|
+
key_type?: string | null;
|
|
955
|
+
last_active?: string | null;
|
|
956
|
+
last_refreshed_at?: number | null;
|
|
957
|
+
last_rotation_at?: string | null;
|
|
958
|
+
litellm_budget_table?: UserAPIKeyAuthLitellmBudgetTableMap | null;
|
|
959
|
+
max_budget?: number | null;
|
|
960
|
+
max_parallel_requests?: number | null;
|
|
961
|
+
metadata?: UserAPIKeyAuthMetadataMap;
|
|
962
|
+
model_max_budget?: UserAPIKeyAuthModelMaxBudgetMap;
|
|
963
|
+
model_spend?: UserAPIKeyAuthModelSpendMap;
|
|
964
|
+
models?: UserAPIKeyAuthModelsList;
|
|
965
|
+
object_permission?: LiteLLMObjectPermissionTable | null;
|
|
966
|
+
object_permission_id?: string | null;
|
|
967
|
+
org_id?: string | null;
|
|
968
|
+
organization_alias?: string | null;
|
|
969
|
+
organization_max_budget?: number | null;
|
|
970
|
+
organization_metadata?: UserAPIKeyAuthOrganizationMetadataMap | null;
|
|
971
|
+
organization_rpm_limit?: number | null;
|
|
972
|
+
organization_tpm_limit?: number | null;
|
|
973
|
+
parent_otel_span?: unknown | null;
|
|
974
|
+
permissions?: UserAPIKeyAuthPermissionsMap;
|
|
975
|
+
project_alias?: string | null;
|
|
976
|
+
project_id?: string | null;
|
|
977
|
+
project_metadata?: UserAPIKeyAuthProjectMetadataMap | null;
|
|
978
|
+
request_route?: string | null;
|
|
979
|
+
rotation_count?: number | null;
|
|
980
|
+
rotation_interval?: string | null;
|
|
981
|
+
router_settings?: UserAPIKeyAuthRouterSettingsMap | null;
|
|
982
|
+
rpm_limit?: number | null;
|
|
983
|
+
rpm_limit_per_model?: UserAPIKeyAuthRpmLimitPerModelMap | null;
|
|
984
|
+
settings_updated_at?: string | null;
|
|
985
|
+
soft_budget?: number | null;
|
|
986
|
+
soft_budget_cooldown?: boolean;
|
|
987
|
+
spend?: number;
|
|
988
|
+
team_alias?: string | null;
|
|
989
|
+
team_blocked?: boolean;
|
|
990
|
+
team_id?: string | null;
|
|
991
|
+
team_max_budget?: number | null;
|
|
992
|
+
team_member?: Member | null;
|
|
993
|
+
team_member_rpm_limit?: number | null;
|
|
994
|
+
team_member_spend?: number | null;
|
|
995
|
+
team_member_tpm_limit?: number | null;
|
|
996
|
+
team_metadata?: UserAPIKeyAuthTeamMetadataMap | null;
|
|
997
|
+
team_model_aliases?: UserAPIKeyAuthTeamModelAliasesMap | null;
|
|
998
|
+
team_models?: UserAPIKeyAuthTeamModelsList;
|
|
999
|
+
team_object_permission?: LiteLLMObjectPermissionTable | null;
|
|
1000
|
+
team_object_permission_id?: string | null;
|
|
1001
|
+
team_rpm_limit?: number | null;
|
|
1002
|
+
team_soft_budget?: number | null;
|
|
1003
|
+
team_spend?: number | null;
|
|
1004
|
+
team_tpm_limit?: number | null;
|
|
1005
|
+
token?: string | null;
|
|
1006
|
+
tpm_limit?: number | null;
|
|
1007
|
+
tpm_limit_per_model?: UserAPIKeyAuthTpmLimitPerModelMap | null;
|
|
1008
|
+
updated_at?: string | null;
|
|
1009
|
+
updated_by?: string | null;
|
|
1010
|
+
user?: unknown | null;
|
|
1011
|
+
user_email?: string | null;
|
|
1012
|
+
user_id?: string | null;
|
|
1013
|
+
user_max_budget?: number | null;
|
|
1014
|
+
user_model_max_budget?: UserAPIKeyAuthUserModelMaxBudgetMap | null;
|
|
1015
|
+
user_role?: LitellmUserRoles | null;
|
|
1016
|
+
user_rpm_limit?: number | null;
|
|
1017
|
+
user_spend?: number | null;
|
|
1018
|
+
user_tpm_limit?: number | null;
|
|
1019
|
+
}
|
|
1020
|
+
export declare const UserAPIKeyAuth: S.Schema<UserAPIKeyAuth>;
|
|
1021
|
+
export type LiteLLMDeletedVerificationTokenAccessGroupIdsList = Array<string>;
|
|
1022
|
+
export declare const LiteLLMDeletedVerificationTokenAccessGroupIdsList: S.Schema<LiteLLMDeletedVerificationTokenAccessGroupIdsList>;
|
|
1023
|
+
export type LiteLLMDeletedVerificationTokenAliasesMap = {
|
|
1024
|
+
[key: string]: unknown | undefined;
|
|
1025
|
+
};
|
|
1026
|
+
export declare const LiteLLMDeletedVerificationTokenAliasesMap: S.Schema<LiteLLMDeletedVerificationTokenAliasesMap>;
|
|
1027
|
+
export type LiteLLMDeletedVerificationTokenAllowedCacheControlsList = Array<unknown>;
|
|
1028
|
+
export declare const LiteLLMDeletedVerificationTokenAllowedCacheControlsList: S.Schema<LiteLLMDeletedVerificationTokenAllowedCacheControlsList>;
|
|
1029
|
+
export type LiteLLMDeletedVerificationTokenAllowedRoutesList = Array<unknown>;
|
|
1030
|
+
export declare const LiteLLMDeletedVerificationTokenAllowedRoutesList: S.Schema<LiteLLMDeletedVerificationTokenAllowedRoutesList>;
|
|
1031
|
+
export type LiteLLMDeletedVerificationTokenBudgetFallbacksValueList = Array<string>;
|
|
1032
|
+
export declare const LiteLLMDeletedVerificationTokenBudgetFallbacksValueList: S.Schema<LiteLLMDeletedVerificationTokenBudgetFallbacksValueList>;
|
|
1033
|
+
export type LiteLLMDeletedVerificationTokenBudgetFallbacksMap = {
|
|
1034
|
+
[key: string]: LiteLLMDeletedVerificationTokenBudgetFallbacksValueList | undefined;
|
|
1035
|
+
};
|
|
1036
|
+
export declare const LiteLLMDeletedVerificationTokenBudgetFallbacksMap: S.Schema<LiteLLMDeletedVerificationTokenBudgetFallbacksMap>;
|
|
1037
|
+
export type LiteLLMDeletedVerificationTokenBudgetLimitsItemMap = {
|
|
1038
|
+
[key: string]: unknown | undefined;
|
|
1039
|
+
};
|
|
1040
|
+
export declare const LiteLLMDeletedVerificationTokenBudgetLimitsItemMap: S.Schema<LiteLLMDeletedVerificationTokenBudgetLimitsItemMap>;
|
|
1041
|
+
export type LiteLLMDeletedVerificationTokenBudgetLimitsList = Array<LiteLLMDeletedVerificationTokenBudgetLimitsItemMap>;
|
|
1042
|
+
export declare const LiteLLMDeletedVerificationTokenBudgetLimitsList: S.Schema<LiteLLMDeletedVerificationTokenBudgetLimitsList>;
|
|
1043
|
+
export type LiteLLMDeletedVerificationTokenConfigMap = {
|
|
1044
|
+
[key: string]: unknown | undefined;
|
|
1045
|
+
};
|
|
1046
|
+
export declare const LiteLLMDeletedVerificationTokenConfigMap: S.Schema<LiteLLMDeletedVerificationTokenConfigMap>;
|
|
1047
|
+
export type LiteLLMDeletedVerificationTokenLitellmBudgetTableMap = {
|
|
1048
|
+
[key: string]: unknown | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
export declare const LiteLLMDeletedVerificationTokenLitellmBudgetTableMap: S.Schema<LiteLLMDeletedVerificationTokenLitellmBudgetTableMap>;
|
|
1051
|
+
export type LiteLLMDeletedVerificationTokenMetadataMap = {
|
|
1052
|
+
[key: string]: unknown | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
export declare const LiteLLMDeletedVerificationTokenMetadataMap: S.Schema<LiteLLMDeletedVerificationTokenMetadataMap>;
|
|
1055
|
+
export type LiteLLMDeletedVerificationTokenModelMaxBudgetMap = {
|
|
1056
|
+
[key: string]: unknown | undefined;
|
|
1057
|
+
};
|
|
1058
|
+
export declare const LiteLLMDeletedVerificationTokenModelMaxBudgetMap: S.Schema<LiteLLMDeletedVerificationTokenModelMaxBudgetMap>;
|
|
1059
|
+
export type LiteLLMDeletedVerificationTokenModelSpendMap = {
|
|
1060
|
+
[key: string]: unknown | undefined;
|
|
1061
|
+
};
|
|
1062
|
+
export declare const LiteLLMDeletedVerificationTokenModelSpendMap: S.Schema<LiteLLMDeletedVerificationTokenModelSpendMap>;
|
|
1063
|
+
export type LiteLLMDeletedVerificationTokenModelsList = Array<unknown>;
|
|
1064
|
+
export declare const LiteLLMDeletedVerificationTokenModelsList: S.Schema<LiteLLMDeletedVerificationTokenModelsList>;
|
|
1065
|
+
export type LiteLLMDeletedVerificationTokenPermissionsMap = {
|
|
1066
|
+
[key: string]: unknown | undefined;
|
|
1067
|
+
};
|
|
1068
|
+
export declare const LiteLLMDeletedVerificationTokenPermissionsMap: S.Schema<LiteLLMDeletedVerificationTokenPermissionsMap>;
|
|
1069
|
+
export type LiteLLMDeletedVerificationTokenRouterSettingsMap = {
|
|
1070
|
+
[key: string]: unknown | undefined;
|
|
1071
|
+
};
|
|
1072
|
+
export declare const LiteLLMDeletedVerificationTokenRouterSettingsMap: S.Schema<LiteLLMDeletedVerificationTokenRouterSettingsMap>;
|
|
1073
|
+
/** Audit record for deleted keys; mirrors the token plus deletion metadata. */
|
|
1074
|
+
export interface LiteLLMDeletedVerificationToken {
|
|
1075
|
+
access_group_ids?: LiteLLMDeletedVerificationTokenAccessGroupIdsList | null;
|
|
1076
|
+
agent_id?: string | null;
|
|
1077
|
+
aliases?: LiteLLMDeletedVerificationTokenAliasesMap;
|
|
1078
|
+
allowed_cache_controls?: LiteLLMDeletedVerificationTokenAllowedCacheControlsList | null;
|
|
1079
|
+
allowed_routes?: LiteLLMDeletedVerificationTokenAllowedRoutesList | null;
|
|
1080
|
+
auto_rotate?: boolean | null;
|
|
1081
|
+
blocked?: boolean | null;
|
|
1082
|
+
budget_duration?: string | null;
|
|
1083
|
+
budget_fallbacks?: LiteLLMDeletedVerificationTokenBudgetFallbacksMap;
|
|
1084
|
+
budget_id?: string | null;
|
|
1085
|
+
budget_limits?: LiteLLMDeletedVerificationTokenBudgetLimitsList | null;
|
|
1086
|
+
budget_reset_at?: string | null;
|
|
1087
|
+
config?: LiteLLMDeletedVerificationTokenConfigMap;
|
|
1088
|
+
created_at?: string | null;
|
|
1089
|
+
created_by?: string | null;
|
|
1090
|
+
deleted_at?: string | null;
|
|
1091
|
+
deleted_by?: string | null;
|
|
1092
|
+
deleted_by_api_key?: string | null;
|
|
1093
|
+
expires?: string | null;
|
|
1094
|
+
id?: string | null;
|
|
1095
|
+
key_alias?: string | null;
|
|
1096
|
+
key_name?: string | null;
|
|
1097
|
+
key_rotation_at?: string | null;
|
|
1098
|
+
key_type?: string | null;
|
|
1099
|
+
last_active?: string | null;
|
|
1100
|
+
last_rotation_at?: string | null;
|
|
1101
|
+
litellm_budget_table?: LiteLLMDeletedVerificationTokenLitellmBudgetTableMap | null;
|
|
1102
|
+
litellm_changed_by?: string | null;
|
|
1103
|
+
max_budget?: number | null;
|
|
1104
|
+
max_parallel_requests?: number | null;
|
|
1105
|
+
metadata?: LiteLLMDeletedVerificationTokenMetadataMap;
|
|
1106
|
+
model_max_budget?: LiteLLMDeletedVerificationTokenModelMaxBudgetMap;
|
|
1107
|
+
model_spend?: LiteLLMDeletedVerificationTokenModelSpendMap;
|
|
1108
|
+
models?: LiteLLMDeletedVerificationTokenModelsList;
|
|
1109
|
+
object_permission?: LiteLLMObjectPermissionTable | null;
|
|
1110
|
+
object_permission_id?: string | null;
|
|
1111
|
+
org_id?: string | null;
|
|
1112
|
+
permissions?: LiteLLMDeletedVerificationTokenPermissionsMap;
|
|
1113
|
+
project_id?: string | null;
|
|
1114
|
+
rotation_count?: number | null;
|
|
1115
|
+
rotation_interval?: string | null;
|
|
1116
|
+
router_settings?: LiteLLMDeletedVerificationTokenRouterSettingsMap | null;
|
|
1117
|
+
rpm_limit?: number | null;
|
|
1118
|
+
settings_updated_at?: string | null;
|
|
1119
|
+
soft_budget_cooldown?: boolean;
|
|
1120
|
+
spend?: number;
|
|
1121
|
+
team_id?: string | null;
|
|
1122
|
+
token?: string | null;
|
|
1123
|
+
tpm_limit?: number | null;
|
|
1124
|
+
updated_at?: string | null;
|
|
1125
|
+
updated_by?: string | null;
|
|
1126
|
+
user_id?: string | null;
|
|
1127
|
+
}
|
|
1128
|
+
export declare const LiteLLMDeletedVerificationToken: S.Schema<LiteLLMDeletedVerificationToken>;
|
|
1129
|
+
export type KeyListResponseObjectKeysItem = string | UserAPIKeyAuth | LiteLLMDeletedVerificationToken;
|
|
1130
|
+
export declare const KeyListResponseObjectKeysItem: S.Schema<KeyListResponseObjectKeysItem>;
|
|
1131
|
+
export type KeyListResponseObjectKeysList = Array<KeyListResponseObjectKeysItem>;
|
|
1132
|
+
export declare const KeyListResponseObjectKeysList: S.Schema<KeyListResponseObjectKeysList>;
|
|
1133
|
+
export interface KeyListResponseObject {
|
|
1134
|
+
current_page?: number | null;
|
|
1135
|
+
keys?: KeyListResponseObjectKeysList;
|
|
1136
|
+
total_count?: number | null;
|
|
1137
|
+
total_pages?: number | null;
|
|
1138
|
+
}
|
|
1139
|
+
export declare const KeyListResponseObject: S.Schema<KeyListResponseObject>;
|
|
1140
|
+
export interface PostBlockKeyKeyBlockRequest {
|
|
1141
|
+
key: string;
|
|
1142
|
+
}
|
|
1143
|
+
export declare const PostBlockKeyKeyBlockRequest: S.Schema<PostBlockKeyKeyBlockRequest>;
|
|
1144
|
+
export type LiteLLMVerificationTokenAccessGroupIdsList = Array<string>;
|
|
1145
|
+
export declare const LiteLLMVerificationTokenAccessGroupIdsList: S.Schema<LiteLLMVerificationTokenAccessGroupIdsList>;
|
|
1146
|
+
export type LiteLLMVerificationTokenAliasesMap = {
|
|
1147
|
+
[key: string]: unknown | undefined;
|
|
1148
|
+
};
|
|
1149
|
+
export declare const LiteLLMVerificationTokenAliasesMap: S.Schema<LiteLLMVerificationTokenAliasesMap>;
|
|
1150
|
+
export type LiteLLMVerificationTokenAllowedCacheControlsList = Array<unknown>;
|
|
1151
|
+
export declare const LiteLLMVerificationTokenAllowedCacheControlsList: S.Schema<LiteLLMVerificationTokenAllowedCacheControlsList>;
|
|
1152
|
+
export type LiteLLMVerificationTokenAllowedRoutesList = Array<unknown>;
|
|
1153
|
+
export declare const LiteLLMVerificationTokenAllowedRoutesList: S.Schema<LiteLLMVerificationTokenAllowedRoutesList>;
|
|
1154
|
+
export type LiteLLMVerificationTokenBudgetFallbacksValueList = Array<string>;
|
|
1155
|
+
export declare const LiteLLMVerificationTokenBudgetFallbacksValueList: S.Schema<LiteLLMVerificationTokenBudgetFallbacksValueList>;
|
|
1156
|
+
export type LiteLLMVerificationTokenBudgetFallbacksMap = {
|
|
1157
|
+
[key: string]: LiteLLMVerificationTokenBudgetFallbacksValueList | undefined;
|
|
1158
|
+
};
|
|
1159
|
+
export declare const LiteLLMVerificationTokenBudgetFallbacksMap: S.Schema<LiteLLMVerificationTokenBudgetFallbacksMap>;
|
|
1160
|
+
export type LiteLLMVerificationTokenBudgetLimitsItemMap = {
|
|
1161
|
+
[key: string]: unknown | undefined;
|
|
1162
|
+
};
|
|
1163
|
+
export declare const LiteLLMVerificationTokenBudgetLimitsItemMap: S.Schema<LiteLLMVerificationTokenBudgetLimitsItemMap>;
|
|
1164
|
+
export type LiteLLMVerificationTokenBudgetLimitsList = Array<LiteLLMVerificationTokenBudgetLimitsItemMap>;
|
|
1165
|
+
export declare const LiteLLMVerificationTokenBudgetLimitsList: S.Schema<LiteLLMVerificationTokenBudgetLimitsList>;
|
|
1166
|
+
export type LiteLLMVerificationTokenConfigMap = {
|
|
1167
|
+
[key: string]: unknown | undefined;
|
|
1168
|
+
};
|
|
1169
|
+
export declare const LiteLLMVerificationTokenConfigMap: S.Schema<LiteLLMVerificationTokenConfigMap>;
|
|
1170
|
+
export type LiteLLMVerificationTokenLitellmBudgetTableMap = {
|
|
1171
|
+
[key: string]: unknown | undefined;
|
|
1172
|
+
};
|
|
1173
|
+
export declare const LiteLLMVerificationTokenLitellmBudgetTableMap: S.Schema<LiteLLMVerificationTokenLitellmBudgetTableMap>;
|
|
1174
|
+
export type LiteLLMVerificationTokenMetadataMap = {
|
|
1175
|
+
[key: string]: unknown | undefined;
|
|
1176
|
+
};
|
|
1177
|
+
export declare const LiteLLMVerificationTokenMetadataMap: S.Schema<LiteLLMVerificationTokenMetadataMap>;
|
|
1178
|
+
export type LiteLLMVerificationTokenModelMaxBudgetMap = {
|
|
1179
|
+
[key: string]: unknown | undefined;
|
|
1180
|
+
};
|
|
1181
|
+
export declare const LiteLLMVerificationTokenModelMaxBudgetMap: S.Schema<LiteLLMVerificationTokenModelMaxBudgetMap>;
|
|
1182
|
+
export type LiteLLMVerificationTokenModelSpendMap = {
|
|
1183
|
+
[key: string]: unknown | undefined;
|
|
1184
|
+
};
|
|
1185
|
+
export declare const LiteLLMVerificationTokenModelSpendMap: S.Schema<LiteLLMVerificationTokenModelSpendMap>;
|
|
1186
|
+
export type LiteLLMVerificationTokenModelsList = Array<unknown>;
|
|
1187
|
+
export declare const LiteLLMVerificationTokenModelsList: S.Schema<LiteLLMVerificationTokenModelsList>;
|
|
1188
|
+
export type LiteLLMVerificationTokenPermissionsMap = {
|
|
1189
|
+
[key: string]: unknown | undefined;
|
|
1190
|
+
};
|
|
1191
|
+
export declare const LiteLLMVerificationTokenPermissionsMap: S.Schema<LiteLLMVerificationTokenPermissionsMap>;
|
|
1192
|
+
export type LiteLLMVerificationTokenRouterSettingsMap = {
|
|
1193
|
+
[key: string]: unknown | undefined;
|
|
1194
|
+
};
|
|
1195
|
+
export declare const LiteLLMVerificationTokenRouterSettingsMap: S.Schema<LiteLLMVerificationTokenRouterSettingsMap>;
|
|
1196
|
+
export interface LiteLLMVerificationToken {
|
|
1197
|
+
access_group_ids?: LiteLLMVerificationTokenAccessGroupIdsList | null;
|
|
1198
|
+
agent_id?: string | null;
|
|
1199
|
+
aliases?: LiteLLMVerificationTokenAliasesMap;
|
|
1200
|
+
allowed_cache_controls?: LiteLLMVerificationTokenAllowedCacheControlsList | null;
|
|
1201
|
+
allowed_routes?: LiteLLMVerificationTokenAllowedRoutesList | null;
|
|
1202
|
+
auto_rotate?: boolean | null;
|
|
1203
|
+
blocked?: boolean | null;
|
|
1204
|
+
budget_duration?: string | null;
|
|
1205
|
+
budget_fallbacks?: LiteLLMVerificationTokenBudgetFallbacksMap;
|
|
1206
|
+
budget_id?: string | null;
|
|
1207
|
+
budget_limits?: LiteLLMVerificationTokenBudgetLimitsList | null;
|
|
1208
|
+
budget_reset_at?: string | null;
|
|
1209
|
+
config?: LiteLLMVerificationTokenConfigMap;
|
|
1210
|
+
created_at?: string | null;
|
|
1211
|
+
created_by?: string | null;
|
|
1212
|
+
expires?: string | null;
|
|
1213
|
+
key_alias?: string | null;
|
|
1214
|
+
key_name?: string | null;
|
|
1215
|
+
key_rotation_at?: string | null;
|
|
1216
|
+
key_type?: string | null;
|
|
1217
|
+
last_active?: string | null;
|
|
1218
|
+
last_rotation_at?: string | null;
|
|
1219
|
+
litellm_budget_table?: LiteLLMVerificationTokenLitellmBudgetTableMap | null;
|
|
1220
|
+
max_budget?: number | null;
|
|
1221
|
+
max_parallel_requests?: number | null;
|
|
1222
|
+
metadata?: LiteLLMVerificationTokenMetadataMap;
|
|
1223
|
+
model_max_budget?: LiteLLMVerificationTokenModelMaxBudgetMap;
|
|
1224
|
+
model_spend?: LiteLLMVerificationTokenModelSpendMap;
|
|
1225
|
+
models?: LiteLLMVerificationTokenModelsList;
|
|
1226
|
+
object_permission?: LiteLLMObjectPermissionTable | null;
|
|
1227
|
+
object_permission_id?: string | null;
|
|
1228
|
+
org_id?: string | null;
|
|
1229
|
+
permissions?: LiteLLMVerificationTokenPermissionsMap;
|
|
1230
|
+
project_id?: string | null;
|
|
1231
|
+
rotation_count?: number | null;
|
|
1232
|
+
rotation_interval?: string | null;
|
|
1233
|
+
router_settings?: LiteLLMVerificationTokenRouterSettingsMap | null;
|
|
1234
|
+
rpm_limit?: number | null;
|
|
1235
|
+
settings_updated_at?: string | null;
|
|
1236
|
+
soft_budget_cooldown?: boolean;
|
|
1237
|
+
spend?: number;
|
|
1238
|
+
team_id?: string | null;
|
|
1239
|
+
token?: string | null;
|
|
1240
|
+
tpm_limit?: number | null;
|
|
1241
|
+
updated_at?: string | null;
|
|
1242
|
+
updated_by?: string | null;
|
|
1243
|
+
user_id?: string | null;
|
|
1244
|
+
}
|
|
1245
|
+
export declare const LiteLLMVerificationToken: S.Schema<LiteLLMVerificationToken>;
|
|
1246
|
+
export interface PostBlockKeyKeyBlockResponse {
|
|
1247
|
+
body: LiteLLMVerificationToken | null;
|
|
1248
|
+
}
|
|
1249
|
+
export declare const PostBlockKeyKeyBlockResponse: S.Schema<PostBlockKeyKeyBlockResponse>;
|
|
1250
|
+
export type KeyRequestKeyAliasesList = Array<string>;
|
|
1251
|
+
export declare const KeyRequestKeyAliasesList: S.Schema<KeyRequestKeyAliasesList>;
|
|
1252
|
+
export type KeyRequestKeysList = Array<string>;
|
|
1253
|
+
export declare const KeyRequestKeysList: S.Schema<KeyRequestKeysList>;
|
|
1254
|
+
export interface KeyRequest {
|
|
1255
|
+
key_aliases?: KeyRequestKeyAliasesList | null;
|
|
1256
|
+
keys?: KeyRequestKeysList | null;
|
|
1257
|
+
}
|
|
1258
|
+
export declare const KeyRequest: S.Schema<KeyRequest>;
|
|
1259
|
+
export interface PostInfoKeyFnV2V2KeyInfoRequest {
|
|
1260
|
+
body?: KeyRequest | null;
|
|
1261
|
+
}
|
|
1262
|
+
export declare const PostInfoKeyFnV2V2KeyInfoRequest: S.Schema<PostInfoKeyFnV2V2KeyInfoRequest>;
|
|
1263
|
+
export interface PostInfoKeyFnV2V2KeyInfoResponse {
|
|
1264
|
+
body: unknown;
|
|
1265
|
+
}
|
|
1266
|
+
export declare const PostInfoKeyFnV2V2KeyInfoResponse: S.Schema<PostInfoKeyFnV2V2KeyInfoResponse>;
|
|
1267
|
+
export interface PostKeyHealthKeyHealthRequest {
|
|
1268
|
+
}
|
|
1269
|
+
export declare const PostKeyHealthKeyHealthRequest: S.Schema<PostKeyHealthKeyHealthRequest>;
|
|
1270
|
+
export type KeyHealthResponseKey = "healthy" | "unhealthy";
|
|
1271
|
+
export declare const KeyHealthResponseKey: any;
|
|
1272
|
+
export type LoggingCallbackStatusCallbacksList = Array<string>;
|
|
1273
|
+
export declare const LoggingCallbackStatusCallbacksList: S.Schema<LoggingCallbackStatusCallbacksList>;
|
|
1274
|
+
export type LoggingCallbackStatusStatus = "healthy" | "unhealthy";
|
|
1275
|
+
export declare const LoggingCallbackStatusStatus: any;
|
|
1276
|
+
export interface LoggingCallbackStatus {
|
|
1277
|
+
callbacks?: LoggingCallbackStatusCallbacksList;
|
|
1278
|
+
details?: string | null;
|
|
1279
|
+
status?: LoggingCallbackStatusStatus;
|
|
1280
|
+
}
|
|
1281
|
+
export declare const LoggingCallbackStatus: S.Schema<LoggingCallbackStatus>;
|
|
1282
|
+
export interface KeyHealthResponse {
|
|
1283
|
+
key?: KeyHealthResponseKey;
|
|
1284
|
+
logging_callbacks?: LoggingCallbackStatus | null;
|
|
1285
|
+
}
|
|
1286
|
+
export declare const KeyHealthResponse: S.Schema<KeyHealthResponse>;
|
|
1287
|
+
export type RegenerateKeyRequestAccessGroupIdsList = Array<string>;
|
|
1288
|
+
export declare const RegenerateKeyRequestAccessGroupIdsList: S.Schema<RegenerateKeyRequestAccessGroupIdsList>;
|
|
1289
|
+
export type RegenerateKeyRequestAliasesMap = {
|
|
1290
|
+
[key: string]: unknown | undefined;
|
|
1291
|
+
};
|
|
1292
|
+
export declare const RegenerateKeyRequestAliasesMap: S.Schema<RegenerateKeyRequestAliasesMap>;
|
|
1293
|
+
export type RegenerateKeyRequestAllowedCacheControlsList = Array<unknown>;
|
|
1294
|
+
export declare const RegenerateKeyRequestAllowedCacheControlsList: S.Schema<RegenerateKeyRequestAllowedCacheControlsList>;
|
|
1295
|
+
export type RegenerateKeyRequestAllowedPassthroughRoutesList = Array<unknown>;
|
|
1296
|
+
export declare const RegenerateKeyRequestAllowedPassthroughRoutesList: S.Schema<RegenerateKeyRequestAllowedPassthroughRoutesList>;
|
|
1297
|
+
export type RegenerateKeyRequestAllowedRoutesList = Array<unknown>;
|
|
1298
|
+
export declare const RegenerateKeyRequestAllowedRoutesList: S.Schema<RegenerateKeyRequestAllowedRoutesList>;
|
|
1299
|
+
export type RegenerateKeyRequestAllowedVectorStoreIndexesList = Array<AllowedVectorStoreIndexItem>;
|
|
1300
|
+
export declare const RegenerateKeyRequestAllowedVectorStoreIndexesList: S.Schema<RegenerateKeyRequestAllowedVectorStoreIndexesList>;
|
|
1301
|
+
export type RegenerateKeyRequestBudgetFallbacksValueList = Array<string>;
|
|
1302
|
+
export declare const RegenerateKeyRequestBudgetFallbacksValueList: S.Schema<RegenerateKeyRequestBudgetFallbacksValueList>;
|
|
1303
|
+
export type RegenerateKeyRequestBudgetFallbacksMap = {
|
|
1304
|
+
[key: string]: RegenerateKeyRequestBudgetFallbacksValueList | undefined;
|
|
1305
|
+
};
|
|
1306
|
+
export declare const RegenerateKeyRequestBudgetFallbacksMap: S.Schema<RegenerateKeyRequestBudgetFallbacksMap>;
|
|
1307
|
+
export type RegenerateKeyRequestBudgetLimitsList = Array<BudgetLimitEntry>;
|
|
1308
|
+
export declare const RegenerateKeyRequestBudgetLimitsList: S.Schema<RegenerateKeyRequestBudgetLimitsList>;
|
|
1309
|
+
export type RegenerateKeyRequestConfigMap = {
|
|
1310
|
+
[key: string]: unknown | undefined;
|
|
1311
|
+
};
|
|
1312
|
+
export declare const RegenerateKeyRequestConfigMap: S.Schema<RegenerateKeyRequestConfigMap>;
|
|
1313
|
+
export type RegenerateKeyRequestDefaultEstimatedOutputTokensPerModelMap = {
|
|
1314
|
+
[key: string]: number | undefined;
|
|
1315
|
+
};
|
|
1316
|
+
export declare const RegenerateKeyRequestDefaultEstimatedOutputTokensPerModelMap: S.Schema<RegenerateKeyRequestDefaultEstimatedOutputTokensPerModelMap>;
|
|
1317
|
+
export type RegenerateKeyRequestEnforcedParamsList = Array<string>;
|
|
1318
|
+
export declare const RegenerateKeyRequestEnforcedParamsList: S.Schema<RegenerateKeyRequestEnforcedParamsList>;
|
|
1319
|
+
export type RegenerateKeyRequestGuardrailsList = Array<string>;
|
|
1320
|
+
export declare const RegenerateKeyRequestGuardrailsList: S.Schema<RegenerateKeyRequestGuardrailsList>;
|
|
1321
|
+
export type RegenerateKeyRequestMcpRpmLimitMap = {
|
|
1322
|
+
[key: string]: number | undefined;
|
|
1323
|
+
};
|
|
1324
|
+
export declare const RegenerateKeyRequestMcpRpmLimitMap: S.Schema<RegenerateKeyRequestMcpRpmLimitMap>;
|
|
1325
|
+
export type RegenerateKeyRequestMetadataMap = {
|
|
1326
|
+
[key: string]: unknown | undefined;
|
|
1327
|
+
};
|
|
1328
|
+
export declare const RegenerateKeyRequestMetadataMap: S.Schema<RegenerateKeyRequestMetadataMap>;
|
|
1329
|
+
export type RegenerateKeyRequestModelMaxBudgetMap = {
|
|
1330
|
+
[key: string]: unknown | undefined;
|
|
1331
|
+
};
|
|
1332
|
+
export declare const RegenerateKeyRequestModelMaxBudgetMap: S.Schema<RegenerateKeyRequestModelMaxBudgetMap>;
|
|
1333
|
+
export type RegenerateKeyRequestModelRpmLimitMap = {
|
|
1334
|
+
[key: string]: unknown | undefined;
|
|
1335
|
+
};
|
|
1336
|
+
export declare const RegenerateKeyRequestModelRpmLimitMap: S.Schema<RegenerateKeyRequestModelRpmLimitMap>;
|
|
1337
|
+
export type RegenerateKeyRequestModelTpmLimitMap = {
|
|
1338
|
+
[key: string]: unknown | undefined;
|
|
1339
|
+
};
|
|
1340
|
+
export declare const RegenerateKeyRequestModelTpmLimitMap: S.Schema<RegenerateKeyRequestModelTpmLimitMap>;
|
|
1341
|
+
export type RegenerateKeyRequestModelsList = Array<unknown>;
|
|
1342
|
+
export declare const RegenerateKeyRequestModelsList: S.Schema<RegenerateKeyRequestModelsList>;
|
|
1343
|
+
export type RegenerateKeyRequestPermissionsMap = {
|
|
1344
|
+
[key: string]: unknown | undefined;
|
|
1345
|
+
};
|
|
1346
|
+
export declare const RegenerateKeyRequestPermissionsMap: S.Schema<RegenerateKeyRequestPermissionsMap>;
|
|
1347
|
+
export type RegenerateKeyRequestPoliciesList = Array<string>;
|
|
1348
|
+
export declare const RegenerateKeyRequestPoliciesList: S.Schema<RegenerateKeyRequestPoliciesList>;
|
|
1349
|
+
export type RegenerateKeyRequestPromptsList = Array<string>;
|
|
1350
|
+
export declare const RegenerateKeyRequestPromptsList: S.Schema<RegenerateKeyRequestPromptsList>;
|
|
1351
|
+
export type RegenerateKeyRequestRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
1352
|
+
export declare const RegenerateKeyRequestRpmLimitType: any;
|
|
1353
|
+
export type RegenerateKeyRequestTagRpmLimitMap = {
|
|
1354
|
+
[key: string]: number | undefined;
|
|
1355
|
+
};
|
|
1356
|
+
export declare const RegenerateKeyRequestTagRpmLimitMap: S.Schema<RegenerateKeyRequestTagRpmLimitMap>;
|
|
1357
|
+
export type RegenerateKeyRequestTagsList = Array<string>;
|
|
1358
|
+
export declare const RegenerateKeyRequestTagsList: S.Schema<RegenerateKeyRequestTagsList>;
|
|
1359
|
+
export type RegenerateKeyRequestTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
1360
|
+
export declare const RegenerateKeyRequestTpmLimitType: any;
|
|
1361
|
+
export interface RegenerateKeyRequest {
|
|
1362
|
+
access_group_ids?: RegenerateKeyRequestAccessGroupIdsList | null;
|
|
1363
|
+
agent_id?: string | null;
|
|
1364
|
+
aliases?: RegenerateKeyRequestAliasesMap | null;
|
|
1365
|
+
allowed_cache_controls?: RegenerateKeyRequestAllowedCacheControlsList | null;
|
|
1366
|
+
allowed_passthrough_routes?: RegenerateKeyRequestAllowedPassthroughRoutesList | null;
|
|
1367
|
+
allowed_routes?: RegenerateKeyRequestAllowedRoutesList | null;
|
|
1368
|
+
allowed_vector_store_indexes?: RegenerateKeyRequestAllowedVectorStoreIndexesList | null;
|
|
1369
|
+
/** Whether this key should be automatically rotated */
|
|
1370
|
+
auto_rotate?: boolean | null;
|
|
1371
|
+
blocked?: boolean | null;
|
|
1372
|
+
budget_duration?: string | null;
|
|
1373
|
+
budget_fallbacks?: RegenerateKeyRequestBudgetFallbacksMap | null;
|
|
1374
|
+
budget_id?: string | null;
|
|
1375
|
+
budget_limits?: RegenerateKeyRequestBudgetLimitsList | null;
|
|
1376
|
+
config?: RegenerateKeyRequestConfigMap | null;
|
|
1377
|
+
default_estimated_output_tokens?: number | null;
|
|
1378
|
+
default_estimated_output_tokens_per_model?: RegenerateKeyRequestDefaultEstimatedOutputTokensPerModelMap | null;
|
|
1379
|
+
disable_global_guardrails?: boolean | null;
|
|
1380
|
+
duration?: string | null;
|
|
1381
|
+
enable_prompt_caching?: boolean | null;
|
|
1382
|
+
enforced_params?: RegenerateKeyRequestEnforcedParamsList | null;
|
|
1383
|
+
grace_period?: string | null;
|
|
1384
|
+
guardrails?: RegenerateKeyRequestGuardrailsList | null;
|
|
1385
|
+
key?: string | null;
|
|
1386
|
+
key_alias?: string | null;
|
|
1387
|
+
/** Type of key that determines default allowed routes. */
|
|
1388
|
+
key_type?: LiteLLMKeyType | (string & {}) | null;
|
|
1389
|
+
max_budget?: number | null;
|
|
1390
|
+
max_parallel_requests?: number | null;
|
|
1391
|
+
mcp_rpm_limit?: RegenerateKeyRequestMcpRpmLimitMap | null;
|
|
1392
|
+
metadata?: RegenerateKeyRequestMetadataMap | null;
|
|
1393
|
+
model_max_budget?: RegenerateKeyRequestModelMaxBudgetMap | null;
|
|
1394
|
+
model_rpm_limit?: RegenerateKeyRequestModelRpmLimitMap | null;
|
|
1395
|
+
model_tpm_limit?: RegenerateKeyRequestModelTpmLimitMap | null;
|
|
1396
|
+
models?: RegenerateKeyRequestModelsList | null;
|
|
1397
|
+
new_key?: string | null;
|
|
1398
|
+
new_master_key?: string | null;
|
|
1399
|
+
object_permission?: LiteLLMObjectPermissionBase | null;
|
|
1400
|
+
organization_id?: string | null;
|
|
1401
|
+
permissions?: RegenerateKeyRequestPermissionsMap | null;
|
|
1402
|
+
policies?: RegenerateKeyRequestPoliciesList | null;
|
|
1403
|
+
project_id?: string | null;
|
|
1404
|
+
prompts?: RegenerateKeyRequestPromptsList | null;
|
|
1405
|
+
/** How often to rotate this key (e.g., '30d', '90d'). Required if auto_rotate=True */
|
|
1406
|
+
rotation_interval?: string | null;
|
|
1407
|
+
router_settings?: UpdateRouterConfig | null;
|
|
1408
|
+
rpm_limit?: number | null;
|
|
1409
|
+
rpm_limit_type?: RegenerateKeyRequestRpmLimitType | (string & {}) | null;
|
|
1410
|
+
send_invite_email?: boolean | null;
|
|
1411
|
+
soft_budget?: number | null;
|
|
1412
|
+
spend?: number | null;
|
|
1413
|
+
tag_rpm_limit?: RegenerateKeyRequestTagRpmLimitMap | null;
|
|
1414
|
+
tags?: RegenerateKeyRequestTagsList | null;
|
|
1415
|
+
team_id?: string | null;
|
|
1416
|
+
throttle_on_budget_exceeded?: boolean | null;
|
|
1417
|
+
tpm_limit?: number | null;
|
|
1418
|
+
tpm_limit_type?: RegenerateKeyRequestTpmLimitType | (string & {}) | null;
|
|
1419
|
+
user_id?: string | null;
|
|
1420
|
+
}
|
|
1421
|
+
export declare const RegenerateKeyRequest: S.Schema<RegenerateKeyRequest>;
|
|
1422
|
+
export interface RegenerateKeyFnKeyKeyRegeneratePostRequest {
|
|
1423
|
+
key: string;
|
|
1424
|
+
body?: RegenerateKeyRequest | null;
|
|
1425
|
+
}
|
|
1426
|
+
export declare const RegenerateKeyFnKeyKeyRegeneratePostRequest: S.Schema<RegenerateKeyFnKeyKeyRegeneratePostRequest>;
|
|
1427
|
+
export interface RegenerateKeyFnKeyKeyRegeneratePostResponse {
|
|
1428
|
+
body: GenerateKeyResponse | null;
|
|
1429
|
+
}
|
|
1430
|
+
export declare const RegenerateKeyFnKeyKeyRegeneratePostResponse: S.Schema<RegenerateKeyFnKeyKeyRegeneratePostResponse>;
|
|
1431
|
+
export interface RegenerateKeyFnKeyRegeneratePostRequest {
|
|
1432
|
+
key?: string;
|
|
1433
|
+
body?: RegenerateKeyRequest | null;
|
|
1434
|
+
}
|
|
1435
|
+
export declare const RegenerateKeyFnKeyRegeneratePostRequest: S.Schema<RegenerateKeyFnKeyRegeneratePostRequest>;
|
|
1436
|
+
export interface RegenerateKeyFnKeyRegeneratePostResponse {
|
|
1437
|
+
body: GenerateKeyResponse | null;
|
|
1438
|
+
}
|
|
1439
|
+
export declare const RegenerateKeyFnKeyRegeneratePostResponse: S.Schema<RegenerateKeyFnKeyRegeneratePostResponse>;
|
|
1440
|
+
export interface ResetKeySpendFnKeyKeyResetSpendPostRequest {
|
|
1441
|
+
key: string;
|
|
1442
|
+
reset_to: number;
|
|
1443
|
+
}
|
|
1444
|
+
export declare const ResetKeySpendFnKeyKeyResetSpendPostRequest: S.Schema<ResetKeySpendFnKeyKeyResetSpendPostRequest>;
|
|
1445
|
+
export type ResetKeySpendFnKeyKeyResetSpendPostResponseBodyMap = {
|
|
1446
|
+
[key: string]: unknown | undefined;
|
|
1447
|
+
};
|
|
1448
|
+
export declare const ResetKeySpendFnKeyKeyResetSpendPostResponseBodyMap: S.Schema<ResetKeySpendFnKeyKeyResetSpendPostResponseBodyMap>;
|
|
1449
|
+
export interface ResetKeySpendFnKeyKeyResetSpendPostResponse {
|
|
1450
|
+
body: ResetKeySpendFnKeyKeyResetSpendPostResponseBodyMap;
|
|
1451
|
+
}
|
|
1452
|
+
export declare const ResetKeySpendFnKeyKeyResetSpendPostResponse: S.Schema<ResetKeySpendFnKeyKeyResetSpendPostResponse>;
|
|
1453
|
+
export interface UnblockKeyKeyUnblockPostRequest {
|
|
1454
|
+
key: string;
|
|
1455
|
+
}
|
|
1456
|
+
export declare const UnblockKeyKeyUnblockPostRequest: S.Schema<UnblockKeyKeyUnblockPostRequest>;
|
|
1457
|
+
export interface UnblockKeyKeyUnblockPostResponse {
|
|
1458
|
+
body: unknown;
|
|
1459
|
+
}
|
|
1460
|
+
export declare const UnblockKeyKeyUnblockPostResponse: S.Schema<UnblockKeyKeyUnblockPostResponse>;
|
|
1461
|
+
export type UpdateKeyFnKeyUpdatePostRequestAccessGroupIdsList = Array<string>;
|
|
1462
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAccessGroupIdsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestAccessGroupIdsList>;
|
|
1463
|
+
export type UpdateKeyFnKeyUpdatePostRequestAliasesMap = {
|
|
1464
|
+
[key: string]: unknown | undefined;
|
|
1465
|
+
};
|
|
1466
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAliasesMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestAliasesMap>;
|
|
1467
|
+
export type UpdateKeyFnKeyUpdatePostRequestAllowedCacheControlsList = Array<unknown>;
|
|
1468
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAllowedCacheControlsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestAllowedCacheControlsList>;
|
|
1469
|
+
export type UpdateKeyFnKeyUpdatePostRequestAllowedPassthroughRoutesList = Array<unknown>;
|
|
1470
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAllowedPassthroughRoutesList: S.Schema<UpdateKeyFnKeyUpdatePostRequestAllowedPassthroughRoutesList>;
|
|
1471
|
+
export type UpdateKeyFnKeyUpdatePostRequestAllowedRoutesList = Array<unknown>;
|
|
1472
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAllowedRoutesList: S.Schema<UpdateKeyFnKeyUpdatePostRequestAllowedRoutesList>;
|
|
1473
|
+
export type UpdateKeyFnKeyUpdatePostRequestAllowedVectorStoreIndexesList = Array<AllowedVectorStoreIndexItem>;
|
|
1474
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestAllowedVectorStoreIndexesList: S.Schema<UpdateKeyFnKeyUpdatePostRequestAllowedVectorStoreIndexesList>;
|
|
1475
|
+
export type UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksValueList = Array<string>;
|
|
1476
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksValueList: S.Schema<UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksValueList>;
|
|
1477
|
+
export type UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksMap = {
|
|
1478
|
+
[key: string]: UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksValueList | undefined;
|
|
1479
|
+
};
|
|
1480
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksMap>;
|
|
1481
|
+
export type UpdateKeyFnKeyUpdatePostRequestBudgetLimitsList = Array<BudgetLimitEntry>;
|
|
1482
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestBudgetLimitsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestBudgetLimitsList>;
|
|
1483
|
+
export type UpdateKeyFnKeyUpdatePostRequestConfigMap = {
|
|
1484
|
+
[key: string]: unknown | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestConfigMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestConfigMap>;
|
|
1487
|
+
export type UpdateKeyFnKeyUpdatePostRequestDefaultEstimatedOutputTokensPerModelMap = {
|
|
1488
|
+
[key: string]: number | undefined;
|
|
1489
|
+
};
|
|
1490
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestDefaultEstimatedOutputTokensPerModelMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestDefaultEstimatedOutputTokensPerModelMap>;
|
|
1491
|
+
export type UpdateKeyFnKeyUpdatePostRequestEnforcedParamsList = Array<string>;
|
|
1492
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestEnforcedParamsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestEnforcedParamsList>;
|
|
1493
|
+
export type UpdateKeyFnKeyUpdatePostRequestGuardrailsList = Array<string>;
|
|
1494
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestGuardrailsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestGuardrailsList>;
|
|
1495
|
+
export type UpdateKeyFnKeyUpdatePostRequestMcpRpmLimitMap = {
|
|
1496
|
+
[key: string]: number | undefined;
|
|
1497
|
+
};
|
|
1498
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestMcpRpmLimitMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestMcpRpmLimitMap>;
|
|
1499
|
+
export type UpdateKeyFnKeyUpdatePostRequestMetadataMap = {
|
|
1500
|
+
[key: string]: unknown | undefined;
|
|
1501
|
+
};
|
|
1502
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestMetadataMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestMetadataMap>;
|
|
1503
|
+
export type UpdateKeyFnKeyUpdatePostRequestModelMaxBudgetMap = {
|
|
1504
|
+
[key: string]: unknown | undefined;
|
|
1505
|
+
};
|
|
1506
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestModelMaxBudgetMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestModelMaxBudgetMap>;
|
|
1507
|
+
export type UpdateKeyFnKeyUpdatePostRequestModelRpmLimitMap = {
|
|
1508
|
+
[key: string]: unknown | undefined;
|
|
1509
|
+
};
|
|
1510
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestModelRpmLimitMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestModelRpmLimitMap>;
|
|
1511
|
+
export type UpdateKeyFnKeyUpdatePostRequestModelTpmLimitMap = {
|
|
1512
|
+
[key: string]: unknown | undefined;
|
|
1513
|
+
};
|
|
1514
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestModelTpmLimitMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestModelTpmLimitMap>;
|
|
1515
|
+
export type UpdateKeyFnKeyUpdatePostRequestModelsList = Array<unknown>;
|
|
1516
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestModelsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestModelsList>;
|
|
1517
|
+
export type UpdateKeyFnKeyUpdatePostRequestPermissionsMap = {
|
|
1518
|
+
[key: string]: unknown | undefined;
|
|
1519
|
+
};
|
|
1520
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestPermissionsMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestPermissionsMap>;
|
|
1521
|
+
export type UpdateKeyFnKeyUpdatePostRequestPoliciesList = Array<string>;
|
|
1522
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestPoliciesList: S.Schema<UpdateKeyFnKeyUpdatePostRequestPoliciesList>;
|
|
1523
|
+
export type UpdateKeyFnKeyUpdatePostRequestPromptsList = Array<string>;
|
|
1524
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestPromptsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestPromptsList>;
|
|
1525
|
+
export type UpdateKeyFnKeyUpdatePostRequestRpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
1526
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestRpmLimitType: any;
|
|
1527
|
+
export type UpdateKeyFnKeyUpdatePostRequestTagRpmLimitMap = {
|
|
1528
|
+
[key: string]: number | undefined;
|
|
1529
|
+
};
|
|
1530
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestTagRpmLimitMap: S.Schema<UpdateKeyFnKeyUpdatePostRequestTagRpmLimitMap>;
|
|
1531
|
+
export type UpdateKeyFnKeyUpdatePostRequestTagsList = Array<string>;
|
|
1532
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestTagsList: S.Schema<UpdateKeyFnKeyUpdatePostRequestTagsList>;
|
|
1533
|
+
export type UpdateKeyFnKeyUpdatePostRequestTpmLimitType = "guaranteed_throughput" | "best_effort_throughput" | "dynamic";
|
|
1534
|
+
export declare const UpdateKeyFnKeyUpdatePostRequestTpmLimitType: any;
|
|
1535
|
+
export interface UpdateKeyFnKeyUpdatePostRequest {
|
|
1536
|
+
access_group_ids?: UpdateKeyFnKeyUpdatePostRequestAccessGroupIdsList | null;
|
|
1537
|
+
agent_id?: string | null;
|
|
1538
|
+
aliases?: UpdateKeyFnKeyUpdatePostRequestAliasesMap | null;
|
|
1539
|
+
allowed_cache_controls?: UpdateKeyFnKeyUpdatePostRequestAllowedCacheControlsList | null;
|
|
1540
|
+
allowed_passthrough_routes?: UpdateKeyFnKeyUpdatePostRequestAllowedPassthroughRoutesList | null;
|
|
1541
|
+
allowed_routes?: UpdateKeyFnKeyUpdatePostRequestAllowedRoutesList | null;
|
|
1542
|
+
allowed_vector_store_indexes?: UpdateKeyFnKeyUpdatePostRequestAllowedVectorStoreIndexesList | null;
|
|
1543
|
+
auto_rotate?: boolean | null;
|
|
1544
|
+
blocked?: boolean | null;
|
|
1545
|
+
budget_duration?: string | null;
|
|
1546
|
+
budget_fallbacks?: UpdateKeyFnKeyUpdatePostRequestBudgetFallbacksMap | null;
|
|
1547
|
+
budget_id?: string | null;
|
|
1548
|
+
budget_limits?: UpdateKeyFnKeyUpdatePostRequestBudgetLimitsList | null;
|
|
1549
|
+
config?: UpdateKeyFnKeyUpdatePostRequestConfigMap | null;
|
|
1550
|
+
default_estimated_output_tokens?: number | null;
|
|
1551
|
+
default_estimated_output_tokens_per_model?: UpdateKeyFnKeyUpdatePostRequestDefaultEstimatedOutputTokensPerModelMap | null;
|
|
1552
|
+
disable_global_guardrails?: boolean | null;
|
|
1553
|
+
duration?: string | null;
|
|
1554
|
+
enable_prompt_caching?: boolean | null;
|
|
1555
|
+
enforced_params?: UpdateKeyFnKeyUpdatePostRequestEnforcedParamsList | null;
|
|
1556
|
+
guardrails?: UpdateKeyFnKeyUpdatePostRequestGuardrailsList | null;
|
|
1557
|
+
key?: string | null;
|
|
1558
|
+
key_alias?: string | null;
|
|
1559
|
+
max_budget?: number | null;
|
|
1560
|
+
max_parallel_requests?: number | null;
|
|
1561
|
+
mcp_rpm_limit?: UpdateKeyFnKeyUpdatePostRequestMcpRpmLimitMap | null;
|
|
1562
|
+
metadata?: UpdateKeyFnKeyUpdatePostRequestMetadataMap | null;
|
|
1563
|
+
model_max_budget?: UpdateKeyFnKeyUpdatePostRequestModelMaxBudgetMap | null;
|
|
1564
|
+
model_rpm_limit?: UpdateKeyFnKeyUpdatePostRequestModelRpmLimitMap | null;
|
|
1565
|
+
model_tpm_limit?: UpdateKeyFnKeyUpdatePostRequestModelTpmLimitMap | null;
|
|
1566
|
+
models?: UpdateKeyFnKeyUpdatePostRequestModelsList | null;
|
|
1567
|
+
object_permission?: LiteLLMObjectPermissionBase | null;
|
|
1568
|
+
organization_id?: string | null;
|
|
1569
|
+
permissions?: UpdateKeyFnKeyUpdatePostRequestPermissionsMap | null;
|
|
1570
|
+
policies?: UpdateKeyFnKeyUpdatePostRequestPoliciesList | null;
|
|
1571
|
+
prompts?: UpdateKeyFnKeyUpdatePostRequestPromptsList | null;
|
|
1572
|
+
rotation_interval?: string | null;
|
|
1573
|
+
router_settings?: UpdateRouterConfig | null;
|
|
1574
|
+
rpm_limit?: number | null;
|
|
1575
|
+
rpm_limit_type?: UpdateKeyFnKeyUpdatePostRequestRpmLimitType | (string & {}) | null;
|
|
1576
|
+
spend?: number | null;
|
|
1577
|
+
tag_rpm_limit?: UpdateKeyFnKeyUpdatePostRequestTagRpmLimitMap | null;
|
|
1578
|
+
tags?: UpdateKeyFnKeyUpdatePostRequestTagsList | null;
|
|
1579
|
+
team_id?: string | null;
|
|
1580
|
+
temp_budget_expiry?: string | null;
|
|
1581
|
+
temp_budget_increase?: number | null;
|
|
1582
|
+
throttle_on_budget_exceeded?: boolean | null;
|
|
1583
|
+
tpm_limit?: number | null;
|
|
1584
|
+
tpm_limit_type?: UpdateKeyFnKeyUpdatePostRequestTpmLimitType | (string & {}) | null;
|
|
1585
|
+
user_id?: string | null;
|
|
1586
|
+
}
|
|
1587
|
+
export declare const UpdateKeyFnKeyUpdatePostRequest: S.Schema<UpdateKeyFnKeyUpdatePostRequest>;
|
|
1588
|
+
export interface UpdateKeyFnKeyUpdatePostResponse {
|
|
1589
|
+
body: unknown;
|
|
1590
|
+
}
|
|
1591
|
+
export declare const UpdateKeyFnKeyUpdatePostResponse: S.Schema<UpdateKeyFnKeyUpdatePostResponse>;
|
|
1592
|
+
export type BulkUpdateKeysKeyBulkUpdatePostError = BadRequest | Forbidden | UnprocessableEntity | LitellmOpError;
|
|
1593
|
+
/** Bulk Update Keys Bulk update multiple keys at once. This endpoint allows updating multiple keys in a single request. Each key update is processed independently - if some updates fail, others will still succeed. Parameters: - keys: List[BulkUpdateKeyRequestItem] - List of key update requests, each containing: - key: str - The key identifier (token) to update - budget_id: Optional[str] - Budget ID associated with the key - max_budget: Optional[float] - Max budget for key - team_id: Optional[str] - Team ID associated with key - tags: Optional[List[str]] - Tags for organizing keys Returns: - total_requested: int - Total number of keys requested for update - successful_updates: List[SuccessfulKeyUpdate] - List of successfully updated keys with their updated info - failed_updates: List[FailedKeyUpdate] - List of failed updates with key_info and failed_reason Example request: ```bash curl --location 'http://0.0.0.0:4000/key/bulk_update' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "keys": [ { "key": "sk-1234", "max_budget": 100.0, "team_id": "team-123", "tags": ["production", "api"] }, { "key": "sk-5678", "budget_id": "budget-456", "tags": ["staging"] } ] }' ``` */
|
|
1594
|
+
export declare const bulkUpdateKeysKeyBulkUpdatePost: API.OperationMethod<BulkUpdateKeysKeyBulkUpdatePostRequest, BulkUpdateKeyResponse, BulkUpdateKeysKeyBulkUpdatePostError, LitellmOpContext>;
|
|
1595
|
+
export type BulkUpdateTeamKeysTeamKeyBulkUpdatePostError = UnprocessableEntity | LitellmOpError;
|
|
1596
|
+
/** Bulk Update Team Keys Apply one update payload to many keys inside a single team. Pass `team_id` plus either `key_ids` or `all_keys_in_team=True`. The `update_fields` payload is broadcast to every selected key. Per-key failures are returned in `failed_updates` rather than aborting the batch. Callable by proxy admins, or by team admins with `KEY_UPDATE` permission. */
|
|
1597
|
+
export declare const bulkUpdateTeamKeysTeamKeyBulkUpdatePost: API.OperationMethod<BulkUpdateTeamKeysTeamKeyBulkUpdatePostRequest, BulkUpdateKeyResponse, BulkUpdateTeamKeysTeamKeyBulkUpdatePostError, LitellmOpContext>;
|
|
1598
|
+
export type DeleteKeyFnKeyDeletePostError = BadRequest | UnprocessableEntity | LitellmOpError;
|
|
1599
|
+
/** Delete Key Fn Delete a key from the key management system. Parameters:: - keys (List[str]): A list of keys or hashed keys to delete. Example {"keys": ["sk-QWrxEynunsNpV1zT48HIrw", "837e17519f44683334df5291321d97b8bf1098cd490e49e215f6fea935aa28be"]} - key_aliases (List[str]): A list of key aliases to delete. Can be passed instead of `keys`.Example {"key_aliases": ["alias1", "alias2"]} Returns: - deleted_keys (List[str]): A list of deleted keys. Example {"deleted_keys": ["sk-QWrxEynunsNpV1zT48HIrw", "837e17519f44683334df5291321d97b8bf1098cd490e49e215f6fea935aa28be"]} Example: ```bash curl --location 'http://0.0.0.0:4000/key/delete' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "keys": ["sk-QWrxEynunsNpV1zT48HIrw"] }' ``` Raises: HTTPException: If an error occurs during key deletion. */
|
|
1600
|
+
export declare const deleteKeyFnKeyDeletePost: API.OperationMethod<DeleteKeyFnKeyDeletePostRequest, DeleteKeyFnKeyDeletePostResponse, DeleteKeyFnKeyDeletePostError, LitellmOpContext>;
|
|
1601
|
+
export type GenerateKeyFnKeyGeneratePostError = BadRequest | Forbidden | UnprocessableEntity | LitellmOpError;
|
|
1602
|
+
/** Generate Key Fn Generate an API key based on the provided data. Docs: https://docs.litellm.ai/docs/proxy/virtual_keys Parameters: - duration: Optional[str] - Specify the length of time the token is valid for. You can set duration as seconds ("30s"), minutes ("30m"), hours ("30h"), days ("30d"). - key_alias: Optional[str] - User defined key alias - key: Optional[str] - User defined key value. Must start with 'sk-' and be at least 16 characters long. If not set, a 16-digit unique sk-key is created for you. - team_id: Optional[str] - The team id of the key - user_id: Optional[str] - The user id of the key - agent_id: Optional[str] - The agent id associated with the key. - organization_id: Optional[str] - The organization id of the key. If not set, and team_id is set, the organization id will be the same as the team id. If conflict, an error will be raised. - project_id: Optional[str] - The project id of the key. When set, models and max_budget are validated against the project's limits. - budget_id: Optional[str] - The budget id associated with the key. Created by calling `/budget/new`. - models: Optional[list] - Model_name's a user is allowed to call. (if empty, key is allowed to call all models) - aliases: Optional[dict] - Any alias mappings, on top of anything in the config.yaml model list. - https://docs.litellm.ai/docs/proxy/virtual_keys#managing-auth---upgradedowngrade-models - config: Optional[dict] - any key-specific configs, overrides config in config.yaml - spend: Optional[int] - Amount spent by key. Default is 0. Will be updated by proxy whenever key is used. https://docs.litellm.ai/docs/proxy/virtual_keys#managing-auth---tracking-spend - send_invite_email: Optional[bool] - Whether to send an invite email to the user_id, with the generate key - max_budget: Optional[float] - Specify max budget for a given key. - budget_duration: Optional[str] - Budget is reset at the end of specified duration. If not set, budget is never reset. You can set duration as seconds ("30s"), minutes ("30m"), hours ("30h"), days ("30d"). - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x. - metadata: Optional[dict] - Metadata for key, store information for key. Example metadata = {"team": "core-infra", "app": "app2", "email": "ishaan@berri.ai" } - guardrails: Optional[List[str]] - List of active guardrails for the key - policies: Optional[List[str]] - List of policy names to apply to the key. Policies define guardrails, conditions, and inheritance rules. - disable_global_guardrails: Optional[bool] - Whether to disable global guardrails for the key. - throttle_on_budget_exceeded: Optional[bool] - When the key exceeds its max_budget, throttle its tpm/rpm to the global budget_exceeded_throttle_percentage instead of blocking the key entirely. - enable_prompt_caching: Optional[bool] - Auto-inject prompt caching breakpoints (Anthropic cache_control markers) on requests made with this key. Anthropic and Bedrock Claude models only. - permissions: Optional[dict] - key-specific permissions. Currently just used for turning off pii masking (if connected). Example - {"pii": false} - model_max_budget: Optional[Dict[str, BudgetConfig]] - Model-specific budgets {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}}}. IF null or {} then no model specific budget. - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}. - model_rpm_limit: Optional[dict] - key-specific model rpm limit. Example - {"text-davinci-002": 1000, "gpt-3.5-turbo": 1000}. IF null or {} then no model specific rpm limit. - model_tpm_limit: Optional[dict] - key-specific model tpm limit. Example - {"text-davinci-002": 1000, "gpt-3.5-turbo": 1000}. IF null or {} then no model specific tpm limit. - default_estimated_output_tokens: Optional[int] - Proxy admin only. Expected output tokens reserved for TPM limiting when a request omits max_tokens. Positive integer. Falls back to the team setting, then to the built-in estimate. - default_estimated_output_tokens_per_model: Optional[dict] - Proxy admin only. Per-model override of the above. Example - {"gpt-4": 4096, "gpt-3.5-turbo": 1024}. Takes precedence over the key-wide value. - mcp_rpm_limit: Optional[dict] - key-specific per-MCP-server rpm limit, keyed by MCP server name (alias if set, else the configured name). Example - {"github": 100, "slack": 200}. IF null or {} then no MCP-specific rpm limit. - tag_rpm_limit: Optional[dict] - key-specific per-request-tag rpm limit, keyed by request tag. Example - {"cell-1": 1000, "cell-2": 500}. Each tag gets an independent counter; requests whose tag is absent fall back to the key-level rpm limit. - tpm_limit_type: Optional[str] - Type of tpm limit. Options: "best_effort_throughput" (no error if we're overallocating tpm), "guaranteed_throughput" (raise an error if we're overallocating tpm), "dynamic" (dynamically exceed limit when no 429 errors). Defaults to "best_effort_throughput". - rpm_limit_type: Optional[str] - Type of rpm limit. Options: "best_effort_throughput" (no error if we're overallocating rpm), "guaranteed_throughput" (raise an error if we're overallocating rpm), "dynamic" (dynamically exceed limit when no 429 errors). Defaults to "best_effort_throughput". - allowed_cache_controls: Optional[list] - List of allowed cache control values. Example - ["no-cache", "no-store"]. See all values - https://docs.litellm.ai/docs/proxy/caching#turn-on--off-caching-per-request - blocked: Optional[bool] - Whether the key is blocked. - rpm_limit: Optional[int] - Specify rpm limit for a given key (Requests per minute) - tpm_limit: Optional[int] - Specify tpm limit for a given key (Tokens per minute) - soft_budget: Optional[float] - Specify soft budget for a given key. Will trigger a slack alert when this soft budget is reached. - tags: Optional[List[str]] - Tags for [tracking spend](https://litellm.vercel.app/docs/proxy/enterprise#tracking-spend-for-custom-tags) and/or doing [tag-based routing](https://litellm.vercel.app/docs/proxy/tag_routing). - prompts: Optional[List[str]] - List of prompts that the key is allowed to use. - enforced_params: Optional[List[str]] - List of enforced params for the key (Enterprise only). [Docs](https://docs.litellm.ai/docs/proxy/enterprise#enforce-required-params-for-llm-requests) - prompts: Optional[List[str]] - List of prompts that the key is allowed to use. - allowed_routes: Optional[list] - List of allowed routes for the key. Store the actual route or store a wildcard pattern for a set of routes. Example - ["/chat/completions", "/embeddings", "/keys/*"] - allowed_passthrough_routes: Optional[list] - List of allowed pass through endpoints for the key. Store the actual endpoint or store a wildcard pattern for a set of endpoints. Example - ["/my-custom-endpoint"]. Use this instead of allowed_routes, if you just want to specify which pass through endpoints the key can access, without specifying the routes. If allowed_routes is specified, allowed_pass_through_endpoints is ignored. - object_permission: Optional[LiteLLM_ObjectPermissionBase] - key-specific object permission. Example - {"vector_stores": ["vector_store_1", "vector_store_2"], "agents": ["agent_1", "agent_2"], "agent_access_groups": ["dev_group"]}. IF null or {} then no object permission. - key_type: Optional[str] - Type of key that determines default allowed routes. Options: "llm_api" (can call LLM API routes), "management" (can call management routes), "read_only" (can only call info/read routes), "default" (uses default allowed routes). Defaults to "default". - prompts: Optional[List[str]] - List of allowed prompts for the key. If specified, the key will only be able to use these specific prompts. - auto_rotate: Optional[bool] - Whether this key should be automatically rotated (regenerated) - rotation_interval: Optional[str] - How often to auto-rotate this key (e.g., '30s', '30m', '30h', '30d'). Required if auto_rotate=True. - allowed_vector_store_indexes: Optional[List[dict]] - List of allowed vector store indexes for the key. Example - [{"index_name": "my-index", "index_permissions": ["write", "read"]}]. If specified, the key will only be able to use these specific vector store indexes. Create index, using `/v1/indexes` endpoint. - router_settings: Optional[UpdateRouterConfig] - key-specific router settings. Example - {"model_group_retry_policy": {"gpt-4": {"RateLimitErrorRetries": 5}}}. IF null or {} then no router settings. - access_group_ids: Optional[List[str]] - List of access group IDs to associate with the key. Access groups define which models a key can access. Example - ["access_group_1", "access_group_2"]. - budget_limits: Optional[list] - List of concurrent budget windows for the key. Each window specifies a budget_limit, time_period, and optional budget_duration. Example - [{"budget_limit": 10.0, "time_period": "1d"}, {"budget_limit": 50.0, "time_period": "7d"}]. Examples: 1. Allow users to turn on/off pii masking ```bash curl --location 'http://0.0.0.0:4000/key/generate' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "permissions": {"allow_pii_controls": true} }' ``` Returns: - key: (str) The generated api key - expires: (datetime) Datetime object for when key expires. - user_id: (str) Unique user id - used for tracking spend across multiple keys for same user id. */
|
|
1603
|
+
export declare const generateKeyFnKeyGeneratePost: API.OperationMethod<GenerateKeyFnKeyGeneratePostRequest, GenerateKeyResponse, GenerateKeyFnKeyGeneratePostError, LitellmOpContext>;
|
|
1604
|
+
export type GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostError = UnprocessableEntity | LitellmOpError;
|
|
1605
|
+
/** Generate Service Account Key Fn Generate a Service Account API key based on the provided data. This key does not belong to any user. It belongs to the team. Why use a service account key? - Prevent key from being deleted when user is deleted. - Apply team limits, not team member limits to key. Docs: https://docs.litellm.ai/docs/proxy/virtual_keys Parameters: - duration: Optional[str] - Specify the length of time the token is valid for. You can set duration as seconds ("30s"), minutes ("30m"), hours ("30h"), days ("30d"). - key_alias: Optional[str] - User defined key alias - key: Optional[str] - User defined key value. Must start with 'sk-' and be at least 16 characters long. If not set, a 16-digit unique sk-key is created for you. - team_id: Optional[str] - The team id of the key - user_id: Optional[str] - [NON-FUNCTIONAL] THIS WILL BE IGNORED. The user id of the key - budget_id: Optional[str] - The budget id associated with the key. Created by calling `/budget/new`. - models: Optional[list] - Model_name's a user is allowed to call. (if empty, key is allowed to call all models) - aliases: Optional[dict] - Any alias mappings, on top of anything in the config.yaml model list. - https://docs.litellm.ai/docs/proxy/virtual_keys#managing-auth---upgradedowngrade-models - config: Optional[dict] - any key-specific configs, overrides config in config.yaml - spend: Optional[int] - Amount spent by key. Default is 0. Will be updated by proxy whenever key is used. https://docs.litellm.ai/docs/proxy/virtual_keys#managing-auth---tracking-spend - send_invite_email: Optional[bool] - Whether to send an invite email to the user_id, with the generate key - max_budget: Optional[float] - Specify max budget for a given key. - budget_duration: Optional[str] - Budget is reset at the end of specified duration. If not set, budget is never reset. You can set duration as seconds ("30s"), minutes ("30m"), hours ("30h"), days ("30d"). - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x. - metadata: Optional[dict] - Metadata for key, store information for key. Example metadata = {"team": "core-infra", "app": "app2", "email": "ishaan@berri.ai" } - guardrails: Optional[List[str]] - List of active guardrails for the key - permissions: Optional[dict] - key-specific permissions. Currently just used for turning off pii masking (if connected). Example - {"pii": false} - model_max_budget: Optional[Dict[str, BudgetConfig]] - Model-specific budgets {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}}}. IF null or {} then no model specific budget. - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}. - model_rpm_limit: Optional[dict] - key-specific model rpm limit. Example - {"text-davinci-002": 1000, "gpt-3.5-turbo": 1000}. IF null or {} then no model specific rpm limit. - model_tpm_limit: Optional[dict] - key-specific model tpm limit. Example - {"text-davinci-002": 1000, "gpt-3.5-turbo": 1000}. IF null or {} then no model specific tpm limit. - default_estimated_output_tokens: Optional[int] - Proxy admin only. Expected output tokens reserved for TPM limiting when a request omits max_tokens. Positive integer. Falls back to the team setting, then to the built-in estimate. - default_estimated_output_tokens_per_model: Optional[dict] - Proxy admin only. Per-model override of the above. Example - {"gpt-4": 4096, "gpt-3.5-turbo": 1024}. Takes precedence over the key-wide value. - mcp_rpm_limit: Optional[dict] - key-specific per-MCP-server rpm limit, keyed by MCP server name (alias if set, else the configured name). Example - {"github": 100, "slack": 200}. IF null or {} then no MCP-specific rpm limit. - tpm_limit_type: Optional[str] - TPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic" - rpm_limit_type: Optional[str] - RPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic" - allowed_cache_controls: Optional[list] - List of allowed cache control values. Example - ["no-cache", "no-store"]. See all values - https://docs.litellm.ai/docs/proxy/caching#turn-on--off-caching-per-request - blocked: Optional[bool] - Whether the key is blocked. - rpm_limit: Optional[int] - Specify rpm limit for a given key (Requests per minute) - tpm_limit: Optional[int] - Specify tpm limit for a given key (Tokens per minute) - soft_budget: Optional[float] - Specify soft budget for a given key. Will trigger a slack alert when this soft budget is reached. - tags: Optional[List[str]] - Tags for [tracking spend](https://litellm.vercel.app/docs/proxy/enterprise#tracking-spend-for-custom-tags) and/or doing [tag-based routing](https://litellm.vercel.app/docs/proxy/tag_routing). - enforced_params: Optional[List[str]] - List of enforced params for the key (Enterprise only). [Docs](https://docs.litellm.ai/docs/proxy/enterprise#enforce-required-params-for-llm-requests) - allowed_routes: Optional[list] - List of allowed routes for the key. Store the actual route or store a wildcard pattern for a set of routes. Example - ["/chat/completions", "/embeddings", "/keys/*"] - object_permission: Optional[LiteLLM_ObjectPermissionBase] - key-specific object permission. Example - {"vector_stores": ["vector_store_1", "vector_store_2"], "agents": ["agent_1", "agent_2"], "agent_access_groups": ["dev_group"]}. IF null or {} then no object permission. Examples: - allowed_vector_store_indexes: Optional[List[dict]] - List of allowed vector store indexes for the key. Example - [{"index_name": "my-index", "index_permissions": ["write", "read"]}]. If specified, the key will only be able to use these specific vector store indexes. Create index, using `/v1/indexes` endpoint. 1. Allow users to turn on/off pii masking ```bash curl --location 'http://0.0.0.0:4000/key/generate' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "permissions": {"allow_pii_controls": true} }' ``` Returns: - key: (str) The generated api key - expires: (datetime) Datetime object for when key expires. - user_id: (str) Unique user id - used for tracking spend across multiple keys for same user id. */
|
|
1606
|
+
export declare const generateServiceAccountKeyFnKeyServiceAccountGeneratePost: API.OperationMethod<GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostRequest, GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostResponse, GenerateServiceAccountKeyFnKeyServiceAccountGeneratePostError, LitellmOpContext>;
|
|
1607
|
+
export type GetInfoKeyFnKeyInfoError = UnprocessableEntity | LitellmOpError;
|
|
1608
|
+
/** Info Key Fn Retrieve information about a key. Parameters: - key: str | None (query parameter) - The key to look up. Accepts the plaintext key or its hash. Defaults to the key in the Authorization header. Returns: - key: str - The key that was looked up, echoed back as it was passed in - info: dict - The key's row, minus the hashed token - key_alias: str | None - User-friendly key alias - spend: float - Amount spent by the key. When budget_duration is set this covers only the current budget window, not the key's lifetime - max_budget: float | None - Max budget for the key, enforced against spend - budget_duration: str | None - Budget reset period ("30d", "1h", etc.) - budget_reset_at: datetime | None - When the current budget window ends and spend is next reset to 0, not when it was last reset. Reset times snap to standard boundaries in the configured timezone (30d and 1mo land on the 1st of the month, 7d on Monday, 1h on the hour), so subtracting budget_duration from it does not give the window's start - model_max_budget: dict - Per-model budgets, e.g. {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}} - model_max_budget_usage: dict | None - Current-window spend per model, present only when the key has per-model budgets - models: list - Model_name's the key is allowed to call - tpm_limit / rpm_limit: int | None - Tokens and requests per minute limits - metadata: dict - Metadata for the key, e.g. {"team": "core-infra"} - blocked: bool | None - Whether the key is blocked - expires: datetime | None - When the key stops authenticating requests - last_active: datetime | None - When the key was last used - object_permission: dict | None - Resolved vector store / MCP permissions when the key has an object_permission_id Example Curl: ``` curl -X GET "http://0.0.0.0:4000/key/info?key=sk-test-example-key-123" -H "Authorization: Bearer sk-1234" ``` Example Curl - if no key is passed, it will use the Key Passed in Authorization Header ``` curl -X GET "http://0.0.0.0:4000/key/info" -H "Authorization: Bearer sk-test-example-key-123" ``` */
|
|
1609
|
+
export declare const getInfoKeyFnKeyInfo: API.OperationMethod<GetInfoKeyFnKeyInfoRequest, GetInfoKeyFnKeyInfoResponse, GetInfoKeyFnKeyInfoError, LitellmOpContext>;
|
|
1610
|
+
export type GetKeyAliasesKeyAliasError = UnprocessableEntity | LitellmOpError;
|
|
1611
|
+
/** Key Aliases Lists key aliases with pagination and optional search. Non-admin users only see aliases for keys they own or keys belonging to their teams. Returns: { "aliases": List[str], "total_count": int, "current_page": int, "total_pages": int, "size": int, } */
|
|
1612
|
+
export declare const getKeyAliasesKeyAlias: API.OperationMethod<GetKeyAliasesKeyAliasRequest, GetKeyAliasesKeyAliasResponse, GetKeyAliasesKeyAliasError, LitellmOpContext>;
|
|
1613
|
+
export type ListKeysKeyListGetError = BadRequest | UnprocessableEntity | LitellmOpError;
|
|
1614
|
+
/** List Keys List all keys for a given user / team / organization. Parameters: expand: Optional[List[str]] - Expand related objects (e.g. 'user' to include user information) status: Optional[str] - Filter by status. Currently supports "deleted" to query deleted keys. Returns: { "keys": List[str] or List[UserAPIKeyAuth], "total_count": int, "current_page": int, "total_pages": int, } When expand includes "user", each key object will include a "user" field with the associated user object. Note: When expand=user is specified, full key objects are returned regardless of the return_full_object parameter. */
|
|
1615
|
+
export declare const listKeysKeyListGet: API.OperationMethod<ListKeysKeyListGetRequest, KeyListResponseObject, ListKeysKeyListGetError, LitellmOpContext>;
|
|
1616
|
+
export type PostBlockKeyKeyBlockError = UnprocessableEntity | LitellmOpError;
|
|
1617
|
+
/** Block Key Block an Virtual key from making any requests. Parameters: - key: str - The key to block. Can be either the unhashed key (sk-...) or the hashed key value Example: ```bash curl --location 'http://0.0.0.0:4000/key/block' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "key": "sk-Fn8Ej39NxjAXrvpUGKghGw" }' ``` Note: This is an admin-only endpoint. Only proxy admins, team admins, or org admins can block keys. */
|
|
1618
|
+
export declare const postBlockKeyKeyBlock: API.OperationMethod<PostBlockKeyKeyBlockRequest, PostBlockKeyKeyBlockResponse, PostBlockKeyKeyBlockError, LitellmOpContext>;
|
|
1619
|
+
export type PostInfoKeyFnV2V2KeyInfoError = UnprocessableEntity | LitellmOpError;
|
|
1620
|
+
/** Info Key Fn V2 Retrieve information about a list of keys. **New endpoint**. Currently admin only. Parameters: keys: Optional[list] = body parameter representing the key(s) in the request user_api_key_dict: UserAPIKeyAuth = Dependency representing the user's API key Returns: Dict containing the key and its associated information Example Curl: ``` curl -X GET "http://0.0.0.0:4000/key/info" -H "Authorization: Bearer sk-1234" -d {"keys": ["sk-1", "sk-2", "sk-3"]} ``` */
|
|
1621
|
+
export declare const postInfoKeyFnV2V2KeyInfo: API.OperationMethod<PostInfoKeyFnV2V2KeyInfoRequest, PostInfoKeyFnV2V2KeyInfoResponse, PostInfoKeyFnV2V2KeyInfoError, LitellmOpContext>;
|
|
1622
|
+
export type PostKeyHealthKeyHealthError = LitellmOpError;
|
|
1623
|
+
/** Key Health Check the health of the key Checks: - If key based logging is configured correctly - sends a test log Usage Pass the key in the request header ```bash curl -X POST "http://localhost:4000/key/health" -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" ``` Response when logging callbacks are setup correctly: ```json { "key": "healthy", "logging_callbacks": { "callbacks": [ "gcs_bucket" ], "status": "healthy", "details": "No logger exceptions triggered, system is healthy. Manually check if logs were sent to ['gcs_bucket']" } } ``` Response when logging callbacks are not setup correctly: ```json { "key": "unhealthy", "logging_callbacks": { "callbacks": [ "gcs_bucket" ], "status": "unhealthy", "details": "Logger exceptions triggered, system is unhealthy: Failed to load vertex credentials. Check to see if credentials containing partial/invalid information." } } ``` */
|
|
1624
|
+
export declare const postKeyHealthKeyHealth: API.OperationMethod<PostKeyHealthKeyHealthRequest, KeyHealthResponse, PostKeyHealthKeyHealthError, LitellmOpContext>;
|
|
1625
|
+
export type RegenerateKeyFnKeyKeyRegeneratePostError = UnprocessableEntity | LitellmOpError;
|
|
1626
|
+
/** Regenerate Key Fn Regenerate an existing API key while optionally updating its parameters. Parameters: - key: str (path parameter) - The key to regenerate - data: Optional[RegenerateKeyRequest] - Request body containing optional parameters to update - key: Optional[str] - The key to regenerate. - new_master_key: Optional[str] - The new master key to use, if key is the master key. - new_key: Optional[str] - The new key to use, if key is not the master key. Must start with 'sk-' and be at least 16 characters long. If both set, new_master_key will be used. - key_alias: Optional[str] - User-friendly key alias - user_id: Optional[str] - User ID associated with key - team_id: Optional[str] - Team ID associated with key - models: Optional[list] - Model_name's a user is allowed to call - tags: Optional[List[str]] - Tags for organizing keys (Enterprise only) - spend: Optional[float] - Amount spent by key - max_budget: Optional[float] - Max budget for key - model_max_budget: Optional[Dict[str, BudgetConfig]] - Model-specific budgets {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}} - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}. - budget_duration: Optional[str] - Budget reset period ("30d", "1h", etc.) - soft_budget: Optional[float] - Soft budget limit (warning vs. hard stop). Will trigger a slack alert when this soft budget is reached. - max_parallel_requests: Optional[int] - Rate limit for parallel requests - metadata: Optional[dict] - Metadata for key. Example {"team": "core-infra", "app": "app2"} - tpm_limit: Optional[int] - Tokens per minute limit - rpm_limit: Optional[int] - Requests per minute limit - model_rpm_limit: Optional[dict] - Model-specific RPM limits {"gpt-4": 100, "claude-v1": 200} - model_tpm_limit: Optional[dict] - Model-specific TPM limits {"gpt-4": 100000, "claude-v1": 200000} - allowed_cache_controls: Optional[list] - List of allowed cache control values - duration: Optional[str] - Key validity duration ("30d", "1h", etc.) - permissions: Optional[dict] - Key-specific permissions - guardrails: Optional[List[str]] - List of active guardrails for the key - blocked: Optional[bool] - Whether the key is blocked - grace_period: Optional[str] - Duration to keep old key valid after rotation (e.g. "24h", "2d"). Omitted = immediate revoke. Env: LITELLM_KEY_ROTATION_GRACE_PERIOD Returns: - GenerateKeyResponse containing the new key and its updated parameters Example: ```bash curl --location --request POST 'http://localhost:4000/key/sk-1234/regenerate' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data-raw '{ "max_budget": 100, "metadata": {"team": "core-infra"}, "models": ["gpt-4", "gpt-3.5-turbo"] }' ``` Note: This is an Enterprise feature. It requires a premium license to use. */
|
|
1627
|
+
export declare const regenerateKeyFnKeyKeyRegeneratePost: API.OperationMethod<RegenerateKeyFnKeyKeyRegeneratePostRequest, RegenerateKeyFnKeyKeyRegeneratePostResponse, RegenerateKeyFnKeyKeyRegeneratePostError, LitellmOpContext>;
|
|
1628
|
+
export type RegenerateKeyFnKeyRegeneratePostError = UnprocessableEntity | LitellmOpError;
|
|
1629
|
+
/** Regenerate Key Fn Regenerate an existing API key while optionally updating its parameters. Parameters: - key: str (path parameter) - The key to regenerate - data: Optional[RegenerateKeyRequest] - Request body containing optional parameters to update - key: Optional[str] - The key to regenerate. - new_master_key: Optional[str] - The new master key to use, if key is the master key. - new_key: Optional[str] - The new key to use, if key is not the master key. Must start with 'sk-' and be at least 16 characters long. If both set, new_master_key will be used. - key_alias: Optional[str] - User-friendly key alias - user_id: Optional[str] - User ID associated with key - team_id: Optional[str] - Team ID associated with key - models: Optional[list] - Model_name's a user is allowed to call - tags: Optional[List[str]] - Tags for organizing keys (Enterprise only) - spend: Optional[float] - Amount spent by key - max_budget: Optional[float] - Max budget for key - model_max_budget: Optional[Dict[str, BudgetConfig]] - Model-specific budgets {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}} - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}. - budget_duration: Optional[str] - Budget reset period ("30d", "1h", etc.) - soft_budget: Optional[float] - Soft budget limit (warning vs. hard stop). Will trigger a slack alert when this soft budget is reached. - max_parallel_requests: Optional[int] - Rate limit for parallel requests - metadata: Optional[dict] - Metadata for key. Example {"team": "core-infra", "app": "app2"} - tpm_limit: Optional[int] - Tokens per minute limit - rpm_limit: Optional[int] - Requests per minute limit - model_rpm_limit: Optional[dict] - Model-specific RPM limits {"gpt-4": 100, "claude-v1": 200} - model_tpm_limit: Optional[dict] - Model-specific TPM limits {"gpt-4": 100000, "claude-v1": 200000} - allowed_cache_controls: Optional[list] - List of allowed cache control values - duration: Optional[str] - Key validity duration ("30d", "1h", etc.) - permissions: Optional[dict] - Key-specific permissions - guardrails: Optional[List[str]] - List of active guardrails for the key - blocked: Optional[bool] - Whether the key is blocked - grace_period: Optional[str] - Duration to keep old key valid after rotation (e.g. "24h", "2d"). Omitted = immediate revoke. Env: LITELLM_KEY_ROTATION_GRACE_PERIOD Returns: - GenerateKeyResponse containing the new key and its updated parameters Example: ```bash curl --location --request POST 'http://localhost:4000/key/sk-1234/regenerate' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data-raw '{ "max_budget": 100, "metadata": {"team": "core-infra"}, "models": ["gpt-4", "gpt-3.5-turbo"] }' ``` Note: This is an Enterprise feature. It requires a premium license to use. */
|
|
1630
|
+
export declare const regenerateKeyFnKeyRegeneratePost: API.OperationMethod<RegenerateKeyFnKeyRegeneratePostRequest, RegenerateKeyFnKeyRegeneratePostResponse, RegenerateKeyFnKeyRegeneratePostError, LitellmOpContext>;
|
|
1631
|
+
export type ResetKeySpendFnKeyKeyResetSpendPostError = UnprocessableEntity | LitellmOpError;
|
|
1632
|
+
/** Reset Key Spend Fn */
|
|
1633
|
+
export declare const resetKeySpendFnKeyKeyResetSpendPost: API.OperationMethod<ResetKeySpendFnKeyKeyResetSpendPostRequest, ResetKeySpendFnKeyKeyResetSpendPostResponse, ResetKeySpendFnKeyKeyResetSpendPostError, LitellmOpContext>;
|
|
1634
|
+
export type UnblockKeyKeyUnblockPostError = UnprocessableEntity | LitellmOpError;
|
|
1635
|
+
/** Unblock Key Unblock a Virtual key to allow it to make requests again. Parameters: - key: str - The key to unblock. Can be either the unhashed key (sk-...) or the hashed key value Example: ```bash curl --location 'http://0.0.0.0:4000/key/unblock' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "key": "sk-Fn8Ej39NxjAXrvpUGKghGw" }' ``` Note: This is an admin-only endpoint. Only proxy admins, team admins, or org admins can unblock keys. */
|
|
1636
|
+
export declare const unblockKeyKeyUnblockPost: API.OperationMethod<UnblockKeyKeyUnblockPostRequest, UnblockKeyKeyUnblockPostResponse, UnblockKeyKeyUnblockPostError, LitellmOpContext>;
|
|
1637
|
+
export type UpdateKeyFnKeyUpdatePostError = BadRequest | Forbidden | NotFound | UnprocessableEntity | LitellmOpError;
|
|
1638
|
+
/** Update Key Fn Update an existing API key's parameters. Parameters: - key: Optional[str] - The key to update. Either key or key_alias must be provided. - key_alias: Optional[str] - User-friendly key alias. If key is omitted, also identifies the key to update (must match exactly one key, same as /key/delete's key_aliases) - user_id: Optional[str] - User ID associated with key - team_id: Optional[str] - Team ID associated with key - agent_id: Optional[str] - The agent id associated with the key. - organization_id: Optional[str] - The organization id of the key. - budget_id: Optional[str] - The budget id associated with the key. Created by calling `/budget/new`. - models: Optional[list] - Model_name's a user is allowed to call - tags: Optional[List[str]] - Tags for organizing keys (Enterprise only) - prompts: Optional[List[str]] - List of prompts that the key is allowed to use. - enforced_params: Optional[List[str]] - List of enforced params for the key (Enterprise only). [Docs](https://docs.litellm.ai/docs/proxy/enterprise#enforce-required-params-for-llm-requests) - spend: Optional[float] - Amount spent by key - max_budget: Optional[float] - Max budget for key - model_max_budget: Optional[Dict[str, BudgetConfig]] - Model-specific budgets {"gpt-4": {"budget_limit": 0.0005, "time_period": "30d"}} - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}. - budget_duration: Optional[str] - Budget reset period ("30d", "1h", etc.) - soft_budget: Optional[float] - [TODO] Soft budget limit (warning vs. hard stop). Will trigger a slack alert when this soft budget is reached. - max_parallel_requests: Optional[int] - Rate limit for parallel requests - metadata: Optional[dict] - Metadata for key. Example {"team": "core-infra", "app": "app2"} - tpm_limit: Optional[int] - Tokens per minute limit - rpm_limit: Optional[int] - Requests per minute limit - model_rpm_limit: Optional[dict] - Model-specific RPM limits {"gpt-4": 100, "claude-v1": 200} - mcp_rpm_limit: Optional[dict] - Per-MCP-server RPM limits, keyed by MCP server name {"github": 100, "slack": 200} - tag_rpm_limit: Optional[dict] - Per-request-tag RPM limits, keyed by request tag {"cell-1": 1000, "cell-2": 500}. Each tag gets an independent counter; absent tags fall back to the key-level rpm limit. - model_tpm_limit: Optional[dict] - Model-specific TPM limits {"gpt-4": 100000, "claude-v1": 200000} - default_estimated_output_tokens: Optional[int] - Proxy admin only. Expected output tokens reserved for TPM limiting when a request omits max_tokens. Positive integer. - default_estimated_output_tokens_per_model: Optional[dict] - Proxy admin only. Per-model override of the above {"gpt-4": 4096, "gpt-3.5-turbo": 1024} - tpm_limit_type: Optional[str] - TPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic" - rpm_limit_type: Optional[str] - RPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic" - allowed_cache_controls: Optional[list] - List of allowed cache control values - duration: Optional[str] - Key validity duration ("30d", "1h", etc.), null to never expire, or "-1" to never expire (deprecated, use null) - permissions: Optional[dict] - Key-specific permissions - send_invite_email: Optional[bool] - Send invite email to user_id - guardrails: Optional[List[str]] - List of active guardrails for the key - policies: Optional[List[str]] - List of policy names to apply to the key. Policies define guardrails, conditions, and inheritance rules. - disable_global_guardrails: Optional[bool] - Whether to disable global guardrails for the key. - throttle_on_budget_exceeded: Optional[bool] - When the key exceeds its max_budget, throttle its tpm/rpm to the global budget_exceeded_throttle_percentage instead of blocking the key entirely. - enable_prompt_caching: Optional[bool] - Auto-inject prompt caching breakpoints (Anthropic cache_control markers) on requests made with this key. Anthropic and Bedrock Claude models only. - prompts: Optional[List[str]] - List of prompts that the key is allowed to use. - blocked: Optional[bool] - Whether the key is blocked - aliases: Optional[dict] - Model aliases for the key - [Docs](https://litellm.vercel.app/docs/proxy/virtual_keys#model-aliases) - config: Optional[dict] - [DEPRECATED PARAM] Key-specific config. - temp_budget_increase: Optional[float] - Temporary budget increase for the key (Enterprise only). - temp_budget_expiry: Optional[str] - Expiry time for the temporary budget increase (Enterprise only). - allowed_routes: Optional[list] - List of allowed routes for the key. Store the actual route or store a wildcard pattern for a set of routes. Example - ["/chat/completions", "/embeddings", "/keys/*"] - allowed_passthrough_routes: Optional[list] - List of allowed pass through routes for the key. Store the actual route or store a wildcard pattern for a set of routes. Example - ["/my-custom-endpoint"]. Use this instead of allowed_routes, if you just want to specify which pass through routes the key can access, without specifying the routes. If allowed_routes is specified, allowed_passthrough_routes is ignored. - prompts: Optional[List[str]] - List of allowed prompts for the key. If specified, the key will only be able to use these specific prompts. - object_permission: Optional[LiteLLM_ObjectPermissionBase] - key-specific object permission. Example - {"vector_stores": ["vector_store_1", "vector_store_2"], "agents": ["agent_1", "agent_2"], "agent_access_groups": ["dev_group"]}. IF null or {} then no object permission. - auto_rotate: Optional[bool] - Whether this key should be automatically rotated - rotation_interval: Optional[str] - How often to rotate this key (e.g., '30d', '90d'). Required if auto_rotate=True - allowed_vector_store_indexes: Optional[List[dict]] - List of allowed vector store indexes for the key. Example - [{"index_name": "my-index", "index_permissions": ["write", "read"]}]. If specified, the key will only be able to use these specific vector store indexes. Create index, using `/v1/indexes` endpoint. - router_settings: Optional[UpdateRouterConfig] - key-specific router settings. Example - {"model_group_retry_policy": {"gpt-4": {"RateLimitErrorRetries": 5}}}. IF null or {} then no router settings. - access_group_ids: Optional[List[str]] - List of access group IDs to associate with the key. Access groups define which models a key can access. Example - ["access_group_1", "access_group_2"]. - budget_limits: Optional[list] - List of concurrent budget windows for the key. Each window specifies a budget_limit, time_period, and optional budget_duration. Example - [{"budget_limit": 10.0, "time_period": "1d"}, {"budget_limit": 50.0, "time_period": "7d"}]. Example: ```bash curl --location 'http://0.0.0.0:4000/key/update' --header 'Authorization: Bearer sk-1234' --header 'Content-Type: application/json' --data '{ "key": "sk-1234", "key_alias": "my-key", "user_id": "user-1234", "team_id": "team-1234", "max_budget": 100, "metadata": {"any_key": "any-val"}, }' ``` */
|
|
1639
|
+
export declare const updateKeyFnKeyUpdatePost: API.OperationMethod<UpdateKeyFnKeyUpdatePostRequest, UpdateKeyFnKeyUpdatePostResponse, UpdateKeyFnKeyUpdatePostError, LitellmOpContext>;
|
|
1640
|
+
//# sourceMappingURL=key_management.d.ts.map
|