@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,2128 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (pinned litellm-openapi @ 1.100.0 — see README). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as C from "@distilled.cloud/core/category";
|
|
6
|
+
import * as T from "../traits.ts";
|
|
7
|
+
import {
|
|
8
|
+
LitellmProtocol,
|
|
9
|
+
type LitellmOpError,
|
|
10
|
+
type LitellmOpContext,
|
|
11
|
+
} from "../protocol.ts";
|
|
12
|
+
import * as Retry from "../retry.ts";
|
|
13
|
+
|
|
14
|
+
export type { LitellmOpError, LitellmOpContext };
|
|
15
|
+
|
|
16
|
+
export class BadRequest
|
|
17
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
|
+
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
19
|
+
code: S.Number,
|
|
20
|
+
message: S.String,
|
|
21
|
+
}).pipe(C.withBadRequestError),
|
|
22
|
+
[{ status: 400 }],
|
|
23
|
+
) {}
|
|
24
|
+
|
|
25
|
+
export class NotFound
|
|
26
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
27
|
+
/*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
|
|
28
|
+
code: S.Number,
|
|
29
|
+
message: S.String,
|
|
30
|
+
}).pipe(C.withBadRequestError),
|
|
31
|
+
[{ status: 404 }],
|
|
32
|
+
) {}
|
|
33
|
+
|
|
34
|
+
export class UnprocessableEntity
|
|
35
|
+
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
36
|
+
/*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
|
|
37
|
+
code: S.Number,
|
|
38
|
+
message: S.String,
|
|
39
|
+
}).pipe(C.withBadRequestError),
|
|
40
|
+
[{ status: 422 }],
|
|
41
|
+
) {}
|
|
42
|
+
|
|
43
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
44
|
+
export type CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestDefaultQueryParamsMap =
|
|
45
|
+
{ [key: string]: unknown | undefined };
|
|
46
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestDefaultQueryParamsMap =
|
|
47
|
+
/*@__PURE__*/ S.Record(
|
|
48
|
+
S.String,
|
|
49
|
+
S.Unknown,
|
|
50
|
+
) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestDefaultQueryParamsMap>;
|
|
51
|
+
|
|
52
|
+
export type PassThroughGuardrailSettingsRequestFieldsList = Array<string>;
|
|
53
|
+
export const PassThroughGuardrailSettingsRequestFieldsList =
|
|
54
|
+
/*@__PURE__*/ S.Array(
|
|
55
|
+
S.String,
|
|
56
|
+
) as any as S.Schema<PassThroughGuardrailSettingsRequestFieldsList>;
|
|
57
|
+
|
|
58
|
+
export type PassThroughGuardrailSettingsResponseFieldsList = Array<string>;
|
|
59
|
+
export const PassThroughGuardrailSettingsResponseFieldsList =
|
|
60
|
+
/*@__PURE__*/ S.Array(
|
|
61
|
+
S.String,
|
|
62
|
+
) as any as S.Schema<PassThroughGuardrailSettingsResponseFieldsList>;
|
|
63
|
+
|
|
64
|
+
/** Settings for a specific guardrail on a passthrough endpoint. Allows field-level targeting for guardrail execution. */
|
|
65
|
+
export interface PassThroughGuardrailSettings {
|
|
66
|
+
/** JSONPath expressions for input field targeting (pre_call). Examples: 'query', 'documents[*].text', 'messages[*].content'. If not specified, guardrail runs on entire request payload. */
|
|
67
|
+
request_fields?: PassThroughGuardrailSettingsRequestFieldsList | null;
|
|
68
|
+
/** JSONPath expressions for output field targeting (post_call). Examples: 'results[*].text', 'output'. If not specified, guardrail runs on entire response payload. */
|
|
69
|
+
response_fields?: PassThroughGuardrailSettingsResponseFieldsList | null;
|
|
70
|
+
}
|
|
71
|
+
export const PassThroughGuardrailSettings = /*@__PURE__*/ S.suspend(() =>
|
|
72
|
+
S.Struct({
|
|
73
|
+
request_fields: S.optional(
|
|
74
|
+
S.NullOr(PassThroughGuardrailSettingsRequestFieldsList),
|
|
75
|
+
),
|
|
76
|
+
response_fields: S.optional(
|
|
77
|
+
S.NullOr(PassThroughGuardrailSettingsResponseFieldsList),
|
|
78
|
+
),
|
|
79
|
+
}),
|
|
80
|
+
).annotate({
|
|
81
|
+
identifier: "PassThroughGuardrailSettings",
|
|
82
|
+
}) as any as S.Schema<PassThroughGuardrailSettings>;
|
|
83
|
+
|
|
84
|
+
export type CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestGuardrailsMap =
|
|
85
|
+
{ [key: string]: PassThroughGuardrailSettings | null | undefined };
|
|
86
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestGuardrailsMap =
|
|
87
|
+
/*@__PURE__*/ S.Record(
|
|
88
|
+
S.String,
|
|
89
|
+
S.NullOr(PassThroughGuardrailSettings),
|
|
90
|
+
) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestGuardrailsMap>;
|
|
91
|
+
|
|
92
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
93
|
+
export type CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestHeadersMap =
|
|
94
|
+
{ [key: string]: unknown | undefined };
|
|
95
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestHeadersMap =
|
|
96
|
+
/*@__PURE__*/ S.Record(
|
|
97
|
+
S.String,
|
|
98
|
+
S.Unknown,
|
|
99
|
+
) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestHeadersMap>;
|
|
100
|
+
|
|
101
|
+
export type CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestMethodsList =
|
|
102
|
+
Array<string>;
|
|
103
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestMethodsList =
|
|
104
|
+
/*@__PURE__*/ S.Array(
|
|
105
|
+
S.String,
|
|
106
|
+
) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestMethodsList>;
|
|
107
|
+
|
|
108
|
+
export interface CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest {
|
|
109
|
+
/** Whether authentication is required for the pass-through endpoint. Defaults to True so a pass-through silently created without an explicit value still requires a valid LiteLLM API key — set to False only if the endpoint is meant to be a public forwarder (e.g. an unauthenticated webhook target). */
|
|
110
|
+
auth?: boolean;
|
|
111
|
+
/** The USD cost per request to the target endpoint. This is used to calculate the cost of the request to the target endpoint. */
|
|
112
|
+
cost_per_request?: number;
|
|
113
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
114
|
+
default_query_params?: CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestDefaultQueryParamsMap;
|
|
115
|
+
/** Guardrails configuration for this passthrough endpoint. Dict keys are guardrail names, values are optional settings for field targeting. When set, all org/team/key level guardrails will also execute. Defaults to None (no guardrails execute). */
|
|
116
|
+
guardrails?: CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestGuardrailsMap | null;
|
|
117
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
118
|
+
headers?: CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestHeadersMap;
|
|
119
|
+
/** Optional unique identifier for the pass-through endpoint. If not provided, endpoints will be identified by path for backwards compatibility. */
|
|
120
|
+
id?: string | null;
|
|
121
|
+
/** If True, requests to subpaths of the path will be forwarded to the target endpoint. For example, if the path is /bria and include_subpath is True, requests to /bria/v1/text-to-image/base/2.3 will be forwarded to the target endpoint. */
|
|
122
|
+
include_subpath?: boolean;
|
|
123
|
+
/** True if this endpoint is defined in the config file, False if from DB. Config-defined endpoints cannot be edited via the UI. */
|
|
124
|
+
is_from_config?: boolean;
|
|
125
|
+
/** List of HTTP methods this endpoint handles (e.g., ['GET', 'POST']). If None or empty, all methods (GET, POST, PUT, DELETE, PATCH) are supported for backward compatibility. This allows the same path to have different targets for different HTTP methods. */
|
|
126
|
+
methods?: CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestMethodsList | null;
|
|
127
|
+
/** The route to be added to the LiteLLM Proxy Server. */
|
|
128
|
+
path: string;
|
|
129
|
+
/** The URL to which requests for this path should be forwarded. */
|
|
130
|
+
target: string;
|
|
131
|
+
/** Upstream request timeout in seconds for this pass-through endpoint. If unset, uses general_settings.pass_through_request_timeout (default 600). */
|
|
132
|
+
timeout?: number | null;
|
|
133
|
+
}
|
|
134
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest =
|
|
135
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
136
|
+
S.Struct({
|
|
137
|
+
auth: S.optional(S.Boolean),
|
|
138
|
+
cost_per_request: S.optional(S.Number),
|
|
139
|
+
default_query_params: S.optional(
|
|
140
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestDefaultQueryParamsMap,
|
|
141
|
+
),
|
|
142
|
+
guardrails: S.optional(
|
|
143
|
+
S.NullOr(
|
|
144
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestGuardrailsMap,
|
|
145
|
+
),
|
|
146
|
+
),
|
|
147
|
+
headers: S.optional(
|
|
148
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestHeadersMap,
|
|
149
|
+
),
|
|
150
|
+
id: S.optional(S.NullOr(S.String)),
|
|
151
|
+
include_subpath: S.optional(S.Boolean),
|
|
152
|
+
is_from_config: S.optional(S.Boolean),
|
|
153
|
+
methods: S.optional(
|
|
154
|
+
S.NullOr(
|
|
155
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostRequestMethodsList,
|
|
156
|
+
),
|
|
157
|
+
),
|
|
158
|
+
path: S.String,
|
|
159
|
+
target: S.String,
|
|
160
|
+
timeout: S.optional(S.NullOr(S.Number)),
|
|
161
|
+
}).pipe(
|
|
162
|
+
T.Http({
|
|
163
|
+
method: "POST",
|
|
164
|
+
uri: "/config/pass_through_endpoint",
|
|
165
|
+
code: 200,
|
|
166
|
+
}),
|
|
167
|
+
),
|
|
168
|
+
).annotate({
|
|
169
|
+
identifier:
|
|
170
|
+
"CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest",
|
|
171
|
+
}) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest>;
|
|
172
|
+
|
|
173
|
+
export interface CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse {
|
|
174
|
+
body: unknown;
|
|
175
|
+
}
|
|
176
|
+
export const CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse =
|
|
177
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
178
|
+
S.Struct({
|
|
179
|
+
body: S.Unknown,
|
|
180
|
+
}),
|
|
181
|
+
).annotate({
|
|
182
|
+
identifier:
|
|
183
|
+
"CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse",
|
|
184
|
+
}) as any as S.Schema<CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse>;
|
|
185
|
+
|
|
186
|
+
export interface DeleteAggregateMcpRouteMcpRequest {}
|
|
187
|
+
export const DeleteAggregateMcpRouteMcpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
188
|
+
S.Struct({}).pipe(T.Http({ method: "DELETE", uri: "/mcp", code: 200 })),
|
|
189
|
+
).annotate({
|
|
190
|
+
identifier: "DeleteAggregateMcpRouteMcpRequest",
|
|
191
|
+
}) as any as S.Schema<DeleteAggregateMcpRouteMcpRequest>;
|
|
192
|
+
|
|
193
|
+
export interface DeleteAggregateMcpRouteMcpResponse {
|
|
194
|
+
body: unknown;
|
|
195
|
+
}
|
|
196
|
+
export const DeleteAggregateMcpRouteMcpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
197
|
+
S.Struct({
|
|
198
|
+
body: S.Unknown,
|
|
199
|
+
}),
|
|
200
|
+
).annotate({
|
|
201
|
+
identifier: "DeleteAggregateMcpRouteMcpResponse",
|
|
202
|
+
}) as any as S.Schema<DeleteAggregateMcpRouteMcpResponse>;
|
|
203
|
+
|
|
204
|
+
export interface DeleteDynamicMcpRouteMcpServerNameMcpRequest {
|
|
205
|
+
mcp_server_name: string;
|
|
206
|
+
}
|
|
207
|
+
export const DeleteDynamicMcpRouteMcpServerNameMcpRequest =
|
|
208
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
209
|
+
S.Struct({
|
|
210
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
211
|
+
}).pipe(
|
|
212
|
+
T.Http({ method: "DELETE", uri: "/{mcp_server_name}/mcp", code: 200 }),
|
|
213
|
+
),
|
|
214
|
+
).annotate({
|
|
215
|
+
identifier: "DeleteDynamicMcpRouteMcpServerNameMcpRequest",
|
|
216
|
+
}) as any as S.Schema<DeleteDynamicMcpRouteMcpServerNameMcpRequest>;
|
|
217
|
+
|
|
218
|
+
export interface DeleteDynamicMcpRouteMcpServerNameMcpResponse {
|
|
219
|
+
body: unknown;
|
|
220
|
+
}
|
|
221
|
+
export const DeleteDynamicMcpRouteMcpServerNameMcpResponse =
|
|
222
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
223
|
+
S.Struct({
|
|
224
|
+
body: S.Unknown,
|
|
225
|
+
}),
|
|
226
|
+
).annotate({
|
|
227
|
+
identifier: "DeleteDynamicMcpRouteMcpServerNameMcpResponse",
|
|
228
|
+
}) as any as S.Schema<DeleteDynamicMcpRouteMcpServerNameMcpResponse>;
|
|
229
|
+
|
|
230
|
+
export interface DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest {
|
|
231
|
+
endpoint_id: string;
|
|
232
|
+
}
|
|
233
|
+
export const DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest =
|
|
234
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
235
|
+
S.Struct({
|
|
236
|
+
endpoint_id: S.String.pipe(T.Query()),
|
|
237
|
+
}).pipe(
|
|
238
|
+
T.Http({
|
|
239
|
+
method: "DELETE",
|
|
240
|
+
uri: "/config/pass_through_endpoint",
|
|
241
|
+
code: 200,
|
|
242
|
+
}),
|
|
243
|
+
),
|
|
244
|
+
).annotate({
|
|
245
|
+
identifier:
|
|
246
|
+
"DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest",
|
|
247
|
+
}) as any as S.Schema<DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest>;
|
|
248
|
+
|
|
249
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
250
|
+
export type PassThroughGenericEndpointDefaultQueryParamsMap = {
|
|
251
|
+
[key: string]: unknown | undefined;
|
|
252
|
+
};
|
|
253
|
+
export const PassThroughGenericEndpointDefaultQueryParamsMap =
|
|
254
|
+
/*@__PURE__*/ S.Record(
|
|
255
|
+
S.String,
|
|
256
|
+
S.Unknown,
|
|
257
|
+
) as any as S.Schema<PassThroughGenericEndpointDefaultQueryParamsMap>;
|
|
258
|
+
|
|
259
|
+
export type PassThroughGenericEndpointGuardrailsMap = {
|
|
260
|
+
[key: string]: PassThroughGuardrailSettings | null | undefined;
|
|
261
|
+
};
|
|
262
|
+
export const PassThroughGenericEndpointGuardrailsMap = /*@__PURE__*/ S.Record(
|
|
263
|
+
S.String,
|
|
264
|
+
S.NullOr(PassThroughGuardrailSettings),
|
|
265
|
+
) as any as S.Schema<PassThroughGenericEndpointGuardrailsMap>;
|
|
266
|
+
|
|
267
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
268
|
+
export type PassThroughGenericEndpointHeadersMap = {
|
|
269
|
+
[key: string]: unknown | undefined;
|
|
270
|
+
};
|
|
271
|
+
export const PassThroughGenericEndpointHeadersMap = /*@__PURE__*/ S.Record(
|
|
272
|
+
S.String,
|
|
273
|
+
S.Unknown,
|
|
274
|
+
) as any as S.Schema<PassThroughGenericEndpointHeadersMap>;
|
|
275
|
+
|
|
276
|
+
export type PassThroughGenericEndpointMethodsList = Array<string>;
|
|
277
|
+
export const PassThroughGenericEndpointMethodsList = /*@__PURE__*/ S.Array(
|
|
278
|
+
S.String,
|
|
279
|
+
) as any as S.Schema<PassThroughGenericEndpointMethodsList>;
|
|
280
|
+
|
|
281
|
+
export interface PassThroughGenericEndpoint {
|
|
282
|
+
/** Whether authentication is required for the pass-through endpoint. Defaults to True so a pass-through silently created without an explicit value still requires a valid LiteLLM API key — set to False only if the endpoint is meant to be a public forwarder (e.g. an unauthenticated webhook target). */
|
|
283
|
+
auth?: boolean;
|
|
284
|
+
/** The USD cost per request to the target endpoint. This is used to calculate the cost of the request to the target endpoint. */
|
|
285
|
+
cost_per_request?: number;
|
|
286
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
287
|
+
default_query_params?: PassThroughGenericEndpointDefaultQueryParamsMap;
|
|
288
|
+
/** Guardrails configuration for this passthrough endpoint. Dict keys are guardrail names, values are optional settings for field targeting. When set, all org/team/key level guardrails will also execute. Defaults to None (no guardrails execute). */
|
|
289
|
+
guardrails?: PassThroughGenericEndpointGuardrailsMap | null;
|
|
290
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
291
|
+
headers?: PassThroughGenericEndpointHeadersMap;
|
|
292
|
+
/** Optional unique identifier for the pass-through endpoint. If not provided, endpoints will be identified by path for backwards compatibility. */
|
|
293
|
+
id?: string | null;
|
|
294
|
+
/** If True, requests to subpaths of the path will be forwarded to the target endpoint. For example, if the path is /bria and include_subpath is True, requests to /bria/v1/text-to-image/base/2.3 will be forwarded to the target endpoint. */
|
|
295
|
+
include_subpath?: boolean;
|
|
296
|
+
/** True if this endpoint is defined in the config file, False if from DB. Config-defined endpoints cannot be edited via the UI. */
|
|
297
|
+
is_from_config?: boolean;
|
|
298
|
+
/** List of HTTP methods this endpoint handles (e.g., ['GET', 'POST']). If None or empty, all methods (GET, POST, PUT, DELETE, PATCH) are supported for backward compatibility. This allows the same path to have different targets for different HTTP methods. */
|
|
299
|
+
methods?: PassThroughGenericEndpointMethodsList | null;
|
|
300
|
+
/** The route to be added to the LiteLLM Proxy Server. */
|
|
301
|
+
path: string;
|
|
302
|
+
/** The URL to which requests for this path should be forwarded. */
|
|
303
|
+
target: string;
|
|
304
|
+
/** Upstream request timeout in seconds for this pass-through endpoint. If unset, uses general_settings.pass_through_request_timeout (default 600). */
|
|
305
|
+
timeout?: number | null;
|
|
306
|
+
}
|
|
307
|
+
export const PassThroughGenericEndpoint = /*@__PURE__*/ S.suspend(() =>
|
|
308
|
+
S.Struct({
|
|
309
|
+
auth: S.optional(S.Boolean),
|
|
310
|
+
cost_per_request: S.optional(S.Number),
|
|
311
|
+
default_query_params: S.optional(
|
|
312
|
+
PassThroughGenericEndpointDefaultQueryParamsMap,
|
|
313
|
+
),
|
|
314
|
+
guardrails: S.optional(S.NullOr(PassThroughGenericEndpointGuardrailsMap)),
|
|
315
|
+
headers: S.optional(PassThroughGenericEndpointHeadersMap),
|
|
316
|
+
id: S.optional(S.NullOr(S.String)),
|
|
317
|
+
include_subpath: S.optional(S.Boolean),
|
|
318
|
+
is_from_config: S.optional(S.Boolean),
|
|
319
|
+
methods: S.optional(S.NullOr(PassThroughGenericEndpointMethodsList)),
|
|
320
|
+
path: S.String,
|
|
321
|
+
target: S.String,
|
|
322
|
+
timeout: S.optional(S.NullOr(S.Number)),
|
|
323
|
+
}),
|
|
324
|
+
).annotate({
|
|
325
|
+
identifier: "PassThroughGenericEndpoint",
|
|
326
|
+
}) as any as S.Schema<PassThroughGenericEndpoint>;
|
|
327
|
+
|
|
328
|
+
export type PassThroughEndpointResponseEndpointsList =
|
|
329
|
+
Array<PassThroughGenericEndpoint>;
|
|
330
|
+
export const PassThroughEndpointResponseEndpointsList = /*@__PURE__*/ S.Array(
|
|
331
|
+
PassThroughGenericEndpoint,
|
|
332
|
+
) as any as S.Schema<PassThroughEndpointResponseEndpointsList>;
|
|
333
|
+
|
|
334
|
+
export interface PassThroughEndpointResponse {
|
|
335
|
+
endpoints: PassThroughEndpointResponseEndpointsList;
|
|
336
|
+
}
|
|
337
|
+
export const PassThroughEndpointResponse = /*@__PURE__*/ S.suspend(() =>
|
|
338
|
+
S.Struct({
|
|
339
|
+
endpoints: PassThroughEndpointResponseEndpointsList,
|
|
340
|
+
}),
|
|
341
|
+
).annotate({
|
|
342
|
+
identifier: "PassThroughEndpointResponse",
|
|
343
|
+
}) as any as S.Schema<PassThroughEndpointResponse>;
|
|
344
|
+
|
|
345
|
+
export interface DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest {
|
|
346
|
+
toolset_name: string;
|
|
347
|
+
}
|
|
348
|
+
export const DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest =
|
|
349
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
350
|
+
S.Struct({
|
|
351
|
+
toolset_name: S.String.pipe(T.Label()),
|
|
352
|
+
}).pipe(
|
|
353
|
+
T.Http({
|
|
354
|
+
method: "DELETE",
|
|
355
|
+
uri: "/toolset/{toolset_name}/mcp",
|
|
356
|
+
code: 200,
|
|
357
|
+
}),
|
|
358
|
+
),
|
|
359
|
+
).annotate({
|
|
360
|
+
identifier: "DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest",
|
|
361
|
+
}) as any as S.Schema<DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest>;
|
|
362
|
+
|
|
363
|
+
export interface DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse {
|
|
364
|
+
body: unknown;
|
|
365
|
+
}
|
|
366
|
+
export const DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse =
|
|
367
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
368
|
+
S.Struct({
|
|
369
|
+
body: S.Unknown,
|
|
370
|
+
}),
|
|
371
|
+
).annotate({
|
|
372
|
+
identifier: "DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse",
|
|
373
|
+
}) as any as S.Schema<DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse>;
|
|
374
|
+
|
|
375
|
+
export interface GetActiveTasksStatsDebugAsyncioTasksGetRequest {}
|
|
376
|
+
export const GetActiveTasksStatsDebugAsyncioTasksGetRequest =
|
|
377
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
378
|
+
S.Struct({}).pipe(
|
|
379
|
+
T.Http({ method: "GET", uri: "/debug/asyncio-tasks", code: 200 }),
|
|
380
|
+
),
|
|
381
|
+
).annotate({
|
|
382
|
+
identifier: "GetActiveTasksStatsDebugAsyncioTasksGetRequest",
|
|
383
|
+
}) as any as S.Schema<GetActiveTasksStatsDebugAsyncioTasksGetRequest>;
|
|
384
|
+
|
|
385
|
+
export interface GetActiveTasksStatsDebugAsyncioTasksGetResponse {
|
|
386
|
+
body: unknown;
|
|
387
|
+
}
|
|
388
|
+
export const GetActiveTasksStatsDebugAsyncioTasksGetResponse =
|
|
389
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
390
|
+
S.Struct({
|
|
391
|
+
body: S.Unknown,
|
|
392
|
+
}),
|
|
393
|
+
).annotate({
|
|
394
|
+
identifier: "GetActiveTasksStatsDebugAsyncioTasksGetResponse",
|
|
395
|
+
}) as any as S.Schema<GetActiveTasksStatsDebugAsyncioTasksGetResponse>;
|
|
396
|
+
|
|
397
|
+
export interface GetAggregateMcpRouteMcpRequest {}
|
|
398
|
+
export const GetAggregateMcpRouteMcpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
399
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/mcp", code: 200 })),
|
|
400
|
+
).annotate({
|
|
401
|
+
identifier: "GetAggregateMcpRouteMcpRequest",
|
|
402
|
+
}) as any as S.Schema<GetAggregateMcpRouteMcpRequest>;
|
|
403
|
+
|
|
404
|
+
export interface GetAggregateMcpRouteMcpResponse {
|
|
405
|
+
body: unknown;
|
|
406
|
+
}
|
|
407
|
+
export const GetAggregateMcpRouteMcpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
408
|
+
S.Struct({
|
|
409
|
+
body: S.Unknown,
|
|
410
|
+
}),
|
|
411
|
+
).annotate({
|
|
412
|
+
identifier: "GetAggregateMcpRouteMcpResponse",
|
|
413
|
+
}) as any as S.Schema<GetAggregateMcpRouteMcpResponse>;
|
|
414
|
+
|
|
415
|
+
export interface GetDynamicMcpRouteMcpServerNameMcpRequest {
|
|
416
|
+
mcp_server_name: string;
|
|
417
|
+
}
|
|
418
|
+
export const GetDynamicMcpRouteMcpServerNameMcpRequest =
|
|
419
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
420
|
+
S.Struct({
|
|
421
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
422
|
+
}).pipe(
|
|
423
|
+
T.Http({ method: "GET", uri: "/{mcp_server_name}/mcp", code: 200 }),
|
|
424
|
+
),
|
|
425
|
+
).annotate({
|
|
426
|
+
identifier: "GetDynamicMcpRouteMcpServerNameMcpRequest",
|
|
427
|
+
}) as any as S.Schema<GetDynamicMcpRouteMcpServerNameMcpRequest>;
|
|
428
|
+
|
|
429
|
+
export interface GetDynamicMcpRouteMcpServerNameMcpResponse {
|
|
430
|
+
body: unknown;
|
|
431
|
+
}
|
|
432
|
+
export const GetDynamicMcpRouteMcpServerNameMcpResponse =
|
|
433
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
434
|
+
S.Struct({
|
|
435
|
+
body: S.Unknown,
|
|
436
|
+
}),
|
|
437
|
+
).annotate({
|
|
438
|
+
identifier: "GetDynamicMcpRouteMcpServerNameMcpResponse",
|
|
439
|
+
}) as any as S.Schema<GetDynamicMcpRouteMcpServerNameMcpResponse>;
|
|
440
|
+
|
|
441
|
+
export interface GetFaviconGetFaviconGetRequest {}
|
|
442
|
+
export const GetFaviconGetFaviconGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
443
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/get_favicon", code: 200 })),
|
|
444
|
+
).annotate({
|
|
445
|
+
identifier: "GetFaviconGetFaviconGetRequest",
|
|
446
|
+
}) as any as S.Schema<GetFaviconGetFaviconGetRequest>;
|
|
447
|
+
|
|
448
|
+
export interface GetFaviconGetFaviconGetResponse {
|
|
449
|
+
body: unknown;
|
|
450
|
+
}
|
|
451
|
+
export const GetFaviconGetFaviconGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
452
|
+
S.Struct({
|
|
453
|
+
body: S.Unknown,
|
|
454
|
+
}),
|
|
455
|
+
).annotate({
|
|
456
|
+
identifier: "GetFaviconGetFaviconGetResponse",
|
|
457
|
+
}) as any as S.Schema<GetFaviconGetFaviconGetResponse>;
|
|
458
|
+
|
|
459
|
+
export interface GetHomeRequest {}
|
|
460
|
+
export const GetHomeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
461
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/", code: 200 })),
|
|
462
|
+
).annotate({ identifier: "GetHomeRequest" }) as any as S.Schema<GetHomeRequest>;
|
|
463
|
+
|
|
464
|
+
export interface GetHomeResponse {
|
|
465
|
+
body: unknown;
|
|
466
|
+
}
|
|
467
|
+
export const GetHomeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
468
|
+
S.Struct({
|
|
469
|
+
body: S.Unknown,
|
|
470
|
+
}),
|
|
471
|
+
).annotate({
|
|
472
|
+
identifier: "GetHomeResponse",
|
|
473
|
+
}) as any as S.Schema<GetHomeResponse>;
|
|
474
|
+
|
|
475
|
+
export type GetImageGetImageGetRequestTheme = "light" | "dark";
|
|
476
|
+
export const GetImageGetImageGetRequestTheme = S.String;
|
|
477
|
+
|
|
478
|
+
export interface GetImageGetImageGetRequest {
|
|
479
|
+
theme?: GetImageGetImageGetRequestTheme | (string & {});
|
|
480
|
+
}
|
|
481
|
+
export const GetImageGetImageGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
482
|
+
S.Struct({
|
|
483
|
+
theme: S.optional(GetImageGetImageGetRequestTheme.pipe(T.Query())),
|
|
484
|
+
}).pipe(T.Http({ method: "GET", uri: "/get_image", code: 200 })),
|
|
485
|
+
).annotate({
|
|
486
|
+
identifier: "GetImageGetImageGetRequest",
|
|
487
|
+
}) as any as S.Schema<GetImageGetImageGetRequest>;
|
|
488
|
+
|
|
489
|
+
export interface GetImageGetImageGetResponse {
|
|
490
|
+
body: unknown;
|
|
491
|
+
}
|
|
492
|
+
export const GetImageGetImageGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
493
|
+
S.Struct({
|
|
494
|
+
body: S.Unknown,
|
|
495
|
+
}),
|
|
496
|
+
).annotate({
|
|
497
|
+
identifier: "GetImageGetImageGetResponse",
|
|
498
|
+
}) as any as S.Schema<GetImageGetImageGetResponse>;
|
|
499
|
+
|
|
500
|
+
export interface GetLogoUrlGetLogoUrlGetRequest {}
|
|
501
|
+
export const GetLogoUrlGetLogoUrlGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
502
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/get_logo_url", code: 200 })),
|
|
503
|
+
).annotate({
|
|
504
|
+
identifier: "GetLogoUrlGetLogoUrlGetRequest",
|
|
505
|
+
}) as any as S.Schema<GetLogoUrlGetLogoUrlGetRequest>;
|
|
506
|
+
|
|
507
|
+
export interface GetLogoUrlGetLogoUrlGetResponse {
|
|
508
|
+
body: unknown;
|
|
509
|
+
}
|
|
510
|
+
export const GetLogoUrlGetLogoUrlGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
511
|
+
S.Struct({
|
|
512
|
+
body: S.Unknown,
|
|
513
|
+
}),
|
|
514
|
+
).annotate({
|
|
515
|
+
identifier: "GetLogoUrlGetLogoUrlGetResponse",
|
|
516
|
+
}) as any as S.Schema<GetLogoUrlGetLogoUrlGetResponse>;
|
|
517
|
+
|
|
518
|
+
export interface GetMemoryDetailsDebugMemoryDetailsGetRequest {
|
|
519
|
+
/** Number of top object types to return */
|
|
520
|
+
top_n?: number;
|
|
521
|
+
/** Include process memory info */
|
|
522
|
+
include_process_info?: boolean;
|
|
523
|
+
}
|
|
524
|
+
export const GetMemoryDetailsDebugMemoryDetailsGetRequest =
|
|
525
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
526
|
+
S.Struct({
|
|
527
|
+
top_n: S.optional(S.Number.pipe(T.Query())),
|
|
528
|
+
include_process_info: S.optional(S.Boolean.pipe(T.Query())),
|
|
529
|
+
}).pipe(T.Http({ method: "GET", uri: "/debug/memory/details", code: 200 })),
|
|
530
|
+
).annotate({
|
|
531
|
+
identifier: "GetMemoryDetailsDebugMemoryDetailsGetRequest",
|
|
532
|
+
}) as any as S.Schema<GetMemoryDetailsDebugMemoryDetailsGetRequest>;
|
|
533
|
+
|
|
534
|
+
export type GetMemoryDetailsDebugMemoryDetailsGetResponseBodyMap = {
|
|
535
|
+
[key: string]: unknown | undefined;
|
|
536
|
+
};
|
|
537
|
+
export const GetMemoryDetailsDebugMemoryDetailsGetResponseBodyMap =
|
|
538
|
+
/*@__PURE__*/ S.Record(
|
|
539
|
+
S.String,
|
|
540
|
+
S.Unknown,
|
|
541
|
+
) as any as S.Schema<GetMemoryDetailsDebugMemoryDetailsGetResponseBodyMap>;
|
|
542
|
+
|
|
543
|
+
export interface GetMemoryDetailsDebugMemoryDetailsGetResponse {
|
|
544
|
+
body: GetMemoryDetailsDebugMemoryDetailsGetResponseBodyMap;
|
|
545
|
+
}
|
|
546
|
+
export const GetMemoryDetailsDebugMemoryDetailsGetResponse =
|
|
547
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
548
|
+
S.Struct({
|
|
549
|
+
body: GetMemoryDetailsDebugMemoryDetailsGetResponseBodyMap,
|
|
550
|
+
}),
|
|
551
|
+
).annotate({
|
|
552
|
+
identifier: "GetMemoryDetailsDebugMemoryDetailsGetResponse",
|
|
553
|
+
}) as any as S.Schema<GetMemoryDetailsDebugMemoryDetailsGetResponse>;
|
|
554
|
+
|
|
555
|
+
export interface GetMemorySummaryDebugMemorySummaryGetRequest {}
|
|
556
|
+
export const GetMemorySummaryDebugMemorySummaryGetRequest =
|
|
557
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
558
|
+
S.Struct({}).pipe(
|
|
559
|
+
T.Http({ method: "GET", uri: "/debug/memory/summary", code: 200 }),
|
|
560
|
+
),
|
|
561
|
+
).annotate({
|
|
562
|
+
identifier: "GetMemorySummaryDebugMemorySummaryGetRequest",
|
|
563
|
+
}) as any as S.Schema<GetMemorySummaryDebugMemorySummaryGetRequest>;
|
|
564
|
+
|
|
565
|
+
export type GetMemorySummaryDebugMemorySummaryGetResponseBodyMap = {
|
|
566
|
+
[key: string]: unknown | undefined;
|
|
567
|
+
};
|
|
568
|
+
export const GetMemorySummaryDebugMemorySummaryGetResponseBodyMap =
|
|
569
|
+
/*@__PURE__*/ S.Record(
|
|
570
|
+
S.String,
|
|
571
|
+
S.Unknown,
|
|
572
|
+
) as any as S.Schema<GetMemorySummaryDebugMemorySummaryGetResponseBodyMap>;
|
|
573
|
+
|
|
574
|
+
export interface GetMemorySummaryDebugMemorySummaryGetResponse {
|
|
575
|
+
body: GetMemorySummaryDebugMemorySummaryGetResponseBodyMap;
|
|
576
|
+
}
|
|
577
|
+
export const GetMemorySummaryDebugMemorySummaryGetResponse =
|
|
578
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
579
|
+
S.Struct({
|
|
580
|
+
body: GetMemorySummaryDebugMemorySummaryGetResponseBodyMap,
|
|
581
|
+
}),
|
|
582
|
+
).annotate({
|
|
583
|
+
identifier: "GetMemorySummaryDebugMemorySummaryGetResponse",
|
|
584
|
+
}) as any as S.Schema<GetMemorySummaryDebugMemorySummaryGetResponse>;
|
|
585
|
+
|
|
586
|
+
export interface GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest {}
|
|
587
|
+
export const GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest =
|
|
588
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
589
|
+
S.Struct({}).pipe(
|
|
590
|
+
T.Http({
|
|
591
|
+
method: "GET",
|
|
592
|
+
uri: "/memory-usage-in-mem-cache-items",
|
|
593
|
+
code: 200,
|
|
594
|
+
}),
|
|
595
|
+
),
|
|
596
|
+
).annotate({
|
|
597
|
+
identifier: "GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest",
|
|
598
|
+
}) as any as S.Schema<GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest>;
|
|
599
|
+
|
|
600
|
+
export interface GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse {
|
|
601
|
+
body: unknown;
|
|
602
|
+
}
|
|
603
|
+
export const GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse =
|
|
604
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
605
|
+
S.Struct({
|
|
606
|
+
body: S.Unknown,
|
|
607
|
+
}),
|
|
608
|
+
).annotate({
|
|
609
|
+
identifier:
|
|
610
|
+
"GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse",
|
|
611
|
+
}) as any as S.Schema<GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse>;
|
|
612
|
+
|
|
613
|
+
export interface GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest {}
|
|
614
|
+
export const GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest =
|
|
615
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
616
|
+
S.Struct({}).pipe(
|
|
617
|
+
T.Http({ method: "GET", uri: "/memory-usage-in-mem-cache", code: 200 }),
|
|
618
|
+
),
|
|
619
|
+
).annotate({
|
|
620
|
+
identifier: "GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest",
|
|
621
|
+
}) as any as S.Schema<GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest>;
|
|
622
|
+
|
|
623
|
+
export interface GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse {
|
|
624
|
+
body: unknown;
|
|
625
|
+
}
|
|
626
|
+
export const GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse =
|
|
627
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
628
|
+
S.Struct({
|
|
629
|
+
body: S.Unknown,
|
|
630
|
+
}),
|
|
631
|
+
).annotate({
|
|
632
|
+
identifier: "GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse",
|
|
633
|
+
}) as any as S.Schema<GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse>;
|
|
634
|
+
|
|
635
|
+
export interface GetOtelSpansOtelSpansGetRequest {}
|
|
636
|
+
export const GetOtelSpansOtelSpansGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
637
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/otel-spans", code: 200 })),
|
|
638
|
+
).annotate({
|
|
639
|
+
identifier: "GetOtelSpansOtelSpansGetRequest",
|
|
640
|
+
}) as any as S.Schema<GetOtelSpansOtelSpansGetRequest>;
|
|
641
|
+
|
|
642
|
+
export interface GetOtelSpansOtelSpansGetResponse {
|
|
643
|
+
body: unknown;
|
|
644
|
+
}
|
|
645
|
+
export const GetOtelSpansOtelSpansGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
646
|
+
S.Struct({
|
|
647
|
+
body: S.Unknown,
|
|
648
|
+
}),
|
|
649
|
+
).annotate({
|
|
650
|
+
identifier: "GetOtelSpansOtelSpansGetResponse",
|
|
651
|
+
}) as any as S.Schema<GetOtelSpansOtelSpansGetResponse>;
|
|
652
|
+
|
|
653
|
+
export interface GetPassThroughEndpointsConfigPassThroughEndpointGetRequest {
|
|
654
|
+
endpoint_id?: string;
|
|
655
|
+
team_id?: string;
|
|
656
|
+
}
|
|
657
|
+
export const GetPassThroughEndpointsConfigPassThroughEndpointGetRequest =
|
|
658
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
659
|
+
S.Struct({
|
|
660
|
+
endpoint_id: S.optional(S.String.pipe(T.Query())),
|
|
661
|
+
team_id: S.optional(S.String.pipe(T.Query())),
|
|
662
|
+
}).pipe(
|
|
663
|
+
T.Http({
|
|
664
|
+
method: "GET",
|
|
665
|
+
uri: "/config/pass_through_endpoint",
|
|
666
|
+
code: 200,
|
|
667
|
+
}),
|
|
668
|
+
),
|
|
669
|
+
).annotate({
|
|
670
|
+
identifier: "GetPassThroughEndpointsConfigPassThroughEndpointGetRequest",
|
|
671
|
+
}) as any as S.Schema<GetPassThroughEndpointsConfigPassThroughEndpointGetRequest>;
|
|
672
|
+
|
|
673
|
+
export interface GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest {
|
|
674
|
+
team_id: string;
|
|
675
|
+
endpoint_id?: string;
|
|
676
|
+
}
|
|
677
|
+
export const GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest =
|
|
678
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
679
|
+
S.Struct({
|
|
680
|
+
team_id: S.String.pipe(T.Label()),
|
|
681
|
+
endpoint_id: S.optional(S.String.pipe(T.Query())),
|
|
682
|
+
}).pipe(
|
|
683
|
+
T.Http({
|
|
684
|
+
method: "GET",
|
|
685
|
+
uri: "/config/pass_through_endpoint/team/{team_id}",
|
|
686
|
+
code: 200,
|
|
687
|
+
}),
|
|
688
|
+
),
|
|
689
|
+
).annotate({
|
|
690
|
+
identifier:
|
|
691
|
+
"GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest",
|
|
692
|
+
}) as any as S.Schema<GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest>;
|
|
693
|
+
|
|
694
|
+
export interface GetProviderBudgetsProviderBudgetRequest {}
|
|
695
|
+
export const GetProviderBudgetsProviderBudgetRequest = /*@__PURE__*/ S.suspend(
|
|
696
|
+
() =>
|
|
697
|
+
S.Struct({}).pipe(
|
|
698
|
+
T.Http({ method: "GET", uri: "/provider/budgets", code: 200 }),
|
|
699
|
+
),
|
|
700
|
+
).annotate({
|
|
701
|
+
identifier: "GetProviderBudgetsProviderBudgetRequest",
|
|
702
|
+
}) as any as S.Schema<GetProviderBudgetsProviderBudgetRequest>;
|
|
703
|
+
|
|
704
|
+
/** Configuration for a single provider's budget settings */
|
|
705
|
+
export interface ProviderBudgetResponseObject {
|
|
706
|
+
budget_limit: number | null;
|
|
707
|
+
budget_reset_at?: string | null;
|
|
708
|
+
spend?: number | null;
|
|
709
|
+
time_period: string | null;
|
|
710
|
+
}
|
|
711
|
+
export const ProviderBudgetResponseObject = /*@__PURE__*/ S.suspend(() =>
|
|
712
|
+
S.Struct({
|
|
713
|
+
budget_limit: S.NullOr(S.Number),
|
|
714
|
+
budget_reset_at: S.optional(S.NullOr(S.String)),
|
|
715
|
+
spend: S.optional(S.NullOr(S.Number)),
|
|
716
|
+
time_period: S.NullOr(S.String),
|
|
717
|
+
}),
|
|
718
|
+
).annotate({
|
|
719
|
+
identifier: "ProviderBudgetResponseObject",
|
|
720
|
+
}) as any as S.Schema<ProviderBudgetResponseObject>;
|
|
721
|
+
|
|
722
|
+
export type ProviderBudgetResponseProvidersMap = {
|
|
723
|
+
[key: string]: ProviderBudgetResponseObject | undefined;
|
|
724
|
+
};
|
|
725
|
+
export const ProviderBudgetResponseProvidersMap = /*@__PURE__*/ S.Record(
|
|
726
|
+
S.String,
|
|
727
|
+
ProviderBudgetResponseObject,
|
|
728
|
+
) as any as S.Schema<ProviderBudgetResponseProvidersMap>;
|
|
729
|
+
|
|
730
|
+
/** Complete provider budget configuration and status. Maps provider names to their budget configs. */
|
|
731
|
+
export interface ProviderBudgetResponse {
|
|
732
|
+
providers?: ProviderBudgetResponseProvidersMap;
|
|
733
|
+
}
|
|
734
|
+
export const ProviderBudgetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
735
|
+
S.Struct({
|
|
736
|
+
providers: S.optional(ProviderBudgetResponseProvidersMap),
|
|
737
|
+
}),
|
|
738
|
+
).annotate({
|
|
739
|
+
identifier: "ProviderBudgetResponse",
|
|
740
|
+
}) as any as S.Schema<ProviderBudgetResponse>;
|
|
741
|
+
|
|
742
|
+
export interface GetRobotsRobotsTxtGetRequest {}
|
|
743
|
+
export const GetRobotsRobotsTxtGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
744
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/robots.txt", code: 200 })),
|
|
745
|
+
).annotate({
|
|
746
|
+
identifier: "GetRobotsRobotsTxtGetRequest",
|
|
747
|
+
}) as any as S.Schema<GetRobotsRobotsTxtGetRequest>;
|
|
748
|
+
|
|
749
|
+
export interface GetRobotsRobotsTxtGetResponse {
|
|
750
|
+
body: unknown;
|
|
751
|
+
}
|
|
752
|
+
export const GetRobotsRobotsTxtGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
753
|
+
S.Struct({
|
|
754
|
+
body: S.Unknown,
|
|
755
|
+
}),
|
|
756
|
+
).annotate({
|
|
757
|
+
identifier: "GetRobotsRobotsTxtGetResponse",
|
|
758
|
+
}) as any as S.Schema<GetRobotsRobotsTxtGetResponse>;
|
|
759
|
+
|
|
760
|
+
export interface GetRoutesRoutesGetRequest {}
|
|
761
|
+
export const GetRoutesRoutesGetRequest = /*@__PURE__*/ S.suspend(() =>
|
|
762
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/routes", code: 200 })),
|
|
763
|
+
).annotate({
|
|
764
|
+
identifier: "GetRoutesRoutesGetRequest",
|
|
765
|
+
}) as any as S.Schema<GetRoutesRoutesGetRequest>;
|
|
766
|
+
|
|
767
|
+
export interface GetRoutesRoutesGetResponse {
|
|
768
|
+
body: unknown;
|
|
769
|
+
}
|
|
770
|
+
export const GetRoutesRoutesGetResponse = /*@__PURE__*/ S.suspend(() =>
|
|
771
|
+
S.Struct({
|
|
772
|
+
body: S.Unknown,
|
|
773
|
+
}),
|
|
774
|
+
).annotate({
|
|
775
|
+
identifier: "GetRoutesRoutesGetResponse",
|
|
776
|
+
}) as any as S.Schema<GetRoutesRoutesGetResponse>;
|
|
777
|
+
|
|
778
|
+
export interface GetToolsetMcpRouteToolsetToolsetNameMcpRequest {
|
|
779
|
+
toolset_name: string;
|
|
780
|
+
}
|
|
781
|
+
export const GetToolsetMcpRouteToolsetToolsetNameMcpRequest =
|
|
782
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
783
|
+
S.Struct({
|
|
784
|
+
toolset_name: S.String.pipe(T.Label()),
|
|
785
|
+
}).pipe(
|
|
786
|
+
T.Http({ method: "GET", uri: "/toolset/{toolset_name}/mcp", code: 200 }),
|
|
787
|
+
),
|
|
788
|
+
).annotate({
|
|
789
|
+
identifier: "GetToolsetMcpRouteToolsetToolsetNameMcpRequest",
|
|
790
|
+
}) as any as S.Schema<GetToolsetMcpRouteToolsetToolsetNameMcpRequest>;
|
|
791
|
+
|
|
792
|
+
export interface GetToolsetMcpRouteToolsetToolsetNameMcpResponse {
|
|
793
|
+
body: unknown;
|
|
794
|
+
}
|
|
795
|
+
export const GetToolsetMcpRouteToolsetToolsetNameMcpResponse =
|
|
796
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
797
|
+
S.Struct({
|
|
798
|
+
body: S.Unknown,
|
|
799
|
+
}),
|
|
800
|
+
).annotate({
|
|
801
|
+
identifier: "GetToolsetMcpRouteToolsetToolsetNameMcpResponse",
|
|
802
|
+
}) as any as S.Schema<GetToolsetMcpRouteToolsetToolsetNameMcpResponse>;
|
|
803
|
+
|
|
804
|
+
export interface GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest {}
|
|
805
|
+
export const GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest =
|
|
806
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
807
|
+
S.Struct({}).pipe(
|
|
808
|
+
T.Http({
|
|
809
|
+
method: "GET",
|
|
810
|
+
uri: "/litellm/.well-known/litellm-ui-config",
|
|
811
|
+
code: 200,
|
|
812
|
+
}),
|
|
813
|
+
),
|
|
814
|
+
).annotate({
|
|
815
|
+
identifier: "GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest",
|
|
816
|
+
}) as any as S.Schema<GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest>;
|
|
817
|
+
|
|
818
|
+
export interface WorkerRegistryEntry {
|
|
819
|
+
name: string;
|
|
820
|
+
url: string;
|
|
821
|
+
worker_id: string;
|
|
822
|
+
}
|
|
823
|
+
export const WorkerRegistryEntry = /*@__PURE__*/ S.suspend(() =>
|
|
824
|
+
S.Struct({
|
|
825
|
+
name: S.String,
|
|
826
|
+
url: S.String,
|
|
827
|
+
worker_id: S.String,
|
|
828
|
+
}),
|
|
829
|
+
).annotate({
|
|
830
|
+
identifier: "WorkerRegistryEntry",
|
|
831
|
+
}) as any as S.Schema<WorkerRegistryEntry>;
|
|
832
|
+
|
|
833
|
+
export type UiDiscoveryEndpointsWorkersList = Array<WorkerRegistryEntry>;
|
|
834
|
+
export const UiDiscoveryEndpointsWorkersList = /*@__PURE__*/ S.Array(
|
|
835
|
+
WorkerRegistryEntry,
|
|
836
|
+
) as any as S.Schema<UiDiscoveryEndpointsWorkersList>;
|
|
837
|
+
|
|
838
|
+
export interface UiDiscoveryEndpoints {
|
|
839
|
+
admin_ui_disabled: boolean;
|
|
840
|
+
auto_redirect_to_sso: boolean;
|
|
841
|
+
hide_default_credentials_hint?: boolean;
|
|
842
|
+
is_control_plane?: boolean;
|
|
843
|
+
proxy_base_url: string | null;
|
|
844
|
+
server_root_path: string;
|
|
845
|
+
sso_configured: boolean;
|
|
846
|
+
workers?: UiDiscoveryEndpointsWorkersList;
|
|
847
|
+
}
|
|
848
|
+
export const UiDiscoveryEndpoints = /*@__PURE__*/ S.suspend(() =>
|
|
849
|
+
S.Struct({
|
|
850
|
+
admin_ui_disabled: S.Boolean,
|
|
851
|
+
auto_redirect_to_sso: S.Boolean,
|
|
852
|
+
hide_default_credentials_hint: S.optional(S.Boolean),
|
|
853
|
+
is_control_plane: S.optional(S.Boolean),
|
|
854
|
+
proxy_base_url: S.NullOr(S.String),
|
|
855
|
+
server_root_path: S.String,
|
|
856
|
+
sso_configured: S.Boolean,
|
|
857
|
+
workers: S.optional(UiDiscoveryEndpointsWorkersList),
|
|
858
|
+
}),
|
|
859
|
+
).annotate({
|
|
860
|
+
identifier: "UiDiscoveryEndpoints",
|
|
861
|
+
}) as any as S.Schema<UiDiscoveryEndpoints>;
|
|
862
|
+
|
|
863
|
+
export interface GetUiConfigWellKnownLitellmUiConfigGetRequest {}
|
|
864
|
+
export const GetUiConfigWellKnownLitellmUiConfigGetRequest =
|
|
865
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
866
|
+
S.Struct({}).pipe(
|
|
867
|
+
T.Http({
|
|
868
|
+
method: "GET",
|
|
869
|
+
uri: "/.well-known/litellm-ui-config",
|
|
870
|
+
code: 200,
|
|
871
|
+
}),
|
|
872
|
+
),
|
|
873
|
+
).annotate({
|
|
874
|
+
identifier: "GetUiConfigWellKnownLitellmUiConfigGetRequest",
|
|
875
|
+
}) as any as S.Schema<GetUiConfigWellKnownLitellmUiConfigGetRequest>;
|
|
876
|
+
|
|
877
|
+
export interface ListAvailableTeamsTeamAvailableGetRequest {
|
|
878
|
+
response_model?: unknown;
|
|
879
|
+
}
|
|
880
|
+
export const ListAvailableTeamsTeamAvailableGetRequest =
|
|
881
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
882
|
+
S.Struct({
|
|
883
|
+
response_model: S.optional(S.Unknown.pipe(T.Query())),
|
|
884
|
+
}).pipe(T.Http({ method: "GET", uri: "/team/available", code: 200 })),
|
|
885
|
+
).annotate({
|
|
886
|
+
identifier: "ListAvailableTeamsTeamAvailableGetRequest",
|
|
887
|
+
}) as any as S.Schema<ListAvailableTeamsTeamAvailableGetRequest>;
|
|
888
|
+
|
|
889
|
+
export interface ListAvailableTeamsTeamAvailableGetResponse {
|
|
890
|
+
body: unknown;
|
|
891
|
+
}
|
|
892
|
+
export const ListAvailableTeamsTeamAvailableGetResponse =
|
|
893
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
894
|
+
S.Struct({
|
|
895
|
+
body: S.Unknown,
|
|
896
|
+
}),
|
|
897
|
+
).annotate({
|
|
898
|
+
identifier: "ListAvailableTeamsTeamAvailableGetResponse",
|
|
899
|
+
}) as any as S.Schema<ListAvailableTeamsTeamAvailableGetResponse>;
|
|
900
|
+
|
|
901
|
+
export interface OnboardingOnboardingGetTokenGetRequest {
|
|
902
|
+
invite_link: string;
|
|
903
|
+
}
|
|
904
|
+
export const OnboardingOnboardingGetTokenGetRequest = /*@__PURE__*/ S.suspend(
|
|
905
|
+
() =>
|
|
906
|
+
S.Struct({
|
|
907
|
+
invite_link: S.String.pipe(T.Query()),
|
|
908
|
+
}).pipe(T.Http({ method: "GET", uri: "/onboarding/get_token", code: 200 })),
|
|
909
|
+
).annotate({
|
|
910
|
+
identifier: "OnboardingOnboardingGetTokenGetRequest",
|
|
911
|
+
}) as any as S.Schema<OnboardingOnboardingGetTokenGetRequest>;
|
|
912
|
+
|
|
913
|
+
export interface OnboardingOnboardingGetTokenGetResponse {
|
|
914
|
+
body: unknown;
|
|
915
|
+
}
|
|
916
|
+
export const OnboardingOnboardingGetTokenGetResponse = /*@__PURE__*/ S.suspend(
|
|
917
|
+
() =>
|
|
918
|
+
S.Struct({
|
|
919
|
+
body: S.Unknown,
|
|
920
|
+
}),
|
|
921
|
+
).annotate({
|
|
922
|
+
identifier: "OnboardingOnboardingGetTokenGetResponse",
|
|
923
|
+
}) as any as S.Schema<OnboardingOnboardingGetTokenGetResponse>;
|
|
924
|
+
|
|
925
|
+
export interface PatchAggregateMcpRouteMcpRequest {}
|
|
926
|
+
export const PatchAggregateMcpRouteMcpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
927
|
+
S.Struct({}).pipe(T.Http({ method: "PATCH", uri: "/mcp", code: 200 })),
|
|
928
|
+
).annotate({
|
|
929
|
+
identifier: "PatchAggregateMcpRouteMcpRequest",
|
|
930
|
+
}) as any as S.Schema<PatchAggregateMcpRouteMcpRequest>;
|
|
931
|
+
|
|
932
|
+
export interface PatchAggregateMcpRouteMcpResponse {
|
|
933
|
+
body: unknown;
|
|
934
|
+
}
|
|
935
|
+
export const PatchAggregateMcpRouteMcpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
936
|
+
S.Struct({
|
|
937
|
+
body: S.Unknown,
|
|
938
|
+
}),
|
|
939
|
+
).annotate({
|
|
940
|
+
identifier: "PatchAggregateMcpRouteMcpResponse",
|
|
941
|
+
}) as any as S.Schema<PatchAggregateMcpRouteMcpResponse>;
|
|
942
|
+
|
|
943
|
+
export interface PatchDynamicMcpRouteMcpServerNameMcpRequest {
|
|
944
|
+
mcp_server_name: string;
|
|
945
|
+
}
|
|
946
|
+
export const PatchDynamicMcpRouteMcpServerNameMcpRequest =
|
|
947
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
948
|
+
S.Struct({
|
|
949
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
950
|
+
}).pipe(
|
|
951
|
+
T.Http({ method: "PATCH", uri: "/{mcp_server_name}/mcp", code: 200 }),
|
|
952
|
+
),
|
|
953
|
+
).annotate({
|
|
954
|
+
identifier: "PatchDynamicMcpRouteMcpServerNameMcpRequest",
|
|
955
|
+
}) as any as S.Schema<PatchDynamicMcpRouteMcpServerNameMcpRequest>;
|
|
956
|
+
|
|
957
|
+
export interface PatchDynamicMcpRouteMcpServerNameMcpResponse {
|
|
958
|
+
body: unknown;
|
|
959
|
+
}
|
|
960
|
+
export const PatchDynamicMcpRouteMcpServerNameMcpResponse =
|
|
961
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
962
|
+
S.Struct({
|
|
963
|
+
body: S.Unknown,
|
|
964
|
+
}),
|
|
965
|
+
).annotate({
|
|
966
|
+
identifier: "PatchDynamicMcpRouteMcpServerNameMcpResponse",
|
|
967
|
+
}) as any as S.Schema<PatchDynamicMcpRouteMcpServerNameMcpResponse>;
|
|
968
|
+
|
|
969
|
+
export interface PatchToolsetMcpRouteToolsetToolsetNameMcpRequest {
|
|
970
|
+
toolset_name: string;
|
|
971
|
+
}
|
|
972
|
+
export const PatchToolsetMcpRouteToolsetToolsetNameMcpRequest =
|
|
973
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
974
|
+
S.Struct({
|
|
975
|
+
toolset_name: S.String.pipe(T.Label()),
|
|
976
|
+
}).pipe(
|
|
977
|
+
T.Http({
|
|
978
|
+
method: "PATCH",
|
|
979
|
+
uri: "/toolset/{toolset_name}/mcp",
|
|
980
|
+
code: 200,
|
|
981
|
+
}),
|
|
982
|
+
),
|
|
983
|
+
).annotate({
|
|
984
|
+
identifier: "PatchToolsetMcpRouteToolsetToolsetNameMcpRequest",
|
|
985
|
+
}) as any as S.Schema<PatchToolsetMcpRouteToolsetToolsetNameMcpRequest>;
|
|
986
|
+
|
|
987
|
+
export interface PatchToolsetMcpRouteToolsetToolsetNameMcpResponse {
|
|
988
|
+
body: unknown;
|
|
989
|
+
}
|
|
990
|
+
export const PatchToolsetMcpRouteToolsetToolsetNameMcpResponse =
|
|
991
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
992
|
+
S.Struct({
|
|
993
|
+
body: S.Unknown,
|
|
994
|
+
}),
|
|
995
|
+
).annotate({
|
|
996
|
+
identifier: "PatchToolsetMcpRouteToolsetToolsetNameMcpResponse",
|
|
997
|
+
}) as any as S.Schema<PatchToolsetMcpRouteToolsetToolsetNameMcpResponse>;
|
|
998
|
+
|
|
999
|
+
export interface PostAggregateMcpRouteMcpRequest {}
|
|
1000
|
+
export const PostAggregateMcpRouteMcpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1001
|
+
S.Struct({}).pipe(T.Http({ method: "POST", uri: "/mcp", code: 200 })),
|
|
1002
|
+
).annotate({
|
|
1003
|
+
identifier: "PostAggregateMcpRouteMcpRequest",
|
|
1004
|
+
}) as any as S.Schema<PostAggregateMcpRouteMcpRequest>;
|
|
1005
|
+
|
|
1006
|
+
export interface PostAggregateMcpRouteMcpResponse {
|
|
1007
|
+
body: unknown;
|
|
1008
|
+
}
|
|
1009
|
+
export const PostAggregateMcpRouteMcpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1010
|
+
S.Struct({
|
|
1011
|
+
body: S.Unknown,
|
|
1012
|
+
}),
|
|
1013
|
+
).annotate({
|
|
1014
|
+
identifier: "PostAggregateMcpRouteMcpResponse",
|
|
1015
|
+
}) as any as S.Schema<PostAggregateMcpRouteMcpResponse>;
|
|
1016
|
+
|
|
1017
|
+
export interface PostClaimOnboardingLinkOnboardingClaimTokenRequest {
|
|
1018
|
+
invitation_link: string;
|
|
1019
|
+
password: string | Redacted.Redacted<string>;
|
|
1020
|
+
user_id: string;
|
|
1021
|
+
}
|
|
1022
|
+
export const PostClaimOnboardingLinkOnboardingClaimTokenRequest =
|
|
1023
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1024
|
+
S.Struct({
|
|
1025
|
+
invitation_link: S.String,
|
|
1026
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
1027
|
+
user_id: S.String,
|
|
1028
|
+
}).pipe(
|
|
1029
|
+
T.Http({ method: "POST", uri: "/onboarding/claim_token", code: 200 }),
|
|
1030
|
+
),
|
|
1031
|
+
).annotate({
|
|
1032
|
+
identifier: "PostClaimOnboardingLinkOnboardingClaimTokenRequest",
|
|
1033
|
+
}) as any as S.Schema<PostClaimOnboardingLinkOnboardingClaimTokenRequest>;
|
|
1034
|
+
|
|
1035
|
+
export interface PostClaimOnboardingLinkOnboardingClaimTokenResponse {
|
|
1036
|
+
body: unknown;
|
|
1037
|
+
}
|
|
1038
|
+
export const PostClaimOnboardingLinkOnboardingClaimTokenResponse =
|
|
1039
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1040
|
+
S.Struct({
|
|
1041
|
+
body: S.Unknown,
|
|
1042
|
+
}),
|
|
1043
|
+
).annotate({
|
|
1044
|
+
identifier: "PostClaimOnboardingLinkOnboardingClaimTokenResponse",
|
|
1045
|
+
}) as any as S.Schema<PostClaimOnboardingLinkOnboardingClaimTokenResponse>;
|
|
1046
|
+
|
|
1047
|
+
export interface PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest {
|
|
1048
|
+
/** Generation 0 threshold (default: 700) */
|
|
1049
|
+
generation_0?: number;
|
|
1050
|
+
/** Generation 1 threshold (default: 10) */
|
|
1051
|
+
generation_1?: number;
|
|
1052
|
+
/** Generation 2 threshold (default: 10) */
|
|
1053
|
+
generation_2?: number;
|
|
1054
|
+
}
|
|
1055
|
+
export const PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest =
|
|
1056
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1057
|
+
S.Struct({
|
|
1058
|
+
generation_0: S.optional(S.Number.pipe(T.Query())),
|
|
1059
|
+
generation_1: S.optional(S.Number.pipe(T.Query())),
|
|
1060
|
+
generation_2: S.optional(S.Number.pipe(T.Query())),
|
|
1061
|
+
}).pipe(
|
|
1062
|
+
T.Http({ method: "POST", uri: "/debug/memory/gc/configure", code: 200 }),
|
|
1063
|
+
),
|
|
1064
|
+
).annotate({
|
|
1065
|
+
identifier:
|
|
1066
|
+
"PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest",
|
|
1067
|
+
}) as any as S.Schema<PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest>;
|
|
1068
|
+
|
|
1069
|
+
export type PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponseBodyMap =
|
|
1070
|
+
{ [key: string]: unknown | undefined };
|
|
1071
|
+
export const PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponseBodyMap =
|
|
1072
|
+
/*@__PURE__*/ S.Record(
|
|
1073
|
+
S.String,
|
|
1074
|
+
S.Unknown,
|
|
1075
|
+
) as any as S.Schema<PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponseBodyMap>;
|
|
1076
|
+
|
|
1077
|
+
export interface PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse {
|
|
1078
|
+
body: PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponseBodyMap;
|
|
1079
|
+
}
|
|
1080
|
+
export const PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse =
|
|
1081
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1082
|
+
S.Struct({
|
|
1083
|
+
body: PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponseBodyMap,
|
|
1084
|
+
}),
|
|
1085
|
+
).annotate({
|
|
1086
|
+
identifier:
|
|
1087
|
+
"PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse",
|
|
1088
|
+
}) as any as S.Schema<PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse>;
|
|
1089
|
+
|
|
1090
|
+
export interface PostDynamicMcpRouteMcpServerNameMcpRequest {
|
|
1091
|
+
mcp_server_name: string;
|
|
1092
|
+
}
|
|
1093
|
+
export const PostDynamicMcpRouteMcpServerNameMcpRequest =
|
|
1094
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1095
|
+
S.Struct({
|
|
1096
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
1097
|
+
}).pipe(
|
|
1098
|
+
T.Http({ method: "POST", uri: "/{mcp_server_name}/mcp", code: 200 }),
|
|
1099
|
+
),
|
|
1100
|
+
).annotate({
|
|
1101
|
+
identifier: "PostDynamicMcpRouteMcpServerNameMcpRequest",
|
|
1102
|
+
}) as any as S.Schema<PostDynamicMcpRouteMcpServerNameMcpRequest>;
|
|
1103
|
+
|
|
1104
|
+
export interface PostDynamicMcpRouteMcpServerNameMcpResponse {
|
|
1105
|
+
body: unknown;
|
|
1106
|
+
}
|
|
1107
|
+
export const PostDynamicMcpRouteMcpServerNameMcpResponse =
|
|
1108
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1109
|
+
S.Struct({
|
|
1110
|
+
body: S.Unknown,
|
|
1111
|
+
}),
|
|
1112
|
+
).annotate({
|
|
1113
|
+
identifier: "PostDynamicMcpRouteMcpServerNameMcpResponse",
|
|
1114
|
+
}) as any as S.Schema<PostDynamicMcpRouteMcpServerNameMcpResponse>;
|
|
1115
|
+
|
|
1116
|
+
export interface PostLoginLoginRequest {}
|
|
1117
|
+
export const PostLoginLoginRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1118
|
+
S.Struct({}).pipe(T.Http({ method: "POST", uri: "/login", code: 200 })),
|
|
1119
|
+
).annotate({
|
|
1120
|
+
identifier: "PostLoginLoginRequest",
|
|
1121
|
+
}) as any as S.Schema<PostLoginLoginRequest>;
|
|
1122
|
+
|
|
1123
|
+
export interface PostLoginLoginResponse {
|
|
1124
|
+
body: unknown;
|
|
1125
|
+
}
|
|
1126
|
+
export const PostLoginLoginResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1127
|
+
S.Struct({
|
|
1128
|
+
body: S.Unknown,
|
|
1129
|
+
}),
|
|
1130
|
+
).annotate({
|
|
1131
|
+
identifier: "PostLoginLoginResponse",
|
|
1132
|
+
}) as any as S.Schema<PostLoginLoginResponse>;
|
|
1133
|
+
|
|
1134
|
+
export interface PostLoginV2V2LoginRequest {}
|
|
1135
|
+
export const PostLoginV2V2LoginRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1136
|
+
S.Struct({}).pipe(T.Http({ method: "POST", uri: "/v2/login", code: 200 })),
|
|
1137
|
+
).annotate({
|
|
1138
|
+
identifier: "PostLoginV2V2LoginRequest",
|
|
1139
|
+
}) as any as S.Schema<PostLoginV2V2LoginRequest>;
|
|
1140
|
+
|
|
1141
|
+
export interface PostLoginV2V2LoginResponse {
|
|
1142
|
+
body: unknown;
|
|
1143
|
+
}
|
|
1144
|
+
export const PostLoginV2V2LoginResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1145
|
+
S.Struct({
|
|
1146
|
+
body: S.Unknown,
|
|
1147
|
+
}),
|
|
1148
|
+
).annotate({
|
|
1149
|
+
identifier: "PostLoginV2V2LoginResponse",
|
|
1150
|
+
}) as any as S.Schema<PostLoginV2V2LoginResponse>;
|
|
1151
|
+
|
|
1152
|
+
export interface PostLoginV3ExchangeV3LoginExchangeRequest {}
|
|
1153
|
+
export const PostLoginV3ExchangeV3LoginExchangeRequest =
|
|
1154
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1155
|
+
S.Struct({}).pipe(
|
|
1156
|
+
T.Http({ method: "POST", uri: "/v3/login/exchange", code: 200 }),
|
|
1157
|
+
),
|
|
1158
|
+
).annotate({
|
|
1159
|
+
identifier: "PostLoginV3ExchangeV3LoginExchangeRequest",
|
|
1160
|
+
}) as any as S.Schema<PostLoginV3ExchangeV3LoginExchangeRequest>;
|
|
1161
|
+
|
|
1162
|
+
export interface PostLoginV3ExchangeV3LoginExchangeResponse {
|
|
1163
|
+
body: unknown;
|
|
1164
|
+
}
|
|
1165
|
+
export const PostLoginV3ExchangeV3LoginExchangeResponse =
|
|
1166
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1167
|
+
S.Struct({
|
|
1168
|
+
body: S.Unknown,
|
|
1169
|
+
}),
|
|
1170
|
+
).annotate({
|
|
1171
|
+
identifier: "PostLoginV3ExchangeV3LoginExchangeResponse",
|
|
1172
|
+
}) as any as S.Schema<PostLoginV3ExchangeV3LoginExchangeResponse>;
|
|
1173
|
+
|
|
1174
|
+
export interface PostLoginV3V3LoginRequest {}
|
|
1175
|
+
export const PostLoginV3V3LoginRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1176
|
+
S.Struct({}).pipe(T.Http({ method: "POST", uri: "/v3/login", code: 200 })),
|
|
1177
|
+
).annotate({
|
|
1178
|
+
identifier: "PostLoginV3V3LoginRequest",
|
|
1179
|
+
}) as any as S.Schema<PostLoginV3V3LoginRequest>;
|
|
1180
|
+
|
|
1181
|
+
export interface PostLoginV3V3LoginResponse {
|
|
1182
|
+
body: unknown;
|
|
1183
|
+
}
|
|
1184
|
+
export const PostLoginV3V3LoginResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1185
|
+
S.Struct({
|
|
1186
|
+
body: S.Unknown,
|
|
1187
|
+
}),
|
|
1188
|
+
).annotate({
|
|
1189
|
+
identifier: "PostLoginV3V3LoginResponse",
|
|
1190
|
+
}) as any as S.Schema<PostLoginV3V3LoginResponse>;
|
|
1191
|
+
|
|
1192
|
+
export interface PostToolsetMcpRouteToolsetToolsetNameMcpRequest {
|
|
1193
|
+
toolset_name: string;
|
|
1194
|
+
}
|
|
1195
|
+
export const PostToolsetMcpRouteToolsetToolsetNameMcpRequest =
|
|
1196
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1197
|
+
S.Struct({
|
|
1198
|
+
toolset_name: S.String.pipe(T.Label()),
|
|
1199
|
+
}).pipe(
|
|
1200
|
+
T.Http({ method: "POST", uri: "/toolset/{toolset_name}/mcp", code: 200 }),
|
|
1201
|
+
),
|
|
1202
|
+
).annotate({
|
|
1203
|
+
identifier: "PostToolsetMcpRouteToolsetToolsetNameMcpRequest",
|
|
1204
|
+
}) as any as S.Schema<PostToolsetMcpRouteToolsetToolsetNameMcpRequest>;
|
|
1205
|
+
|
|
1206
|
+
export interface PostToolsetMcpRouteToolsetToolsetNameMcpResponse {
|
|
1207
|
+
body: unknown;
|
|
1208
|
+
}
|
|
1209
|
+
export const PostToolsetMcpRouteToolsetToolsetNameMcpResponse =
|
|
1210
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1211
|
+
S.Struct({
|
|
1212
|
+
body: S.Unknown,
|
|
1213
|
+
}),
|
|
1214
|
+
).annotate({
|
|
1215
|
+
identifier: "PostToolsetMcpRouteToolsetToolsetNameMcpResponse",
|
|
1216
|
+
}) as any as S.Schema<PostToolsetMcpRouteToolsetToolsetNameMcpResponse>;
|
|
1217
|
+
|
|
1218
|
+
export interface PostWarmLazyWarmNameRequest {
|
|
1219
|
+
name: string;
|
|
1220
|
+
}
|
|
1221
|
+
export const PostWarmLazyWarmNameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1222
|
+
S.Struct({
|
|
1223
|
+
name: S.String.pipe(T.Label()),
|
|
1224
|
+
}).pipe(T.Http({ method: "POST", uri: "/lazy/warm/{name}", code: 200 })),
|
|
1225
|
+
).annotate({
|
|
1226
|
+
identifier: "PostWarmLazyWarmNameRequest",
|
|
1227
|
+
}) as any as S.Schema<PostWarmLazyWarmNameRequest>;
|
|
1228
|
+
|
|
1229
|
+
export interface PostWarmLazyWarmNameResponse {
|
|
1230
|
+
body: unknown;
|
|
1231
|
+
}
|
|
1232
|
+
export const PostWarmLazyWarmNameResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1233
|
+
S.Struct({
|
|
1234
|
+
body: S.Unknown,
|
|
1235
|
+
}),
|
|
1236
|
+
).annotate({
|
|
1237
|
+
identifier: "PostWarmLazyWarmNameResponse",
|
|
1238
|
+
}) as any as S.Schema<PostWarmLazyWarmNameResponse>;
|
|
1239
|
+
|
|
1240
|
+
export interface PutAggregateMcpRouteMcpRequest {}
|
|
1241
|
+
export const PutAggregateMcpRouteMcpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1242
|
+
S.Struct({}).pipe(T.Http({ method: "PUT", uri: "/mcp", code: 200 })),
|
|
1243
|
+
).annotate({
|
|
1244
|
+
identifier: "PutAggregateMcpRouteMcpRequest",
|
|
1245
|
+
}) as any as S.Schema<PutAggregateMcpRouteMcpRequest>;
|
|
1246
|
+
|
|
1247
|
+
export interface PutAggregateMcpRouteMcpResponse {
|
|
1248
|
+
body: unknown;
|
|
1249
|
+
}
|
|
1250
|
+
export const PutAggregateMcpRouteMcpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1251
|
+
S.Struct({
|
|
1252
|
+
body: S.Unknown,
|
|
1253
|
+
}),
|
|
1254
|
+
).annotate({
|
|
1255
|
+
identifier: "PutAggregateMcpRouteMcpResponse",
|
|
1256
|
+
}) as any as S.Schema<PutAggregateMcpRouteMcpResponse>;
|
|
1257
|
+
|
|
1258
|
+
export interface PutDynamicMcpRouteMcpServerNameMcpRequest {
|
|
1259
|
+
mcp_server_name: string;
|
|
1260
|
+
}
|
|
1261
|
+
export const PutDynamicMcpRouteMcpServerNameMcpRequest =
|
|
1262
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1263
|
+
S.Struct({
|
|
1264
|
+
mcp_server_name: S.String.pipe(T.Label()),
|
|
1265
|
+
}).pipe(
|
|
1266
|
+
T.Http({ method: "PUT", uri: "/{mcp_server_name}/mcp", code: 200 }),
|
|
1267
|
+
),
|
|
1268
|
+
).annotate({
|
|
1269
|
+
identifier: "PutDynamicMcpRouteMcpServerNameMcpRequest",
|
|
1270
|
+
}) as any as S.Schema<PutDynamicMcpRouteMcpServerNameMcpRequest>;
|
|
1271
|
+
|
|
1272
|
+
export interface PutDynamicMcpRouteMcpServerNameMcpResponse {
|
|
1273
|
+
body: unknown;
|
|
1274
|
+
}
|
|
1275
|
+
export const PutDynamicMcpRouteMcpServerNameMcpResponse =
|
|
1276
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1277
|
+
S.Struct({
|
|
1278
|
+
body: S.Unknown,
|
|
1279
|
+
}),
|
|
1280
|
+
).annotate({
|
|
1281
|
+
identifier: "PutDynamicMcpRouteMcpServerNameMcpResponse",
|
|
1282
|
+
}) as any as S.Schema<PutDynamicMcpRouteMcpServerNameMcpResponse>;
|
|
1283
|
+
|
|
1284
|
+
export interface PutToolsetMcpRouteToolsetToolsetNameMcpRequest {
|
|
1285
|
+
toolset_name: string;
|
|
1286
|
+
}
|
|
1287
|
+
export const PutToolsetMcpRouteToolsetToolsetNameMcpRequest =
|
|
1288
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1289
|
+
S.Struct({
|
|
1290
|
+
toolset_name: S.String.pipe(T.Label()),
|
|
1291
|
+
}).pipe(
|
|
1292
|
+
T.Http({ method: "PUT", uri: "/toolset/{toolset_name}/mcp", code: 200 }),
|
|
1293
|
+
),
|
|
1294
|
+
).annotate({
|
|
1295
|
+
identifier: "PutToolsetMcpRouteToolsetToolsetNameMcpRequest",
|
|
1296
|
+
}) as any as S.Schema<PutToolsetMcpRouteToolsetToolsetNameMcpRequest>;
|
|
1297
|
+
|
|
1298
|
+
export interface PutToolsetMcpRouteToolsetToolsetNameMcpResponse {
|
|
1299
|
+
body: unknown;
|
|
1300
|
+
}
|
|
1301
|
+
export const PutToolsetMcpRouteToolsetToolsetNameMcpResponse =
|
|
1302
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1303
|
+
S.Struct({
|
|
1304
|
+
body: S.Unknown,
|
|
1305
|
+
}),
|
|
1306
|
+
).annotate({
|
|
1307
|
+
identifier: "PutToolsetMcpRouteToolsetToolsetNameMcpResponse",
|
|
1308
|
+
}) as any as S.Schema<PutToolsetMcpRouteToolsetToolsetNameMcpResponse>;
|
|
1309
|
+
|
|
1310
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
1311
|
+
export type UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestDefaultQueryParamsMap =
|
|
1312
|
+
{ [key: string]: unknown | undefined };
|
|
1313
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestDefaultQueryParamsMap =
|
|
1314
|
+
/*@__PURE__*/ S.Record(
|
|
1315
|
+
S.String,
|
|
1316
|
+
S.Unknown,
|
|
1317
|
+
) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestDefaultQueryParamsMap>;
|
|
1318
|
+
|
|
1319
|
+
export type UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestGuardrailsMap =
|
|
1320
|
+
{ [key: string]: PassThroughGuardrailSettings | null | undefined };
|
|
1321
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestGuardrailsMap =
|
|
1322
|
+
/*@__PURE__*/ S.Record(
|
|
1323
|
+
S.String,
|
|
1324
|
+
S.NullOr(PassThroughGuardrailSettings),
|
|
1325
|
+
) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestGuardrailsMap>;
|
|
1326
|
+
|
|
1327
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
1328
|
+
export type UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestHeadersMap =
|
|
1329
|
+
{ [key: string]: unknown | undefined };
|
|
1330
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestHeadersMap =
|
|
1331
|
+
/*@__PURE__*/ S.Record(
|
|
1332
|
+
S.String,
|
|
1333
|
+
S.Unknown,
|
|
1334
|
+
) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestHeadersMap>;
|
|
1335
|
+
|
|
1336
|
+
export type UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestMethodsList =
|
|
1337
|
+
Array<string>;
|
|
1338
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestMethodsList =
|
|
1339
|
+
/*@__PURE__*/ S.Array(
|
|
1340
|
+
S.String,
|
|
1341
|
+
) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestMethodsList>;
|
|
1342
|
+
|
|
1343
|
+
export interface UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest {
|
|
1344
|
+
endpoint_id: string;
|
|
1345
|
+
/** Whether authentication is required for the pass-through endpoint. Defaults to True so a pass-through silently created without an explicit value still requires a valid LiteLLM API key — set to False only if the endpoint is meant to be a public forwarder (e.g. an unauthenticated webhook target). */
|
|
1346
|
+
auth?: boolean;
|
|
1347
|
+
/** The USD cost per request to the target endpoint. This is used to calculate the cost of the request to the target endpoint. */
|
|
1348
|
+
cost_per_request?: number;
|
|
1349
|
+
/** Key-value pairs of default query parameters to be sent with every request to this endpoint. These can be overridden by client-provided query parameters. For example: {'key': 'default_value', 'api_version': '2023-01'} */
|
|
1350
|
+
default_query_params?: UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestDefaultQueryParamsMap;
|
|
1351
|
+
/** Guardrails configuration for this passthrough endpoint. Dict keys are guardrail names, values are optional settings for field targeting. When set, all org/team/key level guardrails will also execute. Defaults to None (no guardrails execute). */
|
|
1352
|
+
guardrails?: UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestGuardrailsMap | null;
|
|
1353
|
+
/** Key-value pairs of headers to be forwarded with the request. You can set any key value pair here and it will be forwarded to your target endpoint */
|
|
1354
|
+
headers?: UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestHeadersMap;
|
|
1355
|
+
/** Optional unique identifier for the pass-through endpoint. If not provided, endpoints will be identified by path for backwards compatibility. */
|
|
1356
|
+
id?: string | null;
|
|
1357
|
+
/** If True, requests to subpaths of the path will be forwarded to the target endpoint. For example, if the path is /bria and include_subpath is True, requests to /bria/v1/text-to-image/base/2.3 will be forwarded to the target endpoint. */
|
|
1358
|
+
include_subpath?: boolean;
|
|
1359
|
+
/** True if this endpoint is defined in the config file, False if from DB. Config-defined endpoints cannot be edited via the UI. */
|
|
1360
|
+
is_from_config?: boolean;
|
|
1361
|
+
/** List of HTTP methods this endpoint handles (e.g., ['GET', 'POST']). If None or empty, all methods (GET, POST, PUT, DELETE, PATCH) are supported for backward compatibility. This allows the same path to have different targets for different HTTP methods. */
|
|
1362
|
+
methods?: UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestMethodsList | null;
|
|
1363
|
+
/** The route to be added to the LiteLLM Proxy Server. */
|
|
1364
|
+
path: string;
|
|
1365
|
+
/** The URL to which requests for this path should be forwarded. */
|
|
1366
|
+
target: string;
|
|
1367
|
+
/** Upstream request timeout in seconds for this pass-through endpoint. If unset, uses general_settings.pass_through_request_timeout (default 600). */
|
|
1368
|
+
timeout?: number | null;
|
|
1369
|
+
}
|
|
1370
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest =
|
|
1371
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1372
|
+
S.Struct({
|
|
1373
|
+
endpoint_id: S.String.pipe(T.Label()),
|
|
1374
|
+
auth: S.optional(S.Boolean),
|
|
1375
|
+
cost_per_request: S.optional(S.Number),
|
|
1376
|
+
default_query_params: S.optional(
|
|
1377
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestDefaultQueryParamsMap,
|
|
1378
|
+
),
|
|
1379
|
+
guardrails: S.optional(
|
|
1380
|
+
S.NullOr(
|
|
1381
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestGuardrailsMap,
|
|
1382
|
+
),
|
|
1383
|
+
),
|
|
1384
|
+
headers: S.optional(
|
|
1385
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestHeadersMap,
|
|
1386
|
+
),
|
|
1387
|
+
id: S.optional(S.NullOr(S.String)),
|
|
1388
|
+
include_subpath: S.optional(S.Boolean),
|
|
1389
|
+
is_from_config: S.optional(S.Boolean),
|
|
1390
|
+
methods: S.optional(
|
|
1391
|
+
S.NullOr(
|
|
1392
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequestMethodsList,
|
|
1393
|
+
),
|
|
1394
|
+
),
|
|
1395
|
+
path: S.String,
|
|
1396
|
+
target: S.String,
|
|
1397
|
+
timeout: S.optional(S.NullOr(S.Number)),
|
|
1398
|
+
}).pipe(
|
|
1399
|
+
T.Http({
|
|
1400
|
+
method: "POST",
|
|
1401
|
+
uri: "/config/pass_through_endpoint/{endpoint_id}",
|
|
1402
|
+
code: 200,
|
|
1403
|
+
}),
|
|
1404
|
+
),
|
|
1405
|
+
).annotate({
|
|
1406
|
+
identifier:
|
|
1407
|
+
"UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest",
|
|
1408
|
+
}) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest>;
|
|
1409
|
+
|
|
1410
|
+
export interface UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse {
|
|
1411
|
+
body: unknown;
|
|
1412
|
+
}
|
|
1413
|
+
export const UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse =
|
|
1414
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1415
|
+
S.Struct({
|
|
1416
|
+
body: S.Unknown,
|
|
1417
|
+
}),
|
|
1418
|
+
).annotate({
|
|
1419
|
+
identifier:
|
|
1420
|
+
"UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse",
|
|
1421
|
+
}) as any as S.Schema<UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse>;
|
|
1422
|
+
|
|
1423
|
+
export type CreatePassThroughEndpointsConfigPassThroughEndpointPostError =
|
|
1424
|
+
| BadRequest
|
|
1425
|
+
| UnprocessableEntity
|
|
1426
|
+
| LitellmOpError;
|
|
1427
|
+
/** Create Pass Through Endpoints Create new pass-through endpoint */
|
|
1428
|
+
export const createPassThroughEndpointsConfigPassThroughEndpointPost: API.OperationMethod<
|
|
1429
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest,
|
|
1430
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse,
|
|
1431
|
+
CreatePassThroughEndpointsConfigPassThroughEndpointPostError,
|
|
1432
|
+
LitellmOpContext
|
|
1433
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1434
|
+
input: CreatePassThroughEndpointsConfigPassThroughEndpointPostRequest,
|
|
1435
|
+
output: CreatePassThroughEndpointsConfigPassThroughEndpointPostResponse,
|
|
1436
|
+
errors: [BadRequest, UnprocessableEntity],
|
|
1437
|
+
protocol: LitellmProtocol,
|
|
1438
|
+
retry: Retry.Retry,
|
|
1439
|
+
}));
|
|
1440
|
+
|
|
1441
|
+
export type DeleteAggregateMcpRouteMcpError = LitellmOpError;
|
|
1442
|
+
/** Aggregate Mcp Route Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the ``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks MCP clients behind TLS-terminating proxies. */
|
|
1443
|
+
export const deleteAggregateMcpRouteMcp: API.OperationMethod<
|
|
1444
|
+
DeleteAggregateMcpRouteMcpRequest,
|
|
1445
|
+
DeleteAggregateMcpRouteMcpResponse,
|
|
1446
|
+
DeleteAggregateMcpRouteMcpError,
|
|
1447
|
+
LitellmOpContext
|
|
1448
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1449
|
+
input: DeleteAggregateMcpRouteMcpRequest,
|
|
1450
|
+
output: DeleteAggregateMcpRouteMcpResponse,
|
|
1451
|
+
errors: [],
|
|
1452
|
+
protocol: LitellmProtocol,
|
|
1453
|
+
retry: Retry.Retry,
|
|
1454
|
+
}));
|
|
1455
|
+
|
|
1456
|
+
export type DeleteDynamicMcpRouteMcpServerNameMcpError =
|
|
1457
|
+
| UnprocessableEntity
|
|
1458
|
+
| LitellmOpError;
|
|
1459
|
+
/** Dynamic Mcp Route Handle /{name}/mcp for MCP server aliases, toolsets, MCP access group tags, and comma-separated lists. Resolution order: 1. Registered MCP server alias / name 2. Comma-separated list (short-circuits before any DB call) 3. Toolset name (DB lookup, cached) 4. MCP access group tag (DB lookup, cached) */
|
|
1460
|
+
export const deleteDynamicMcpRouteMcpServerNameMcp: API.OperationMethod<
|
|
1461
|
+
DeleteDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1462
|
+
DeleteDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1463
|
+
DeleteDynamicMcpRouteMcpServerNameMcpError,
|
|
1464
|
+
LitellmOpContext
|
|
1465
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1466
|
+
input: DeleteDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1467
|
+
output: DeleteDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1468
|
+
errors: [UnprocessableEntity],
|
|
1469
|
+
protocol: LitellmProtocol,
|
|
1470
|
+
retry: Retry.Retry,
|
|
1471
|
+
}));
|
|
1472
|
+
|
|
1473
|
+
export type DeletePassThroughEndpointsConfigPassThroughEndpointDeleteError =
|
|
1474
|
+
| BadRequest
|
|
1475
|
+
| UnprocessableEntity
|
|
1476
|
+
| LitellmOpError;
|
|
1477
|
+
/** Delete Pass Through Endpoints Delete a pass-through endpoint by ID. Returns - the deleted endpoint */
|
|
1478
|
+
export const deletePassThroughEndpointsConfigPassThroughEndpointDelete: API.OperationMethod<
|
|
1479
|
+
DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest,
|
|
1480
|
+
PassThroughEndpointResponse,
|
|
1481
|
+
DeletePassThroughEndpointsConfigPassThroughEndpointDeleteError,
|
|
1482
|
+
LitellmOpContext
|
|
1483
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1484
|
+
input: DeletePassThroughEndpointsConfigPassThroughEndpointDeleteRequest,
|
|
1485
|
+
output: PassThroughEndpointResponse,
|
|
1486
|
+
errors: [BadRequest, UnprocessableEntity],
|
|
1487
|
+
protocol: LitellmProtocol,
|
|
1488
|
+
retry: Retry.Retry,
|
|
1489
|
+
}));
|
|
1490
|
+
|
|
1491
|
+
export type DeleteToolsetMcpRouteToolsetToolsetNameMcpError =
|
|
1492
|
+
| UnprocessableEntity
|
|
1493
|
+
| LitellmOpError;
|
|
1494
|
+
/** Toolset Mcp Route Namespace a toolset as its own MCP endpoint. Connecting to /toolset/<name>/mcp exposes exactly the tools defined in the toolset. Access is enforced: non-admin API keys must have the toolset listed in their object_permission.mcp_toolsets grant list, or the request will be rejected with a 403. */
|
|
1495
|
+
export const deleteToolsetMcpRouteToolsetToolsetNameMcp: API.OperationMethod<
|
|
1496
|
+
DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1497
|
+
DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1498
|
+
DeleteToolsetMcpRouteToolsetToolsetNameMcpError,
|
|
1499
|
+
LitellmOpContext
|
|
1500
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1501
|
+
input: DeleteToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1502
|
+
output: DeleteToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1503
|
+
errors: [UnprocessableEntity],
|
|
1504
|
+
protocol: LitellmProtocol,
|
|
1505
|
+
retry: Retry.Retry,
|
|
1506
|
+
}));
|
|
1507
|
+
|
|
1508
|
+
export type GetActiveTasksStatsDebugAsyncioTasksGetError = LitellmOpError;
|
|
1509
|
+
/** Get Active Tasks Stats Returns: total_active_tasks: int by_name: { coroutine_name: count } */
|
|
1510
|
+
export const getActiveTasksStatsDebugAsyncioTasksGet: API.OperationMethod<
|
|
1511
|
+
GetActiveTasksStatsDebugAsyncioTasksGetRequest,
|
|
1512
|
+
GetActiveTasksStatsDebugAsyncioTasksGetResponse,
|
|
1513
|
+
GetActiveTasksStatsDebugAsyncioTasksGetError,
|
|
1514
|
+
LitellmOpContext
|
|
1515
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1516
|
+
input: GetActiveTasksStatsDebugAsyncioTasksGetRequest,
|
|
1517
|
+
output: GetActiveTasksStatsDebugAsyncioTasksGetResponse,
|
|
1518
|
+
errors: [],
|
|
1519
|
+
protocol: LitellmProtocol,
|
|
1520
|
+
retry: Retry.Retry,
|
|
1521
|
+
}));
|
|
1522
|
+
|
|
1523
|
+
export type GetAggregateMcpRouteMcpError = LitellmOpError;
|
|
1524
|
+
/** Aggregate Mcp Route Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the ``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks MCP clients behind TLS-terminating proxies. */
|
|
1525
|
+
export const getAggregateMcpRouteMcp: API.OperationMethod<
|
|
1526
|
+
GetAggregateMcpRouteMcpRequest,
|
|
1527
|
+
GetAggregateMcpRouteMcpResponse,
|
|
1528
|
+
GetAggregateMcpRouteMcpError,
|
|
1529
|
+
LitellmOpContext
|
|
1530
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1531
|
+
input: GetAggregateMcpRouteMcpRequest,
|
|
1532
|
+
output: GetAggregateMcpRouteMcpResponse,
|
|
1533
|
+
errors: [],
|
|
1534
|
+
protocol: LitellmProtocol,
|
|
1535
|
+
retry: Retry.Retry,
|
|
1536
|
+
}));
|
|
1537
|
+
|
|
1538
|
+
export type GetDynamicMcpRouteMcpServerNameMcpError =
|
|
1539
|
+
| UnprocessableEntity
|
|
1540
|
+
| LitellmOpError;
|
|
1541
|
+
/** Dynamic Mcp Route Handle /{name}/mcp for MCP server aliases, toolsets, MCP access group tags, and comma-separated lists. Resolution order: 1. Registered MCP server alias / name 2. Comma-separated list (short-circuits before any DB call) 3. Toolset name (DB lookup, cached) 4. MCP access group tag (DB lookup, cached) */
|
|
1542
|
+
export const getDynamicMcpRouteMcpServerNameMcp: API.OperationMethod<
|
|
1543
|
+
GetDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1544
|
+
GetDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1545
|
+
GetDynamicMcpRouteMcpServerNameMcpError,
|
|
1546
|
+
LitellmOpContext
|
|
1547
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1548
|
+
input: GetDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1549
|
+
output: GetDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1550
|
+
errors: [UnprocessableEntity],
|
|
1551
|
+
protocol: LitellmProtocol,
|
|
1552
|
+
retry: Retry.Retry,
|
|
1553
|
+
}));
|
|
1554
|
+
|
|
1555
|
+
export type GetFaviconGetFaviconGetError = LitellmOpError;
|
|
1556
|
+
/** Get Favicon Get custom favicon for the admin UI. */
|
|
1557
|
+
export const getFaviconGetFaviconGet: API.OperationMethod<
|
|
1558
|
+
GetFaviconGetFaviconGetRequest,
|
|
1559
|
+
GetFaviconGetFaviconGetResponse,
|
|
1560
|
+
GetFaviconGetFaviconGetError,
|
|
1561
|
+
LitellmOpContext
|
|
1562
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1563
|
+
input: GetFaviconGetFaviconGetRequest,
|
|
1564
|
+
output: GetFaviconGetFaviconGetResponse,
|
|
1565
|
+
errors: [],
|
|
1566
|
+
protocol: LitellmProtocol,
|
|
1567
|
+
retry: Retry.Retry,
|
|
1568
|
+
}));
|
|
1569
|
+
|
|
1570
|
+
export type GetHomeError = LitellmOpError;
|
|
1571
|
+
/** Home */
|
|
1572
|
+
export const getHome: API.OperationMethod<
|
|
1573
|
+
GetHomeRequest,
|
|
1574
|
+
GetHomeResponse,
|
|
1575
|
+
GetHomeError,
|
|
1576
|
+
LitellmOpContext
|
|
1577
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1578
|
+
input: GetHomeRequest,
|
|
1579
|
+
output: GetHomeResponse,
|
|
1580
|
+
errors: [],
|
|
1581
|
+
protocol: LitellmProtocol,
|
|
1582
|
+
retry: Retry.Retry,
|
|
1583
|
+
}));
|
|
1584
|
+
|
|
1585
|
+
export type GetImageGetImageGetError = UnprocessableEntity | LitellmOpError;
|
|
1586
|
+
/** Get Image Get logo to show on admin UI */
|
|
1587
|
+
export const getImageGetImageGet: API.OperationMethod<
|
|
1588
|
+
GetImageGetImageGetRequest,
|
|
1589
|
+
GetImageGetImageGetResponse,
|
|
1590
|
+
GetImageGetImageGetError,
|
|
1591
|
+
LitellmOpContext
|
|
1592
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1593
|
+
input: GetImageGetImageGetRequest,
|
|
1594
|
+
output: GetImageGetImageGetResponse,
|
|
1595
|
+
errors: [UnprocessableEntity],
|
|
1596
|
+
protocol: LitellmProtocol,
|
|
1597
|
+
retry: Retry.Retry,
|
|
1598
|
+
}));
|
|
1599
|
+
|
|
1600
|
+
export type GetLogoUrlGetLogoUrlGetError = LitellmOpError;
|
|
1601
|
+
/** Get Logo Url Get the current logo URL from environment. Only HTTP(S) URLs are returned — those are intended to be loaded directly by the browser from a public/internal CDN. Local file paths set via ``UI_LOGO_PATH`` are NOT returned: they are admin- only filesystem details, the dashboard falls back to ``/get_image`` which serves the file only when it is a supported image. Without this filter, the unauthenticated endpoint would disclose internal hostnames or filesystem paths to any caller. */
|
|
1602
|
+
export const getLogoUrlGetLogoUrlGet: API.OperationMethod<
|
|
1603
|
+
GetLogoUrlGetLogoUrlGetRequest,
|
|
1604
|
+
GetLogoUrlGetLogoUrlGetResponse,
|
|
1605
|
+
GetLogoUrlGetLogoUrlGetError,
|
|
1606
|
+
LitellmOpContext
|
|
1607
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1608
|
+
input: GetLogoUrlGetLogoUrlGetRequest,
|
|
1609
|
+
output: GetLogoUrlGetLogoUrlGetResponse,
|
|
1610
|
+
errors: [],
|
|
1611
|
+
protocol: LitellmProtocol,
|
|
1612
|
+
retry: Retry.Retry,
|
|
1613
|
+
}));
|
|
1614
|
+
|
|
1615
|
+
export type GetMemoryDetailsDebugMemoryDetailsGetError =
|
|
1616
|
+
| UnprocessableEntity
|
|
1617
|
+
| LitellmOpError;
|
|
1618
|
+
/** Get Memory Details Get detailed memory diagnostics for deep debugging. Returns: - worker_pid: Process ID - process_memory: RAM usage, virtual memory, file handles, threads - garbage_collector: GC thresholds, counts, collection history - objects: Total tracked objects and top object types - uncollectable: Objects that can't be garbage collected (potential leaks) - cache_memory: Memory usage of user_api_key, router, and logging caches - router_memory: Memory usage of router components (model_list, deployment_names, etc.) Query Parameters: - top_n: Number of top object types to return (default: 20) - include_process_info: Include process-level memory info using psutil (default: true) Example usage: curl "http://localhost:4000/debug/memory/details?top_n=30" -H "Authorization: Bearer sk-1234" All memory sizes are reported in both bytes and MB. */
|
|
1619
|
+
export const getMemoryDetailsDebugMemoryDetailsGet: API.OperationMethod<
|
|
1620
|
+
GetMemoryDetailsDebugMemoryDetailsGetRequest,
|
|
1621
|
+
GetMemoryDetailsDebugMemoryDetailsGetResponse,
|
|
1622
|
+
GetMemoryDetailsDebugMemoryDetailsGetError,
|
|
1623
|
+
LitellmOpContext
|
|
1624
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1625
|
+
input: GetMemoryDetailsDebugMemoryDetailsGetRequest,
|
|
1626
|
+
output: GetMemoryDetailsDebugMemoryDetailsGetResponse,
|
|
1627
|
+
errors: [UnprocessableEntity],
|
|
1628
|
+
protocol: LitellmProtocol,
|
|
1629
|
+
retry: Retry.Retry,
|
|
1630
|
+
}));
|
|
1631
|
+
|
|
1632
|
+
export type GetMemorySummaryDebugMemorySummaryGetError = LitellmOpError;
|
|
1633
|
+
/** Get Memory Summary Get simplified memory usage summary for the proxy. Returns: - worker_pid: Process ID - status: Overall health based on memory usage - memory: Process memory usage and RAM info - caches: Cache item counts and descriptions - garbage_collector: GC status and pending object counts Example usage: curl http://localhost:4000/debug/memory/summary -H "Authorization: Bearer sk-1234" For detailed analysis, call GET /debug/memory/details For cache management, use the cache management endpoints */
|
|
1634
|
+
export const getMemorySummaryDebugMemorySummaryGet: API.OperationMethod<
|
|
1635
|
+
GetMemorySummaryDebugMemorySummaryGetRequest,
|
|
1636
|
+
GetMemorySummaryDebugMemorySummaryGetResponse,
|
|
1637
|
+
GetMemorySummaryDebugMemorySummaryGetError,
|
|
1638
|
+
LitellmOpContext
|
|
1639
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1640
|
+
input: GetMemorySummaryDebugMemorySummaryGetRequest,
|
|
1641
|
+
output: GetMemorySummaryDebugMemorySummaryGetResponse,
|
|
1642
|
+
errors: [],
|
|
1643
|
+
protocol: LitellmProtocol,
|
|
1644
|
+
retry: Retry.Retry,
|
|
1645
|
+
}));
|
|
1646
|
+
|
|
1647
|
+
export type GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemError =
|
|
1648
|
+
LitellmOpError;
|
|
1649
|
+
/** Memory Usage In Mem Cache Items 1. user_api_key_cache 2. router_cache 3. proxy_logging_cache 4. internal_usage_cache */
|
|
1650
|
+
export const getMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItem: API.OperationMethod<
|
|
1651
|
+
GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest,
|
|
1652
|
+
GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse,
|
|
1653
|
+
GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemError,
|
|
1654
|
+
LitellmOpContext
|
|
1655
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1656
|
+
input: GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemRequest,
|
|
1657
|
+
output: GetMemoryUsageInMemCacheItemsMemoryUsageInMemCacheItemResponse,
|
|
1658
|
+
errors: [],
|
|
1659
|
+
protocol: LitellmProtocol,
|
|
1660
|
+
retry: Retry.Retry,
|
|
1661
|
+
}));
|
|
1662
|
+
|
|
1663
|
+
export type GetMemoryUsageInMemCacheMemoryUsageInMemCacheError = LitellmOpError;
|
|
1664
|
+
/** Memory Usage In Mem Cache 1. user_api_key_cache 2. router_cache 3. proxy_logging_cache 4. internal_usage_cache */
|
|
1665
|
+
export const getMemoryUsageInMemCacheMemoryUsageInMemCache: API.OperationMethod<
|
|
1666
|
+
GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest,
|
|
1667
|
+
GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse,
|
|
1668
|
+
GetMemoryUsageInMemCacheMemoryUsageInMemCacheError,
|
|
1669
|
+
LitellmOpContext
|
|
1670
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1671
|
+
input: GetMemoryUsageInMemCacheMemoryUsageInMemCacheRequest,
|
|
1672
|
+
output: GetMemoryUsageInMemCacheMemoryUsageInMemCacheResponse,
|
|
1673
|
+
errors: [],
|
|
1674
|
+
protocol: LitellmProtocol,
|
|
1675
|
+
retry: Retry.Retry,
|
|
1676
|
+
}));
|
|
1677
|
+
|
|
1678
|
+
export type GetOtelSpansOtelSpansGetError = LitellmOpError;
|
|
1679
|
+
/** Get Otel Spans */
|
|
1680
|
+
export const getOtelSpansOtelSpansGet: API.OperationMethod<
|
|
1681
|
+
GetOtelSpansOtelSpansGetRequest,
|
|
1682
|
+
GetOtelSpansOtelSpansGetResponse,
|
|
1683
|
+
GetOtelSpansOtelSpansGetError,
|
|
1684
|
+
LitellmOpContext
|
|
1685
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1686
|
+
input: GetOtelSpansOtelSpansGetRequest,
|
|
1687
|
+
output: GetOtelSpansOtelSpansGetResponse,
|
|
1688
|
+
errors: [],
|
|
1689
|
+
protocol: LitellmProtocol,
|
|
1690
|
+
retry: Retry.Retry,
|
|
1691
|
+
}));
|
|
1692
|
+
|
|
1693
|
+
export type GetPassThroughEndpointsConfigPassThroughEndpointGetError =
|
|
1694
|
+
| UnprocessableEntity
|
|
1695
|
+
| LitellmOpError;
|
|
1696
|
+
/** Get Pass Through Endpoints GET configured pass through endpoint. If no endpoint_id given, return all configured endpoints. */
|
|
1697
|
+
export const getPassThroughEndpointsConfigPassThroughEndpointGet: API.OperationMethod<
|
|
1698
|
+
GetPassThroughEndpointsConfigPassThroughEndpointGetRequest,
|
|
1699
|
+
PassThroughEndpointResponse,
|
|
1700
|
+
GetPassThroughEndpointsConfigPassThroughEndpointGetError,
|
|
1701
|
+
LitellmOpContext
|
|
1702
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1703
|
+
input: GetPassThroughEndpointsConfigPassThroughEndpointGetRequest,
|
|
1704
|
+
output: PassThroughEndpointResponse,
|
|
1705
|
+
errors: [UnprocessableEntity],
|
|
1706
|
+
protocol: LitellmProtocol,
|
|
1707
|
+
retry: Retry.Retry,
|
|
1708
|
+
}));
|
|
1709
|
+
|
|
1710
|
+
export type GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetError =
|
|
1711
|
+
| UnprocessableEntity
|
|
1712
|
+
| LitellmOpError;
|
|
1713
|
+
/** Get Pass Through Endpoints GET configured pass through endpoint. If no endpoint_id given, return all configured endpoints. */
|
|
1714
|
+
export const getPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGet: API.OperationMethod<
|
|
1715
|
+
GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest,
|
|
1716
|
+
PassThroughEndpointResponse,
|
|
1717
|
+
GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetError,
|
|
1718
|
+
LitellmOpContext
|
|
1719
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1720
|
+
input: GetPassThroughEndpointsConfigPassThroughEndpointTeamTeamIdGetRequest,
|
|
1721
|
+
output: PassThroughEndpointResponse,
|
|
1722
|
+
errors: [UnprocessableEntity],
|
|
1723
|
+
protocol: LitellmProtocol,
|
|
1724
|
+
retry: Retry.Retry,
|
|
1725
|
+
}));
|
|
1726
|
+
|
|
1727
|
+
export type GetProviderBudgetsProviderBudgetError = LitellmOpError;
|
|
1728
|
+
/** Provider Budgets Provider Budget Routing - Get Budget, Spend Details https://docs.litellm.ai/docs/proxy/provider_budget_routing Use this endpoint to check current budget, spend and budget reset time for a provider Example Request ```bash curl -X GET http://localhost:4000/provider/budgets -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" ``` Example Response ```json { "providers": { "openai": { "budget_limit": 1e-12, "time_period": "1d", "spend": 0.0, "budget_reset_at": null }, "azure": { "budget_limit": 100.0, "time_period": "1d", "spend": 0.0, "budget_reset_at": null }, "anthropic": { "budget_limit": 100.0, "time_period": "10d", "spend": 0.0, "budget_reset_at": null }, "vertex_ai": { "budget_limit": 100.0, "time_period": "12d", "spend": 0.0, "budget_reset_at": null } } } ``` */
|
|
1729
|
+
export const getProviderBudgetsProviderBudget: API.OperationMethod<
|
|
1730
|
+
GetProviderBudgetsProviderBudgetRequest,
|
|
1731
|
+
ProviderBudgetResponse,
|
|
1732
|
+
GetProviderBudgetsProviderBudgetError,
|
|
1733
|
+
LitellmOpContext
|
|
1734
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1735
|
+
input: GetProviderBudgetsProviderBudgetRequest,
|
|
1736
|
+
output: ProviderBudgetResponse,
|
|
1737
|
+
errors: [],
|
|
1738
|
+
protocol: LitellmProtocol,
|
|
1739
|
+
retry: Retry.Retry,
|
|
1740
|
+
}));
|
|
1741
|
+
|
|
1742
|
+
export type GetRobotsRobotsTxtGetError = LitellmOpError;
|
|
1743
|
+
/** Get Robots Block all web crawlers from indexing the proxy server endpoints This is useful for ensuring that the API endpoints aren't indexed by search engines */
|
|
1744
|
+
export const getRobotsRobotsTxtGet: API.OperationMethod<
|
|
1745
|
+
GetRobotsRobotsTxtGetRequest,
|
|
1746
|
+
GetRobotsRobotsTxtGetResponse,
|
|
1747
|
+
GetRobotsRobotsTxtGetError,
|
|
1748
|
+
LitellmOpContext
|
|
1749
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1750
|
+
input: GetRobotsRobotsTxtGetRequest,
|
|
1751
|
+
output: GetRobotsRobotsTxtGetResponse,
|
|
1752
|
+
errors: [],
|
|
1753
|
+
protocol: LitellmProtocol,
|
|
1754
|
+
retry: Retry.Retry,
|
|
1755
|
+
}));
|
|
1756
|
+
|
|
1757
|
+
export type GetRoutesRoutesGetError = LitellmOpError;
|
|
1758
|
+
/** Get Routes Get a list of available routes in the FastAPI application. */
|
|
1759
|
+
export const getRoutesRoutesGet: API.OperationMethod<
|
|
1760
|
+
GetRoutesRoutesGetRequest,
|
|
1761
|
+
GetRoutesRoutesGetResponse,
|
|
1762
|
+
GetRoutesRoutesGetError,
|
|
1763
|
+
LitellmOpContext
|
|
1764
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1765
|
+
input: GetRoutesRoutesGetRequest,
|
|
1766
|
+
output: GetRoutesRoutesGetResponse,
|
|
1767
|
+
errors: [],
|
|
1768
|
+
protocol: LitellmProtocol,
|
|
1769
|
+
retry: Retry.Retry,
|
|
1770
|
+
}));
|
|
1771
|
+
|
|
1772
|
+
export type GetToolsetMcpRouteToolsetToolsetNameMcpError =
|
|
1773
|
+
| UnprocessableEntity
|
|
1774
|
+
| LitellmOpError;
|
|
1775
|
+
/** Toolset Mcp Route Namespace a toolset as its own MCP endpoint. Connecting to /toolset/<name>/mcp exposes exactly the tools defined in the toolset. Access is enforced: non-admin API keys must have the toolset listed in their object_permission.mcp_toolsets grant list, or the request will be rejected with a 403. */
|
|
1776
|
+
export const getToolsetMcpRouteToolsetToolsetNameMcp: API.OperationMethod<
|
|
1777
|
+
GetToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1778
|
+
GetToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1779
|
+
GetToolsetMcpRouteToolsetToolsetNameMcpError,
|
|
1780
|
+
LitellmOpContext
|
|
1781
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1782
|
+
input: GetToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1783
|
+
output: GetToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1784
|
+
errors: [UnprocessableEntity],
|
|
1785
|
+
protocol: LitellmProtocol,
|
|
1786
|
+
retry: Retry.Retry,
|
|
1787
|
+
}));
|
|
1788
|
+
|
|
1789
|
+
export type GetUiConfigLitellmWellKnownLitellmUiConfigGetError = LitellmOpError;
|
|
1790
|
+
/** Get Ui Config */
|
|
1791
|
+
export const getUiConfigLitellmWellKnownLitellmUiConfigGet: API.OperationMethod<
|
|
1792
|
+
GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest,
|
|
1793
|
+
UiDiscoveryEndpoints,
|
|
1794
|
+
GetUiConfigLitellmWellKnownLitellmUiConfigGetError,
|
|
1795
|
+
LitellmOpContext
|
|
1796
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1797
|
+
input: GetUiConfigLitellmWellKnownLitellmUiConfigGetRequest,
|
|
1798
|
+
output: UiDiscoveryEndpoints,
|
|
1799
|
+
errors: [],
|
|
1800
|
+
protocol: LitellmProtocol,
|
|
1801
|
+
retry: Retry.Retry,
|
|
1802
|
+
}));
|
|
1803
|
+
|
|
1804
|
+
export type GetUiConfigWellKnownLitellmUiConfigGetError = LitellmOpError;
|
|
1805
|
+
/** Get Ui Config */
|
|
1806
|
+
export const getUiConfigWellKnownLitellmUiConfigGet: API.OperationMethod<
|
|
1807
|
+
GetUiConfigWellKnownLitellmUiConfigGetRequest,
|
|
1808
|
+
UiDiscoveryEndpoints,
|
|
1809
|
+
GetUiConfigWellKnownLitellmUiConfigGetError,
|
|
1810
|
+
LitellmOpContext
|
|
1811
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1812
|
+
input: GetUiConfigWellKnownLitellmUiConfigGetRequest,
|
|
1813
|
+
output: UiDiscoveryEndpoints,
|
|
1814
|
+
errors: [],
|
|
1815
|
+
protocol: LitellmProtocol,
|
|
1816
|
+
retry: Retry.Retry,
|
|
1817
|
+
}));
|
|
1818
|
+
|
|
1819
|
+
export type ListAvailableTeamsTeamAvailableGetError =
|
|
1820
|
+
| UnprocessableEntity
|
|
1821
|
+
| LitellmOpError;
|
|
1822
|
+
/** List Available Teams */
|
|
1823
|
+
export const listAvailableTeamsTeamAvailableGet: API.OperationMethod<
|
|
1824
|
+
ListAvailableTeamsTeamAvailableGetRequest,
|
|
1825
|
+
ListAvailableTeamsTeamAvailableGetResponse,
|
|
1826
|
+
ListAvailableTeamsTeamAvailableGetError,
|
|
1827
|
+
LitellmOpContext
|
|
1828
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1829
|
+
input: ListAvailableTeamsTeamAvailableGetRequest,
|
|
1830
|
+
output: ListAvailableTeamsTeamAvailableGetResponse,
|
|
1831
|
+
errors: [UnprocessableEntity],
|
|
1832
|
+
protocol: LitellmProtocol,
|
|
1833
|
+
retry: Retry.Retry,
|
|
1834
|
+
}));
|
|
1835
|
+
|
|
1836
|
+
export type OnboardingOnboardingGetTokenGetError =
|
|
1837
|
+
| UnprocessableEntity
|
|
1838
|
+
| LitellmOpError;
|
|
1839
|
+
/** Onboarding - Get the invite link - Validate it's still 'valid' - Return a short-lived onboarding token - Get user from db - Pass in user_email if set */
|
|
1840
|
+
export const onboardingOnboardingGetTokenGet: API.OperationMethod<
|
|
1841
|
+
OnboardingOnboardingGetTokenGetRequest,
|
|
1842
|
+
OnboardingOnboardingGetTokenGetResponse,
|
|
1843
|
+
OnboardingOnboardingGetTokenGetError,
|
|
1844
|
+
LitellmOpContext
|
|
1845
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1846
|
+
input: OnboardingOnboardingGetTokenGetRequest,
|
|
1847
|
+
output: OnboardingOnboardingGetTokenGetResponse,
|
|
1848
|
+
errors: [UnprocessableEntity],
|
|
1849
|
+
protocol: LitellmProtocol,
|
|
1850
|
+
retry: Retry.Retry,
|
|
1851
|
+
}));
|
|
1852
|
+
|
|
1853
|
+
export type PatchAggregateMcpRouteMcpError = LitellmOpError;
|
|
1854
|
+
/** Aggregate Mcp Route Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the ``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks MCP clients behind TLS-terminating proxies. */
|
|
1855
|
+
export const patchAggregateMcpRouteMcp: API.OperationMethod<
|
|
1856
|
+
PatchAggregateMcpRouteMcpRequest,
|
|
1857
|
+
PatchAggregateMcpRouteMcpResponse,
|
|
1858
|
+
PatchAggregateMcpRouteMcpError,
|
|
1859
|
+
LitellmOpContext
|
|
1860
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1861
|
+
input: PatchAggregateMcpRouteMcpRequest,
|
|
1862
|
+
output: PatchAggregateMcpRouteMcpResponse,
|
|
1863
|
+
errors: [],
|
|
1864
|
+
protocol: LitellmProtocol,
|
|
1865
|
+
retry: Retry.Retry,
|
|
1866
|
+
}));
|
|
1867
|
+
|
|
1868
|
+
export type PatchDynamicMcpRouteMcpServerNameMcpError =
|
|
1869
|
+
| UnprocessableEntity
|
|
1870
|
+
| LitellmOpError;
|
|
1871
|
+
/** Dynamic Mcp Route Handle /{name}/mcp for MCP server aliases, toolsets, MCP access group tags, and comma-separated lists. Resolution order: 1. Registered MCP server alias / name 2. Comma-separated list (short-circuits before any DB call) 3. Toolset name (DB lookup, cached) 4. MCP access group tag (DB lookup, cached) */
|
|
1872
|
+
export const patchDynamicMcpRouteMcpServerNameMcp: API.OperationMethod<
|
|
1873
|
+
PatchDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1874
|
+
PatchDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1875
|
+
PatchDynamicMcpRouteMcpServerNameMcpError,
|
|
1876
|
+
LitellmOpContext
|
|
1877
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1878
|
+
input: PatchDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1879
|
+
output: PatchDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1880
|
+
errors: [UnprocessableEntity],
|
|
1881
|
+
protocol: LitellmProtocol,
|
|
1882
|
+
retry: Retry.Retry,
|
|
1883
|
+
}));
|
|
1884
|
+
|
|
1885
|
+
export type PatchToolsetMcpRouteToolsetToolsetNameMcpError =
|
|
1886
|
+
| UnprocessableEntity
|
|
1887
|
+
| LitellmOpError;
|
|
1888
|
+
/** Toolset Mcp Route Namespace a toolset as its own MCP endpoint. Connecting to /toolset/<name>/mcp exposes exactly the tools defined in the toolset. Access is enforced: non-admin API keys must have the toolset listed in their object_permission.mcp_toolsets grant list, or the request will be rejected with a 403. */
|
|
1889
|
+
export const patchToolsetMcpRouteToolsetToolsetNameMcp: API.OperationMethod<
|
|
1890
|
+
PatchToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1891
|
+
PatchToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1892
|
+
PatchToolsetMcpRouteToolsetToolsetNameMcpError,
|
|
1893
|
+
LitellmOpContext
|
|
1894
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1895
|
+
input: PatchToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
1896
|
+
output: PatchToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
1897
|
+
errors: [UnprocessableEntity],
|
|
1898
|
+
protocol: LitellmProtocol,
|
|
1899
|
+
retry: Retry.Retry,
|
|
1900
|
+
}));
|
|
1901
|
+
|
|
1902
|
+
export type PostAggregateMcpRouteMcpError = LitellmOpError;
|
|
1903
|
+
/** Aggregate Mcp Route Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the ``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks MCP clients behind TLS-terminating proxies. */
|
|
1904
|
+
export const postAggregateMcpRouteMcp: API.OperationMethod<
|
|
1905
|
+
PostAggregateMcpRouteMcpRequest,
|
|
1906
|
+
PostAggregateMcpRouteMcpResponse,
|
|
1907
|
+
PostAggregateMcpRouteMcpError,
|
|
1908
|
+
LitellmOpContext
|
|
1909
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1910
|
+
input: PostAggregateMcpRouteMcpRequest,
|
|
1911
|
+
output: PostAggregateMcpRouteMcpResponse,
|
|
1912
|
+
errors: [],
|
|
1913
|
+
protocol: LitellmProtocol,
|
|
1914
|
+
retry: Retry.Retry,
|
|
1915
|
+
}));
|
|
1916
|
+
|
|
1917
|
+
export type PostClaimOnboardingLinkOnboardingClaimTokenError =
|
|
1918
|
+
| UnprocessableEntity
|
|
1919
|
+
| LitellmOpError;
|
|
1920
|
+
/** Claim Onboarding Link Special route. Allows UI link share user to update their password. - Get the invite link - Validate it's still 'valid' - Check if user within initial session (prevents abuse) - Get user from db - Update user password This route can only update user password. */
|
|
1921
|
+
export const postClaimOnboardingLinkOnboardingClaimToken: API.OperationMethod<
|
|
1922
|
+
PostClaimOnboardingLinkOnboardingClaimTokenRequest,
|
|
1923
|
+
PostClaimOnboardingLinkOnboardingClaimTokenResponse,
|
|
1924
|
+
PostClaimOnboardingLinkOnboardingClaimTokenError,
|
|
1925
|
+
LitellmOpContext
|
|
1926
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1927
|
+
input: PostClaimOnboardingLinkOnboardingClaimTokenRequest,
|
|
1928
|
+
output: PostClaimOnboardingLinkOnboardingClaimTokenResponse,
|
|
1929
|
+
errors: [UnprocessableEntity],
|
|
1930
|
+
protocol: LitellmProtocol,
|
|
1931
|
+
retry: Retry.Retry,
|
|
1932
|
+
}));
|
|
1933
|
+
|
|
1934
|
+
export type PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureError =
|
|
1935
|
+
| UnprocessableEntity
|
|
1936
|
+
| LitellmOpError;
|
|
1937
|
+
/** Configure Gc Thresholds Endpoint Configure Python garbage collection thresholds. Lower thresholds mean more frequent GC cycles (less memory, more CPU overhead). Higher thresholds mean less frequent GC cycles (more memory, less CPU overhead). Returns: - message: Confirmation message - previous_thresholds: Old threshold values - new_thresholds: New threshold values - objects_awaiting_collection: Current object count in gen-0 - tip: Hint about when next collection will occur Query Parameters: - generation_0: Number of allocations before gen-0 collection (default: 700) - generation_1: Number of gen-0 collections before gen-1 collection (default: 10) - generation_2: Number of gen-1 collections before gen-2 collection (default: 10) Example for more aggressive collection: curl -X POST "http://localhost:4000/debug/memory/gc/configure?generation_0=500" -H "Authorization: Bearer sk-1234" Example for less aggressive collection: curl -X POST "http://localhost:4000/debug/memory/gc/configure?generation_0=1000" -H "Authorization: Bearer sk-1234" Monitor memory usage with GET /debug/memory/summary after changes. */
|
|
1938
|
+
export const postConfigureGcThresholdsEndpointDebugMemoryGcConfigure: API.OperationMethod<
|
|
1939
|
+
PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest,
|
|
1940
|
+
PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse,
|
|
1941
|
+
PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureError,
|
|
1942
|
+
LitellmOpContext
|
|
1943
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1944
|
+
input: PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureRequest,
|
|
1945
|
+
output: PostConfigureGcThresholdsEndpointDebugMemoryGcConfigureResponse,
|
|
1946
|
+
errors: [UnprocessableEntity],
|
|
1947
|
+
protocol: LitellmProtocol,
|
|
1948
|
+
retry: Retry.Retry,
|
|
1949
|
+
}));
|
|
1950
|
+
|
|
1951
|
+
export type PostDynamicMcpRouteMcpServerNameMcpError =
|
|
1952
|
+
| UnprocessableEntity
|
|
1953
|
+
| LitellmOpError;
|
|
1954
|
+
/** Dynamic Mcp Route Handle /{name}/mcp for MCP server aliases, toolsets, MCP access group tags, and comma-separated lists. Resolution order: 1. Registered MCP server alias / name 2. Comma-separated list (short-circuits before any DB call) 3. Toolset name (DB lookup, cached) 4. MCP access group tag (DB lookup, cached) */
|
|
1955
|
+
export const postDynamicMcpRouteMcpServerNameMcp: API.OperationMethod<
|
|
1956
|
+
PostDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1957
|
+
PostDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1958
|
+
PostDynamicMcpRouteMcpServerNameMcpError,
|
|
1959
|
+
LitellmOpContext
|
|
1960
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1961
|
+
input: PostDynamicMcpRouteMcpServerNameMcpRequest,
|
|
1962
|
+
output: PostDynamicMcpRouteMcpServerNameMcpResponse,
|
|
1963
|
+
errors: [UnprocessableEntity],
|
|
1964
|
+
protocol: LitellmProtocol,
|
|
1965
|
+
retry: Retry.Retry,
|
|
1966
|
+
}));
|
|
1967
|
+
|
|
1968
|
+
export type PostLoginLoginError = LitellmOpError;
|
|
1969
|
+
/** Login */
|
|
1970
|
+
export const postLoginLogin: API.OperationMethod<
|
|
1971
|
+
PostLoginLoginRequest,
|
|
1972
|
+
PostLoginLoginResponse,
|
|
1973
|
+
PostLoginLoginError,
|
|
1974
|
+
LitellmOpContext
|
|
1975
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1976
|
+
input: PostLoginLoginRequest,
|
|
1977
|
+
output: PostLoginLoginResponse,
|
|
1978
|
+
errors: [],
|
|
1979
|
+
protocol: LitellmProtocol,
|
|
1980
|
+
retry: Retry.Retry,
|
|
1981
|
+
}));
|
|
1982
|
+
|
|
1983
|
+
export type PostLoginV2V2LoginError = LitellmOpError;
|
|
1984
|
+
/** Login V2 */
|
|
1985
|
+
export const postLoginV2V2Login: API.OperationMethod<
|
|
1986
|
+
PostLoginV2V2LoginRequest,
|
|
1987
|
+
PostLoginV2V2LoginResponse,
|
|
1988
|
+
PostLoginV2V2LoginError,
|
|
1989
|
+
LitellmOpContext
|
|
1990
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1991
|
+
input: PostLoginV2V2LoginRequest,
|
|
1992
|
+
output: PostLoginV2V2LoginResponse,
|
|
1993
|
+
errors: [],
|
|
1994
|
+
protocol: LitellmProtocol,
|
|
1995
|
+
retry: Retry.Retry,
|
|
1996
|
+
}));
|
|
1997
|
+
|
|
1998
|
+
export type PostLoginV3ExchangeV3LoginExchangeError = LitellmOpError;
|
|
1999
|
+
/** Login V3 Exchange */
|
|
2000
|
+
export const postLoginV3ExchangeV3LoginExchange: API.OperationMethod<
|
|
2001
|
+
PostLoginV3ExchangeV3LoginExchangeRequest,
|
|
2002
|
+
PostLoginV3ExchangeV3LoginExchangeResponse,
|
|
2003
|
+
PostLoginV3ExchangeV3LoginExchangeError,
|
|
2004
|
+
LitellmOpContext
|
|
2005
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2006
|
+
input: PostLoginV3ExchangeV3LoginExchangeRequest,
|
|
2007
|
+
output: PostLoginV3ExchangeV3LoginExchangeResponse,
|
|
2008
|
+
errors: [],
|
|
2009
|
+
protocol: LitellmProtocol,
|
|
2010
|
+
retry: Retry.Retry,
|
|
2011
|
+
}));
|
|
2012
|
+
|
|
2013
|
+
export type PostLoginV3V3LoginError = LitellmOpError;
|
|
2014
|
+
/** Login V3 */
|
|
2015
|
+
export const postLoginV3V3Login: API.OperationMethod<
|
|
2016
|
+
PostLoginV3V3LoginRequest,
|
|
2017
|
+
PostLoginV3V3LoginResponse,
|
|
2018
|
+
PostLoginV3V3LoginError,
|
|
2019
|
+
LitellmOpContext
|
|
2020
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2021
|
+
input: PostLoginV3V3LoginRequest,
|
|
2022
|
+
output: PostLoginV3V3LoginResponse,
|
|
2023
|
+
errors: [],
|
|
2024
|
+
protocol: LitellmProtocol,
|
|
2025
|
+
retry: Retry.Retry,
|
|
2026
|
+
}));
|
|
2027
|
+
|
|
2028
|
+
export type PostToolsetMcpRouteToolsetToolsetNameMcpError =
|
|
2029
|
+
| UnprocessableEntity
|
|
2030
|
+
| LitellmOpError;
|
|
2031
|
+
/** Toolset Mcp Route Namespace a toolset as its own MCP endpoint. Connecting to /toolset/<name>/mcp exposes exactly the tools defined in the toolset. Access is enforced: non-admin API keys must have the toolset listed in their object_permission.mcp_toolsets grant list, or the request will be rejected with a 403. */
|
|
2032
|
+
export const postToolsetMcpRouteToolsetToolsetNameMcp: API.OperationMethod<
|
|
2033
|
+
PostToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
2034
|
+
PostToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
2035
|
+
PostToolsetMcpRouteToolsetToolsetNameMcpError,
|
|
2036
|
+
LitellmOpContext
|
|
2037
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2038
|
+
input: PostToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
2039
|
+
output: PostToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
2040
|
+
errors: [UnprocessableEntity],
|
|
2041
|
+
protocol: LitellmProtocol,
|
|
2042
|
+
retry: Retry.Retry,
|
|
2043
|
+
}));
|
|
2044
|
+
|
|
2045
|
+
export type PostWarmLazyWarmNameError = UnprocessableEntity | LitellmOpError;
|
|
2046
|
+
/** Warm */
|
|
2047
|
+
export const postWarmLazyWarmName: API.OperationMethod<
|
|
2048
|
+
PostWarmLazyWarmNameRequest,
|
|
2049
|
+
PostWarmLazyWarmNameResponse,
|
|
2050
|
+
PostWarmLazyWarmNameError,
|
|
2051
|
+
LitellmOpContext
|
|
2052
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2053
|
+
input: PostWarmLazyWarmNameRequest,
|
|
2054
|
+
output: PostWarmLazyWarmNameResponse,
|
|
2055
|
+
errors: [UnprocessableEntity],
|
|
2056
|
+
protocol: LitellmProtocol,
|
|
2057
|
+
retry: Retry.Retry,
|
|
2058
|
+
}));
|
|
2059
|
+
|
|
2060
|
+
export type PutAggregateMcpRouteMcpError = LitellmOpError;
|
|
2061
|
+
/** Aggregate Mcp Route Serve the aggregate MCP endpoint on the bare ``/mcp`` spelling: the ``/mcp`` mount cannot match its bare prefix, and the resulting 307 breaks MCP clients behind TLS-terminating proxies. */
|
|
2062
|
+
export const putAggregateMcpRouteMcp: API.OperationMethod<
|
|
2063
|
+
PutAggregateMcpRouteMcpRequest,
|
|
2064
|
+
PutAggregateMcpRouteMcpResponse,
|
|
2065
|
+
PutAggregateMcpRouteMcpError,
|
|
2066
|
+
LitellmOpContext
|
|
2067
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2068
|
+
input: PutAggregateMcpRouteMcpRequest,
|
|
2069
|
+
output: PutAggregateMcpRouteMcpResponse,
|
|
2070
|
+
errors: [],
|
|
2071
|
+
protocol: LitellmProtocol,
|
|
2072
|
+
retry: Retry.Retry,
|
|
2073
|
+
}));
|
|
2074
|
+
|
|
2075
|
+
export type PutDynamicMcpRouteMcpServerNameMcpError =
|
|
2076
|
+
| UnprocessableEntity
|
|
2077
|
+
| LitellmOpError;
|
|
2078
|
+
/** Dynamic Mcp Route Handle /{name}/mcp for MCP server aliases, toolsets, MCP access group tags, and comma-separated lists. Resolution order: 1. Registered MCP server alias / name 2. Comma-separated list (short-circuits before any DB call) 3. Toolset name (DB lookup, cached) 4. MCP access group tag (DB lookup, cached) */
|
|
2079
|
+
export const putDynamicMcpRouteMcpServerNameMcp: API.OperationMethod<
|
|
2080
|
+
PutDynamicMcpRouteMcpServerNameMcpRequest,
|
|
2081
|
+
PutDynamicMcpRouteMcpServerNameMcpResponse,
|
|
2082
|
+
PutDynamicMcpRouteMcpServerNameMcpError,
|
|
2083
|
+
LitellmOpContext
|
|
2084
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2085
|
+
input: PutDynamicMcpRouteMcpServerNameMcpRequest,
|
|
2086
|
+
output: PutDynamicMcpRouteMcpServerNameMcpResponse,
|
|
2087
|
+
errors: [UnprocessableEntity],
|
|
2088
|
+
protocol: LitellmProtocol,
|
|
2089
|
+
retry: Retry.Retry,
|
|
2090
|
+
}));
|
|
2091
|
+
|
|
2092
|
+
export type PutToolsetMcpRouteToolsetToolsetNameMcpError =
|
|
2093
|
+
| UnprocessableEntity
|
|
2094
|
+
| LitellmOpError;
|
|
2095
|
+
/** Toolset Mcp Route Namespace a toolset as its own MCP endpoint. Connecting to /toolset/<name>/mcp exposes exactly the tools defined in the toolset. Access is enforced: non-admin API keys must have the toolset listed in their object_permission.mcp_toolsets grant list, or the request will be rejected with a 403. */
|
|
2096
|
+
export const putToolsetMcpRouteToolsetToolsetNameMcp: API.OperationMethod<
|
|
2097
|
+
PutToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
2098
|
+
PutToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
2099
|
+
PutToolsetMcpRouteToolsetToolsetNameMcpError,
|
|
2100
|
+
LitellmOpContext
|
|
2101
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2102
|
+
input: PutToolsetMcpRouteToolsetToolsetNameMcpRequest,
|
|
2103
|
+
output: PutToolsetMcpRouteToolsetToolsetNameMcpResponse,
|
|
2104
|
+
errors: [UnprocessableEntity],
|
|
2105
|
+
protocol: LitellmProtocol,
|
|
2106
|
+
retry: Retry.Retry,
|
|
2107
|
+
}));
|
|
2108
|
+
|
|
2109
|
+
export type UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostError =
|
|
2110
|
+
| BadRequest
|
|
2111
|
+
| NotFound
|
|
2112
|
+
| UnprocessableEntity
|
|
2113
|
+
| LitellmOpError;
|
|
2114
|
+
/** Update Pass Through Endpoints Update a pass-through endpoint by ID. */
|
|
2115
|
+
export const updatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPost: API.OperationMethod<
|
|
2116
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest,
|
|
2117
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse,
|
|
2118
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostError,
|
|
2119
|
+
LitellmOpContext
|
|
2120
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2121
|
+
input:
|
|
2122
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostRequest,
|
|
2123
|
+
output:
|
|
2124
|
+
UpdatePassThroughEndpointsConfigPassThroughEndpointEndpointIdPostResponse,
|
|
2125
|
+
errors: [BadRequest, NotFound, UnprocessableEntity],
|
|
2126
|
+
protocol: LitellmProtocol,
|
|
2127
|
+
retry: Retry.Retry,
|
|
2128
|
+
}));
|