litellm_client 1.0.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.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +741 -0
- data/Rakefile +10 -0
- data/docs/AddTeamCallback.md +22 -0
- data/docs/Annotations.md +15 -0
- data/docs/AnthropicPassThroughApi.md +367 -0
- data/docs/ApiBase.md +15 -0
- data/docs/ApiKey.md +15 -0
- data/docs/ApiVersion.md +15 -0
- data/docs/ApplyGuardrailRequest.md +24 -0
- data/docs/ApplyGuardrailResponse.md +18 -0
- data/docs/AssemblyAIEUPassThroughApi.md +357 -0
- data/docs/AssemblyAIPassThroughApi.md +357 -0
- data/docs/AssistantsApi.md +1141 -0
- data/docs/AudioApi.md +289 -0
- data/docs/AuditLogResponse.md +34 -0
- data/docs/AuditLoggingApi.md +173 -0
- data/docs/AwsAccessKeyId.md +15 -0
- data/docs/AwsRegionName.md +15 -0
- data/docs/AwsSecretAccessKey.md +15 -0
- data/docs/AzurePassThroughApi.md +367 -0
- data/docs/BaseModel.md +15 -0
- data/docs/BatchApi.md +913 -0
- data/docs/BatchSize.md +15 -0
- data/docs/BedrockPassThroughApi.md +367 -0
- data/docs/BlockKeyRequest.md +18 -0
- data/docs/BlockTeamRequest.md +18 -0
- data/docs/BlockUsers.md +18 -0
- data/docs/BodyTestModelConnectionHealthTestConnectionPost.md +20 -0
- data/docs/BreakdownMetrics.md +24 -0
- data/docs/BudgetConfig.md +24 -0
- data/docs/BudgetDeleteRequest.md +18 -0
- data/docs/BudgetDuration.md +15 -0
- data/docs/BudgetManagementApi.md +436 -0
- data/docs/BudgetNewRequest.md +34 -0
- data/docs/BudgetRequest.md +18 -0
- data/docs/BudgetSpendTrackingApi.md +694 -0
- data/docs/Bytes.md +15 -0
- data/docs/CacheControl.md +18 -0
- data/docs/CachePingResponse.md +28 -0
- data/docs/CachingApi.md +421 -0
- data/docs/CallTypes.md +15 -0
- data/docs/ChatCompletionAnnotation.md +20 -0
- data/docs/ChatCompletionAnnotationURLCitation.md +24 -0
- data/docs/ChatCompletionAudioResponse.md +24 -0
- data/docs/ChatCompletionCachedContent.md +18 -0
- data/docs/ChatCompletionRedactedThinkingBlock.md +22 -0
- data/docs/ChatCompletionThinkingBlock.md +24 -0
- data/docs/ChatCompletionTokenLogprob.md +24 -0
- data/docs/ChatCompletionsApi.md +299 -0
- data/docs/ChoiceLogprobs.md +18 -0
- data/docs/Choices.md +26 -0
- data/docs/Choices1Inner.md +26 -0
- data/docs/CoherePassThroughApi.md +367 -0
- data/docs/CompletionsApi.md +299 -0
- data/docs/ConfigurableClientsideAuthParams.md +15 -0
- data/docs/ConfigurableClientsideAuthParamsAnyOfInner.md +18 -0
- data/docs/ConfigurableClientsideParamsCustomAuth.md +18 -0
- data/docs/Content.md +15 -0
- data/docs/Content1.md +15 -0
- data/docs/CreateCredentialItem.md +24 -0
- data/docs/CreateGuardrailRequest.md +18 -0
- data/docs/CreatedAt.md +15 -0
- data/docs/CreatedBy.md +15 -0
- data/docs/CredentialItem.md +22 -0
- data/docs/CredentialManagementApi.md +444 -0
- data/docs/CustomLlmProvider.md +15 -0
- data/docs/CustomLlmProvider1.md +15 -0
- data/docs/CustomerManagementApi.md +508 -0
- data/docs/DailySpendData.md +22 -0
- data/docs/DailySpendMetadata.md +40 -0
- data/docs/DefaultApi.md +811 -0
- data/docs/DefaultInternalUserParams.md +24 -0
- data/docs/DefaultTeamSSOParams.md +26 -0
- data/docs/DefaultTeamSettingsResponse.md +20 -0
- data/docs/DeleteCustomerRequest.md +18 -0
- data/docs/DeleteOrganizationRequest.md +18 -0
- data/docs/DeleteTeamRequest.md +18 -0
- data/docs/DeleteUserRequest.md +18 -0
- data/docs/Deployment.md +22 -0
- data/docs/Description.md +15 -0
- data/docs/Destructivehint.md +15 -0
- data/docs/EmailEvent.md +15 -0
- data/docs/EmailEventSettings.md +20 -0
- data/docs/EmailEventSettingsResponse.md +18 -0
- data/docs/EmailEventSettingsUpdateRequest.md +18 -0
- data/docs/EmailManagementApi.md +217 -0
- data/docs/EmbeddingsApi.md +299 -0
- data/docs/Endtime.md +15 -0
- data/docs/ErrorResponse.md +18 -0
- data/docs/Expires.md +15 -0
- data/docs/FilesApi.md +1165 -0
- data/docs/FineTuningApi.md +607 -0
- data/docs/FunctionCall.md +20 -0
- data/docs/GenerateKeyRequest.md +74 -0
- data/docs/GenerateKeyResponse.md +88 -0
- data/docs/GetTeamMemberPermissionsResponse.md +22 -0
- data/docs/GoogleAIStudioPassThroughApi.md +332 -0
- data/docs/Guardrail.md +28 -0
- data/docs/GuardrailInfoLiteLLMParamsResponse.md +24 -0
- data/docs/GuardrailInfoResponse.md +30 -0
- data/docs/GuardrailsApi.md +791 -0
- data/docs/HTTPValidationError.md +18 -0
- data/docs/HealthApi.md +820 -0
- data/docs/Hyperparameters.md +22 -0
- data/docs/IPAddress.md +18 -0
- data/docs/Id.md +15 -0
- data/docs/Idempotenthint.md +15 -0
- data/docs/ImagesApi.md +455 -0
- data/docs/InputCostPerPixel.md +15 -0
- data/docs/InputCostPerSecond.md +15 -0
- data/docs/InputCostPerToken.md +15 -0
- data/docs/Integrations.md +15 -0
- data/docs/InternalUserManagementApi.md +475 -0
- data/docs/InternalUserSettingsResponse.md +20 -0
- data/docs/KeyHealthResponse.md +20 -0
- data/docs/KeyListResponseObject.md +24 -0
- data/docs/KeyListResponseObjectKeysInner.md +134 -0
- data/docs/KeyManagementApi.md +780 -0
- data/docs/KeyMetadata.md +20 -0
- data/docs/KeyMetricWithMetadata.md +20 -0
- data/docs/KeyRequest.md +20 -0
- data/docs/LakeraCategoryThresholds.md +20 -0
- data/docs/LangfusePassThroughApi.md +332 -0
- data/docs/LearningRateMultiplier.md +15 -0
- data/docs/ListGuardrailsResponse.md +18 -0
- data/docs/ListMCPToolsRestAPIResponseObject.md +26 -0
- data/docs/ListMCPToolsRestAPIResponseObjectAnnotations.md +26 -0
- data/docs/ListMCPToolsRestAPIResponseObjectMcpInfo.md +22 -0
- data/docs/LiteLLMBudgetTable.md +32 -0
- data/docs/LiteLLMEndUserTable.md +30 -0
- data/docs/LiteLLMFineTuningJobCreate.md +32 -0
- data/docs/LiteLLMFineTuningJobCreateHyperparameters.md +22 -0
- data/docs/LiteLLMMCPServerTable.md +38 -0
- data/docs/LiteLLMManagedVectorStore.md +32 -0
- data/docs/LiteLLMManagedVectorStoreListResponse.md +26 -0
- data/docs/LiteLLMModelTable.md +26 -0
- data/docs/LiteLLMObjectPermissionBase.md +20 -0
- data/docs/LiteLLMObjectPermissionTable.md +22 -0
- data/docs/LiteLLMOrganizationMembershipTable.md +34 -0
- data/docs/LiteLLMOrganizationTableUpdate.md +32 -0
- data/docs/LiteLLMOrganizationTableWithMembers.md +48 -0
- data/docs/LiteLLMParams.md +88 -0
- data/docs/LiteLLMSpendLogs.md +54 -0
- data/docs/LiteLLMTeamMembership.md +24 -0
- data/docs/LiteLLMTeamTable.md +62 -0
- data/docs/LiteLLMUserTable.md +56 -0
- data/docs/LiteLLMUserTableWithKeyCount.md +58 -0
- data/docs/LiteLLMVerificationToken.md +80 -0
- data/docs/LitellmCredentialName.md +15 -0
- data/docs/LitellmParams.md +92 -0
- data/docs/LitellmTraceId.md +15 -0
- data/docs/LitellmUserRoles.md +15 -0
- data/docs/LlmUtilsApi.md +219 -0
- data/docs/LoggingCallbackStatus.md +22 -0
- data/docs/Logprobs.md +18 -0
- data/docs/MCPInfo.md +22 -0
- data/docs/MaxBudget.md +15 -0
- data/docs/MaxFileSizeMb.md +15 -0
- data/docs/MaxRetries.md +15 -0
- data/docs/McpApi.md +519 -0
- data/docs/Member.md +22 -0
- data/docs/Member1.md +22 -0
- data/docs/Member2.md +22 -0
- data/docs/MergeReasoningContentInChoices.md +15 -0
- data/docs/Message.md +34 -0
- data/docs/MessageAudio.md +24 -0
- data/docs/MessageFunctionCall.md +20 -0
- data/docs/Messages.md +15 -0
- data/docs/MetricWithMetadata.md +20 -0
- data/docs/MistralPassThroughApi.md +367 -0
- data/docs/MockResponse.md +28 -0
- data/docs/Mode.md +15 -0
- data/docs/Mode1.md +15 -0
- data/docs/Model.md +15 -0
- data/docs/ModelAliases.md +15 -0
- data/docs/ModelInfo.md +15 -0
- data/docs/ModelInfoDelete.md +18 -0
- data/docs/ModelManagementApi.md +679 -0
- data/docs/ModelResponse.md +28 -0
- data/docs/ModerationsApi.md +145 -0
- data/docs/NEpochs.md +15 -0
- data/docs/Name.md +15 -0
- data/docs/NewCustomerRequest.md +46 -0
- data/docs/NewMCPServerRequest.md +30 -0
- data/docs/NewOrganizationRequest.md +42 -0
- data/docs/NewOrganizationResponse.md +44 -0
- data/docs/NewTeamRequest.md +52 -0
- data/docs/NewUserRequest.md +76 -0
- data/docs/NewUserResponse.md +96 -0
- data/docs/OpenAIPassThroughApi.md +367 -0
- data/docs/Openworldhint.md +15 -0
- data/docs/OrgMember.md +22 -0
- data/docs/Organization.md +15 -0
- data/docs/OrganizationAddMemberResponse.md +22 -0
- data/docs/OrganizationManagementApi.md +652 -0
- data/docs/OrganizationMemberAddRequest.md +22 -0
- data/docs/OrganizationMemberDeleteRequest.md +22 -0
- data/docs/OrganizationMemberUpdateRequest.md +26 -0
- data/docs/OrganizationRequest.md +18 -0
- data/docs/OutputCostPerPixel.md +15 -0
- data/docs/OutputCostPerSecond.md +15 -0
- data/docs/OutputCostPerToken.md +15 -0
- data/docs/PaginatedAuditLogResponse.md +26 -0
- data/docs/PassThroughApi.md +4562 -0
- data/docs/PassThroughEndpointResponse.md +18 -0
- data/docs/PassThroughGenericEndpoint.md +22 -0
- data/docs/PatchGuardrailLitellmParams.md +20 -0
- data/docs/PatchGuardrailRequest.md +22 -0
- data/docs/PiiAction.md +15 -0
- data/docs/PiiEntityType.md +15 -0
- data/docs/ProviderBudgetResponse.md +18 -0
- data/docs/ProviderBudgetResponseObject.md +24 -0
- data/docs/ProviderSpecificFields.md +15 -0
- data/docs/RawRequestTypedDict.md +24 -0
- data/docs/Readonlyhint.md +15 -0
- data/docs/ReasoningContent.md +15 -0
- data/docs/RegenerateKeyRequest.md +76 -0
- data/docs/RegionName.md +15 -0
- data/docs/RerankApi.md +208 -0
- data/docs/Resources.md +15 -0
- data/docs/Response.md +15 -0
- data/docs/ResponsesApi.md +577 -0
- data/docs/Rpm.md +15 -0
- data/docs/SCIMGroup.md +28 -0
- data/docs/SCIMListResponse.md +26 -0
- data/docs/SCIMMember.md +20 -0
- data/docs/SCIMPatchOp.md +20 -0
- data/docs/SCIMPatchOperation.md +22 -0
- data/docs/SCIMUser.md +36 -0
- data/docs/SCIMUserEmail.md +22 -0
- data/docs/SCIMUserGroup.md +22 -0
- data/docs/SCIMUserName.md +28 -0
- data/docs/SCIMV2Api.md +889 -0
- data/docs/SSOConfig.md +40 -0
- data/docs/SSOSettingsApi.md +430 -0
- data/docs/SSOSettingsResponse.md +20 -0
- data/docs/Seed.md +15 -0
- data/docs/Service.md +15 -0
- data/docs/SpendAnalyticsPaginatedResponse.md +20 -0
- data/docs/SpendCalculateRequest.md +22 -0
- data/docs/SpendMetrics.md +34 -0
- data/docs/Starttime.md +15 -0
- data/docs/StreamTimeout.md +15 -0
- data/docs/Suffix.md +15 -0
- data/docs/SystemFingerprint.md +15 -0
- data/docs/TagConfig.md +30 -0
- data/docs/TagDeleteRequest.md +18 -0
- data/docs/TagInfoRequest.md +18 -0
- data/docs/TagManagementApi.md +450 -0
- data/docs/TagNewRequest.md +24 -0
- data/docs/TagUpdateRequest.md +24 -0
- data/docs/TeamAddMemberResponse.md +66 -0
- data/docs/TeamId.md +15 -0
- data/docs/TeamListResponse.md +26 -0
- data/docs/TeamManagementApi.md +1433 -0
- data/docs/TeamMemberAddRequest.md +22 -0
- data/docs/TeamMemberDeleteRequest.md +22 -0
- data/docs/TeamMemberUpdateRequest.md +26 -0
- data/docs/TeamMemberUpdateResponse.md +24 -0
- data/docs/TeamModelAddRequest.md +20 -0
- data/docs/TeamModelDeleteRequest.md +20 -0
- data/docs/TeamPublicModelName.md +15 -0
- data/docs/ThinkingBlocks.md +15 -0
- data/docs/ThinkingBlocksAnyOfInner.md +26 -0
- data/docs/Tier.md +15 -0
- data/docs/Timeout.md +15 -0
- data/docs/Title.md +15 -0
- data/docs/TokenCountRequest.md +22 -0
- data/docs/TokenCountResponse.md +24 -0
- data/docs/ToolAnnotations.md +26 -0
- data/docs/ToolCalls.md +15 -0
- data/docs/TopLogprob.md +22 -0
- data/docs/Tpm.md +15 -0
- data/docs/TransformRequestBody.md +20 -0
- data/docs/UiDiscoveryEndpoints.md +20 -0
- data/docs/UpdateCustomerRequest.md +30 -0
- data/docs/UpdateDeployment.md +22 -0
- data/docs/UpdateGuardrailRequest.md +18 -0
- data/docs/UpdateKeyRequest.md +74 -0
- data/docs/UpdateLiteLLMParams.md +88 -0
- data/docs/UpdateMCPServerRequest.md +30 -0
- data/docs/UpdateTeamMemberPermissionsRequest.md +20 -0
- data/docs/UpdateTeamRequest.md +44 -0
- data/docs/UpdateUserRequest.md +66 -0
- data/docs/UpdatedAt.md +15 -0
- data/docs/UpdatedBy.md +15 -0
- data/docs/UseInPassThrough.md +15 -0
- data/docs/UseLitellmProxy.md +15 -0
- data/docs/UserAPIKeyAuth.md +134 -0
- data/docs/UserListResponse.md +26 -0
- data/docs/VLLMPassThroughApi.md +367 -0
- data/docs/ValidationError.md +22 -0
- data/docs/ValidationErrorLocInner.md +15 -0
- data/docs/ValidationFile.md +15 -0
- data/docs/VectorStoreDeleteRequest.md +18 -0
- data/docs/VectorStoreManagementApi.md +227 -0
- data/docs/VectorStoreMetadata.md +15 -0
- data/docs/VertexAIPassThroughApi.md +692 -0
- data/docs/VertexCredentials.md +15 -0
- data/docs/VertexLocation.md +15 -0
- data/docs/VertexProject.md +15 -0
- data/docs/WatsonxRegionName.md +15 -0
- data/git_push.sh +57 -0
- data/lib/litellm_client/api/anthropic_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/assembly_ai_pass_through_api.rb +327 -0
- data/lib/litellm_client/api/assembly_aieu_pass_through_api.rb +327 -0
- data/lib/litellm_client/api/assistants_api.rb +994 -0
- data/lib/litellm_client/api/audio_api.rb +274 -0
- data/lib/litellm_client/api/audit_logging_api.rb +187 -0
- data/lib/litellm_client/api/azure_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/batch_api.rb +792 -0
- data/lib/litellm_client/api/bedrock_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/budget_management_api.rb +415 -0
- data/lib/litellm_client/api/budget_spend_tracking_api.rb +649 -0
- data/lib/litellm_client/api/caching_api.rb +364 -0
- data/lib/litellm_client/api/chat_completions_api.rb +260 -0
- data/lib/litellm_client/api/cohere_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/completions_api.rb +260 -0
- data/lib/litellm_client/api/credential_management_api.rb +415 -0
- data/lib/litellm_client/api/customer_management_api.rb +483 -0
- data/lib/litellm_client/api/default_api.rb +728 -0
- data/lib/litellm_client/api/email_management_api.rb +204 -0
- data/lib/litellm_client/api/embeddings_api.rb +260 -0
- data/lib/litellm_client/api/files_api.rb +1064 -0
- data/lib/litellm_client/api/fine_tuning_api.rb +570 -0
- data/lib/litellm_client/api/google_ai_studio_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/guardrails_api.rb +723 -0
- data/lib/litellm_client/api/health_api.rb +723 -0
- data/lib/litellm_client/api/images_api.rb +419 -0
- data/lib/litellm_client/api/internal_user_management_api.rb +472 -0
- data/lib/litellm_client/api/key_management_api.rb +735 -0
- data/lib/litellm_client/api/langfuse_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/llm_utils_api.rb +218 -0
- data/lib/litellm_client/api/mcp_api.rb +467 -0
- data/lib/litellm_client/api/mistral_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/model_management_api.rb +618 -0
- data/lib/litellm_client/api/moderations_api.rb +136 -0
- data/lib/litellm_client/api/open_ai_pass_through_api.rb +337 -0
- data/lib/litellm_client/api/organization_management_api.rb +619 -0
- data/lib/litellm_client/api/pass_through_api.rb +4097 -0
- data/lib/litellm_client/api/rerank_api.rb +187 -0
- data/lib/litellm_client/api/responses_api.rb +514 -0
- data/lib/litellm_client/api/scimv2_api.rb +862 -0
- data/lib/litellm_client/api/sso_settings_api.rb +397 -0
- data/lib/litellm_client/api/tag_management_api.rb +429 -0
- data/lib/litellm_client/api/team_management_api.rb +1339 -0
- data/lib/litellm_client/api/vector_store_management_api.rb +221 -0
- data/lib/litellm_client/api/vertex_ai_pass_through_api.rb +652 -0
- data/lib/litellm_client/api/vllm_pass_through_api.rb +337 -0
- data/lib/litellm_client/api_client.rb +393 -0
- data/lib/litellm_client/api_error.rb +58 -0
- data/lib/litellm_client/configuration.rb +308 -0
- data/lib/litellm_client/models/add_team_callback.rb +309 -0
- data/lib/litellm_client/models/annotations.rb +104 -0
- data/lib/litellm_client/models/api_base.rb +104 -0
- data/lib/litellm_client/models/api_key.rb +104 -0
- data/lib/litellm_client/models/api_version.rb +104 -0
- data/lib/litellm_client/models/apply_guardrail_request.rb +285 -0
- data/lib/litellm_client/models/apply_guardrail_response.rb +237 -0
- data/lib/litellm_client/models/audit_log_response.rb +418 -0
- data/lib/litellm_client/models/aws_access_key_id.rb +104 -0
- data/lib/litellm_client/models/aws_region_name.rb +104 -0
- data/lib/litellm_client/models/aws_secret_access_key.rb +104 -0
- data/lib/litellm_client/models/base_model.rb +104 -0
- data/lib/litellm_client/models/batch_size.rb +104 -0
- data/lib/litellm_client/models/block_key_request.rb +237 -0
- data/lib/litellm_client/models/block_team_request.rb +237 -0
- data/lib/litellm_client/models/block_users.rb +239 -0
- data/lib/litellm_client/models/body_test_model_connection_health_test_connection_post.rb +267 -0
- data/lib/litellm_client/models/breakdown_metrics.rb +256 -0
- data/lib/litellm_client/models/budget_config.rb +251 -0
- data/lib/litellm_client/models/budget_delete_request.rb +237 -0
- data/lib/litellm_client/models/budget_duration.rb +104 -0
- data/lib/litellm_client/models/budget_new_request.rb +303 -0
- data/lib/litellm_client/models/budget_request.rb +239 -0
- data/lib/litellm_client/models/bytes.rb +104 -0
- data/lib/litellm_client/models/cache_control.rb +104 -0
- data/lib/litellm_client/models/cache_ping_response.rb +305 -0
- data/lib/litellm_client/models/call_types.rb +102 -0
- data/lib/litellm_client/models/chat_completion_annotation.rb +263 -0
- data/lib/litellm_client/models/chat_completion_annotation_url_citation.rb +247 -0
- data/lib/litellm_client/models/chat_completion_audio_response.rb +315 -0
- data/lib/litellm_client/models/chat_completion_cached_content.rb +261 -0
- data/lib/litellm_client/models/chat_completion_redacted_thinking_block.rb +280 -0
- data/lib/litellm_client/models/chat_completion_thinking_block.rb +289 -0
- data/lib/litellm_client/models/chat_completion_token_logprob.rb +300 -0
- data/lib/litellm_client/models/choice_logprobs.rb +220 -0
- data/lib/litellm_client/models/choices.rb +307 -0
- data/lib/litellm_client/models/choices1_inner.rb +104 -0
- data/lib/litellm_client/models/configurable_clientside_auth_params.rb +104 -0
- data/lib/litellm_client/models/configurable_clientside_auth_params_any_of_inner.rb +104 -0
- data/lib/litellm_client/models/configurable_clientside_params_custom_auth.rb +237 -0
- data/lib/litellm_client/models/content.rb +104 -0
- data/lib/litellm_client/models/content1.rb +104 -0
- data/lib/litellm_client/models/create_credential_item.rb +287 -0
- data/lib/litellm_client/models/create_guardrail_request.rb +237 -0
- data/lib/litellm_client/models/created_at.rb +104 -0
- data/lib/litellm_client/models/created_by.rb +104 -0
- data/lib/litellm_client/models/credential_item.rb +293 -0
- data/lib/litellm_client/models/custom_llm_provider.rb +104 -0
- data/lib/litellm_client/models/custom_llm_provider1.rb +104 -0
- data/lib/litellm_client/models/daily_spend_data.rb +272 -0
- data/lib/litellm_client/models/daily_spend_metadata.rb +343 -0
- data/lib/litellm_client/models/default_internal_user_params.rb +288 -0
- data/lib/litellm_client/models/default_team_settings_response.rb +268 -0
- data/lib/litellm_client/models/default_team_sso_params.rb +264 -0
- data/lib/litellm_client/models/delete_customer_request.rb +240 -0
- data/lib/litellm_client/models/delete_organization_request.rb +239 -0
- data/lib/litellm_client/models/delete_team_request.rb +239 -0
- data/lib/litellm_client/models/delete_user_request.rb +239 -0
- data/lib/litellm_client/models/deployment.rb +289 -0
- data/lib/litellm_client/models/description.rb +104 -0
- data/lib/litellm_client/models/destructivehint.rb +104 -0
- data/lib/litellm_client/models/email_event.rb +40 -0
- data/lib/litellm_client/models/email_event_settings.rb +285 -0
- data/lib/litellm_client/models/email_event_settings_response.rb +239 -0
- data/lib/litellm_client/models/email_event_settings_update_request.rb +239 -0
- data/lib/litellm_client/models/endtime.rb +104 -0
- data/lib/litellm_client/models/error_response.rb +239 -0
- data/lib/litellm_client/models/expires.rb +104 -0
- data/lib/litellm_client/models/function_call.rb +246 -0
- data/lib/litellm_client/models/generate_key_request.rb +527 -0
- data/lib/litellm_client/models/generate_key_response.rb +613 -0
- data/lib/litellm_client/models/get_team_member_permissions_response.rb +278 -0
- data/lib/litellm_client/models/guardrail.rb +271 -0
- data/lib/litellm_client/models/guardrail_info_lite_llm_params_response.rb +286 -0
- data/lib/litellm_client/models/guardrail_info_response.rb +334 -0
- data/lib/litellm_client/models/http_validation_error.rb +222 -0
- data/lib/litellm_client/models/hyperparameters.rb +241 -0
- data/lib/litellm_client/models/id.rb +104 -0
- data/lib/litellm_client/models/idempotenthint.rb +104 -0
- data/lib/litellm_client/models/input_cost_per_pixel.rb +104 -0
- data/lib/litellm_client/models/input_cost_per_second.rb +104 -0
- data/lib/litellm_client/models/input_cost_per_token.rb +104 -0
- data/lib/litellm_client/models/integrations.rb +104 -0
- data/lib/litellm_client/models/internal_user_settings_response.rb +268 -0
- data/lib/litellm_client/models/ip_address.rb +237 -0
- data/lib/litellm_client/models/key_health_response.rb +264 -0
- data/lib/litellm_client/models/key_list_response_object.rb +252 -0
- data/lib/litellm_client/models/key_list_response_object_keys_inner.rb +104 -0
- data/lib/litellm_client/models/key_metadata.rb +232 -0
- data/lib/litellm_client/models/key_metric_with_metadata.rb +247 -0
- data/lib/litellm_client/models/key_request.rb +235 -0
- data/lib/litellm_client/models/lakera_category_thresholds.rb +229 -0
- data/lib/litellm_client/models/learning_rate_multiplier.rb +104 -0
- data/lib/litellm_client/models/list_guardrails_response.rb +239 -0
- data/lib/litellm_client/models/list_mcp_tools_rest_api_response_object.rb +293 -0
- data/lib/litellm_client/models/list_mcp_tools_rest_api_response_object_annotations.rb +104 -0
- data/lib/litellm_client/models/list_mcp_tools_rest_api_response_object_mcp_info.rb +104 -0
- data/lib/litellm_client/models/lite_llm_budget_table.rb +294 -0
- data/lib/litellm_client/models/lite_llm_end_user_table.rb +348 -0
- data/lib/litellm_client/models/lite_llm_fine_tuning_job_create.rb +317 -0
- data/lib/litellm_client/models/lite_llm_fine_tuning_job_create_hyperparameters.rb +104 -0
- data/lib/litellm_client/models/lite_llm_managed_vector_store.rb +290 -0
- data/lib/litellm_client/models/lite_llm_managed_vector_store_list_response.rb +296 -0
- data/lib/litellm_client/models/lite_llm_model_table.rb +293 -0
- data/lib/litellm_client/models/lite_llm_object_permission_base.rb +235 -0
- data/lib/litellm_client/models/lite_llm_object_permission_table.rb +262 -0
- data/lib/litellm_client/models/lite_llm_organization_membership_table.rb +367 -0
- data/lib/litellm_client/models/lite_llm_organization_table_update.rb +296 -0
- data/lib/litellm_client/models/lite_llm_organization_table_with_members.rb +477 -0
- data/lib/litellm_client/models/lite_llm_params.rb +553 -0
- data/lib/litellm_client/models/lite_llm_spend_logs.rb +457 -0
- data/lib/litellm_client/models/lite_llm_team_membership.rb +285 -0
- data/lib/litellm_client/models/lite_llm_team_table.rb +466 -0
- data/lib/litellm_client/models/lite_llm_user_table.rb +438 -0
- data/lib/litellm_client/models/lite_llm_user_table_with_key_count.rb +449 -0
- data/lib/litellm_client/models/lite_llm_verification_token.rb +546 -0
- data/lib/litellm_client/models/lite_llmmcp_server_table.rb +424 -0
- data/lib/litellm_client/models/litellm_credential_name.rb +104 -0
- data/lib/litellm_client/models/litellm_params.rb +632 -0
- data/lib/litellm_client/models/litellm_trace_id.rb +104 -0
- data/lib/litellm_client/models/litellm_user_roles.rb +45 -0
- data/lib/litellm_client/models/logging_callback_status.rb +275 -0
- data/lib/litellm_client/models/logprobs.rb +105 -0
- data/lib/litellm_client/models/max_budget.rb +104 -0
- data/lib/litellm_client/models/max_file_size_mb.rb +104 -0
- data/lib/litellm_client/models/max_retries.rb +104 -0
- data/lib/litellm_client/models/mcp_info.rb +240 -0
- data/lib/litellm_client/models/member.rb +281 -0
- data/lib/litellm_client/models/member1.rb +104 -0
- data/lib/litellm_client/models/member2.rb +104 -0
- data/lib/litellm_client/models/merge_reasoning_content_in_choices.rb +104 -0
- data/lib/litellm_client/models/message.rb +384 -0
- data/lib/litellm_client/models/message_audio.rb +104 -0
- data/lib/litellm_client/models/message_function_call.rb +104 -0
- data/lib/litellm_client/models/messages.rb +105 -0
- data/lib/litellm_client/models/metric_with_metadata.rb +248 -0
- data/lib/litellm_client/models/mock_response.rb +106 -0
- data/lib/litellm_client/models/mode.rb +104 -0
- data/lib/litellm_client/models/mode1.rb +105 -0
- data/lib/litellm_client/models/model.rb +104 -0
- data/lib/litellm_client/models/model_aliases.rb +104 -0
- data/lib/litellm_client/models/model_info.rb +104 -0
- data/lib/litellm_client/models/model_info_delete.rb +237 -0
- data/lib/litellm_client/models/model_response.rb +335 -0
- data/lib/litellm_client/models/n_epochs.rb +104 -0
- data/lib/litellm_client/models/name.rb +104 -0
- data/lib/litellm_client/models/new_customer_request.rb +415 -0
- data/lib/litellm_client/models/new_mcp_server_request.rb +357 -0
- data/lib/litellm_client/models/new_organization_request.rb +362 -0
- data/lib/litellm_client/models/new_organization_response.rb +470 -0
- data/lib/litellm_client/models/new_team_request.rb +406 -0
- data/lib/litellm_client/models/new_user_request.rb +570 -0
- data/lib/litellm_client/models/new_user_response.rb +689 -0
- data/lib/litellm_client/models/openworldhint.rb +104 -0
- data/lib/litellm_client/models/org_member.rb +281 -0
- data/lib/litellm_client/models/organization.rb +104 -0
- data/lib/litellm_client/models/organization_add_member_response.rb +293 -0
- data/lib/litellm_client/models/organization_member_add_request.rb +273 -0
- data/lib/litellm_client/models/organization_member_delete_request.rb +257 -0
- data/lib/litellm_client/models/organization_member_update_request.rb +299 -0
- data/lib/litellm_client/models/organization_request.rb +239 -0
- data/lib/litellm_client/models/output_cost_per_pixel.rb +104 -0
- data/lib/litellm_client/models/output_cost_per_second.rb +104 -0
- data/lib/litellm_client/models/output_cost_per_token.rb +104 -0
- data/lib/litellm_client/models/paginated_audit_log_response.rb +348 -0
- data/lib/litellm_client/models/pass_through_endpoint_response.rb +239 -0
- data/lib/litellm_client/models/pass_through_generic_endpoint.rb +294 -0
- data/lib/litellm_client/models/patch_guardrail_litellm_params.rb +233 -0
- data/lib/litellm_client/models/patch_guardrail_request.rb +243 -0
- data/lib/litellm_client/models/pii_action.rb +40 -0
- data/lib/litellm_client/models/pii_entity_type.rb +77 -0
- data/lib/litellm_client/models/provider_budget_response.rb +223 -0
- data/lib/litellm_client/models/provider_budget_response_object.rb +256 -0
- data/lib/litellm_client/models/provider_specific_fields.rb +104 -0
- data/lib/litellm_client/models/raw_request_typed_dict.rb +255 -0
- data/lib/litellm_client/models/readonlyhint.rb +104 -0
- data/lib/litellm_client/models/reasoning_content.rb +104 -0
- data/lib/litellm_client/models/regenerate_key_request.rb +537 -0
- data/lib/litellm_client/models/region_name.rb +104 -0
- data/lib/litellm_client/models/resources.rb +104 -0
- data/lib/litellm_client/models/response.rb +105 -0
- data/lib/litellm_client/models/rpm.rb +104 -0
- data/lib/litellm_client/models/scim_group.rb +309 -0
- data/lib/litellm_client/models/scim_list_response.rb +294 -0
- data/lib/litellm_client/models/scim_member.rb +247 -0
- data/lib/litellm_client/models/scim_patch_op.rb +250 -0
- data/lib/litellm_client/models/scim_patch_operation.rb +257 -0
- data/lib/litellm_client/models/scim_user.rb +368 -0
- data/lib/litellm_client/models/scim_user_email.rb +257 -0
- data/lib/litellm_client/models/scim_user_group.rb +257 -0
- data/lib/litellm_client/models/scim_user_name.rb +303 -0
- data/lib/litellm_client/models/seed.rb +104 -0
- data/lib/litellm_client/models/service.rb +104 -0
- data/lib/litellm_client/models/spend_analytics_paginated_response.rb +248 -0
- data/lib/litellm_client/models/spend_calculate_request.rb +245 -0
- data/lib/litellm_client/models/spend_metrics.rb +310 -0
- data/lib/litellm_client/models/sso_config.rb +332 -0
- data/lib/litellm_client/models/sso_settings_response.rb +268 -0
- data/lib/litellm_client/models/starttime.rb +104 -0
- data/lib/litellm_client/models/stream_timeout.rb +105 -0
- data/lib/litellm_client/models/suffix.rb +104 -0
- data/lib/litellm_client/models/system_fingerprint.rb +104 -0
- data/lib/litellm_client/models/tag_config.rb +333 -0
- data/lib/litellm_client/models/tag_delete_request.rb +237 -0
- data/lib/litellm_client/models/tag_info_request.rb +239 -0
- data/lib/litellm_client/models/tag_new_request.rb +271 -0
- data/lib/litellm_client/models/tag_update_request.rb +271 -0
- data/lib/litellm_client/models/team_add_member_response.rb +522 -0
- data/lib/litellm_client/models/team_id.rb +104 -0
- data/lib/litellm_client/models/team_list_response.rb +344 -0
- data/lib/litellm_client/models/team_member_add_request.rb +273 -0
- data/lib/litellm_client/models/team_member_delete_request.rb +257 -0
- data/lib/litellm_client/models/team_member_update_request.rb +311 -0
- data/lib/litellm_client/models/team_member_update_response.rb +283 -0
- data/lib/litellm_client/models/team_model_add_request.rb +266 -0
- data/lib/litellm_client/models/team_model_delete_request.rb +266 -0
- data/lib/litellm_client/models/team_public_model_name.rb +104 -0
- data/lib/litellm_client/models/thinking_blocks.rb +104 -0
- data/lib/litellm_client/models/thinking_blocks_any_of_inner.rb +104 -0
- data/lib/litellm_client/models/tier.rb +104 -0
- data/lib/litellm_client/models/timeout.rb +105 -0
- data/lib/litellm_client/models/title.rb +104 -0
- data/lib/litellm_client/models/token_count_request.rb +259 -0
- data/lib/litellm_client/models/token_count_response.rb +315 -0
- data/lib/litellm_client/models/tool_annotations.rb +257 -0
- data/lib/litellm_client/models/tool_calls.rb +104 -0
- data/lib/litellm_client/models/top_logprob.rb +272 -0
- data/lib/litellm_client/models/tpm.rb +104 -0
- data/lib/litellm_client/models/transform_request_body.rb +287 -0
- data/lib/litellm_client/models/ui_discovery_endpoints.rb +249 -0
- data/lib/litellm_client/models/update_customer_request.rb +333 -0
- data/lib/litellm_client/models/update_deployment.rb +241 -0
- data/lib/litellm_client/models/update_guardrail_request.rb +237 -0
- data/lib/litellm_client/models/update_key_request.rb +543 -0
- data/lib/litellm_client/models/update_lite_llm_params.rb +535 -0
- data/lib/litellm_client/models/update_mcp_server_request.rb +373 -0
- data/lib/litellm_client/models/update_team_member_permissions_request.rb +266 -0
- data/lib/litellm_client/models/update_team_request.rb +378 -0
- data/lib/litellm_client/models/update_user_request.rb +515 -0
- data/lib/litellm_client/models/updated_at.rb +104 -0
- data/lib/litellm_client/models/updated_by.rb +104 -0
- data/lib/litellm_client/models/use_in_pass_through.rb +104 -0
- data/lib/litellm_client/models/use_litellm_proxy.rb +104 -0
- data/lib/litellm_client/models/user_api_key_auth.rb +861 -0
- data/lib/litellm_client/models/user_list_response.rb +344 -0
- data/lib/litellm_client/models/validation_error.rb +291 -0
- data/lib/litellm_client/models/validation_error_loc_inner.rb +104 -0
- data/lib/litellm_client/models/validation_file.rb +104 -0
- data/lib/litellm_client/models/vector_store_delete_request.rb +237 -0
- data/lib/litellm_client/models/vector_store_metadata.rb +104 -0
- data/lib/litellm_client/models/vertex_credentials.rb +105 -0
- data/lib/litellm_client/models/vertex_location.rb +104 -0
- data/lib/litellm_client/models/vertex_project.rb +104 -0
- data/lib/litellm_client/models/watsonx_region_name.rb +104 -0
- data/lib/litellm_client/version.rb +15 -0
- data/lib/litellm_client.rb +339 -0
- data/litellm_client.gemspec +39 -0
- data/spec/api/anthropic_pass_through_api_spec.rb +95 -0
- data/spec/api/assembly_ai_pass_through_api_spec.rb +90 -0
- data/spec/api/assembly_aieu_pass_through_api_spec.rb +90 -0
- data/spec/api/assistants_api_spec.rb +221 -0
- data/spec/api/audio_api_spec.rb +81 -0
- data/spec/api/audit_logging_api_spec.rb +69 -0
- data/spec/api/azure_pass_through_api_spec.rb +95 -0
- data/spec/api/batch_api_spec.rb +191 -0
- data/spec/api/bedrock_pass_through_api_spec.rb +95 -0
- data/spec/api/budget_management_api_spec.rb +106 -0
- data/spec/api/budget_spend_tracking_api_spec.rb +158 -0
- data/spec/api/caching_api_spec.rb +101 -0
- data/spec/api/chat_completions_api_spec.rb +83 -0
- data/spec/api/cohere_pass_through_api_spec.rb +95 -0
- data/spec/api/completions_api_spec.rb +83 -0
- data/spec/api/credential_management_api_spec.rb +109 -0
- data/spec/api/customer_management_api_spec.rb +118 -0
- data/spec/api/default_api_spec.rb +168 -0
- data/spec/api/email_management_api_spec.rb +69 -0
- data/spec/api/embeddings_api_spec.rb +83 -0
- data/spec/api/files_api_spec.rb +242 -0
- data/spec/api/fine_tuning_api_spec.rb +139 -0
- data/spec/api/google_ai_studio_pass_through_api_spec.rb +95 -0
- data/spec/api/guardrails_api_spec.rb +165 -0
- data/spec/api/health_api_spec.rb +170 -0
- data/spec/api/images_api_spec.rb +110 -0
- data/spec/api/internal_user_management_api_spec.rb +121 -0
- data/spec/api/key_management_api_spec.rb +173 -0
- data/spec/api/langfuse_pass_through_api_spec.rb +95 -0
- data/spec/api/llm_utils_api_spec.rb +69 -0
- data/spec/api/mcp_api_spec.rb +120 -0
- data/spec/api/mistral_pass_through_api_spec.rb +95 -0
- data/spec/api/model_management_api_spec.rb +150 -0
- data/spec/api/moderations_api_spec.rb +57 -0
- data/spec/api/open_ai_pass_through_api_spec.rb +95 -0
- data/spec/api/organization_management_api_spec.rb +142 -0
- data/spec/api/pass_through_api_spec.rb +805 -0
- data/spec/api/rerank_api_spec.rb +65 -0
- data/spec/api/responses_api_spec.rb +129 -0
- data/spec/api/scimv2_api_spec.rb +187 -0
- data/spec/api/sso_settings_api_spec.rb +104 -0
- data/spec/api/tag_management_api_spec.rb +112 -0
- data/spec/api/team_management_api_spec.rb +283 -0
- data/spec/api/vector_store_management_api_spec.rb +72 -0
- data/spec/api/vertex_ai_pass_through_api_spec.rb +155 -0
- data/spec/api/vllm_pass_through_api_spec.rb +95 -0
- data/spec/models/add_team_callback_spec.rb +52 -0
- data/spec/models/annotations_spec.rb +21 -0
- data/spec/models/api_base_spec.rb +21 -0
- data/spec/models/api_key_spec.rb +21 -0
- data/spec/models/api_version_spec.rb +21 -0
- data/spec/models/apply_guardrail_request_spec.rb +54 -0
- data/spec/models/apply_guardrail_response_spec.rb +36 -0
- data/spec/models/audit_log_response_spec.rb +84 -0
- data/spec/models/aws_access_key_id_spec.rb +21 -0
- data/spec/models/aws_region_name_spec.rb +21 -0
- data/spec/models/aws_secret_access_key_spec.rb +21 -0
- data/spec/models/base_model_spec.rb +21 -0
- data/spec/models/batch_size_spec.rb +21 -0
- data/spec/models/block_key_request_spec.rb +36 -0
- data/spec/models/block_team_request_spec.rb +36 -0
- data/spec/models/block_users_spec.rb +36 -0
- data/spec/models/body_test_model_connection_health_test_connection_post_spec.rb +46 -0
- data/spec/models/breakdown_metrics_spec.rb +54 -0
- data/spec/models/budget_config_spec.rb +54 -0
- data/spec/models/budget_delete_request_spec.rb +36 -0
- data/spec/models/budget_duration_spec.rb +21 -0
- data/spec/models/budget_new_request_spec.rb +84 -0
- data/spec/models/budget_request_spec.rb +36 -0
- data/spec/models/bytes_spec.rb +21 -0
- data/spec/models/cache_control_spec.rb +21 -0
- data/spec/models/cache_ping_response_spec.rb +66 -0
- data/spec/models/call_types_spec.rb +30 -0
- data/spec/models/chat_completion_annotation_spec.rb +46 -0
- data/spec/models/chat_completion_annotation_url_citation_spec.rb +54 -0
- data/spec/models/chat_completion_audio_response_spec.rb +54 -0
- data/spec/models/chat_completion_cached_content_spec.rb +40 -0
- data/spec/models/chat_completion_redacted_thinking_block_spec.rb +52 -0
- data/spec/models/chat_completion_thinking_block_spec.rb +58 -0
- data/spec/models/chat_completion_token_logprob_spec.rb +54 -0
- data/spec/models/choice_logprobs_spec.rb +36 -0
- data/spec/models/choices1_inner_spec.rb +21 -0
- data/spec/models/choices_spec.rb +60 -0
- data/spec/models/configurable_clientside_auth_params_any_of_inner_spec.rb +21 -0
- data/spec/models/configurable_clientside_auth_params_spec.rb +21 -0
- data/spec/models/configurable_clientside_params_custom_auth_spec.rb +36 -0
- data/spec/models/content1_spec.rb +21 -0
- data/spec/models/content_spec.rb +21 -0
- data/spec/models/create_credential_item_spec.rb +54 -0
- data/spec/models/create_guardrail_request_spec.rb +36 -0
- data/spec/models/created_at_spec.rb +21 -0
- data/spec/models/created_by_spec.rb +21 -0
- data/spec/models/credential_item_spec.rb +48 -0
- data/spec/models/custom_llm_provider1_spec.rb +21 -0
- data/spec/models/custom_llm_provider_spec.rb +21 -0
- data/spec/models/daily_spend_data_spec.rb +48 -0
- data/spec/models/daily_spend_metadata_spec.rb +102 -0
- data/spec/models/default_internal_user_params_spec.rb +58 -0
- data/spec/models/default_team_settings_response_spec.rb +42 -0
- data/spec/models/default_team_sso_params_spec.rb +60 -0
- data/spec/models/delete_customer_request_spec.rb +36 -0
- data/spec/models/delete_organization_request_spec.rb +36 -0
- data/spec/models/delete_team_request_spec.rb +36 -0
- data/spec/models/delete_user_request_spec.rb +36 -0
- data/spec/models/deployment_spec.rb +48 -0
- data/spec/models/description_spec.rb +21 -0
- data/spec/models/destructivehint_spec.rb +21 -0
- data/spec/models/email_event_settings_response_spec.rb +36 -0
- data/spec/models/email_event_settings_spec.rb +42 -0
- data/spec/models/email_event_settings_update_request_spec.rb +36 -0
- data/spec/models/email_event_spec.rb +30 -0
- data/spec/models/endtime_spec.rb +21 -0
- data/spec/models/error_response_spec.rb +36 -0
- data/spec/models/expires_spec.rb +21 -0
- data/spec/models/function_call_spec.rb +42 -0
- data/spec/models/generate_key_request_spec.rb +204 -0
- data/spec/models/generate_key_response_spec.rb +246 -0
- data/spec/models/get_team_member_permissions_response_spec.rb +48 -0
- data/spec/models/guardrail_info_lite_llm_params_response_spec.rb +54 -0
- data/spec/models/guardrail_info_response_spec.rb +76 -0
- data/spec/models/guardrail_spec.rb +66 -0
- data/spec/models/http_validation_error_spec.rb +36 -0
- data/spec/models/hyperparameters_spec.rb +48 -0
- data/spec/models/id_spec.rb +21 -0
- data/spec/models/idempotenthint_spec.rb +21 -0
- data/spec/models/input_cost_per_pixel_spec.rb +21 -0
- data/spec/models/input_cost_per_second_spec.rb +21 -0
- data/spec/models/input_cost_per_token_spec.rb +21 -0
- data/spec/models/integrations_spec.rb +21 -0
- data/spec/models/internal_user_settings_response_spec.rb +42 -0
- data/spec/models/ip_address_spec.rb +36 -0
- data/spec/models/key_health_response_spec.rb +46 -0
- data/spec/models/key_list_response_object_keys_inner_spec.rb +21 -0
- data/spec/models/key_list_response_object_spec.rb +54 -0
- data/spec/models/key_metadata_spec.rb +42 -0
- data/spec/models/key_metric_with_metadata_spec.rb +42 -0
- data/spec/models/key_request_spec.rb +42 -0
- data/spec/models/lakera_category_thresholds_spec.rb +42 -0
- data/spec/models/learning_rate_multiplier_spec.rb +21 -0
- data/spec/models/list_guardrails_response_spec.rb +36 -0
- data/spec/models/list_mcp_tools_rest_api_response_object_annotations_spec.rb +21 -0
- data/spec/models/list_mcp_tools_rest_api_response_object_mcp_info_spec.rb +21 -0
- data/spec/models/list_mcp_tools_rest_api_response_object_spec.rb +60 -0
- data/spec/models/lite_llm_budget_table_spec.rb +78 -0
- data/spec/models/lite_llm_end_user_table_spec.rb +76 -0
- data/spec/models/lite_llm_fine_tuning_job_create_hyperparameters_spec.rb +21 -0
- data/spec/models/lite_llm_fine_tuning_job_create_spec.rb +78 -0
- data/spec/models/lite_llm_managed_vector_store_list_response_spec.rb +64 -0
- data/spec/models/lite_llm_managed_vector_store_spec.rb +78 -0
- data/spec/models/lite_llm_model_table_spec.rb +60 -0
- data/spec/models/lite_llm_object_permission_base_spec.rb +42 -0
- data/spec/models/lite_llm_object_permission_table_spec.rb +48 -0
- data/spec/models/lite_llm_organization_membership_table_spec.rb +84 -0
- data/spec/models/lite_llm_organization_table_update_spec.rb +78 -0
- data/spec/models/lite_llm_organization_table_with_members_spec.rb +126 -0
- data/spec/models/lite_llm_params_spec.rb +246 -0
- data/spec/models/lite_llm_spend_logs_spec.rb +144 -0
- data/spec/models/lite_llm_team_membership_spec.rb +54 -0
- data/spec/models/lite_llm_team_table_spec.rb +168 -0
- data/spec/models/lite_llm_user_table_spec.rb +150 -0
- data/spec/models/lite_llm_user_table_with_key_count_spec.rb +156 -0
- data/spec/models/lite_llm_verification_token_spec.rb +222 -0
- data/spec/models/lite_llmmcp_server_table_spec.rb +108 -0
- data/spec/models/litellm_credential_name_spec.rb +21 -0
- data/spec/models/litellm_params_spec.rb +258 -0
- data/spec/models/litellm_trace_id_spec.rb +21 -0
- data/spec/models/litellm_user_roles_spec.rb +30 -0
- data/spec/models/logging_callback_status_spec.rb +52 -0
- data/spec/models/logprobs_spec.rb +21 -0
- data/spec/models/max_budget_spec.rb +21 -0
- data/spec/models/max_file_size_mb_spec.rb +21 -0
- data/spec/models/max_retries_spec.rb +21 -0
- data/spec/models/mcp_info_spec.rb +48 -0
- data/spec/models/member1_spec.rb +21 -0
- data/spec/models/member2_spec.rb +21 -0
- data/spec/models/member_spec.rb +52 -0
- data/spec/models/merge_reasoning_content_in_choices_spec.rb +21 -0
- data/spec/models/message_audio_spec.rb +21 -0
- data/spec/models/message_function_call_spec.rb +21 -0
- data/spec/models/message_spec.rb +88 -0
- data/spec/models/messages_spec.rb +21 -0
- data/spec/models/metric_with_metadata_spec.rb +42 -0
- data/spec/models/mock_response_spec.rb +21 -0
- data/spec/models/mode1_spec.rb +21 -0
- data/spec/models/mode_spec.rb +21 -0
- data/spec/models/model_aliases_spec.rb +21 -0
- data/spec/models/model_info_delete_spec.rb +36 -0
- data/spec/models/model_info_spec.rb +21 -0
- data/spec/models/model_response_spec.rb +66 -0
- data/spec/models/model_spec.rb +21 -0
- data/spec/models/n_epochs_spec.rb +21 -0
- data/spec/models/name_spec.rb +21 -0
- data/spec/models/new_customer_request_spec.rb +124 -0
- data/spec/models/new_mcp_server_request_spec.rb +84 -0
- data/spec/models/new_organization_request_spec.rb +108 -0
- data/spec/models/new_organization_response_spec.rb +114 -0
- data/spec/models/new_team_request_spec.rb +138 -0
- data/spec/models/new_user_request_spec.rb +214 -0
- data/spec/models/new_user_response_spec.rb +274 -0
- data/spec/models/openworldhint_spec.rb +21 -0
- data/spec/models/org_member_spec.rb +52 -0
- data/spec/models/organization_add_member_response_spec.rb +48 -0
- data/spec/models/organization_member_add_request_spec.rb +48 -0
- data/spec/models/organization_member_delete_request_spec.rb +48 -0
- data/spec/models/organization_member_update_request_spec.rb +60 -0
- data/spec/models/organization_request_spec.rb +36 -0
- data/spec/models/organization_spec.rb +21 -0
- data/spec/models/output_cost_per_pixel_spec.rb +21 -0
- data/spec/models/output_cost_per_second_spec.rb +21 -0
- data/spec/models/output_cost_per_token_spec.rb +21 -0
- data/spec/models/paginated_audit_log_response_spec.rb +60 -0
- data/spec/models/pass_through_endpoint_response_spec.rb +36 -0
- data/spec/models/pass_through_generic_endpoint_spec.rb +48 -0
- data/spec/models/patch_guardrail_litellm_params_spec.rb +42 -0
- data/spec/models/patch_guardrail_request_spec.rb +48 -0
- data/spec/models/pii_action_spec.rb +30 -0
- data/spec/models/pii_entity_type_spec.rb +30 -0
- data/spec/models/provider_budget_response_object_spec.rb +54 -0
- data/spec/models/provider_budget_response_spec.rb +36 -0
- data/spec/models/provider_specific_fields_spec.rb +21 -0
- data/spec/models/raw_request_typed_dict_spec.rb +54 -0
- data/spec/models/readonlyhint_spec.rb +21 -0
- data/spec/models/reasoning_content_spec.rb +21 -0
- data/spec/models/regenerate_key_request_spec.rb +210 -0
- data/spec/models/region_name_spec.rb +21 -0
- data/spec/models/resources_spec.rb +21 -0
- data/spec/models/response_spec.rb +21 -0
- data/spec/models/rpm_spec.rb +21 -0
- data/spec/models/scim_group_spec.rb +66 -0
- data/spec/models/scim_list_response_spec.rb +60 -0
- data/spec/models/scim_member_spec.rb +42 -0
- data/spec/models/scim_patch_op_spec.rb +42 -0
- data/spec/models/scim_patch_operation_spec.rb +48 -0
- data/spec/models/scim_user_email_spec.rb +48 -0
- data/spec/models/scim_user_group_spec.rb +48 -0
- data/spec/models/scim_user_name_spec.rb +66 -0
- data/spec/models/scim_user_spec.rb +90 -0
- data/spec/models/seed_spec.rb +21 -0
- data/spec/models/service_spec.rb +21 -0
- data/spec/models/spend_analytics_paginated_response_spec.rb +42 -0
- data/spec/models/spend_calculate_request_spec.rb +48 -0
- data/spec/models/spend_metrics_spec.rb +84 -0
- data/spec/models/sso_config_spec.rb +102 -0
- data/spec/models/sso_settings_response_spec.rb +42 -0
- data/spec/models/starttime_spec.rb +21 -0
- data/spec/models/stream_timeout_spec.rb +21 -0
- data/spec/models/suffix_spec.rb +21 -0
- data/spec/models/system_fingerprint_spec.rb +21 -0
- data/spec/models/tag_config_spec.rb +72 -0
- data/spec/models/tag_delete_request_spec.rb +36 -0
- data/spec/models/tag_info_request_spec.rb +36 -0
- data/spec/models/tag_new_request_spec.rb +54 -0
- data/spec/models/tag_update_request_spec.rb +54 -0
- data/spec/models/team_add_member_response_spec.rb +180 -0
- data/spec/models/team_id_spec.rb +21 -0
- data/spec/models/team_list_response_spec.rb +60 -0
- data/spec/models/team_member_add_request_spec.rb +48 -0
- data/spec/models/team_member_delete_request_spec.rb +48 -0
- data/spec/models/team_member_update_request_spec.rb +64 -0
- data/spec/models/team_member_update_response_spec.rb +54 -0
- data/spec/models/team_model_add_request_spec.rb +42 -0
- data/spec/models/team_model_delete_request_spec.rb +42 -0
- data/spec/models/team_public_model_name_spec.rb +21 -0
- data/spec/models/thinking_blocks_any_of_inner_spec.rb +21 -0
- data/spec/models/thinking_blocks_spec.rb +21 -0
- data/spec/models/tier_spec.rb +21 -0
- data/spec/models/timeout_spec.rb +21 -0
- data/spec/models/title_spec.rb +21 -0
- data/spec/models/token_count_request_spec.rb +48 -0
- data/spec/models/token_count_response_spec.rb +54 -0
- data/spec/models/tool_annotations_spec.rb +60 -0
- data/spec/models/tool_calls_spec.rb +21 -0
- data/spec/models/top_logprob_spec.rb +48 -0
- data/spec/models/tpm_spec.rb +21 -0
- data/spec/models/transform_request_body_spec.rb +42 -0
- data/spec/models/ui_discovery_endpoints_spec.rb +42 -0
- data/spec/models/update_customer_request_spec.rb +76 -0
- data/spec/models/update_deployment_spec.rb +48 -0
- data/spec/models/update_guardrail_request_spec.rb +36 -0
- data/spec/models/update_key_request_spec.rb +204 -0
- data/spec/models/update_lite_llm_params_spec.rb +246 -0
- data/spec/models/update_mcp_server_request_spec.rb +84 -0
- data/spec/models/update_team_member_permissions_request_spec.rb +42 -0
- data/spec/models/update_team_request_spec.rb +114 -0
- data/spec/models/update_user_request_spec.rb +184 -0
- data/spec/models/updated_at_spec.rb +21 -0
- data/spec/models/updated_by_spec.rb +21 -0
- data/spec/models/use_in_pass_through_spec.rb +21 -0
- data/spec/models/use_litellm_proxy_spec.rb +21 -0
- data/spec/models/user_api_key_auth_spec.rb +388 -0
- data/spec/models/user_list_response_spec.rb +60 -0
- data/spec/models/validation_error_loc_inner_spec.rb +21 -0
- data/spec/models/validation_error_spec.rb +48 -0
- data/spec/models/validation_file_spec.rb +21 -0
- data/spec/models/vector_store_delete_request_spec.rb +36 -0
- data/spec/models/vector_store_metadata_spec.rb +21 -0
- data/spec/models/vertex_credentials_spec.rb +21 -0
- data/spec/models/vertex_location_spec.rb +21 -0
- data/spec/models/vertex_project_spec.rb +21 -0
- data/spec/models/watsonx_region_name_spec.rb +21 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1298 -0
@@ -0,0 +1,4562 @@
|
|
1
|
+
# LiteLLMClient::PassThroughApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**anthropic_proxy_route_anthropic_endpoint_get**](PassThroughApi.md#anthropic_proxy_route_anthropic_endpoint_get) | **GET** /anthropic/{endpoint} | Anthropic Proxy Route |
|
8
|
+
| [**anthropic_proxy_route_anthropic_endpoint_get_0**](PassThroughApi.md#anthropic_proxy_route_anthropic_endpoint_get_0) | **PUT** /anthropic/{endpoint} | Anthropic Proxy Route |
|
9
|
+
| [**anthropic_proxy_route_anthropic_endpoint_get_1**](PassThroughApi.md#anthropic_proxy_route_anthropic_endpoint_get_1) | **POST** /anthropic/{endpoint} | Anthropic Proxy Route |
|
10
|
+
| [**anthropic_proxy_route_anthropic_endpoint_get_2**](PassThroughApi.md#anthropic_proxy_route_anthropic_endpoint_get_2) | **DELETE** /anthropic/{endpoint} | Anthropic Proxy Route |
|
11
|
+
| [**anthropic_proxy_route_anthropic_endpoint_get_3**](PassThroughApi.md#anthropic_proxy_route_anthropic_endpoint_get_3) | **PATCH** /anthropic/{endpoint} | Anthropic Proxy Route |
|
12
|
+
| [**assemblyai_proxy_route_assemblyai_endpoint_get**](PassThroughApi.md#assemblyai_proxy_route_assemblyai_endpoint_get) | **GET** /assemblyai/{endpoint} | Assemblyai Proxy Route |
|
13
|
+
| [**assemblyai_proxy_route_assemblyai_endpoint_get_0**](PassThroughApi.md#assemblyai_proxy_route_assemblyai_endpoint_get_0) | **PUT** /assemblyai/{endpoint} | Assemblyai Proxy Route |
|
14
|
+
| [**assemblyai_proxy_route_assemblyai_endpoint_get_1**](PassThroughApi.md#assemblyai_proxy_route_assemblyai_endpoint_get_1) | **POST** /assemblyai/{endpoint} | Assemblyai Proxy Route |
|
15
|
+
| [**assemblyai_proxy_route_assemblyai_endpoint_get_2**](PassThroughApi.md#assemblyai_proxy_route_assemblyai_endpoint_get_2) | **DELETE** /assemblyai/{endpoint} | Assemblyai Proxy Route |
|
16
|
+
| [**assemblyai_proxy_route_assemblyai_endpoint_get_3**](PassThroughApi.md#assemblyai_proxy_route_assemblyai_endpoint_get_3) | **PATCH** /assemblyai/{endpoint} | Assemblyai Proxy Route |
|
17
|
+
| [**assemblyai_proxy_route_eu_assemblyai_endpoint_get**](PassThroughApi.md#assemblyai_proxy_route_eu_assemblyai_endpoint_get) | **GET** /eu.assemblyai/{endpoint} | Assemblyai Proxy Route |
|
18
|
+
| [**assemblyai_proxy_route_eu_assemblyai_endpoint_get_0**](PassThroughApi.md#assemblyai_proxy_route_eu_assemblyai_endpoint_get_0) | **PUT** /eu.assemblyai/{endpoint} | Assemblyai Proxy Route |
|
19
|
+
| [**assemblyai_proxy_route_eu_assemblyai_endpoint_get_1**](PassThroughApi.md#assemblyai_proxy_route_eu_assemblyai_endpoint_get_1) | **POST** /eu.assemblyai/{endpoint} | Assemblyai Proxy Route |
|
20
|
+
| [**assemblyai_proxy_route_eu_assemblyai_endpoint_get_2**](PassThroughApi.md#assemblyai_proxy_route_eu_assemblyai_endpoint_get_2) | **DELETE** /eu.assemblyai/{endpoint} | Assemblyai Proxy Route |
|
21
|
+
| [**assemblyai_proxy_route_eu_assemblyai_endpoint_get_3**](PassThroughApi.md#assemblyai_proxy_route_eu_assemblyai_endpoint_get_3) | **PATCH** /eu.assemblyai/{endpoint} | Assemblyai Proxy Route |
|
22
|
+
| [**azure_proxy_route_azure_endpoint_get**](PassThroughApi.md#azure_proxy_route_azure_endpoint_get) | **GET** /azure/{endpoint} | Azure Proxy Route |
|
23
|
+
| [**azure_proxy_route_azure_endpoint_get_0**](PassThroughApi.md#azure_proxy_route_azure_endpoint_get_0) | **PUT** /azure/{endpoint} | Azure Proxy Route |
|
24
|
+
| [**azure_proxy_route_azure_endpoint_get_1**](PassThroughApi.md#azure_proxy_route_azure_endpoint_get_1) | **POST** /azure/{endpoint} | Azure Proxy Route |
|
25
|
+
| [**azure_proxy_route_azure_endpoint_get_2**](PassThroughApi.md#azure_proxy_route_azure_endpoint_get_2) | **DELETE** /azure/{endpoint} | Azure Proxy Route |
|
26
|
+
| [**azure_proxy_route_azure_endpoint_get_3**](PassThroughApi.md#azure_proxy_route_azure_endpoint_get_3) | **PATCH** /azure/{endpoint} | Azure Proxy Route |
|
27
|
+
| [**bedrock_proxy_route_bedrock_endpoint_get**](PassThroughApi.md#bedrock_proxy_route_bedrock_endpoint_get) | **GET** /bedrock/{endpoint} | Bedrock Proxy Route |
|
28
|
+
| [**bedrock_proxy_route_bedrock_endpoint_get_0**](PassThroughApi.md#bedrock_proxy_route_bedrock_endpoint_get_0) | **PUT** /bedrock/{endpoint} | Bedrock Proxy Route |
|
29
|
+
| [**bedrock_proxy_route_bedrock_endpoint_get_1**](PassThroughApi.md#bedrock_proxy_route_bedrock_endpoint_get_1) | **POST** /bedrock/{endpoint} | Bedrock Proxy Route |
|
30
|
+
| [**bedrock_proxy_route_bedrock_endpoint_get_2**](PassThroughApi.md#bedrock_proxy_route_bedrock_endpoint_get_2) | **DELETE** /bedrock/{endpoint} | Bedrock Proxy Route |
|
31
|
+
| [**bedrock_proxy_route_bedrock_endpoint_get_3**](PassThroughApi.md#bedrock_proxy_route_bedrock_endpoint_get_3) | **PATCH** /bedrock/{endpoint} | Bedrock Proxy Route |
|
32
|
+
| [**cohere_proxy_route_cohere_endpoint_get**](PassThroughApi.md#cohere_proxy_route_cohere_endpoint_get) | **GET** /cohere/{endpoint} | Cohere Proxy Route |
|
33
|
+
| [**cohere_proxy_route_cohere_endpoint_get_0**](PassThroughApi.md#cohere_proxy_route_cohere_endpoint_get_0) | **PUT** /cohere/{endpoint} | Cohere Proxy Route |
|
34
|
+
| [**cohere_proxy_route_cohere_endpoint_get_1**](PassThroughApi.md#cohere_proxy_route_cohere_endpoint_get_1) | **POST** /cohere/{endpoint} | Cohere Proxy Route |
|
35
|
+
| [**cohere_proxy_route_cohere_endpoint_get_2**](PassThroughApi.md#cohere_proxy_route_cohere_endpoint_get_2) | **DELETE** /cohere/{endpoint} | Cohere Proxy Route |
|
36
|
+
| [**cohere_proxy_route_cohere_endpoint_get_3**](PassThroughApi.md#cohere_proxy_route_cohere_endpoint_get_3) | **PATCH** /cohere/{endpoint} | Cohere Proxy Route |
|
37
|
+
| [**gemini_proxy_route_gemini_endpoint_get**](PassThroughApi.md#gemini_proxy_route_gemini_endpoint_get) | **GET** /gemini/{endpoint} | Gemini Proxy Route |
|
38
|
+
| [**gemini_proxy_route_gemini_endpoint_get_0**](PassThroughApi.md#gemini_proxy_route_gemini_endpoint_get_0) | **PUT** /gemini/{endpoint} | Gemini Proxy Route |
|
39
|
+
| [**gemini_proxy_route_gemini_endpoint_get_1**](PassThroughApi.md#gemini_proxy_route_gemini_endpoint_get_1) | **POST** /gemini/{endpoint} | Gemini Proxy Route |
|
40
|
+
| [**gemini_proxy_route_gemini_endpoint_get_2**](PassThroughApi.md#gemini_proxy_route_gemini_endpoint_get_2) | **DELETE** /gemini/{endpoint} | Gemini Proxy Route |
|
41
|
+
| [**gemini_proxy_route_gemini_endpoint_get_3**](PassThroughApi.md#gemini_proxy_route_gemini_endpoint_get_3) | **PATCH** /gemini/{endpoint} | Gemini Proxy Route |
|
42
|
+
| [**langfuse_proxy_route_langfuse_endpoint_get**](PassThroughApi.md#langfuse_proxy_route_langfuse_endpoint_get) | **GET** /langfuse/{endpoint} | Langfuse Proxy Route |
|
43
|
+
| [**langfuse_proxy_route_langfuse_endpoint_get_0**](PassThroughApi.md#langfuse_proxy_route_langfuse_endpoint_get_0) | **PUT** /langfuse/{endpoint} | Langfuse Proxy Route |
|
44
|
+
| [**langfuse_proxy_route_langfuse_endpoint_get_1**](PassThroughApi.md#langfuse_proxy_route_langfuse_endpoint_get_1) | **POST** /langfuse/{endpoint} | Langfuse Proxy Route |
|
45
|
+
| [**langfuse_proxy_route_langfuse_endpoint_get_2**](PassThroughApi.md#langfuse_proxy_route_langfuse_endpoint_get_2) | **DELETE** /langfuse/{endpoint} | Langfuse Proxy Route |
|
46
|
+
| [**langfuse_proxy_route_langfuse_endpoint_get_3**](PassThroughApi.md#langfuse_proxy_route_langfuse_endpoint_get_3) | **PATCH** /langfuse/{endpoint} | Langfuse Proxy Route |
|
47
|
+
| [**mistral_proxy_route_mistral_endpoint_get**](PassThroughApi.md#mistral_proxy_route_mistral_endpoint_get) | **GET** /mistral/{endpoint} | Mistral Proxy Route |
|
48
|
+
| [**mistral_proxy_route_mistral_endpoint_get_0**](PassThroughApi.md#mistral_proxy_route_mistral_endpoint_get_0) | **PUT** /mistral/{endpoint} | Mistral Proxy Route |
|
49
|
+
| [**mistral_proxy_route_mistral_endpoint_get_1**](PassThroughApi.md#mistral_proxy_route_mistral_endpoint_get_1) | **POST** /mistral/{endpoint} | Mistral Proxy Route |
|
50
|
+
| [**mistral_proxy_route_mistral_endpoint_get_2**](PassThroughApi.md#mistral_proxy_route_mistral_endpoint_get_2) | **DELETE** /mistral/{endpoint} | Mistral Proxy Route |
|
51
|
+
| [**mistral_proxy_route_mistral_endpoint_get_3**](PassThroughApi.md#mistral_proxy_route_mistral_endpoint_get_3) | **PATCH** /mistral/{endpoint} | Mistral Proxy Route |
|
52
|
+
| [**openai_proxy_route_openai_endpoint_get**](PassThroughApi.md#openai_proxy_route_openai_endpoint_get) | **GET** /openai/{endpoint} | Openai Proxy Route |
|
53
|
+
| [**openai_proxy_route_openai_endpoint_get_0**](PassThroughApi.md#openai_proxy_route_openai_endpoint_get_0) | **PUT** /openai/{endpoint} | Openai Proxy Route |
|
54
|
+
| [**openai_proxy_route_openai_endpoint_get_1**](PassThroughApi.md#openai_proxy_route_openai_endpoint_get_1) | **POST** /openai/{endpoint} | Openai Proxy Route |
|
55
|
+
| [**openai_proxy_route_openai_endpoint_get_2**](PassThroughApi.md#openai_proxy_route_openai_endpoint_get_2) | **DELETE** /openai/{endpoint} | Openai Proxy Route |
|
56
|
+
| [**openai_proxy_route_openai_endpoint_get_3**](PassThroughApi.md#openai_proxy_route_openai_endpoint_get_3) | **PATCH** /openai/{endpoint} | Openai Proxy Route |
|
57
|
+
| [**vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get**](PassThroughApi.md#vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get) | **GET** /vertex_ai/discovery/{endpoint} | Vertex Discovery Proxy Route |
|
58
|
+
| [**vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0**](PassThroughApi.md#vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0) | **PUT** /vertex_ai/discovery/{endpoint} | Vertex Discovery Proxy Route |
|
59
|
+
| [**vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1**](PassThroughApi.md#vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1) | **POST** /vertex_ai/discovery/{endpoint} | Vertex Discovery Proxy Route |
|
60
|
+
| [**vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2**](PassThroughApi.md#vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2) | **DELETE** /vertex_ai/discovery/{endpoint} | Vertex Discovery Proxy Route |
|
61
|
+
| [**vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3**](PassThroughApi.md#vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3) | **PATCH** /vertex_ai/discovery/{endpoint} | Vertex Discovery Proxy Route |
|
62
|
+
| [**vertex_proxy_route_vertex_ai_endpoint_get**](PassThroughApi.md#vertex_proxy_route_vertex_ai_endpoint_get) | **GET** /vertex_ai/{endpoint} | Vertex Proxy Route |
|
63
|
+
| [**vertex_proxy_route_vertex_ai_endpoint_get_0**](PassThroughApi.md#vertex_proxy_route_vertex_ai_endpoint_get_0) | **PUT** /vertex_ai/{endpoint} | Vertex Proxy Route |
|
64
|
+
| [**vertex_proxy_route_vertex_ai_endpoint_get_1**](PassThroughApi.md#vertex_proxy_route_vertex_ai_endpoint_get_1) | **POST** /vertex_ai/{endpoint} | Vertex Proxy Route |
|
65
|
+
| [**vertex_proxy_route_vertex_ai_endpoint_get_2**](PassThroughApi.md#vertex_proxy_route_vertex_ai_endpoint_get_2) | **DELETE** /vertex_ai/{endpoint} | Vertex Proxy Route |
|
66
|
+
| [**vertex_proxy_route_vertex_ai_endpoint_get_3**](PassThroughApi.md#vertex_proxy_route_vertex_ai_endpoint_get_3) | **PATCH** /vertex_ai/{endpoint} | Vertex Proxy Route |
|
67
|
+
| [**vllm_proxy_route_vllm_endpoint_get**](PassThroughApi.md#vllm_proxy_route_vllm_endpoint_get) | **GET** /vllm/{endpoint} | Vllm Proxy Route |
|
68
|
+
| [**vllm_proxy_route_vllm_endpoint_get_0**](PassThroughApi.md#vllm_proxy_route_vllm_endpoint_get_0) | **PUT** /vllm/{endpoint} | Vllm Proxy Route |
|
69
|
+
| [**vllm_proxy_route_vllm_endpoint_get_1**](PassThroughApi.md#vllm_proxy_route_vllm_endpoint_get_1) | **POST** /vllm/{endpoint} | Vllm Proxy Route |
|
70
|
+
| [**vllm_proxy_route_vllm_endpoint_get_2**](PassThroughApi.md#vllm_proxy_route_vllm_endpoint_get_2) | **DELETE** /vllm/{endpoint} | Vllm Proxy Route |
|
71
|
+
| [**vllm_proxy_route_vllm_endpoint_get_3**](PassThroughApi.md#vllm_proxy_route_vllm_endpoint_get_3) | **PATCH** /vllm/{endpoint} | Vllm Proxy Route |
|
72
|
+
|
73
|
+
|
74
|
+
## anthropic_proxy_route_anthropic_endpoint_get
|
75
|
+
|
76
|
+
> Object anthropic_proxy_route_anthropic_endpoint_get(endpoint)
|
77
|
+
|
78
|
+
Anthropic Proxy Route
|
79
|
+
|
80
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
81
|
+
|
82
|
+
### Examples
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
require 'time'
|
86
|
+
require 'litellm_client'
|
87
|
+
# setup authorization
|
88
|
+
LiteLLMClient.configure do |config|
|
89
|
+
# Configure API key authorization: APIKeyHeader
|
90
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
91
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
92
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
93
|
+
end
|
94
|
+
|
95
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
96
|
+
endpoint = 'endpoint_example' # String |
|
97
|
+
|
98
|
+
begin
|
99
|
+
# Anthropic Proxy Route
|
100
|
+
result = api_instance.anthropic_proxy_route_anthropic_endpoint_get(endpoint)
|
101
|
+
p result
|
102
|
+
rescue LiteLLMClient::ApiError => e
|
103
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get: #{e}"
|
104
|
+
end
|
105
|
+
```
|
106
|
+
|
107
|
+
#### Using the anthropic_proxy_route_anthropic_endpoint_get_with_http_info variant
|
108
|
+
|
109
|
+
This returns an Array which contains the response data, status code and headers.
|
110
|
+
|
111
|
+
> <Array(Object, Integer, Hash)> anthropic_proxy_route_anthropic_endpoint_get_with_http_info(endpoint)
|
112
|
+
|
113
|
+
```ruby
|
114
|
+
begin
|
115
|
+
# Anthropic Proxy Route
|
116
|
+
data, status_code, headers = api_instance.anthropic_proxy_route_anthropic_endpoint_get_with_http_info(endpoint)
|
117
|
+
p status_code # => 2xx
|
118
|
+
p headers # => { ... }
|
119
|
+
p data # => Object
|
120
|
+
rescue LiteLLMClient::ApiError => e
|
121
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_with_http_info: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
### Parameters
|
126
|
+
|
127
|
+
| Name | Type | Description | Notes |
|
128
|
+
| ---- | ---- | ----------- | ----- |
|
129
|
+
| **endpoint** | **String** | | |
|
130
|
+
|
131
|
+
### Return type
|
132
|
+
|
133
|
+
**Object**
|
134
|
+
|
135
|
+
### Authorization
|
136
|
+
|
137
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
138
|
+
|
139
|
+
### HTTP request headers
|
140
|
+
|
141
|
+
- **Content-Type**: Not defined
|
142
|
+
- **Accept**: application/json
|
143
|
+
|
144
|
+
|
145
|
+
## anthropic_proxy_route_anthropic_endpoint_get_0
|
146
|
+
|
147
|
+
> Object anthropic_proxy_route_anthropic_endpoint_get_0(endpoint)
|
148
|
+
|
149
|
+
Anthropic Proxy Route
|
150
|
+
|
151
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
152
|
+
|
153
|
+
### Examples
|
154
|
+
|
155
|
+
```ruby
|
156
|
+
require 'time'
|
157
|
+
require 'litellm_client'
|
158
|
+
# setup authorization
|
159
|
+
LiteLLMClient.configure do |config|
|
160
|
+
# Configure API key authorization: APIKeyHeader
|
161
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
162
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
163
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
164
|
+
end
|
165
|
+
|
166
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
167
|
+
endpoint = 'endpoint_example' # String |
|
168
|
+
|
169
|
+
begin
|
170
|
+
# Anthropic Proxy Route
|
171
|
+
result = api_instance.anthropic_proxy_route_anthropic_endpoint_get_0(endpoint)
|
172
|
+
p result
|
173
|
+
rescue LiteLLMClient::ApiError => e
|
174
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_0: #{e}"
|
175
|
+
end
|
176
|
+
```
|
177
|
+
|
178
|
+
#### Using the anthropic_proxy_route_anthropic_endpoint_get_0_with_http_info variant
|
179
|
+
|
180
|
+
This returns an Array which contains the response data, status code and headers.
|
181
|
+
|
182
|
+
> <Array(Object, Integer, Hash)> anthropic_proxy_route_anthropic_endpoint_get_0_with_http_info(endpoint)
|
183
|
+
|
184
|
+
```ruby
|
185
|
+
begin
|
186
|
+
# Anthropic Proxy Route
|
187
|
+
data, status_code, headers = api_instance.anthropic_proxy_route_anthropic_endpoint_get_0_with_http_info(endpoint)
|
188
|
+
p status_code # => 2xx
|
189
|
+
p headers # => { ... }
|
190
|
+
p data # => Object
|
191
|
+
rescue LiteLLMClient::ApiError => e
|
192
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_0_with_http_info: #{e}"
|
193
|
+
end
|
194
|
+
```
|
195
|
+
|
196
|
+
### Parameters
|
197
|
+
|
198
|
+
| Name | Type | Description | Notes |
|
199
|
+
| ---- | ---- | ----------- | ----- |
|
200
|
+
| **endpoint** | **String** | | |
|
201
|
+
|
202
|
+
### Return type
|
203
|
+
|
204
|
+
**Object**
|
205
|
+
|
206
|
+
### Authorization
|
207
|
+
|
208
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
209
|
+
|
210
|
+
### HTTP request headers
|
211
|
+
|
212
|
+
- **Content-Type**: Not defined
|
213
|
+
- **Accept**: application/json
|
214
|
+
|
215
|
+
|
216
|
+
## anthropic_proxy_route_anthropic_endpoint_get_1
|
217
|
+
|
218
|
+
> Object anthropic_proxy_route_anthropic_endpoint_get_1(endpoint)
|
219
|
+
|
220
|
+
Anthropic Proxy Route
|
221
|
+
|
222
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
223
|
+
|
224
|
+
### Examples
|
225
|
+
|
226
|
+
```ruby
|
227
|
+
require 'time'
|
228
|
+
require 'litellm_client'
|
229
|
+
# setup authorization
|
230
|
+
LiteLLMClient.configure do |config|
|
231
|
+
# Configure API key authorization: APIKeyHeader
|
232
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
233
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
234
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
235
|
+
end
|
236
|
+
|
237
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
238
|
+
endpoint = 'endpoint_example' # String |
|
239
|
+
|
240
|
+
begin
|
241
|
+
# Anthropic Proxy Route
|
242
|
+
result = api_instance.anthropic_proxy_route_anthropic_endpoint_get_1(endpoint)
|
243
|
+
p result
|
244
|
+
rescue LiteLLMClient::ApiError => e
|
245
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_1: #{e}"
|
246
|
+
end
|
247
|
+
```
|
248
|
+
|
249
|
+
#### Using the anthropic_proxy_route_anthropic_endpoint_get_1_with_http_info variant
|
250
|
+
|
251
|
+
This returns an Array which contains the response data, status code and headers.
|
252
|
+
|
253
|
+
> <Array(Object, Integer, Hash)> anthropic_proxy_route_anthropic_endpoint_get_1_with_http_info(endpoint)
|
254
|
+
|
255
|
+
```ruby
|
256
|
+
begin
|
257
|
+
# Anthropic Proxy Route
|
258
|
+
data, status_code, headers = api_instance.anthropic_proxy_route_anthropic_endpoint_get_1_with_http_info(endpoint)
|
259
|
+
p status_code # => 2xx
|
260
|
+
p headers # => { ... }
|
261
|
+
p data # => Object
|
262
|
+
rescue LiteLLMClient::ApiError => e
|
263
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_1_with_http_info: #{e}"
|
264
|
+
end
|
265
|
+
```
|
266
|
+
|
267
|
+
### Parameters
|
268
|
+
|
269
|
+
| Name | Type | Description | Notes |
|
270
|
+
| ---- | ---- | ----------- | ----- |
|
271
|
+
| **endpoint** | **String** | | |
|
272
|
+
|
273
|
+
### Return type
|
274
|
+
|
275
|
+
**Object**
|
276
|
+
|
277
|
+
### Authorization
|
278
|
+
|
279
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
280
|
+
|
281
|
+
### HTTP request headers
|
282
|
+
|
283
|
+
- **Content-Type**: Not defined
|
284
|
+
- **Accept**: application/json
|
285
|
+
|
286
|
+
|
287
|
+
## anthropic_proxy_route_anthropic_endpoint_get_2
|
288
|
+
|
289
|
+
> Object anthropic_proxy_route_anthropic_endpoint_get_2(endpoint)
|
290
|
+
|
291
|
+
Anthropic Proxy Route
|
292
|
+
|
293
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
294
|
+
|
295
|
+
### Examples
|
296
|
+
|
297
|
+
```ruby
|
298
|
+
require 'time'
|
299
|
+
require 'litellm_client'
|
300
|
+
# setup authorization
|
301
|
+
LiteLLMClient.configure do |config|
|
302
|
+
# Configure API key authorization: APIKeyHeader
|
303
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
304
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
305
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
306
|
+
end
|
307
|
+
|
308
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
309
|
+
endpoint = 'endpoint_example' # String |
|
310
|
+
|
311
|
+
begin
|
312
|
+
# Anthropic Proxy Route
|
313
|
+
result = api_instance.anthropic_proxy_route_anthropic_endpoint_get_2(endpoint)
|
314
|
+
p result
|
315
|
+
rescue LiteLLMClient::ApiError => e
|
316
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_2: #{e}"
|
317
|
+
end
|
318
|
+
```
|
319
|
+
|
320
|
+
#### Using the anthropic_proxy_route_anthropic_endpoint_get_2_with_http_info variant
|
321
|
+
|
322
|
+
This returns an Array which contains the response data, status code and headers.
|
323
|
+
|
324
|
+
> <Array(Object, Integer, Hash)> anthropic_proxy_route_anthropic_endpoint_get_2_with_http_info(endpoint)
|
325
|
+
|
326
|
+
```ruby
|
327
|
+
begin
|
328
|
+
# Anthropic Proxy Route
|
329
|
+
data, status_code, headers = api_instance.anthropic_proxy_route_anthropic_endpoint_get_2_with_http_info(endpoint)
|
330
|
+
p status_code # => 2xx
|
331
|
+
p headers # => { ... }
|
332
|
+
p data # => Object
|
333
|
+
rescue LiteLLMClient::ApiError => e
|
334
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_2_with_http_info: #{e}"
|
335
|
+
end
|
336
|
+
```
|
337
|
+
|
338
|
+
### Parameters
|
339
|
+
|
340
|
+
| Name | Type | Description | Notes |
|
341
|
+
| ---- | ---- | ----------- | ----- |
|
342
|
+
| **endpoint** | **String** | | |
|
343
|
+
|
344
|
+
### Return type
|
345
|
+
|
346
|
+
**Object**
|
347
|
+
|
348
|
+
### Authorization
|
349
|
+
|
350
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
351
|
+
|
352
|
+
### HTTP request headers
|
353
|
+
|
354
|
+
- **Content-Type**: Not defined
|
355
|
+
- **Accept**: application/json
|
356
|
+
|
357
|
+
|
358
|
+
## anthropic_proxy_route_anthropic_endpoint_get_3
|
359
|
+
|
360
|
+
> Object anthropic_proxy_route_anthropic_endpoint_get_3(endpoint)
|
361
|
+
|
362
|
+
Anthropic Proxy Route
|
363
|
+
|
364
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
365
|
+
|
366
|
+
### Examples
|
367
|
+
|
368
|
+
```ruby
|
369
|
+
require 'time'
|
370
|
+
require 'litellm_client'
|
371
|
+
# setup authorization
|
372
|
+
LiteLLMClient.configure do |config|
|
373
|
+
# Configure API key authorization: APIKeyHeader
|
374
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
375
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
376
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
377
|
+
end
|
378
|
+
|
379
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
380
|
+
endpoint = 'endpoint_example' # String |
|
381
|
+
|
382
|
+
begin
|
383
|
+
# Anthropic Proxy Route
|
384
|
+
result = api_instance.anthropic_proxy_route_anthropic_endpoint_get_3(endpoint)
|
385
|
+
p result
|
386
|
+
rescue LiteLLMClient::ApiError => e
|
387
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_3: #{e}"
|
388
|
+
end
|
389
|
+
```
|
390
|
+
|
391
|
+
#### Using the anthropic_proxy_route_anthropic_endpoint_get_3_with_http_info variant
|
392
|
+
|
393
|
+
This returns an Array which contains the response data, status code and headers.
|
394
|
+
|
395
|
+
> <Array(Object, Integer, Hash)> anthropic_proxy_route_anthropic_endpoint_get_3_with_http_info(endpoint)
|
396
|
+
|
397
|
+
```ruby
|
398
|
+
begin
|
399
|
+
# Anthropic Proxy Route
|
400
|
+
data, status_code, headers = api_instance.anthropic_proxy_route_anthropic_endpoint_get_3_with_http_info(endpoint)
|
401
|
+
p status_code # => 2xx
|
402
|
+
p headers # => { ... }
|
403
|
+
p data # => Object
|
404
|
+
rescue LiteLLMClient::ApiError => e
|
405
|
+
puts "Error when calling PassThroughApi->anthropic_proxy_route_anthropic_endpoint_get_3_with_http_info: #{e}"
|
406
|
+
end
|
407
|
+
```
|
408
|
+
|
409
|
+
### Parameters
|
410
|
+
|
411
|
+
| Name | Type | Description | Notes |
|
412
|
+
| ---- | ---- | ----------- | ----- |
|
413
|
+
| **endpoint** | **String** | | |
|
414
|
+
|
415
|
+
### Return type
|
416
|
+
|
417
|
+
**Object**
|
418
|
+
|
419
|
+
### Authorization
|
420
|
+
|
421
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
422
|
+
|
423
|
+
### HTTP request headers
|
424
|
+
|
425
|
+
- **Content-Type**: Not defined
|
426
|
+
- **Accept**: application/json
|
427
|
+
|
428
|
+
|
429
|
+
## assemblyai_proxy_route_assemblyai_endpoint_get
|
430
|
+
|
431
|
+
> Object assemblyai_proxy_route_assemblyai_endpoint_get(endpoint)
|
432
|
+
|
433
|
+
Assemblyai Proxy Route
|
434
|
+
|
435
|
+
### Examples
|
436
|
+
|
437
|
+
```ruby
|
438
|
+
require 'time'
|
439
|
+
require 'litellm_client'
|
440
|
+
# setup authorization
|
441
|
+
LiteLLMClient.configure do |config|
|
442
|
+
# Configure API key authorization: APIKeyHeader
|
443
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
444
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
445
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
446
|
+
end
|
447
|
+
|
448
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
449
|
+
endpoint = 'endpoint_example' # String |
|
450
|
+
|
451
|
+
begin
|
452
|
+
# Assemblyai Proxy Route
|
453
|
+
result = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get(endpoint)
|
454
|
+
p result
|
455
|
+
rescue LiteLLMClient::ApiError => e
|
456
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get: #{e}"
|
457
|
+
end
|
458
|
+
```
|
459
|
+
|
460
|
+
#### Using the assemblyai_proxy_route_assemblyai_endpoint_get_with_http_info variant
|
461
|
+
|
462
|
+
This returns an Array which contains the response data, status code and headers.
|
463
|
+
|
464
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_assemblyai_endpoint_get_with_http_info(endpoint)
|
465
|
+
|
466
|
+
```ruby
|
467
|
+
begin
|
468
|
+
# Assemblyai Proxy Route
|
469
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_with_http_info(endpoint)
|
470
|
+
p status_code # => 2xx
|
471
|
+
p headers # => { ... }
|
472
|
+
p data # => Object
|
473
|
+
rescue LiteLLMClient::ApiError => e
|
474
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_with_http_info: #{e}"
|
475
|
+
end
|
476
|
+
```
|
477
|
+
|
478
|
+
### Parameters
|
479
|
+
|
480
|
+
| Name | Type | Description | Notes |
|
481
|
+
| ---- | ---- | ----------- | ----- |
|
482
|
+
| **endpoint** | **String** | | |
|
483
|
+
|
484
|
+
### Return type
|
485
|
+
|
486
|
+
**Object**
|
487
|
+
|
488
|
+
### Authorization
|
489
|
+
|
490
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
491
|
+
|
492
|
+
### HTTP request headers
|
493
|
+
|
494
|
+
- **Content-Type**: Not defined
|
495
|
+
- **Accept**: application/json
|
496
|
+
|
497
|
+
|
498
|
+
## assemblyai_proxy_route_assemblyai_endpoint_get_0
|
499
|
+
|
500
|
+
> Object assemblyai_proxy_route_assemblyai_endpoint_get_0(endpoint)
|
501
|
+
|
502
|
+
Assemblyai Proxy Route
|
503
|
+
|
504
|
+
### Examples
|
505
|
+
|
506
|
+
```ruby
|
507
|
+
require 'time'
|
508
|
+
require 'litellm_client'
|
509
|
+
# setup authorization
|
510
|
+
LiteLLMClient.configure do |config|
|
511
|
+
# Configure API key authorization: APIKeyHeader
|
512
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
513
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
514
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
515
|
+
end
|
516
|
+
|
517
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
518
|
+
endpoint = 'endpoint_example' # String |
|
519
|
+
|
520
|
+
begin
|
521
|
+
# Assemblyai Proxy Route
|
522
|
+
result = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_0(endpoint)
|
523
|
+
p result
|
524
|
+
rescue LiteLLMClient::ApiError => e
|
525
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_0: #{e}"
|
526
|
+
end
|
527
|
+
```
|
528
|
+
|
529
|
+
#### Using the assemblyai_proxy_route_assemblyai_endpoint_get_0_with_http_info variant
|
530
|
+
|
531
|
+
This returns an Array which contains the response data, status code and headers.
|
532
|
+
|
533
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_assemblyai_endpoint_get_0_with_http_info(endpoint)
|
534
|
+
|
535
|
+
```ruby
|
536
|
+
begin
|
537
|
+
# Assemblyai Proxy Route
|
538
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_0_with_http_info(endpoint)
|
539
|
+
p status_code # => 2xx
|
540
|
+
p headers # => { ... }
|
541
|
+
p data # => Object
|
542
|
+
rescue LiteLLMClient::ApiError => e
|
543
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_0_with_http_info: #{e}"
|
544
|
+
end
|
545
|
+
```
|
546
|
+
|
547
|
+
### Parameters
|
548
|
+
|
549
|
+
| Name | Type | Description | Notes |
|
550
|
+
| ---- | ---- | ----------- | ----- |
|
551
|
+
| **endpoint** | **String** | | |
|
552
|
+
|
553
|
+
### Return type
|
554
|
+
|
555
|
+
**Object**
|
556
|
+
|
557
|
+
### Authorization
|
558
|
+
|
559
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
560
|
+
|
561
|
+
### HTTP request headers
|
562
|
+
|
563
|
+
- **Content-Type**: Not defined
|
564
|
+
- **Accept**: application/json
|
565
|
+
|
566
|
+
|
567
|
+
## assemblyai_proxy_route_assemblyai_endpoint_get_1
|
568
|
+
|
569
|
+
> Object assemblyai_proxy_route_assemblyai_endpoint_get_1(endpoint)
|
570
|
+
|
571
|
+
Assemblyai Proxy Route
|
572
|
+
|
573
|
+
### Examples
|
574
|
+
|
575
|
+
```ruby
|
576
|
+
require 'time'
|
577
|
+
require 'litellm_client'
|
578
|
+
# setup authorization
|
579
|
+
LiteLLMClient.configure do |config|
|
580
|
+
# Configure API key authorization: APIKeyHeader
|
581
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
582
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
583
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
584
|
+
end
|
585
|
+
|
586
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
587
|
+
endpoint = 'endpoint_example' # String |
|
588
|
+
|
589
|
+
begin
|
590
|
+
# Assemblyai Proxy Route
|
591
|
+
result = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_1(endpoint)
|
592
|
+
p result
|
593
|
+
rescue LiteLLMClient::ApiError => e
|
594
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_1: #{e}"
|
595
|
+
end
|
596
|
+
```
|
597
|
+
|
598
|
+
#### Using the assemblyai_proxy_route_assemblyai_endpoint_get_1_with_http_info variant
|
599
|
+
|
600
|
+
This returns an Array which contains the response data, status code and headers.
|
601
|
+
|
602
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_assemblyai_endpoint_get_1_with_http_info(endpoint)
|
603
|
+
|
604
|
+
```ruby
|
605
|
+
begin
|
606
|
+
# Assemblyai Proxy Route
|
607
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_1_with_http_info(endpoint)
|
608
|
+
p status_code # => 2xx
|
609
|
+
p headers # => { ... }
|
610
|
+
p data # => Object
|
611
|
+
rescue LiteLLMClient::ApiError => e
|
612
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_1_with_http_info: #{e}"
|
613
|
+
end
|
614
|
+
```
|
615
|
+
|
616
|
+
### Parameters
|
617
|
+
|
618
|
+
| Name | Type | Description | Notes |
|
619
|
+
| ---- | ---- | ----------- | ----- |
|
620
|
+
| **endpoint** | **String** | | |
|
621
|
+
|
622
|
+
### Return type
|
623
|
+
|
624
|
+
**Object**
|
625
|
+
|
626
|
+
### Authorization
|
627
|
+
|
628
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
629
|
+
|
630
|
+
### HTTP request headers
|
631
|
+
|
632
|
+
- **Content-Type**: Not defined
|
633
|
+
- **Accept**: application/json
|
634
|
+
|
635
|
+
|
636
|
+
## assemblyai_proxy_route_assemblyai_endpoint_get_2
|
637
|
+
|
638
|
+
> Object assemblyai_proxy_route_assemblyai_endpoint_get_2(endpoint)
|
639
|
+
|
640
|
+
Assemblyai Proxy Route
|
641
|
+
|
642
|
+
### Examples
|
643
|
+
|
644
|
+
```ruby
|
645
|
+
require 'time'
|
646
|
+
require 'litellm_client'
|
647
|
+
# setup authorization
|
648
|
+
LiteLLMClient.configure do |config|
|
649
|
+
# Configure API key authorization: APIKeyHeader
|
650
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
651
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
652
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
653
|
+
end
|
654
|
+
|
655
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
656
|
+
endpoint = 'endpoint_example' # String |
|
657
|
+
|
658
|
+
begin
|
659
|
+
# Assemblyai Proxy Route
|
660
|
+
result = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_2(endpoint)
|
661
|
+
p result
|
662
|
+
rescue LiteLLMClient::ApiError => e
|
663
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_2: #{e}"
|
664
|
+
end
|
665
|
+
```
|
666
|
+
|
667
|
+
#### Using the assemblyai_proxy_route_assemblyai_endpoint_get_2_with_http_info variant
|
668
|
+
|
669
|
+
This returns an Array which contains the response data, status code and headers.
|
670
|
+
|
671
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_assemblyai_endpoint_get_2_with_http_info(endpoint)
|
672
|
+
|
673
|
+
```ruby
|
674
|
+
begin
|
675
|
+
# Assemblyai Proxy Route
|
676
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_2_with_http_info(endpoint)
|
677
|
+
p status_code # => 2xx
|
678
|
+
p headers # => { ... }
|
679
|
+
p data # => Object
|
680
|
+
rescue LiteLLMClient::ApiError => e
|
681
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_2_with_http_info: #{e}"
|
682
|
+
end
|
683
|
+
```
|
684
|
+
|
685
|
+
### Parameters
|
686
|
+
|
687
|
+
| Name | Type | Description | Notes |
|
688
|
+
| ---- | ---- | ----------- | ----- |
|
689
|
+
| **endpoint** | **String** | | |
|
690
|
+
|
691
|
+
### Return type
|
692
|
+
|
693
|
+
**Object**
|
694
|
+
|
695
|
+
### Authorization
|
696
|
+
|
697
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
698
|
+
|
699
|
+
### HTTP request headers
|
700
|
+
|
701
|
+
- **Content-Type**: Not defined
|
702
|
+
- **Accept**: application/json
|
703
|
+
|
704
|
+
|
705
|
+
## assemblyai_proxy_route_assemblyai_endpoint_get_3
|
706
|
+
|
707
|
+
> Object assemblyai_proxy_route_assemblyai_endpoint_get_3(endpoint)
|
708
|
+
|
709
|
+
Assemblyai Proxy Route
|
710
|
+
|
711
|
+
### Examples
|
712
|
+
|
713
|
+
```ruby
|
714
|
+
require 'time'
|
715
|
+
require 'litellm_client'
|
716
|
+
# setup authorization
|
717
|
+
LiteLLMClient.configure do |config|
|
718
|
+
# Configure API key authorization: APIKeyHeader
|
719
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
720
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
721
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
722
|
+
end
|
723
|
+
|
724
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
725
|
+
endpoint = 'endpoint_example' # String |
|
726
|
+
|
727
|
+
begin
|
728
|
+
# Assemblyai Proxy Route
|
729
|
+
result = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_3(endpoint)
|
730
|
+
p result
|
731
|
+
rescue LiteLLMClient::ApiError => e
|
732
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_3: #{e}"
|
733
|
+
end
|
734
|
+
```
|
735
|
+
|
736
|
+
#### Using the assemblyai_proxy_route_assemblyai_endpoint_get_3_with_http_info variant
|
737
|
+
|
738
|
+
This returns an Array which contains the response data, status code and headers.
|
739
|
+
|
740
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_assemblyai_endpoint_get_3_with_http_info(endpoint)
|
741
|
+
|
742
|
+
```ruby
|
743
|
+
begin
|
744
|
+
# Assemblyai Proxy Route
|
745
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_assemblyai_endpoint_get_3_with_http_info(endpoint)
|
746
|
+
p status_code # => 2xx
|
747
|
+
p headers # => { ... }
|
748
|
+
p data # => Object
|
749
|
+
rescue LiteLLMClient::ApiError => e
|
750
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_assemblyai_endpoint_get_3_with_http_info: #{e}"
|
751
|
+
end
|
752
|
+
```
|
753
|
+
|
754
|
+
### Parameters
|
755
|
+
|
756
|
+
| Name | Type | Description | Notes |
|
757
|
+
| ---- | ---- | ----------- | ----- |
|
758
|
+
| **endpoint** | **String** | | |
|
759
|
+
|
760
|
+
### Return type
|
761
|
+
|
762
|
+
**Object**
|
763
|
+
|
764
|
+
### Authorization
|
765
|
+
|
766
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
767
|
+
|
768
|
+
### HTTP request headers
|
769
|
+
|
770
|
+
- **Content-Type**: Not defined
|
771
|
+
- **Accept**: application/json
|
772
|
+
|
773
|
+
|
774
|
+
## assemblyai_proxy_route_eu_assemblyai_endpoint_get
|
775
|
+
|
776
|
+
> Object assemblyai_proxy_route_eu_assemblyai_endpoint_get(endpoint)
|
777
|
+
|
778
|
+
Assemblyai Proxy Route
|
779
|
+
|
780
|
+
### Examples
|
781
|
+
|
782
|
+
```ruby
|
783
|
+
require 'time'
|
784
|
+
require 'litellm_client'
|
785
|
+
# setup authorization
|
786
|
+
LiteLLMClient.configure do |config|
|
787
|
+
# Configure API key authorization: APIKeyHeader
|
788
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
789
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
790
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
791
|
+
end
|
792
|
+
|
793
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
794
|
+
endpoint = 'endpoint_example' # String |
|
795
|
+
|
796
|
+
begin
|
797
|
+
# Assemblyai Proxy Route
|
798
|
+
result = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get(endpoint)
|
799
|
+
p result
|
800
|
+
rescue LiteLLMClient::ApiError => e
|
801
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get: #{e}"
|
802
|
+
end
|
803
|
+
```
|
804
|
+
|
805
|
+
#### Using the assemblyai_proxy_route_eu_assemblyai_endpoint_get_with_http_info variant
|
806
|
+
|
807
|
+
This returns an Array which contains the response data, status code and headers.
|
808
|
+
|
809
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_eu_assemblyai_endpoint_get_with_http_info(endpoint)
|
810
|
+
|
811
|
+
```ruby
|
812
|
+
begin
|
813
|
+
# Assemblyai Proxy Route
|
814
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_with_http_info(endpoint)
|
815
|
+
p status_code # => 2xx
|
816
|
+
p headers # => { ... }
|
817
|
+
p data # => Object
|
818
|
+
rescue LiteLLMClient::ApiError => e
|
819
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_with_http_info: #{e}"
|
820
|
+
end
|
821
|
+
```
|
822
|
+
|
823
|
+
### Parameters
|
824
|
+
|
825
|
+
| Name | Type | Description | Notes |
|
826
|
+
| ---- | ---- | ----------- | ----- |
|
827
|
+
| **endpoint** | **String** | | |
|
828
|
+
|
829
|
+
### Return type
|
830
|
+
|
831
|
+
**Object**
|
832
|
+
|
833
|
+
### Authorization
|
834
|
+
|
835
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
836
|
+
|
837
|
+
### HTTP request headers
|
838
|
+
|
839
|
+
- **Content-Type**: Not defined
|
840
|
+
- **Accept**: application/json
|
841
|
+
|
842
|
+
|
843
|
+
## assemblyai_proxy_route_eu_assemblyai_endpoint_get_0
|
844
|
+
|
845
|
+
> Object assemblyai_proxy_route_eu_assemblyai_endpoint_get_0(endpoint)
|
846
|
+
|
847
|
+
Assemblyai Proxy Route
|
848
|
+
|
849
|
+
### Examples
|
850
|
+
|
851
|
+
```ruby
|
852
|
+
require 'time'
|
853
|
+
require 'litellm_client'
|
854
|
+
# setup authorization
|
855
|
+
LiteLLMClient.configure do |config|
|
856
|
+
# Configure API key authorization: APIKeyHeader
|
857
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
858
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
859
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
860
|
+
end
|
861
|
+
|
862
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
863
|
+
endpoint = 'endpoint_example' # String |
|
864
|
+
|
865
|
+
begin
|
866
|
+
# Assemblyai Proxy Route
|
867
|
+
result = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_0(endpoint)
|
868
|
+
p result
|
869
|
+
rescue LiteLLMClient::ApiError => e
|
870
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_0: #{e}"
|
871
|
+
end
|
872
|
+
```
|
873
|
+
|
874
|
+
#### Using the assemblyai_proxy_route_eu_assemblyai_endpoint_get_0_with_http_info variant
|
875
|
+
|
876
|
+
This returns an Array which contains the response data, status code and headers.
|
877
|
+
|
878
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_eu_assemblyai_endpoint_get_0_with_http_info(endpoint)
|
879
|
+
|
880
|
+
```ruby
|
881
|
+
begin
|
882
|
+
# Assemblyai Proxy Route
|
883
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_0_with_http_info(endpoint)
|
884
|
+
p status_code # => 2xx
|
885
|
+
p headers # => { ... }
|
886
|
+
p data # => Object
|
887
|
+
rescue LiteLLMClient::ApiError => e
|
888
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_0_with_http_info: #{e}"
|
889
|
+
end
|
890
|
+
```
|
891
|
+
|
892
|
+
### Parameters
|
893
|
+
|
894
|
+
| Name | Type | Description | Notes |
|
895
|
+
| ---- | ---- | ----------- | ----- |
|
896
|
+
| **endpoint** | **String** | | |
|
897
|
+
|
898
|
+
### Return type
|
899
|
+
|
900
|
+
**Object**
|
901
|
+
|
902
|
+
### Authorization
|
903
|
+
|
904
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
905
|
+
|
906
|
+
### HTTP request headers
|
907
|
+
|
908
|
+
- **Content-Type**: Not defined
|
909
|
+
- **Accept**: application/json
|
910
|
+
|
911
|
+
|
912
|
+
## assemblyai_proxy_route_eu_assemblyai_endpoint_get_1
|
913
|
+
|
914
|
+
> Object assemblyai_proxy_route_eu_assemblyai_endpoint_get_1(endpoint)
|
915
|
+
|
916
|
+
Assemblyai Proxy Route
|
917
|
+
|
918
|
+
### Examples
|
919
|
+
|
920
|
+
```ruby
|
921
|
+
require 'time'
|
922
|
+
require 'litellm_client'
|
923
|
+
# setup authorization
|
924
|
+
LiteLLMClient.configure do |config|
|
925
|
+
# Configure API key authorization: APIKeyHeader
|
926
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
927
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
928
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
929
|
+
end
|
930
|
+
|
931
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
932
|
+
endpoint = 'endpoint_example' # String |
|
933
|
+
|
934
|
+
begin
|
935
|
+
# Assemblyai Proxy Route
|
936
|
+
result = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_1(endpoint)
|
937
|
+
p result
|
938
|
+
rescue LiteLLMClient::ApiError => e
|
939
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_1: #{e}"
|
940
|
+
end
|
941
|
+
```
|
942
|
+
|
943
|
+
#### Using the assemblyai_proxy_route_eu_assemblyai_endpoint_get_1_with_http_info variant
|
944
|
+
|
945
|
+
This returns an Array which contains the response data, status code and headers.
|
946
|
+
|
947
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_eu_assemblyai_endpoint_get_1_with_http_info(endpoint)
|
948
|
+
|
949
|
+
```ruby
|
950
|
+
begin
|
951
|
+
# Assemblyai Proxy Route
|
952
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_1_with_http_info(endpoint)
|
953
|
+
p status_code # => 2xx
|
954
|
+
p headers # => { ... }
|
955
|
+
p data # => Object
|
956
|
+
rescue LiteLLMClient::ApiError => e
|
957
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_1_with_http_info: #{e}"
|
958
|
+
end
|
959
|
+
```
|
960
|
+
|
961
|
+
### Parameters
|
962
|
+
|
963
|
+
| Name | Type | Description | Notes |
|
964
|
+
| ---- | ---- | ----------- | ----- |
|
965
|
+
| **endpoint** | **String** | | |
|
966
|
+
|
967
|
+
### Return type
|
968
|
+
|
969
|
+
**Object**
|
970
|
+
|
971
|
+
### Authorization
|
972
|
+
|
973
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
974
|
+
|
975
|
+
### HTTP request headers
|
976
|
+
|
977
|
+
- **Content-Type**: Not defined
|
978
|
+
- **Accept**: application/json
|
979
|
+
|
980
|
+
|
981
|
+
## assemblyai_proxy_route_eu_assemblyai_endpoint_get_2
|
982
|
+
|
983
|
+
> Object assemblyai_proxy_route_eu_assemblyai_endpoint_get_2(endpoint)
|
984
|
+
|
985
|
+
Assemblyai Proxy Route
|
986
|
+
|
987
|
+
### Examples
|
988
|
+
|
989
|
+
```ruby
|
990
|
+
require 'time'
|
991
|
+
require 'litellm_client'
|
992
|
+
# setup authorization
|
993
|
+
LiteLLMClient.configure do |config|
|
994
|
+
# Configure API key authorization: APIKeyHeader
|
995
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
996
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
997
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
998
|
+
end
|
999
|
+
|
1000
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1001
|
+
endpoint = 'endpoint_example' # String |
|
1002
|
+
|
1003
|
+
begin
|
1004
|
+
# Assemblyai Proxy Route
|
1005
|
+
result = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_2(endpoint)
|
1006
|
+
p result
|
1007
|
+
rescue LiteLLMClient::ApiError => e
|
1008
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_2: #{e}"
|
1009
|
+
end
|
1010
|
+
```
|
1011
|
+
|
1012
|
+
#### Using the assemblyai_proxy_route_eu_assemblyai_endpoint_get_2_with_http_info variant
|
1013
|
+
|
1014
|
+
This returns an Array which contains the response data, status code and headers.
|
1015
|
+
|
1016
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_eu_assemblyai_endpoint_get_2_with_http_info(endpoint)
|
1017
|
+
|
1018
|
+
```ruby
|
1019
|
+
begin
|
1020
|
+
# Assemblyai Proxy Route
|
1021
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_2_with_http_info(endpoint)
|
1022
|
+
p status_code # => 2xx
|
1023
|
+
p headers # => { ... }
|
1024
|
+
p data # => Object
|
1025
|
+
rescue LiteLLMClient::ApiError => e
|
1026
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_2_with_http_info: #{e}"
|
1027
|
+
end
|
1028
|
+
```
|
1029
|
+
|
1030
|
+
### Parameters
|
1031
|
+
|
1032
|
+
| Name | Type | Description | Notes |
|
1033
|
+
| ---- | ---- | ----------- | ----- |
|
1034
|
+
| **endpoint** | **String** | | |
|
1035
|
+
|
1036
|
+
### Return type
|
1037
|
+
|
1038
|
+
**Object**
|
1039
|
+
|
1040
|
+
### Authorization
|
1041
|
+
|
1042
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1043
|
+
|
1044
|
+
### HTTP request headers
|
1045
|
+
|
1046
|
+
- **Content-Type**: Not defined
|
1047
|
+
- **Accept**: application/json
|
1048
|
+
|
1049
|
+
|
1050
|
+
## assemblyai_proxy_route_eu_assemblyai_endpoint_get_3
|
1051
|
+
|
1052
|
+
> Object assemblyai_proxy_route_eu_assemblyai_endpoint_get_3(endpoint)
|
1053
|
+
|
1054
|
+
Assemblyai Proxy Route
|
1055
|
+
|
1056
|
+
### Examples
|
1057
|
+
|
1058
|
+
```ruby
|
1059
|
+
require 'time'
|
1060
|
+
require 'litellm_client'
|
1061
|
+
# setup authorization
|
1062
|
+
LiteLLMClient.configure do |config|
|
1063
|
+
# Configure API key authorization: APIKeyHeader
|
1064
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1065
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1066
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1070
|
+
endpoint = 'endpoint_example' # String |
|
1071
|
+
|
1072
|
+
begin
|
1073
|
+
# Assemblyai Proxy Route
|
1074
|
+
result = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_3(endpoint)
|
1075
|
+
p result
|
1076
|
+
rescue LiteLLMClient::ApiError => e
|
1077
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_3: #{e}"
|
1078
|
+
end
|
1079
|
+
```
|
1080
|
+
|
1081
|
+
#### Using the assemblyai_proxy_route_eu_assemblyai_endpoint_get_3_with_http_info variant
|
1082
|
+
|
1083
|
+
This returns an Array which contains the response data, status code and headers.
|
1084
|
+
|
1085
|
+
> <Array(Object, Integer, Hash)> assemblyai_proxy_route_eu_assemblyai_endpoint_get_3_with_http_info(endpoint)
|
1086
|
+
|
1087
|
+
```ruby
|
1088
|
+
begin
|
1089
|
+
# Assemblyai Proxy Route
|
1090
|
+
data, status_code, headers = api_instance.assemblyai_proxy_route_eu_assemblyai_endpoint_get_3_with_http_info(endpoint)
|
1091
|
+
p status_code # => 2xx
|
1092
|
+
p headers # => { ... }
|
1093
|
+
p data # => Object
|
1094
|
+
rescue LiteLLMClient::ApiError => e
|
1095
|
+
puts "Error when calling PassThroughApi->assemblyai_proxy_route_eu_assemblyai_endpoint_get_3_with_http_info: #{e}"
|
1096
|
+
end
|
1097
|
+
```
|
1098
|
+
|
1099
|
+
### Parameters
|
1100
|
+
|
1101
|
+
| Name | Type | Description | Notes |
|
1102
|
+
| ---- | ---- | ----------- | ----- |
|
1103
|
+
| **endpoint** | **String** | | |
|
1104
|
+
|
1105
|
+
### Return type
|
1106
|
+
|
1107
|
+
**Object**
|
1108
|
+
|
1109
|
+
### Authorization
|
1110
|
+
|
1111
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1112
|
+
|
1113
|
+
### HTTP request headers
|
1114
|
+
|
1115
|
+
- **Content-Type**: Not defined
|
1116
|
+
- **Accept**: application/json
|
1117
|
+
|
1118
|
+
|
1119
|
+
## azure_proxy_route_azure_endpoint_get
|
1120
|
+
|
1121
|
+
> Object azure_proxy_route_azure_endpoint_get(endpoint)
|
1122
|
+
|
1123
|
+
Azure Proxy Route
|
1124
|
+
|
1125
|
+
Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}`
|
1126
|
+
|
1127
|
+
### Examples
|
1128
|
+
|
1129
|
+
```ruby
|
1130
|
+
require 'time'
|
1131
|
+
require 'litellm_client'
|
1132
|
+
# setup authorization
|
1133
|
+
LiteLLMClient.configure do |config|
|
1134
|
+
# Configure API key authorization: APIKeyHeader
|
1135
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1136
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1137
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1141
|
+
endpoint = 'endpoint_example' # String |
|
1142
|
+
|
1143
|
+
begin
|
1144
|
+
# Azure Proxy Route
|
1145
|
+
result = api_instance.azure_proxy_route_azure_endpoint_get(endpoint)
|
1146
|
+
p result
|
1147
|
+
rescue LiteLLMClient::ApiError => e
|
1148
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get: #{e}"
|
1149
|
+
end
|
1150
|
+
```
|
1151
|
+
|
1152
|
+
#### Using the azure_proxy_route_azure_endpoint_get_with_http_info variant
|
1153
|
+
|
1154
|
+
This returns an Array which contains the response data, status code and headers.
|
1155
|
+
|
1156
|
+
> <Array(Object, Integer, Hash)> azure_proxy_route_azure_endpoint_get_with_http_info(endpoint)
|
1157
|
+
|
1158
|
+
```ruby
|
1159
|
+
begin
|
1160
|
+
# Azure Proxy Route
|
1161
|
+
data, status_code, headers = api_instance.azure_proxy_route_azure_endpoint_get_with_http_info(endpoint)
|
1162
|
+
p status_code # => 2xx
|
1163
|
+
p headers # => { ... }
|
1164
|
+
p data # => Object
|
1165
|
+
rescue LiteLLMClient::ApiError => e
|
1166
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_with_http_info: #{e}"
|
1167
|
+
end
|
1168
|
+
```
|
1169
|
+
|
1170
|
+
### Parameters
|
1171
|
+
|
1172
|
+
| Name | Type | Description | Notes |
|
1173
|
+
| ---- | ---- | ----------- | ----- |
|
1174
|
+
| **endpoint** | **String** | | |
|
1175
|
+
|
1176
|
+
### Return type
|
1177
|
+
|
1178
|
+
**Object**
|
1179
|
+
|
1180
|
+
### Authorization
|
1181
|
+
|
1182
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1183
|
+
|
1184
|
+
### HTTP request headers
|
1185
|
+
|
1186
|
+
- **Content-Type**: Not defined
|
1187
|
+
- **Accept**: application/json
|
1188
|
+
|
1189
|
+
|
1190
|
+
## azure_proxy_route_azure_endpoint_get_0
|
1191
|
+
|
1192
|
+
> Object azure_proxy_route_azure_endpoint_get_0(endpoint)
|
1193
|
+
|
1194
|
+
Azure Proxy Route
|
1195
|
+
|
1196
|
+
Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}`
|
1197
|
+
|
1198
|
+
### Examples
|
1199
|
+
|
1200
|
+
```ruby
|
1201
|
+
require 'time'
|
1202
|
+
require 'litellm_client'
|
1203
|
+
# setup authorization
|
1204
|
+
LiteLLMClient.configure do |config|
|
1205
|
+
# Configure API key authorization: APIKeyHeader
|
1206
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1207
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1208
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1212
|
+
endpoint = 'endpoint_example' # String |
|
1213
|
+
|
1214
|
+
begin
|
1215
|
+
# Azure Proxy Route
|
1216
|
+
result = api_instance.azure_proxy_route_azure_endpoint_get_0(endpoint)
|
1217
|
+
p result
|
1218
|
+
rescue LiteLLMClient::ApiError => e
|
1219
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_0: #{e}"
|
1220
|
+
end
|
1221
|
+
```
|
1222
|
+
|
1223
|
+
#### Using the azure_proxy_route_azure_endpoint_get_0_with_http_info variant
|
1224
|
+
|
1225
|
+
This returns an Array which contains the response data, status code and headers.
|
1226
|
+
|
1227
|
+
> <Array(Object, Integer, Hash)> azure_proxy_route_azure_endpoint_get_0_with_http_info(endpoint)
|
1228
|
+
|
1229
|
+
```ruby
|
1230
|
+
begin
|
1231
|
+
# Azure Proxy Route
|
1232
|
+
data, status_code, headers = api_instance.azure_proxy_route_azure_endpoint_get_0_with_http_info(endpoint)
|
1233
|
+
p status_code # => 2xx
|
1234
|
+
p headers # => { ... }
|
1235
|
+
p data # => Object
|
1236
|
+
rescue LiteLLMClient::ApiError => e
|
1237
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_0_with_http_info: #{e}"
|
1238
|
+
end
|
1239
|
+
```
|
1240
|
+
|
1241
|
+
### Parameters
|
1242
|
+
|
1243
|
+
| Name | Type | Description | Notes |
|
1244
|
+
| ---- | ---- | ----------- | ----- |
|
1245
|
+
| **endpoint** | **String** | | |
|
1246
|
+
|
1247
|
+
### Return type
|
1248
|
+
|
1249
|
+
**Object**
|
1250
|
+
|
1251
|
+
### Authorization
|
1252
|
+
|
1253
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1254
|
+
|
1255
|
+
### HTTP request headers
|
1256
|
+
|
1257
|
+
- **Content-Type**: Not defined
|
1258
|
+
- **Accept**: application/json
|
1259
|
+
|
1260
|
+
|
1261
|
+
## azure_proxy_route_azure_endpoint_get_1
|
1262
|
+
|
1263
|
+
> Object azure_proxy_route_azure_endpoint_get_1(endpoint)
|
1264
|
+
|
1265
|
+
Azure Proxy Route
|
1266
|
+
|
1267
|
+
Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}`
|
1268
|
+
|
1269
|
+
### Examples
|
1270
|
+
|
1271
|
+
```ruby
|
1272
|
+
require 'time'
|
1273
|
+
require 'litellm_client'
|
1274
|
+
# setup authorization
|
1275
|
+
LiteLLMClient.configure do |config|
|
1276
|
+
# Configure API key authorization: APIKeyHeader
|
1277
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1278
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1279
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1283
|
+
endpoint = 'endpoint_example' # String |
|
1284
|
+
|
1285
|
+
begin
|
1286
|
+
# Azure Proxy Route
|
1287
|
+
result = api_instance.azure_proxy_route_azure_endpoint_get_1(endpoint)
|
1288
|
+
p result
|
1289
|
+
rescue LiteLLMClient::ApiError => e
|
1290
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_1: #{e}"
|
1291
|
+
end
|
1292
|
+
```
|
1293
|
+
|
1294
|
+
#### Using the azure_proxy_route_azure_endpoint_get_1_with_http_info variant
|
1295
|
+
|
1296
|
+
This returns an Array which contains the response data, status code and headers.
|
1297
|
+
|
1298
|
+
> <Array(Object, Integer, Hash)> azure_proxy_route_azure_endpoint_get_1_with_http_info(endpoint)
|
1299
|
+
|
1300
|
+
```ruby
|
1301
|
+
begin
|
1302
|
+
# Azure Proxy Route
|
1303
|
+
data, status_code, headers = api_instance.azure_proxy_route_azure_endpoint_get_1_with_http_info(endpoint)
|
1304
|
+
p status_code # => 2xx
|
1305
|
+
p headers # => { ... }
|
1306
|
+
p data # => Object
|
1307
|
+
rescue LiteLLMClient::ApiError => e
|
1308
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_1_with_http_info: #{e}"
|
1309
|
+
end
|
1310
|
+
```
|
1311
|
+
|
1312
|
+
### Parameters
|
1313
|
+
|
1314
|
+
| Name | Type | Description | Notes |
|
1315
|
+
| ---- | ---- | ----------- | ----- |
|
1316
|
+
| **endpoint** | **String** | | |
|
1317
|
+
|
1318
|
+
### Return type
|
1319
|
+
|
1320
|
+
**Object**
|
1321
|
+
|
1322
|
+
### Authorization
|
1323
|
+
|
1324
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1325
|
+
|
1326
|
+
### HTTP request headers
|
1327
|
+
|
1328
|
+
- **Content-Type**: Not defined
|
1329
|
+
- **Accept**: application/json
|
1330
|
+
|
1331
|
+
|
1332
|
+
## azure_proxy_route_azure_endpoint_get_2
|
1333
|
+
|
1334
|
+
> Object azure_proxy_route_azure_endpoint_get_2(endpoint)
|
1335
|
+
|
1336
|
+
Azure Proxy Route
|
1337
|
+
|
1338
|
+
Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}`
|
1339
|
+
|
1340
|
+
### Examples
|
1341
|
+
|
1342
|
+
```ruby
|
1343
|
+
require 'time'
|
1344
|
+
require 'litellm_client'
|
1345
|
+
# setup authorization
|
1346
|
+
LiteLLMClient.configure do |config|
|
1347
|
+
# Configure API key authorization: APIKeyHeader
|
1348
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1349
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1350
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1354
|
+
endpoint = 'endpoint_example' # String |
|
1355
|
+
|
1356
|
+
begin
|
1357
|
+
# Azure Proxy Route
|
1358
|
+
result = api_instance.azure_proxy_route_azure_endpoint_get_2(endpoint)
|
1359
|
+
p result
|
1360
|
+
rescue LiteLLMClient::ApiError => e
|
1361
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_2: #{e}"
|
1362
|
+
end
|
1363
|
+
```
|
1364
|
+
|
1365
|
+
#### Using the azure_proxy_route_azure_endpoint_get_2_with_http_info variant
|
1366
|
+
|
1367
|
+
This returns an Array which contains the response data, status code and headers.
|
1368
|
+
|
1369
|
+
> <Array(Object, Integer, Hash)> azure_proxy_route_azure_endpoint_get_2_with_http_info(endpoint)
|
1370
|
+
|
1371
|
+
```ruby
|
1372
|
+
begin
|
1373
|
+
# Azure Proxy Route
|
1374
|
+
data, status_code, headers = api_instance.azure_proxy_route_azure_endpoint_get_2_with_http_info(endpoint)
|
1375
|
+
p status_code # => 2xx
|
1376
|
+
p headers # => { ... }
|
1377
|
+
p data # => Object
|
1378
|
+
rescue LiteLLMClient::ApiError => e
|
1379
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_2_with_http_info: #{e}"
|
1380
|
+
end
|
1381
|
+
```
|
1382
|
+
|
1383
|
+
### Parameters
|
1384
|
+
|
1385
|
+
| Name | Type | Description | Notes |
|
1386
|
+
| ---- | ---- | ----------- | ----- |
|
1387
|
+
| **endpoint** | **String** | | |
|
1388
|
+
|
1389
|
+
### Return type
|
1390
|
+
|
1391
|
+
**Object**
|
1392
|
+
|
1393
|
+
### Authorization
|
1394
|
+
|
1395
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1396
|
+
|
1397
|
+
### HTTP request headers
|
1398
|
+
|
1399
|
+
- **Content-Type**: Not defined
|
1400
|
+
- **Accept**: application/json
|
1401
|
+
|
1402
|
+
|
1403
|
+
## azure_proxy_route_azure_endpoint_get_3
|
1404
|
+
|
1405
|
+
> Object azure_proxy_route_azure_endpoint_get_3(endpoint)
|
1406
|
+
|
1407
|
+
Azure Proxy Route
|
1408
|
+
|
1409
|
+
Call any azure endpoint using the proxy. Just use `{PROXY_BASE_URL}/azure/{endpoint:path}`
|
1410
|
+
|
1411
|
+
### Examples
|
1412
|
+
|
1413
|
+
```ruby
|
1414
|
+
require 'time'
|
1415
|
+
require 'litellm_client'
|
1416
|
+
# setup authorization
|
1417
|
+
LiteLLMClient.configure do |config|
|
1418
|
+
# Configure API key authorization: APIKeyHeader
|
1419
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1420
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1421
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1425
|
+
endpoint = 'endpoint_example' # String |
|
1426
|
+
|
1427
|
+
begin
|
1428
|
+
# Azure Proxy Route
|
1429
|
+
result = api_instance.azure_proxy_route_azure_endpoint_get_3(endpoint)
|
1430
|
+
p result
|
1431
|
+
rescue LiteLLMClient::ApiError => e
|
1432
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_3: #{e}"
|
1433
|
+
end
|
1434
|
+
```
|
1435
|
+
|
1436
|
+
#### Using the azure_proxy_route_azure_endpoint_get_3_with_http_info variant
|
1437
|
+
|
1438
|
+
This returns an Array which contains the response data, status code and headers.
|
1439
|
+
|
1440
|
+
> <Array(Object, Integer, Hash)> azure_proxy_route_azure_endpoint_get_3_with_http_info(endpoint)
|
1441
|
+
|
1442
|
+
```ruby
|
1443
|
+
begin
|
1444
|
+
# Azure Proxy Route
|
1445
|
+
data, status_code, headers = api_instance.azure_proxy_route_azure_endpoint_get_3_with_http_info(endpoint)
|
1446
|
+
p status_code # => 2xx
|
1447
|
+
p headers # => { ... }
|
1448
|
+
p data # => Object
|
1449
|
+
rescue LiteLLMClient::ApiError => e
|
1450
|
+
puts "Error when calling PassThroughApi->azure_proxy_route_azure_endpoint_get_3_with_http_info: #{e}"
|
1451
|
+
end
|
1452
|
+
```
|
1453
|
+
|
1454
|
+
### Parameters
|
1455
|
+
|
1456
|
+
| Name | Type | Description | Notes |
|
1457
|
+
| ---- | ---- | ----------- | ----- |
|
1458
|
+
| **endpoint** | **String** | | |
|
1459
|
+
|
1460
|
+
### Return type
|
1461
|
+
|
1462
|
+
**Object**
|
1463
|
+
|
1464
|
+
### Authorization
|
1465
|
+
|
1466
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1467
|
+
|
1468
|
+
### HTTP request headers
|
1469
|
+
|
1470
|
+
- **Content-Type**: Not defined
|
1471
|
+
- **Accept**: application/json
|
1472
|
+
|
1473
|
+
|
1474
|
+
## bedrock_proxy_route_bedrock_endpoint_get
|
1475
|
+
|
1476
|
+
> Object bedrock_proxy_route_bedrock_endpoint_get(endpoint)
|
1477
|
+
|
1478
|
+
Bedrock Proxy Route
|
1479
|
+
|
1480
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/bedrock)
|
1481
|
+
|
1482
|
+
### Examples
|
1483
|
+
|
1484
|
+
```ruby
|
1485
|
+
require 'time'
|
1486
|
+
require 'litellm_client'
|
1487
|
+
# setup authorization
|
1488
|
+
LiteLLMClient.configure do |config|
|
1489
|
+
# Configure API key authorization: APIKeyHeader
|
1490
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1491
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1492
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1493
|
+
end
|
1494
|
+
|
1495
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1496
|
+
endpoint = 'endpoint_example' # String |
|
1497
|
+
|
1498
|
+
begin
|
1499
|
+
# Bedrock Proxy Route
|
1500
|
+
result = api_instance.bedrock_proxy_route_bedrock_endpoint_get(endpoint)
|
1501
|
+
p result
|
1502
|
+
rescue LiteLLMClient::ApiError => e
|
1503
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get: #{e}"
|
1504
|
+
end
|
1505
|
+
```
|
1506
|
+
|
1507
|
+
#### Using the bedrock_proxy_route_bedrock_endpoint_get_with_http_info variant
|
1508
|
+
|
1509
|
+
This returns an Array which contains the response data, status code and headers.
|
1510
|
+
|
1511
|
+
> <Array(Object, Integer, Hash)> bedrock_proxy_route_bedrock_endpoint_get_with_http_info(endpoint)
|
1512
|
+
|
1513
|
+
```ruby
|
1514
|
+
begin
|
1515
|
+
# Bedrock Proxy Route
|
1516
|
+
data, status_code, headers = api_instance.bedrock_proxy_route_bedrock_endpoint_get_with_http_info(endpoint)
|
1517
|
+
p status_code # => 2xx
|
1518
|
+
p headers # => { ... }
|
1519
|
+
p data # => Object
|
1520
|
+
rescue LiteLLMClient::ApiError => e
|
1521
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_with_http_info: #{e}"
|
1522
|
+
end
|
1523
|
+
```
|
1524
|
+
|
1525
|
+
### Parameters
|
1526
|
+
|
1527
|
+
| Name | Type | Description | Notes |
|
1528
|
+
| ---- | ---- | ----------- | ----- |
|
1529
|
+
| **endpoint** | **String** | | |
|
1530
|
+
|
1531
|
+
### Return type
|
1532
|
+
|
1533
|
+
**Object**
|
1534
|
+
|
1535
|
+
### Authorization
|
1536
|
+
|
1537
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1538
|
+
|
1539
|
+
### HTTP request headers
|
1540
|
+
|
1541
|
+
- **Content-Type**: Not defined
|
1542
|
+
- **Accept**: application/json
|
1543
|
+
|
1544
|
+
|
1545
|
+
## bedrock_proxy_route_bedrock_endpoint_get_0
|
1546
|
+
|
1547
|
+
> Object bedrock_proxy_route_bedrock_endpoint_get_0(endpoint)
|
1548
|
+
|
1549
|
+
Bedrock Proxy Route
|
1550
|
+
|
1551
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/bedrock)
|
1552
|
+
|
1553
|
+
### Examples
|
1554
|
+
|
1555
|
+
```ruby
|
1556
|
+
require 'time'
|
1557
|
+
require 'litellm_client'
|
1558
|
+
# setup authorization
|
1559
|
+
LiteLLMClient.configure do |config|
|
1560
|
+
# Configure API key authorization: APIKeyHeader
|
1561
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1562
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1563
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1567
|
+
endpoint = 'endpoint_example' # String |
|
1568
|
+
|
1569
|
+
begin
|
1570
|
+
# Bedrock Proxy Route
|
1571
|
+
result = api_instance.bedrock_proxy_route_bedrock_endpoint_get_0(endpoint)
|
1572
|
+
p result
|
1573
|
+
rescue LiteLLMClient::ApiError => e
|
1574
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_0: #{e}"
|
1575
|
+
end
|
1576
|
+
```
|
1577
|
+
|
1578
|
+
#### Using the bedrock_proxy_route_bedrock_endpoint_get_0_with_http_info variant
|
1579
|
+
|
1580
|
+
This returns an Array which contains the response data, status code and headers.
|
1581
|
+
|
1582
|
+
> <Array(Object, Integer, Hash)> bedrock_proxy_route_bedrock_endpoint_get_0_with_http_info(endpoint)
|
1583
|
+
|
1584
|
+
```ruby
|
1585
|
+
begin
|
1586
|
+
# Bedrock Proxy Route
|
1587
|
+
data, status_code, headers = api_instance.bedrock_proxy_route_bedrock_endpoint_get_0_with_http_info(endpoint)
|
1588
|
+
p status_code # => 2xx
|
1589
|
+
p headers # => { ... }
|
1590
|
+
p data # => Object
|
1591
|
+
rescue LiteLLMClient::ApiError => e
|
1592
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_0_with_http_info: #{e}"
|
1593
|
+
end
|
1594
|
+
```
|
1595
|
+
|
1596
|
+
### Parameters
|
1597
|
+
|
1598
|
+
| Name | Type | Description | Notes |
|
1599
|
+
| ---- | ---- | ----------- | ----- |
|
1600
|
+
| **endpoint** | **String** | | |
|
1601
|
+
|
1602
|
+
### Return type
|
1603
|
+
|
1604
|
+
**Object**
|
1605
|
+
|
1606
|
+
### Authorization
|
1607
|
+
|
1608
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1609
|
+
|
1610
|
+
### HTTP request headers
|
1611
|
+
|
1612
|
+
- **Content-Type**: Not defined
|
1613
|
+
- **Accept**: application/json
|
1614
|
+
|
1615
|
+
|
1616
|
+
## bedrock_proxy_route_bedrock_endpoint_get_1
|
1617
|
+
|
1618
|
+
> Object bedrock_proxy_route_bedrock_endpoint_get_1(endpoint)
|
1619
|
+
|
1620
|
+
Bedrock Proxy Route
|
1621
|
+
|
1622
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/bedrock)
|
1623
|
+
|
1624
|
+
### Examples
|
1625
|
+
|
1626
|
+
```ruby
|
1627
|
+
require 'time'
|
1628
|
+
require 'litellm_client'
|
1629
|
+
# setup authorization
|
1630
|
+
LiteLLMClient.configure do |config|
|
1631
|
+
# Configure API key authorization: APIKeyHeader
|
1632
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1633
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1634
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1638
|
+
endpoint = 'endpoint_example' # String |
|
1639
|
+
|
1640
|
+
begin
|
1641
|
+
# Bedrock Proxy Route
|
1642
|
+
result = api_instance.bedrock_proxy_route_bedrock_endpoint_get_1(endpoint)
|
1643
|
+
p result
|
1644
|
+
rescue LiteLLMClient::ApiError => e
|
1645
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_1: #{e}"
|
1646
|
+
end
|
1647
|
+
```
|
1648
|
+
|
1649
|
+
#### Using the bedrock_proxy_route_bedrock_endpoint_get_1_with_http_info variant
|
1650
|
+
|
1651
|
+
This returns an Array which contains the response data, status code and headers.
|
1652
|
+
|
1653
|
+
> <Array(Object, Integer, Hash)> bedrock_proxy_route_bedrock_endpoint_get_1_with_http_info(endpoint)
|
1654
|
+
|
1655
|
+
```ruby
|
1656
|
+
begin
|
1657
|
+
# Bedrock Proxy Route
|
1658
|
+
data, status_code, headers = api_instance.bedrock_proxy_route_bedrock_endpoint_get_1_with_http_info(endpoint)
|
1659
|
+
p status_code # => 2xx
|
1660
|
+
p headers # => { ... }
|
1661
|
+
p data # => Object
|
1662
|
+
rescue LiteLLMClient::ApiError => e
|
1663
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_1_with_http_info: #{e}"
|
1664
|
+
end
|
1665
|
+
```
|
1666
|
+
|
1667
|
+
### Parameters
|
1668
|
+
|
1669
|
+
| Name | Type | Description | Notes |
|
1670
|
+
| ---- | ---- | ----------- | ----- |
|
1671
|
+
| **endpoint** | **String** | | |
|
1672
|
+
|
1673
|
+
### Return type
|
1674
|
+
|
1675
|
+
**Object**
|
1676
|
+
|
1677
|
+
### Authorization
|
1678
|
+
|
1679
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1680
|
+
|
1681
|
+
### HTTP request headers
|
1682
|
+
|
1683
|
+
- **Content-Type**: Not defined
|
1684
|
+
- **Accept**: application/json
|
1685
|
+
|
1686
|
+
|
1687
|
+
## bedrock_proxy_route_bedrock_endpoint_get_2
|
1688
|
+
|
1689
|
+
> Object bedrock_proxy_route_bedrock_endpoint_get_2(endpoint)
|
1690
|
+
|
1691
|
+
Bedrock Proxy Route
|
1692
|
+
|
1693
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/bedrock)
|
1694
|
+
|
1695
|
+
### Examples
|
1696
|
+
|
1697
|
+
```ruby
|
1698
|
+
require 'time'
|
1699
|
+
require 'litellm_client'
|
1700
|
+
# setup authorization
|
1701
|
+
LiteLLMClient.configure do |config|
|
1702
|
+
# Configure API key authorization: APIKeyHeader
|
1703
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1704
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1705
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1709
|
+
endpoint = 'endpoint_example' # String |
|
1710
|
+
|
1711
|
+
begin
|
1712
|
+
# Bedrock Proxy Route
|
1713
|
+
result = api_instance.bedrock_proxy_route_bedrock_endpoint_get_2(endpoint)
|
1714
|
+
p result
|
1715
|
+
rescue LiteLLMClient::ApiError => e
|
1716
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_2: #{e}"
|
1717
|
+
end
|
1718
|
+
```
|
1719
|
+
|
1720
|
+
#### Using the bedrock_proxy_route_bedrock_endpoint_get_2_with_http_info variant
|
1721
|
+
|
1722
|
+
This returns an Array which contains the response data, status code and headers.
|
1723
|
+
|
1724
|
+
> <Array(Object, Integer, Hash)> bedrock_proxy_route_bedrock_endpoint_get_2_with_http_info(endpoint)
|
1725
|
+
|
1726
|
+
```ruby
|
1727
|
+
begin
|
1728
|
+
# Bedrock Proxy Route
|
1729
|
+
data, status_code, headers = api_instance.bedrock_proxy_route_bedrock_endpoint_get_2_with_http_info(endpoint)
|
1730
|
+
p status_code # => 2xx
|
1731
|
+
p headers # => { ... }
|
1732
|
+
p data # => Object
|
1733
|
+
rescue LiteLLMClient::ApiError => e
|
1734
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_2_with_http_info: #{e}"
|
1735
|
+
end
|
1736
|
+
```
|
1737
|
+
|
1738
|
+
### Parameters
|
1739
|
+
|
1740
|
+
| Name | Type | Description | Notes |
|
1741
|
+
| ---- | ---- | ----------- | ----- |
|
1742
|
+
| **endpoint** | **String** | | |
|
1743
|
+
|
1744
|
+
### Return type
|
1745
|
+
|
1746
|
+
**Object**
|
1747
|
+
|
1748
|
+
### Authorization
|
1749
|
+
|
1750
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1751
|
+
|
1752
|
+
### HTTP request headers
|
1753
|
+
|
1754
|
+
- **Content-Type**: Not defined
|
1755
|
+
- **Accept**: application/json
|
1756
|
+
|
1757
|
+
|
1758
|
+
## bedrock_proxy_route_bedrock_endpoint_get_3
|
1759
|
+
|
1760
|
+
> Object bedrock_proxy_route_bedrock_endpoint_get_3(endpoint)
|
1761
|
+
|
1762
|
+
Bedrock Proxy Route
|
1763
|
+
|
1764
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/bedrock)
|
1765
|
+
|
1766
|
+
### Examples
|
1767
|
+
|
1768
|
+
```ruby
|
1769
|
+
require 'time'
|
1770
|
+
require 'litellm_client'
|
1771
|
+
# setup authorization
|
1772
|
+
LiteLLMClient.configure do |config|
|
1773
|
+
# Configure API key authorization: APIKeyHeader
|
1774
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1775
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1776
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1777
|
+
end
|
1778
|
+
|
1779
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1780
|
+
endpoint = 'endpoint_example' # String |
|
1781
|
+
|
1782
|
+
begin
|
1783
|
+
# Bedrock Proxy Route
|
1784
|
+
result = api_instance.bedrock_proxy_route_bedrock_endpoint_get_3(endpoint)
|
1785
|
+
p result
|
1786
|
+
rescue LiteLLMClient::ApiError => e
|
1787
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_3: #{e}"
|
1788
|
+
end
|
1789
|
+
```
|
1790
|
+
|
1791
|
+
#### Using the bedrock_proxy_route_bedrock_endpoint_get_3_with_http_info variant
|
1792
|
+
|
1793
|
+
This returns an Array which contains the response data, status code and headers.
|
1794
|
+
|
1795
|
+
> <Array(Object, Integer, Hash)> bedrock_proxy_route_bedrock_endpoint_get_3_with_http_info(endpoint)
|
1796
|
+
|
1797
|
+
```ruby
|
1798
|
+
begin
|
1799
|
+
# Bedrock Proxy Route
|
1800
|
+
data, status_code, headers = api_instance.bedrock_proxy_route_bedrock_endpoint_get_3_with_http_info(endpoint)
|
1801
|
+
p status_code # => 2xx
|
1802
|
+
p headers # => { ... }
|
1803
|
+
p data # => Object
|
1804
|
+
rescue LiteLLMClient::ApiError => e
|
1805
|
+
puts "Error when calling PassThroughApi->bedrock_proxy_route_bedrock_endpoint_get_3_with_http_info: #{e}"
|
1806
|
+
end
|
1807
|
+
```
|
1808
|
+
|
1809
|
+
### Parameters
|
1810
|
+
|
1811
|
+
| Name | Type | Description | Notes |
|
1812
|
+
| ---- | ---- | ----------- | ----- |
|
1813
|
+
| **endpoint** | **String** | | |
|
1814
|
+
|
1815
|
+
### Return type
|
1816
|
+
|
1817
|
+
**Object**
|
1818
|
+
|
1819
|
+
### Authorization
|
1820
|
+
|
1821
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1822
|
+
|
1823
|
+
### HTTP request headers
|
1824
|
+
|
1825
|
+
- **Content-Type**: Not defined
|
1826
|
+
- **Accept**: application/json
|
1827
|
+
|
1828
|
+
|
1829
|
+
## cohere_proxy_route_cohere_endpoint_get
|
1830
|
+
|
1831
|
+
> Object cohere_proxy_route_cohere_endpoint_get(endpoint)
|
1832
|
+
|
1833
|
+
Cohere Proxy Route
|
1834
|
+
|
1835
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/cohere)
|
1836
|
+
|
1837
|
+
### Examples
|
1838
|
+
|
1839
|
+
```ruby
|
1840
|
+
require 'time'
|
1841
|
+
require 'litellm_client'
|
1842
|
+
# setup authorization
|
1843
|
+
LiteLLMClient.configure do |config|
|
1844
|
+
# Configure API key authorization: APIKeyHeader
|
1845
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1846
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1847
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1851
|
+
endpoint = 'endpoint_example' # String |
|
1852
|
+
|
1853
|
+
begin
|
1854
|
+
# Cohere Proxy Route
|
1855
|
+
result = api_instance.cohere_proxy_route_cohere_endpoint_get(endpoint)
|
1856
|
+
p result
|
1857
|
+
rescue LiteLLMClient::ApiError => e
|
1858
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get: #{e}"
|
1859
|
+
end
|
1860
|
+
```
|
1861
|
+
|
1862
|
+
#### Using the cohere_proxy_route_cohere_endpoint_get_with_http_info variant
|
1863
|
+
|
1864
|
+
This returns an Array which contains the response data, status code and headers.
|
1865
|
+
|
1866
|
+
> <Array(Object, Integer, Hash)> cohere_proxy_route_cohere_endpoint_get_with_http_info(endpoint)
|
1867
|
+
|
1868
|
+
```ruby
|
1869
|
+
begin
|
1870
|
+
# Cohere Proxy Route
|
1871
|
+
data, status_code, headers = api_instance.cohere_proxy_route_cohere_endpoint_get_with_http_info(endpoint)
|
1872
|
+
p status_code # => 2xx
|
1873
|
+
p headers # => { ... }
|
1874
|
+
p data # => Object
|
1875
|
+
rescue LiteLLMClient::ApiError => e
|
1876
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_with_http_info: #{e}"
|
1877
|
+
end
|
1878
|
+
```
|
1879
|
+
|
1880
|
+
### Parameters
|
1881
|
+
|
1882
|
+
| Name | Type | Description | Notes |
|
1883
|
+
| ---- | ---- | ----------- | ----- |
|
1884
|
+
| **endpoint** | **String** | | |
|
1885
|
+
|
1886
|
+
### Return type
|
1887
|
+
|
1888
|
+
**Object**
|
1889
|
+
|
1890
|
+
### Authorization
|
1891
|
+
|
1892
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1893
|
+
|
1894
|
+
### HTTP request headers
|
1895
|
+
|
1896
|
+
- **Content-Type**: Not defined
|
1897
|
+
- **Accept**: application/json
|
1898
|
+
|
1899
|
+
|
1900
|
+
## cohere_proxy_route_cohere_endpoint_get_0
|
1901
|
+
|
1902
|
+
> Object cohere_proxy_route_cohere_endpoint_get_0(endpoint)
|
1903
|
+
|
1904
|
+
Cohere Proxy Route
|
1905
|
+
|
1906
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/cohere)
|
1907
|
+
|
1908
|
+
### Examples
|
1909
|
+
|
1910
|
+
```ruby
|
1911
|
+
require 'time'
|
1912
|
+
require 'litellm_client'
|
1913
|
+
# setup authorization
|
1914
|
+
LiteLLMClient.configure do |config|
|
1915
|
+
# Configure API key authorization: APIKeyHeader
|
1916
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1917
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1918
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1922
|
+
endpoint = 'endpoint_example' # String |
|
1923
|
+
|
1924
|
+
begin
|
1925
|
+
# Cohere Proxy Route
|
1926
|
+
result = api_instance.cohere_proxy_route_cohere_endpoint_get_0(endpoint)
|
1927
|
+
p result
|
1928
|
+
rescue LiteLLMClient::ApiError => e
|
1929
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_0: #{e}"
|
1930
|
+
end
|
1931
|
+
```
|
1932
|
+
|
1933
|
+
#### Using the cohere_proxy_route_cohere_endpoint_get_0_with_http_info variant
|
1934
|
+
|
1935
|
+
This returns an Array which contains the response data, status code and headers.
|
1936
|
+
|
1937
|
+
> <Array(Object, Integer, Hash)> cohere_proxy_route_cohere_endpoint_get_0_with_http_info(endpoint)
|
1938
|
+
|
1939
|
+
```ruby
|
1940
|
+
begin
|
1941
|
+
# Cohere Proxy Route
|
1942
|
+
data, status_code, headers = api_instance.cohere_proxy_route_cohere_endpoint_get_0_with_http_info(endpoint)
|
1943
|
+
p status_code # => 2xx
|
1944
|
+
p headers # => { ... }
|
1945
|
+
p data # => Object
|
1946
|
+
rescue LiteLLMClient::ApiError => e
|
1947
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_0_with_http_info: #{e}"
|
1948
|
+
end
|
1949
|
+
```
|
1950
|
+
|
1951
|
+
### Parameters
|
1952
|
+
|
1953
|
+
| Name | Type | Description | Notes |
|
1954
|
+
| ---- | ---- | ----------- | ----- |
|
1955
|
+
| **endpoint** | **String** | | |
|
1956
|
+
|
1957
|
+
### Return type
|
1958
|
+
|
1959
|
+
**Object**
|
1960
|
+
|
1961
|
+
### Authorization
|
1962
|
+
|
1963
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
1964
|
+
|
1965
|
+
### HTTP request headers
|
1966
|
+
|
1967
|
+
- **Content-Type**: Not defined
|
1968
|
+
- **Accept**: application/json
|
1969
|
+
|
1970
|
+
|
1971
|
+
## cohere_proxy_route_cohere_endpoint_get_1
|
1972
|
+
|
1973
|
+
> Object cohere_proxy_route_cohere_endpoint_get_1(endpoint)
|
1974
|
+
|
1975
|
+
Cohere Proxy Route
|
1976
|
+
|
1977
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/cohere)
|
1978
|
+
|
1979
|
+
### Examples
|
1980
|
+
|
1981
|
+
```ruby
|
1982
|
+
require 'time'
|
1983
|
+
require 'litellm_client'
|
1984
|
+
# setup authorization
|
1985
|
+
LiteLLMClient.configure do |config|
|
1986
|
+
# Configure API key authorization: APIKeyHeader
|
1987
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
1988
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1989
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
1990
|
+
end
|
1991
|
+
|
1992
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
1993
|
+
endpoint = 'endpoint_example' # String |
|
1994
|
+
|
1995
|
+
begin
|
1996
|
+
# Cohere Proxy Route
|
1997
|
+
result = api_instance.cohere_proxy_route_cohere_endpoint_get_1(endpoint)
|
1998
|
+
p result
|
1999
|
+
rescue LiteLLMClient::ApiError => e
|
2000
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_1: #{e}"
|
2001
|
+
end
|
2002
|
+
```
|
2003
|
+
|
2004
|
+
#### Using the cohere_proxy_route_cohere_endpoint_get_1_with_http_info variant
|
2005
|
+
|
2006
|
+
This returns an Array which contains the response data, status code and headers.
|
2007
|
+
|
2008
|
+
> <Array(Object, Integer, Hash)> cohere_proxy_route_cohere_endpoint_get_1_with_http_info(endpoint)
|
2009
|
+
|
2010
|
+
```ruby
|
2011
|
+
begin
|
2012
|
+
# Cohere Proxy Route
|
2013
|
+
data, status_code, headers = api_instance.cohere_proxy_route_cohere_endpoint_get_1_with_http_info(endpoint)
|
2014
|
+
p status_code # => 2xx
|
2015
|
+
p headers # => { ... }
|
2016
|
+
p data # => Object
|
2017
|
+
rescue LiteLLMClient::ApiError => e
|
2018
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_1_with_http_info: #{e}"
|
2019
|
+
end
|
2020
|
+
```
|
2021
|
+
|
2022
|
+
### Parameters
|
2023
|
+
|
2024
|
+
| Name | Type | Description | Notes |
|
2025
|
+
| ---- | ---- | ----------- | ----- |
|
2026
|
+
| **endpoint** | **String** | | |
|
2027
|
+
|
2028
|
+
### Return type
|
2029
|
+
|
2030
|
+
**Object**
|
2031
|
+
|
2032
|
+
### Authorization
|
2033
|
+
|
2034
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
2035
|
+
|
2036
|
+
### HTTP request headers
|
2037
|
+
|
2038
|
+
- **Content-Type**: Not defined
|
2039
|
+
- **Accept**: application/json
|
2040
|
+
|
2041
|
+
|
2042
|
+
## cohere_proxy_route_cohere_endpoint_get_2
|
2043
|
+
|
2044
|
+
> Object cohere_proxy_route_cohere_endpoint_get_2(endpoint)
|
2045
|
+
|
2046
|
+
Cohere Proxy Route
|
2047
|
+
|
2048
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/cohere)
|
2049
|
+
|
2050
|
+
### Examples
|
2051
|
+
|
2052
|
+
```ruby
|
2053
|
+
require 'time'
|
2054
|
+
require 'litellm_client'
|
2055
|
+
# setup authorization
|
2056
|
+
LiteLLMClient.configure do |config|
|
2057
|
+
# Configure API key authorization: APIKeyHeader
|
2058
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
2059
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2060
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2064
|
+
endpoint = 'endpoint_example' # String |
|
2065
|
+
|
2066
|
+
begin
|
2067
|
+
# Cohere Proxy Route
|
2068
|
+
result = api_instance.cohere_proxy_route_cohere_endpoint_get_2(endpoint)
|
2069
|
+
p result
|
2070
|
+
rescue LiteLLMClient::ApiError => e
|
2071
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_2: #{e}"
|
2072
|
+
end
|
2073
|
+
```
|
2074
|
+
|
2075
|
+
#### Using the cohere_proxy_route_cohere_endpoint_get_2_with_http_info variant
|
2076
|
+
|
2077
|
+
This returns an Array which contains the response data, status code and headers.
|
2078
|
+
|
2079
|
+
> <Array(Object, Integer, Hash)> cohere_proxy_route_cohere_endpoint_get_2_with_http_info(endpoint)
|
2080
|
+
|
2081
|
+
```ruby
|
2082
|
+
begin
|
2083
|
+
# Cohere Proxy Route
|
2084
|
+
data, status_code, headers = api_instance.cohere_proxy_route_cohere_endpoint_get_2_with_http_info(endpoint)
|
2085
|
+
p status_code # => 2xx
|
2086
|
+
p headers # => { ... }
|
2087
|
+
p data # => Object
|
2088
|
+
rescue LiteLLMClient::ApiError => e
|
2089
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_2_with_http_info: #{e}"
|
2090
|
+
end
|
2091
|
+
```
|
2092
|
+
|
2093
|
+
### Parameters
|
2094
|
+
|
2095
|
+
| Name | Type | Description | Notes |
|
2096
|
+
| ---- | ---- | ----------- | ----- |
|
2097
|
+
| **endpoint** | **String** | | |
|
2098
|
+
|
2099
|
+
### Return type
|
2100
|
+
|
2101
|
+
**Object**
|
2102
|
+
|
2103
|
+
### Authorization
|
2104
|
+
|
2105
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
2106
|
+
|
2107
|
+
### HTTP request headers
|
2108
|
+
|
2109
|
+
- **Content-Type**: Not defined
|
2110
|
+
- **Accept**: application/json
|
2111
|
+
|
2112
|
+
|
2113
|
+
## cohere_proxy_route_cohere_endpoint_get_3
|
2114
|
+
|
2115
|
+
> Object cohere_proxy_route_cohere_endpoint_get_3(endpoint)
|
2116
|
+
|
2117
|
+
Cohere Proxy Route
|
2118
|
+
|
2119
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/cohere)
|
2120
|
+
|
2121
|
+
### Examples
|
2122
|
+
|
2123
|
+
```ruby
|
2124
|
+
require 'time'
|
2125
|
+
require 'litellm_client'
|
2126
|
+
# setup authorization
|
2127
|
+
LiteLLMClient.configure do |config|
|
2128
|
+
# Configure API key authorization: APIKeyHeader
|
2129
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
2130
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2131
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2135
|
+
endpoint = 'endpoint_example' # String |
|
2136
|
+
|
2137
|
+
begin
|
2138
|
+
# Cohere Proxy Route
|
2139
|
+
result = api_instance.cohere_proxy_route_cohere_endpoint_get_3(endpoint)
|
2140
|
+
p result
|
2141
|
+
rescue LiteLLMClient::ApiError => e
|
2142
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_3: #{e}"
|
2143
|
+
end
|
2144
|
+
```
|
2145
|
+
|
2146
|
+
#### Using the cohere_proxy_route_cohere_endpoint_get_3_with_http_info variant
|
2147
|
+
|
2148
|
+
This returns an Array which contains the response data, status code and headers.
|
2149
|
+
|
2150
|
+
> <Array(Object, Integer, Hash)> cohere_proxy_route_cohere_endpoint_get_3_with_http_info(endpoint)
|
2151
|
+
|
2152
|
+
```ruby
|
2153
|
+
begin
|
2154
|
+
# Cohere Proxy Route
|
2155
|
+
data, status_code, headers = api_instance.cohere_proxy_route_cohere_endpoint_get_3_with_http_info(endpoint)
|
2156
|
+
p status_code # => 2xx
|
2157
|
+
p headers # => { ... }
|
2158
|
+
p data # => Object
|
2159
|
+
rescue LiteLLMClient::ApiError => e
|
2160
|
+
puts "Error when calling PassThroughApi->cohere_proxy_route_cohere_endpoint_get_3_with_http_info: #{e}"
|
2161
|
+
end
|
2162
|
+
```
|
2163
|
+
|
2164
|
+
### Parameters
|
2165
|
+
|
2166
|
+
| Name | Type | Description | Notes |
|
2167
|
+
| ---- | ---- | ----------- | ----- |
|
2168
|
+
| **endpoint** | **String** | | |
|
2169
|
+
|
2170
|
+
### Return type
|
2171
|
+
|
2172
|
+
**Object**
|
2173
|
+
|
2174
|
+
### Authorization
|
2175
|
+
|
2176
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
2177
|
+
|
2178
|
+
### HTTP request headers
|
2179
|
+
|
2180
|
+
- **Content-Type**: Not defined
|
2181
|
+
- **Accept**: application/json
|
2182
|
+
|
2183
|
+
|
2184
|
+
## gemini_proxy_route_gemini_endpoint_get
|
2185
|
+
|
2186
|
+
> Object gemini_proxy_route_gemini_endpoint_get(endpoint)
|
2187
|
+
|
2188
|
+
Gemini Proxy Route
|
2189
|
+
|
2190
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)
|
2191
|
+
|
2192
|
+
### Examples
|
2193
|
+
|
2194
|
+
```ruby
|
2195
|
+
require 'time'
|
2196
|
+
require 'litellm_client'
|
2197
|
+
|
2198
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2199
|
+
endpoint = 'endpoint_example' # String |
|
2200
|
+
|
2201
|
+
begin
|
2202
|
+
# Gemini Proxy Route
|
2203
|
+
result = api_instance.gemini_proxy_route_gemini_endpoint_get(endpoint)
|
2204
|
+
p result
|
2205
|
+
rescue LiteLLMClient::ApiError => e
|
2206
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get: #{e}"
|
2207
|
+
end
|
2208
|
+
```
|
2209
|
+
|
2210
|
+
#### Using the gemini_proxy_route_gemini_endpoint_get_with_http_info variant
|
2211
|
+
|
2212
|
+
This returns an Array which contains the response data, status code and headers.
|
2213
|
+
|
2214
|
+
> <Array(Object, Integer, Hash)> gemini_proxy_route_gemini_endpoint_get_with_http_info(endpoint)
|
2215
|
+
|
2216
|
+
```ruby
|
2217
|
+
begin
|
2218
|
+
# Gemini Proxy Route
|
2219
|
+
data, status_code, headers = api_instance.gemini_proxy_route_gemini_endpoint_get_with_http_info(endpoint)
|
2220
|
+
p status_code # => 2xx
|
2221
|
+
p headers # => { ... }
|
2222
|
+
p data # => Object
|
2223
|
+
rescue LiteLLMClient::ApiError => e
|
2224
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_with_http_info: #{e}"
|
2225
|
+
end
|
2226
|
+
```
|
2227
|
+
|
2228
|
+
### Parameters
|
2229
|
+
|
2230
|
+
| Name | Type | Description | Notes |
|
2231
|
+
| ---- | ---- | ----------- | ----- |
|
2232
|
+
| **endpoint** | **String** | | |
|
2233
|
+
|
2234
|
+
### Return type
|
2235
|
+
|
2236
|
+
**Object**
|
2237
|
+
|
2238
|
+
### Authorization
|
2239
|
+
|
2240
|
+
No authorization required
|
2241
|
+
|
2242
|
+
### HTTP request headers
|
2243
|
+
|
2244
|
+
- **Content-Type**: Not defined
|
2245
|
+
- **Accept**: application/json
|
2246
|
+
|
2247
|
+
|
2248
|
+
## gemini_proxy_route_gemini_endpoint_get_0
|
2249
|
+
|
2250
|
+
> Object gemini_proxy_route_gemini_endpoint_get_0(endpoint)
|
2251
|
+
|
2252
|
+
Gemini Proxy Route
|
2253
|
+
|
2254
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)
|
2255
|
+
|
2256
|
+
### Examples
|
2257
|
+
|
2258
|
+
```ruby
|
2259
|
+
require 'time'
|
2260
|
+
require 'litellm_client'
|
2261
|
+
|
2262
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2263
|
+
endpoint = 'endpoint_example' # String |
|
2264
|
+
|
2265
|
+
begin
|
2266
|
+
# Gemini Proxy Route
|
2267
|
+
result = api_instance.gemini_proxy_route_gemini_endpoint_get_0(endpoint)
|
2268
|
+
p result
|
2269
|
+
rescue LiteLLMClient::ApiError => e
|
2270
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_0: #{e}"
|
2271
|
+
end
|
2272
|
+
```
|
2273
|
+
|
2274
|
+
#### Using the gemini_proxy_route_gemini_endpoint_get_0_with_http_info variant
|
2275
|
+
|
2276
|
+
This returns an Array which contains the response data, status code and headers.
|
2277
|
+
|
2278
|
+
> <Array(Object, Integer, Hash)> gemini_proxy_route_gemini_endpoint_get_0_with_http_info(endpoint)
|
2279
|
+
|
2280
|
+
```ruby
|
2281
|
+
begin
|
2282
|
+
# Gemini Proxy Route
|
2283
|
+
data, status_code, headers = api_instance.gemini_proxy_route_gemini_endpoint_get_0_with_http_info(endpoint)
|
2284
|
+
p status_code # => 2xx
|
2285
|
+
p headers # => { ... }
|
2286
|
+
p data # => Object
|
2287
|
+
rescue LiteLLMClient::ApiError => e
|
2288
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_0_with_http_info: #{e}"
|
2289
|
+
end
|
2290
|
+
```
|
2291
|
+
|
2292
|
+
### Parameters
|
2293
|
+
|
2294
|
+
| Name | Type | Description | Notes |
|
2295
|
+
| ---- | ---- | ----------- | ----- |
|
2296
|
+
| **endpoint** | **String** | | |
|
2297
|
+
|
2298
|
+
### Return type
|
2299
|
+
|
2300
|
+
**Object**
|
2301
|
+
|
2302
|
+
### Authorization
|
2303
|
+
|
2304
|
+
No authorization required
|
2305
|
+
|
2306
|
+
### HTTP request headers
|
2307
|
+
|
2308
|
+
- **Content-Type**: Not defined
|
2309
|
+
- **Accept**: application/json
|
2310
|
+
|
2311
|
+
|
2312
|
+
## gemini_proxy_route_gemini_endpoint_get_1
|
2313
|
+
|
2314
|
+
> Object gemini_proxy_route_gemini_endpoint_get_1(endpoint)
|
2315
|
+
|
2316
|
+
Gemini Proxy Route
|
2317
|
+
|
2318
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)
|
2319
|
+
|
2320
|
+
### Examples
|
2321
|
+
|
2322
|
+
```ruby
|
2323
|
+
require 'time'
|
2324
|
+
require 'litellm_client'
|
2325
|
+
|
2326
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2327
|
+
endpoint = 'endpoint_example' # String |
|
2328
|
+
|
2329
|
+
begin
|
2330
|
+
# Gemini Proxy Route
|
2331
|
+
result = api_instance.gemini_proxy_route_gemini_endpoint_get_1(endpoint)
|
2332
|
+
p result
|
2333
|
+
rescue LiteLLMClient::ApiError => e
|
2334
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_1: #{e}"
|
2335
|
+
end
|
2336
|
+
```
|
2337
|
+
|
2338
|
+
#### Using the gemini_proxy_route_gemini_endpoint_get_1_with_http_info variant
|
2339
|
+
|
2340
|
+
This returns an Array which contains the response data, status code and headers.
|
2341
|
+
|
2342
|
+
> <Array(Object, Integer, Hash)> gemini_proxy_route_gemini_endpoint_get_1_with_http_info(endpoint)
|
2343
|
+
|
2344
|
+
```ruby
|
2345
|
+
begin
|
2346
|
+
# Gemini Proxy Route
|
2347
|
+
data, status_code, headers = api_instance.gemini_proxy_route_gemini_endpoint_get_1_with_http_info(endpoint)
|
2348
|
+
p status_code # => 2xx
|
2349
|
+
p headers # => { ... }
|
2350
|
+
p data # => Object
|
2351
|
+
rescue LiteLLMClient::ApiError => e
|
2352
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_1_with_http_info: #{e}"
|
2353
|
+
end
|
2354
|
+
```
|
2355
|
+
|
2356
|
+
### Parameters
|
2357
|
+
|
2358
|
+
| Name | Type | Description | Notes |
|
2359
|
+
| ---- | ---- | ----------- | ----- |
|
2360
|
+
| **endpoint** | **String** | | |
|
2361
|
+
|
2362
|
+
### Return type
|
2363
|
+
|
2364
|
+
**Object**
|
2365
|
+
|
2366
|
+
### Authorization
|
2367
|
+
|
2368
|
+
No authorization required
|
2369
|
+
|
2370
|
+
### HTTP request headers
|
2371
|
+
|
2372
|
+
- **Content-Type**: Not defined
|
2373
|
+
- **Accept**: application/json
|
2374
|
+
|
2375
|
+
|
2376
|
+
## gemini_proxy_route_gemini_endpoint_get_2
|
2377
|
+
|
2378
|
+
> Object gemini_proxy_route_gemini_endpoint_get_2(endpoint)
|
2379
|
+
|
2380
|
+
Gemini Proxy Route
|
2381
|
+
|
2382
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)
|
2383
|
+
|
2384
|
+
### Examples
|
2385
|
+
|
2386
|
+
```ruby
|
2387
|
+
require 'time'
|
2388
|
+
require 'litellm_client'
|
2389
|
+
|
2390
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2391
|
+
endpoint = 'endpoint_example' # String |
|
2392
|
+
|
2393
|
+
begin
|
2394
|
+
# Gemini Proxy Route
|
2395
|
+
result = api_instance.gemini_proxy_route_gemini_endpoint_get_2(endpoint)
|
2396
|
+
p result
|
2397
|
+
rescue LiteLLMClient::ApiError => e
|
2398
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_2: #{e}"
|
2399
|
+
end
|
2400
|
+
```
|
2401
|
+
|
2402
|
+
#### Using the gemini_proxy_route_gemini_endpoint_get_2_with_http_info variant
|
2403
|
+
|
2404
|
+
This returns an Array which contains the response data, status code and headers.
|
2405
|
+
|
2406
|
+
> <Array(Object, Integer, Hash)> gemini_proxy_route_gemini_endpoint_get_2_with_http_info(endpoint)
|
2407
|
+
|
2408
|
+
```ruby
|
2409
|
+
begin
|
2410
|
+
# Gemini Proxy Route
|
2411
|
+
data, status_code, headers = api_instance.gemini_proxy_route_gemini_endpoint_get_2_with_http_info(endpoint)
|
2412
|
+
p status_code # => 2xx
|
2413
|
+
p headers # => { ... }
|
2414
|
+
p data # => Object
|
2415
|
+
rescue LiteLLMClient::ApiError => e
|
2416
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_2_with_http_info: #{e}"
|
2417
|
+
end
|
2418
|
+
```
|
2419
|
+
|
2420
|
+
### Parameters
|
2421
|
+
|
2422
|
+
| Name | Type | Description | Notes |
|
2423
|
+
| ---- | ---- | ----------- | ----- |
|
2424
|
+
| **endpoint** | **String** | | |
|
2425
|
+
|
2426
|
+
### Return type
|
2427
|
+
|
2428
|
+
**Object**
|
2429
|
+
|
2430
|
+
### Authorization
|
2431
|
+
|
2432
|
+
No authorization required
|
2433
|
+
|
2434
|
+
### HTTP request headers
|
2435
|
+
|
2436
|
+
- **Content-Type**: Not defined
|
2437
|
+
- **Accept**: application/json
|
2438
|
+
|
2439
|
+
|
2440
|
+
## gemini_proxy_route_gemini_endpoint_get_3
|
2441
|
+
|
2442
|
+
> Object gemini_proxy_route_gemini_endpoint_get_3(endpoint)
|
2443
|
+
|
2444
|
+
Gemini Proxy Route
|
2445
|
+
|
2446
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/google_ai_studio)
|
2447
|
+
|
2448
|
+
### Examples
|
2449
|
+
|
2450
|
+
```ruby
|
2451
|
+
require 'time'
|
2452
|
+
require 'litellm_client'
|
2453
|
+
|
2454
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2455
|
+
endpoint = 'endpoint_example' # String |
|
2456
|
+
|
2457
|
+
begin
|
2458
|
+
# Gemini Proxy Route
|
2459
|
+
result = api_instance.gemini_proxy_route_gemini_endpoint_get_3(endpoint)
|
2460
|
+
p result
|
2461
|
+
rescue LiteLLMClient::ApiError => e
|
2462
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_3: #{e}"
|
2463
|
+
end
|
2464
|
+
```
|
2465
|
+
|
2466
|
+
#### Using the gemini_proxy_route_gemini_endpoint_get_3_with_http_info variant
|
2467
|
+
|
2468
|
+
This returns an Array which contains the response data, status code and headers.
|
2469
|
+
|
2470
|
+
> <Array(Object, Integer, Hash)> gemini_proxy_route_gemini_endpoint_get_3_with_http_info(endpoint)
|
2471
|
+
|
2472
|
+
```ruby
|
2473
|
+
begin
|
2474
|
+
# Gemini Proxy Route
|
2475
|
+
data, status_code, headers = api_instance.gemini_proxy_route_gemini_endpoint_get_3_with_http_info(endpoint)
|
2476
|
+
p status_code # => 2xx
|
2477
|
+
p headers # => { ... }
|
2478
|
+
p data # => Object
|
2479
|
+
rescue LiteLLMClient::ApiError => e
|
2480
|
+
puts "Error when calling PassThroughApi->gemini_proxy_route_gemini_endpoint_get_3_with_http_info: #{e}"
|
2481
|
+
end
|
2482
|
+
```
|
2483
|
+
|
2484
|
+
### Parameters
|
2485
|
+
|
2486
|
+
| Name | Type | Description | Notes |
|
2487
|
+
| ---- | ---- | ----------- | ----- |
|
2488
|
+
| **endpoint** | **String** | | |
|
2489
|
+
|
2490
|
+
### Return type
|
2491
|
+
|
2492
|
+
**Object**
|
2493
|
+
|
2494
|
+
### Authorization
|
2495
|
+
|
2496
|
+
No authorization required
|
2497
|
+
|
2498
|
+
### HTTP request headers
|
2499
|
+
|
2500
|
+
- **Content-Type**: Not defined
|
2501
|
+
- **Accept**: application/json
|
2502
|
+
|
2503
|
+
|
2504
|
+
## langfuse_proxy_route_langfuse_endpoint_get
|
2505
|
+
|
2506
|
+
> Object langfuse_proxy_route_langfuse_endpoint_get(endpoint)
|
2507
|
+
|
2508
|
+
Langfuse Proxy Route
|
2509
|
+
|
2510
|
+
Call Langfuse via LiteLLM proxy. Works with Langfuse SDK. [Docs](https://docs.litellm.ai/docs/pass_through/langfuse)
|
2511
|
+
|
2512
|
+
### Examples
|
2513
|
+
|
2514
|
+
```ruby
|
2515
|
+
require 'time'
|
2516
|
+
require 'litellm_client'
|
2517
|
+
|
2518
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2519
|
+
endpoint = 'endpoint_example' # String |
|
2520
|
+
|
2521
|
+
begin
|
2522
|
+
# Langfuse Proxy Route
|
2523
|
+
result = api_instance.langfuse_proxy_route_langfuse_endpoint_get(endpoint)
|
2524
|
+
p result
|
2525
|
+
rescue LiteLLMClient::ApiError => e
|
2526
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get: #{e}"
|
2527
|
+
end
|
2528
|
+
```
|
2529
|
+
|
2530
|
+
#### Using the langfuse_proxy_route_langfuse_endpoint_get_with_http_info variant
|
2531
|
+
|
2532
|
+
This returns an Array which contains the response data, status code and headers.
|
2533
|
+
|
2534
|
+
> <Array(Object, Integer, Hash)> langfuse_proxy_route_langfuse_endpoint_get_with_http_info(endpoint)
|
2535
|
+
|
2536
|
+
```ruby
|
2537
|
+
begin
|
2538
|
+
# Langfuse Proxy Route
|
2539
|
+
data, status_code, headers = api_instance.langfuse_proxy_route_langfuse_endpoint_get_with_http_info(endpoint)
|
2540
|
+
p status_code # => 2xx
|
2541
|
+
p headers # => { ... }
|
2542
|
+
p data # => Object
|
2543
|
+
rescue LiteLLMClient::ApiError => e
|
2544
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_with_http_info: #{e}"
|
2545
|
+
end
|
2546
|
+
```
|
2547
|
+
|
2548
|
+
### Parameters
|
2549
|
+
|
2550
|
+
| Name | Type | Description | Notes |
|
2551
|
+
| ---- | ---- | ----------- | ----- |
|
2552
|
+
| **endpoint** | **String** | | |
|
2553
|
+
|
2554
|
+
### Return type
|
2555
|
+
|
2556
|
+
**Object**
|
2557
|
+
|
2558
|
+
### Authorization
|
2559
|
+
|
2560
|
+
No authorization required
|
2561
|
+
|
2562
|
+
### HTTP request headers
|
2563
|
+
|
2564
|
+
- **Content-Type**: Not defined
|
2565
|
+
- **Accept**: application/json
|
2566
|
+
|
2567
|
+
|
2568
|
+
## langfuse_proxy_route_langfuse_endpoint_get_0
|
2569
|
+
|
2570
|
+
> Object langfuse_proxy_route_langfuse_endpoint_get_0(endpoint)
|
2571
|
+
|
2572
|
+
Langfuse Proxy Route
|
2573
|
+
|
2574
|
+
Call Langfuse via LiteLLM proxy. Works with Langfuse SDK. [Docs](https://docs.litellm.ai/docs/pass_through/langfuse)
|
2575
|
+
|
2576
|
+
### Examples
|
2577
|
+
|
2578
|
+
```ruby
|
2579
|
+
require 'time'
|
2580
|
+
require 'litellm_client'
|
2581
|
+
|
2582
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2583
|
+
endpoint = 'endpoint_example' # String |
|
2584
|
+
|
2585
|
+
begin
|
2586
|
+
# Langfuse Proxy Route
|
2587
|
+
result = api_instance.langfuse_proxy_route_langfuse_endpoint_get_0(endpoint)
|
2588
|
+
p result
|
2589
|
+
rescue LiteLLMClient::ApiError => e
|
2590
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_0: #{e}"
|
2591
|
+
end
|
2592
|
+
```
|
2593
|
+
|
2594
|
+
#### Using the langfuse_proxy_route_langfuse_endpoint_get_0_with_http_info variant
|
2595
|
+
|
2596
|
+
This returns an Array which contains the response data, status code and headers.
|
2597
|
+
|
2598
|
+
> <Array(Object, Integer, Hash)> langfuse_proxy_route_langfuse_endpoint_get_0_with_http_info(endpoint)
|
2599
|
+
|
2600
|
+
```ruby
|
2601
|
+
begin
|
2602
|
+
# Langfuse Proxy Route
|
2603
|
+
data, status_code, headers = api_instance.langfuse_proxy_route_langfuse_endpoint_get_0_with_http_info(endpoint)
|
2604
|
+
p status_code # => 2xx
|
2605
|
+
p headers # => { ... }
|
2606
|
+
p data # => Object
|
2607
|
+
rescue LiteLLMClient::ApiError => e
|
2608
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_0_with_http_info: #{e}"
|
2609
|
+
end
|
2610
|
+
```
|
2611
|
+
|
2612
|
+
### Parameters
|
2613
|
+
|
2614
|
+
| Name | Type | Description | Notes |
|
2615
|
+
| ---- | ---- | ----------- | ----- |
|
2616
|
+
| **endpoint** | **String** | | |
|
2617
|
+
|
2618
|
+
### Return type
|
2619
|
+
|
2620
|
+
**Object**
|
2621
|
+
|
2622
|
+
### Authorization
|
2623
|
+
|
2624
|
+
No authorization required
|
2625
|
+
|
2626
|
+
### HTTP request headers
|
2627
|
+
|
2628
|
+
- **Content-Type**: Not defined
|
2629
|
+
- **Accept**: application/json
|
2630
|
+
|
2631
|
+
|
2632
|
+
## langfuse_proxy_route_langfuse_endpoint_get_1
|
2633
|
+
|
2634
|
+
> Object langfuse_proxy_route_langfuse_endpoint_get_1(endpoint)
|
2635
|
+
|
2636
|
+
Langfuse Proxy Route
|
2637
|
+
|
2638
|
+
Call Langfuse via LiteLLM proxy. Works with Langfuse SDK. [Docs](https://docs.litellm.ai/docs/pass_through/langfuse)
|
2639
|
+
|
2640
|
+
### Examples
|
2641
|
+
|
2642
|
+
```ruby
|
2643
|
+
require 'time'
|
2644
|
+
require 'litellm_client'
|
2645
|
+
|
2646
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2647
|
+
endpoint = 'endpoint_example' # String |
|
2648
|
+
|
2649
|
+
begin
|
2650
|
+
# Langfuse Proxy Route
|
2651
|
+
result = api_instance.langfuse_proxy_route_langfuse_endpoint_get_1(endpoint)
|
2652
|
+
p result
|
2653
|
+
rescue LiteLLMClient::ApiError => e
|
2654
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_1: #{e}"
|
2655
|
+
end
|
2656
|
+
```
|
2657
|
+
|
2658
|
+
#### Using the langfuse_proxy_route_langfuse_endpoint_get_1_with_http_info variant
|
2659
|
+
|
2660
|
+
This returns an Array which contains the response data, status code and headers.
|
2661
|
+
|
2662
|
+
> <Array(Object, Integer, Hash)> langfuse_proxy_route_langfuse_endpoint_get_1_with_http_info(endpoint)
|
2663
|
+
|
2664
|
+
```ruby
|
2665
|
+
begin
|
2666
|
+
# Langfuse Proxy Route
|
2667
|
+
data, status_code, headers = api_instance.langfuse_proxy_route_langfuse_endpoint_get_1_with_http_info(endpoint)
|
2668
|
+
p status_code # => 2xx
|
2669
|
+
p headers # => { ... }
|
2670
|
+
p data # => Object
|
2671
|
+
rescue LiteLLMClient::ApiError => e
|
2672
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_1_with_http_info: #{e}"
|
2673
|
+
end
|
2674
|
+
```
|
2675
|
+
|
2676
|
+
### Parameters
|
2677
|
+
|
2678
|
+
| Name | Type | Description | Notes |
|
2679
|
+
| ---- | ---- | ----------- | ----- |
|
2680
|
+
| **endpoint** | **String** | | |
|
2681
|
+
|
2682
|
+
### Return type
|
2683
|
+
|
2684
|
+
**Object**
|
2685
|
+
|
2686
|
+
### Authorization
|
2687
|
+
|
2688
|
+
No authorization required
|
2689
|
+
|
2690
|
+
### HTTP request headers
|
2691
|
+
|
2692
|
+
- **Content-Type**: Not defined
|
2693
|
+
- **Accept**: application/json
|
2694
|
+
|
2695
|
+
|
2696
|
+
## langfuse_proxy_route_langfuse_endpoint_get_2
|
2697
|
+
|
2698
|
+
> Object langfuse_proxy_route_langfuse_endpoint_get_2(endpoint)
|
2699
|
+
|
2700
|
+
Langfuse Proxy Route
|
2701
|
+
|
2702
|
+
Call Langfuse via LiteLLM proxy. Works with Langfuse SDK. [Docs](https://docs.litellm.ai/docs/pass_through/langfuse)
|
2703
|
+
|
2704
|
+
### Examples
|
2705
|
+
|
2706
|
+
```ruby
|
2707
|
+
require 'time'
|
2708
|
+
require 'litellm_client'
|
2709
|
+
|
2710
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2711
|
+
endpoint = 'endpoint_example' # String |
|
2712
|
+
|
2713
|
+
begin
|
2714
|
+
# Langfuse Proxy Route
|
2715
|
+
result = api_instance.langfuse_proxy_route_langfuse_endpoint_get_2(endpoint)
|
2716
|
+
p result
|
2717
|
+
rescue LiteLLMClient::ApiError => e
|
2718
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_2: #{e}"
|
2719
|
+
end
|
2720
|
+
```
|
2721
|
+
|
2722
|
+
#### Using the langfuse_proxy_route_langfuse_endpoint_get_2_with_http_info variant
|
2723
|
+
|
2724
|
+
This returns an Array which contains the response data, status code and headers.
|
2725
|
+
|
2726
|
+
> <Array(Object, Integer, Hash)> langfuse_proxy_route_langfuse_endpoint_get_2_with_http_info(endpoint)
|
2727
|
+
|
2728
|
+
```ruby
|
2729
|
+
begin
|
2730
|
+
# Langfuse Proxy Route
|
2731
|
+
data, status_code, headers = api_instance.langfuse_proxy_route_langfuse_endpoint_get_2_with_http_info(endpoint)
|
2732
|
+
p status_code # => 2xx
|
2733
|
+
p headers # => { ... }
|
2734
|
+
p data # => Object
|
2735
|
+
rescue LiteLLMClient::ApiError => e
|
2736
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_2_with_http_info: #{e}"
|
2737
|
+
end
|
2738
|
+
```
|
2739
|
+
|
2740
|
+
### Parameters
|
2741
|
+
|
2742
|
+
| Name | Type | Description | Notes |
|
2743
|
+
| ---- | ---- | ----------- | ----- |
|
2744
|
+
| **endpoint** | **String** | | |
|
2745
|
+
|
2746
|
+
### Return type
|
2747
|
+
|
2748
|
+
**Object**
|
2749
|
+
|
2750
|
+
### Authorization
|
2751
|
+
|
2752
|
+
No authorization required
|
2753
|
+
|
2754
|
+
### HTTP request headers
|
2755
|
+
|
2756
|
+
- **Content-Type**: Not defined
|
2757
|
+
- **Accept**: application/json
|
2758
|
+
|
2759
|
+
|
2760
|
+
## langfuse_proxy_route_langfuse_endpoint_get_3
|
2761
|
+
|
2762
|
+
> Object langfuse_proxy_route_langfuse_endpoint_get_3(endpoint)
|
2763
|
+
|
2764
|
+
Langfuse Proxy Route
|
2765
|
+
|
2766
|
+
Call Langfuse via LiteLLM proxy. Works with Langfuse SDK. [Docs](https://docs.litellm.ai/docs/pass_through/langfuse)
|
2767
|
+
|
2768
|
+
### Examples
|
2769
|
+
|
2770
|
+
```ruby
|
2771
|
+
require 'time'
|
2772
|
+
require 'litellm_client'
|
2773
|
+
|
2774
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2775
|
+
endpoint = 'endpoint_example' # String |
|
2776
|
+
|
2777
|
+
begin
|
2778
|
+
# Langfuse Proxy Route
|
2779
|
+
result = api_instance.langfuse_proxy_route_langfuse_endpoint_get_3(endpoint)
|
2780
|
+
p result
|
2781
|
+
rescue LiteLLMClient::ApiError => e
|
2782
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_3: #{e}"
|
2783
|
+
end
|
2784
|
+
```
|
2785
|
+
|
2786
|
+
#### Using the langfuse_proxy_route_langfuse_endpoint_get_3_with_http_info variant
|
2787
|
+
|
2788
|
+
This returns an Array which contains the response data, status code and headers.
|
2789
|
+
|
2790
|
+
> <Array(Object, Integer, Hash)> langfuse_proxy_route_langfuse_endpoint_get_3_with_http_info(endpoint)
|
2791
|
+
|
2792
|
+
```ruby
|
2793
|
+
begin
|
2794
|
+
# Langfuse Proxy Route
|
2795
|
+
data, status_code, headers = api_instance.langfuse_proxy_route_langfuse_endpoint_get_3_with_http_info(endpoint)
|
2796
|
+
p status_code # => 2xx
|
2797
|
+
p headers # => { ... }
|
2798
|
+
p data # => Object
|
2799
|
+
rescue LiteLLMClient::ApiError => e
|
2800
|
+
puts "Error when calling PassThroughApi->langfuse_proxy_route_langfuse_endpoint_get_3_with_http_info: #{e}"
|
2801
|
+
end
|
2802
|
+
```
|
2803
|
+
|
2804
|
+
### Parameters
|
2805
|
+
|
2806
|
+
| Name | Type | Description | Notes |
|
2807
|
+
| ---- | ---- | ----------- | ----- |
|
2808
|
+
| **endpoint** | **String** | | |
|
2809
|
+
|
2810
|
+
### Return type
|
2811
|
+
|
2812
|
+
**Object**
|
2813
|
+
|
2814
|
+
### Authorization
|
2815
|
+
|
2816
|
+
No authorization required
|
2817
|
+
|
2818
|
+
### HTTP request headers
|
2819
|
+
|
2820
|
+
- **Content-Type**: Not defined
|
2821
|
+
- **Accept**: application/json
|
2822
|
+
|
2823
|
+
|
2824
|
+
## mistral_proxy_route_mistral_endpoint_get
|
2825
|
+
|
2826
|
+
> Object mistral_proxy_route_mistral_endpoint_get(endpoint)
|
2827
|
+
|
2828
|
+
Mistral Proxy Route
|
2829
|
+
|
2830
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
2831
|
+
|
2832
|
+
### Examples
|
2833
|
+
|
2834
|
+
```ruby
|
2835
|
+
require 'time'
|
2836
|
+
require 'litellm_client'
|
2837
|
+
# setup authorization
|
2838
|
+
LiteLLMClient.configure do |config|
|
2839
|
+
# Configure API key authorization: APIKeyHeader
|
2840
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
2841
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2842
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2846
|
+
endpoint = 'endpoint_example' # String |
|
2847
|
+
|
2848
|
+
begin
|
2849
|
+
# Mistral Proxy Route
|
2850
|
+
result = api_instance.mistral_proxy_route_mistral_endpoint_get(endpoint)
|
2851
|
+
p result
|
2852
|
+
rescue LiteLLMClient::ApiError => e
|
2853
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get: #{e}"
|
2854
|
+
end
|
2855
|
+
```
|
2856
|
+
|
2857
|
+
#### Using the mistral_proxy_route_mistral_endpoint_get_with_http_info variant
|
2858
|
+
|
2859
|
+
This returns an Array which contains the response data, status code and headers.
|
2860
|
+
|
2861
|
+
> <Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_with_http_info(endpoint)
|
2862
|
+
|
2863
|
+
```ruby
|
2864
|
+
begin
|
2865
|
+
# Mistral Proxy Route
|
2866
|
+
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_with_http_info(endpoint)
|
2867
|
+
p status_code # => 2xx
|
2868
|
+
p headers # => { ... }
|
2869
|
+
p data # => Object
|
2870
|
+
rescue LiteLLMClient::ApiError => e
|
2871
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_with_http_info: #{e}"
|
2872
|
+
end
|
2873
|
+
```
|
2874
|
+
|
2875
|
+
### Parameters
|
2876
|
+
|
2877
|
+
| Name | Type | Description | Notes |
|
2878
|
+
| ---- | ---- | ----------- | ----- |
|
2879
|
+
| **endpoint** | **String** | | |
|
2880
|
+
|
2881
|
+
### Return type
|
2882
|
+
|
2883
|
+
**Object**
|
2884
|
+
|
2885
|
+
### Authorization
|
2886
|
+
|
2887
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
2888
|
+
|
2889
|
+
### HTTP request headers
|
2890
|
+
|
2891
|
+
- **Content-Type**: Not defined
|
2892
|
+
- **Accept**: application/json
|
2893
|
+
|
2894
|
+
|
2895
|
+
## mistral_proxy_route_mistral_endpoint_get_0
|
2896
|
+
|
2897
|
+
> Object mistral_proxy_route_mistral_endpoint_get_0(endpoint)
|
2898
|
+
|
2899
|
+
Mistral Proxy Route
|
2900
|
+
|
2901
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
2902
|
+
|
2903
|
+
### Examples
|
2904
|
+
|
2905
|
+
```ruby
|
2906
|
+
require 'time'
|
2907
|
+
require 'litellm_client'
|
2908
|
+
# setup authorization
|
2909
|
+
LiteLLMClient.configure do |config|
|
2910
|
+
# Configure API key authorization: APIKeyHeader
|
2911
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
2912
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2913
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2917
|
+
endpoint = 'endpoint_example' # String |
|
2918
|
+
|
2919
|
+
begin
|
2920
|
+
# Mistral Proxy Route
|
2921
|
+
result = api_instance.mistral_proxy_route_mistral_endpoint_get_0(endpoint)
|
2922
|
+
p result
|
2923
|
+
rescue LiteLLMClient::ApiError => e
|
2924
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_0: #{e}"
|
2925
|
+
end
|
2926
|
+
```
|
2927
|
+
|
2928
|
+
#### Using the mistral_proxy_route_mistral_endpoint_get_0_with_http_info variant
|
2929
|
+
|
2930
|
+
This returns an Array which contains the response data, status code and headers.
|
2931
|
+
|
2932
|
+
> <Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_0_with_http_info(endpoint)
|
2933
|
+
|
2934
|
+
```ruby
|
2935
|
+
begin
|
2936
|
+
# Mistral Proxy Route
|
2937
|
+
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_0_with_http_info(endpoint)
|
2938
|
+
p status_code # => 2xx
|
2939
|
+
p headers # => { ... }
|
2940
|
+
p data # => Object
|
2941
|
+
rescue LiteLLMClient::ApiError => e
|
2942
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_0_with_http_info: #{e}"
|
2943
|
+
end
|
2944
|
+
```
|
2945
|
+
|
2946
|
+
### Parameters
|
2947
|
+
|
2948
|
+
| Name | Type | Description | Notes |
|
2949
|
+
| ---- | ---- | ----------- | ----- |
|
2950
|
+
| **endpoint** | **String** | | |
|
2951
|
+
|
2952
|
+
### Return type
|
2953
|
+
|
2954
|
+
**Object**
|
2955
|
+
|
2956
|
+
### Authorization
|
2957
|
+
|
2958
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
2959
|
+
|
2960
|
+
### HTTP request headers
|
2961
|
+
|
2962
|
+
- **Content-Type**: Not defined
|
2963
|
+
- **Accept**: application/json
|
2964
|
+
|
2965
|
+
|
2966
|
+
## mistral_proxy_route_mistral_endpoint_get_1
|
2967
|
+
|
2968
|
+
> Object mistral_proxy_route_mistral_endpoint_get_1(endpoint)
|
2969
|
+
|
2970
|
+
Mistral Proxy Route
|
2971
|
+
|
2972
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
2973
|
+
|
2974
|
+
### Examples
|
2975
|
+
|
2976
|
+
```ruby
|
2977
|
+
require 'time'
|
2978
|
+
require 'litellm_client'
|
2979
|
+
# setup authorization
|
2980
|
+
LiteLLMClient.configure do |config|
|
2981
|
+
# Configure API key authorization: APIKeyHeader
|
2982
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
2983
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2984
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
2985
|
+
end
|
2986
|
+
|
2987
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
2988
|
+
endpoint = 'endpoint_example' # String |
|
2989
|
+
|
2990
|
+
begin
|
2991
|
+
# Mistral Proxy Route
|
2992
|
+
result = api_instance.mistral_proxy_route_mistral_endpoint_get_1(endpoint)
|
2993
|
+
p result
|
2994
|
+
rescue LiteLLMClient::ApiError => e
|
2995
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_1: #{e}"
|
2996
|
+
end
|
2997
|
+
```
|
2998
|
+
|
2999
|
+
#### Using the mistral_proxy_route_mistral_endpoint_get_1_with_http_info variant
|
3000
|
+
|
3001
|
+
This returns an Array which contains the response data, status code and headers.
|
3002
|
+
|
3003
|
+
> <Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_1_with_http_info(endpoint)
|
3004
|
+
|
3005
|
+
```ruby
|
3006
|
+
begin
|
3007
|
+
# Mistral Proxy Route
|
3008
|
+
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_1_with_http_info(endpoint)
|
3009
|
+
p status_code # => 2xx
|
3010
|
+
p headers # => { ... }
|
3011
|
+
p data # => Object
|
3012
|
+
rescue LiteLLMClient::ApiError => e
|
3013
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_1_with_http_info: #{e}"
|
3014
|
+
end
|
3015
|
+
```
|
3016
|
+
|
3017
|
+
### Parameters
|
3018
|
+
|
3019
|
+
| Name | Type | Description | Notes |
|
3020
|
+
| ---- | ---- | ----------- | ----- |
|
3021
|
+
| **endpoint** | **String** | | |
|
3022
|
+
|
3023
|
+
### Return type
|
3024
|
+
|
3025
|
+
**Object**
|
3026
|
+
|
3027
|
+
### Authorization
|
3028
|
+
|
3029
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3030
|
+
|
3031
|
+
### HTTP request headers
|
3032
|
+
|
3033
|
+
- **Content-Type**: Not defined
|
3034
|
+
- **Accept**: application/json
|
3035
|
+
|
3036
|
+
|
3037
|
+
## mistral_proxy_route_mistral_endpoint_get_2
|
3038
|
+
|
3039
|
+
> Object mistral_proxy_route_mistral_endpoint_get_2(endpoint)
|
3040
|
+
|
3041
|
+
Mistral Proxy Route
|
3042
|
+
|
3043
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
3044
|
+
|
3045
|
+
### Examples
|
3046
|
+
|
3047
|
+
```ruby
|
3048
|
+
require 'time'
|
3049
|
+
require 'litellm_client'
|
3050
|
+
# setup authorization
|
3051
|
+
LiteLLMClient.configure do |config|
|
3052
|
+
# Configure API key authorization: APIKeyHeader
|
3053
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3054
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3055
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3059
|
+
endpoint = 'endpoint_example' # String |
|
3060
|
+
|
3061
|
+
begin
|
3062
|
+
# Mistral Proxy Route
|
3063
|
+
result = api_instance.mistral_proxy_route_mistral_endpoint_get_2(endpoint)
|
3064
|
+
p result
|
3065
|
+
rescue LiteLLMClient::ApiError => e
|
3066
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_2: #{e}"
|
3067
|
+
end
|
3068
|
+
```
|
3069
|
+
|
3070
|
+
#### Using the mistral_proxy_route_mistral_endpoint_get_2_with_http_info variant
|
3071
|
+
|
3072
|
+
This returns an Array which contains the response data, status code and headers.
|
3073
|
+
|
3074
|
+
> <Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_2_with_http_info(endpoint)
|
3075
|
+
|
3076
|
+
```ruby
|
3077
|
+
begin
|
3078
|
+
# Mistral Proxy Route
|
3079
|
+
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_2_with_http_info(endpoint)
|
3080
|
+
p status_code # => 2xx
|
3081
|
+
p headers # => { ... }
|
3082
|
+
p data # => Object
|
3083
|
+
rescue LiteLLMClient::ApiError => e
|
3084
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_2_with_http_info: #{e}"
|
3085
|
+
end
|
3086
|
+
```
|
3087
|
+
|
3088
|
+
### Parameters
|
3089
|
+
|
3090
|
+
| Name | Type | Description | Notes |
|
3091
|
+
| ---- | ---- | ----------- | ----- |
|
3092
|
+
| **endpoint** | **String** | | |
|
3093
|
+
|
3094
|
+
### Return type
|
3095
|
+
|
3096
|
+
**Object**
|
3097
|
+
|
3098
|
+
### Authorization
|
3099
|
+
|
3100
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3101
|
+
|
3102
|
+
### HTTP request headers
|
3103
|
+
|
3104
|
+
- **Content-Type**: Not defined
|
3105
|
+
- **Accept**: application/json
|
3106
|
+
|
3107
|
+
|
3108
|
+
## mistral_proxy_route_mistral_endpoint_get_3
|
3109
|
+
|
3110
|
+
> Object mistral_proxy_route_mistral_endpoint_get_3(endpoint)
|
3111
|
+
|
3112
|
+
Mistral Proxy Route
|
3113
|
+
|
3114
|
+
[Docs](https://docs.litellm.ai/docs/anthropic_completion)
|
3115
|
+
|
3116
|
+
### Examples
|
3117
|
+
|
3118
|
+
```ruby
|
3119
|
+
require 'time'
|
3120
|
+
require 'litellm_client'
|
3121
|
+
# setup authorization
|
3122
|
+
LiteLLMClient.configure do |config|
|
3123
|
+
# Configure API key authorization: APIKeyHeader
|
3124
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3125
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3126
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3127
|
+
end
|
3128
|
+
|
3129
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3130
|
+
endpoint = 'endpoint_example' # String |
|
3131
|
+
|
3132
|
+
begin
|
3133
|
+
# Mistral Proxy Route
|
3134
|
+
result = api_instance.mistral_proxy_route_mistral_endpoint_get_3(endpoint)
|
3135
|
+
p result
|
3136
|
+
rescue LiteLLMClient::ApiError => e
|
3137
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_3: #{e}"
|
3138
|
+
end
|
3139
|
+
```
|
3140
|
+
|
3141
|
+
#### Using the mistral_proxy_route_mistral_endpoint_get_3_with_http_info variant
|
3142
|
+
|
3143
|
+
This returns an Array which contains the response data, status code and headers.
|
3144
|
+
|
3145
|
+
> <Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_3_with_http_info(endpoint)
|
3146
|
+
|
3147
|
+
```ruby
|
3148
|
+
begin
|
3149
|
+
# Mistral Proxy Route
|
3150
|
+
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_3_with_http_info(endpoint)
|
3151
|
+
p status_code # => 2xx
|
3152
|
+
p headers # => { ... }
|
3153
|
+
p data # => Object
|
3154
|
+
rescue LiteLLMClient::ApiError => e
|
3155
|
+
puts "Error when calling PassThroughApi->mistral_proxy_route_mistral_endpoint_get_3_with_http_info: #{e}"
|
3156
|
+
end
|
3157
|
+
```
|
3158
|
+
|
3159
|
+
### Parameters
|
3160
|
+
|
3161
|
+
| Name | Type | Description | Notes |
|
3162
|
+
| ---- | ---- | ----------- | ----- |
|
3163
|
+
| **endpoint** | **String** | | |
|
3164
|
+
|
3165
|
+
### Return type
|
3166
|
+
|
3167
|
+
**Object**
|
3168
|
+
|
3169
|
+
### Authorization
|
3170
|
+
|
3171
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3172
|
+
|
3173
|
+
### HTTP request headers
|
3174
|
+
|
3175
|
+
- **Content-Type**: Not defined
|
3176
|
+
- **Accept**: application/json
|
3177
|
+
|
3178
|
+
|
3179
|
+
## openai_proxy_route_openai_endpoint_get
|
3180
|
+
|
3181
|
+
> Object openai_proxy_route_openai_endpoint_get(endpoint)
|
3182
|
+
|
3183
|
+
Openai Proxy Route
|
3184
|
+
|
3185
|
+
Simple pass-through for OpenAI. Use this if you want to directly send a request to OpenAI.
|
3186
|
+
|
3187
|
+
### Examples
|
3188
|
+
|
3189
|
+
```ruby
|
3190
|
+
require 'time'
|
3191
|
+
require 'litellm_client'
|
3192
|
+
# setup authorization
|
3193
|
+
LiteLLMClient.configure do |config|
|
3194
|
+
# Configure API key authorization: APIKeyHeader
|
3195
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3196
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3197
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3198
|
+
end
|
3199
|
+
|
3200
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3201
|
+
endpoint = 'endpoint_example' # String |
|
3202
|
+
|
3203
|
+
begin
|
3204
|
+
# Openai Proxy Route
|
3205
|
+
result = api_instance.openai_proxy_route_openai_endpoint_get(endpoint)
|
3206
|
+
p result
|
3207
|
+
rescue LiteLLMClient::ApiError => e
|
3208
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get: #{e}"
|
3209
|
+
end
|
3210
|
+
```
|
3211
|
+
|
3212
|
+
#### Using the openai_proxy_route_openai_endpoint_get_with_http_info variant
|
3213
|
+
|
3214
|
+
This returns an Array which contains the response data, status code and headers.
|
3215
|
+
|
3216
|
+
> <Array(Object, Integer, Hash)> openai_proxy_route_openai_endpoint_get_with_http_info(endpoint)
|
3217
|
+
|
3218
|
+
```ruby
|
3219
|
+
begin
|
3220
|
+
# Openai Proxy Route
|
3221
|
+
data, status_code, headers = api_instance.openai_proxy_route_openai_endpoint_get_with_http_info(endpoint)
|
3222
|
+
p status_code # => 2xx
|
3223
|
+
p headers # => { ... }
|
3224
|
+
p data # => Object
|
3225
|
+
rescue LiteLLMClient::ApiError => e
|
3226
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_with_http_info: #{e}"
|
3227
|
+
end
|
3228
|
+
```
|
3229
|
+
|
3230
|
+
### Parameters
|
3231
|
+
|
3232
|
+
| Name | Type | Description | Notes |
|
3233
|
+
| ---- | ---- | ----------- | ----- |
|
3234
|
+
| **endpoint** | **String** | | |
|
3235
|
+
|
3236
|
+
### Return type
|
3237
|
+
|
3238
|
+
**Object**
|
3239
|
+
|
3240
|
+
### Authorization
|
3241
|
+
|
3242
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3243
|
+
|
3244
|
+
### HTTP request headers
|
3245
|
+
|
3246
|
+
- **Content-Type**: Not defined
|
3247
|
+
- **Accept**: application/json
|
3248
|
+
|
3249
|
+
|
3250
|
+
## openai_proxy_route_openai_endpoint_get_0
|
3251
|
+
|
3252
|
+
> Object openai_proxy_route_openai_endpoint_get_0(endpoint)
|
3253
|
+
|
3254
|
+
Openai Proxy Route
|
3255
|
+
|
3256
|
+
Simple pass-through for OpenAI. Use this if you want to directly send a request to OpenAI.
|
3257
|
+
|
3258
|
+
### Examples
|
3259
|
+
|
3260
|
+
```ruby
|
3261
|
+
require 'time'
|
3262
|
+
require 'litellm_client'
|
3263
|
+
# setup authorization
|
3264
|
+
LiteLLMClient.configure do |config|
|
3265
|
+
# Configure API key authorization: APIKeyHeader
|
3266
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3267
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3268
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3269
|
+
end
|
3270
|
+
|
3271
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3272
|
+
endpoint = 'endpoint_example' # String |
|
3273
|
+
|
3274
|
+
begin
|
3275
|
+
# Openai Proxy Route
|
3276
|
+
result = api_instance.openai_proxy_route_openai_endpoint_get_0(endpoint)
|
3277
|
+
p result
|
3278
|
+
rescue LiteLLMClient::ApiError => e
|
3279
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_0: #{e}"
|
3280
|
+
end
|
3281
|
+
```
|
3282
|
+
|
3283
|
+
#### Using the openai_proxy_route_openai_endpoint_get_0_with_http_info variant
|
3284
|
+
|
3285
|
+
This returns an Array which contains the response data, status code and headers.
|
3286
|
+
|
3287
|
+
> <Array(Object, Integer, Hash)> openai_proxy_route_openai_endpoint_get_0_with_http_info(endpoint)
|
3288
|
+
|
3289
|
+
```ruby
|
3290
|
+
begin
|
3291
|
+
# Openai Proxy Route
|
3292
|
+
data, status_code, headers = api_instance.openai_proxy_route_openai_endpoint_get_0_with_http_info(endpoint)
|
3293
|
+
p status_code # => 2xx
|
3294
|
+
p headers # => { ... }
|
3295
|
+
p data # => Object
|
3296
|
+
rescue LiteLLMClient::ApiError => e
|
3297
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_0_with_http_info: #{e}"
|
3298
|
+
end
|
3299
|
+
```
|
3300
|
+
|
3301
|
+
### Parameters
|
3302
|
+
|
3303
|
+
| Name | Type | Description | Notes |
|
3304
|
+
| ---- | ---- | ----------- | ----- |
|
3305
|
+
| **endpoint** | **String** | | |
|
3306
|
+
|
3307
|
+
### Return type
|
3308
|
+
|
3309
|
+
**Object**
|
3310
|
+
|
3311
|
+
### Authorization
|
3312
|
+
|
3313
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3314
|
+
|
3315
|
+
### HTTP request headers
|
3316
|
+
|
3317
|
+
- **Content-Type**: Not defined
|
3318
|
+
- **Accept**: application/json
|
3319
|
+
|
3320
|
+
|
3321
|
+
## openai_proxy_route_openai_endpoint_get_1
|
3322
|
+
|
3323
|
+
> Object openai_proxy_route_openai_endpoint_get_1(endpoint)
|
3324
|
+
|
3325
|
+
Openai Proxy Route
|
3326
|
+
|
3327
|
+
Simple pass-through for OpenAI. Use this if you want to directly send a request to OpenAI.
|
3328
|
+
|
3329
|
+
### Examples
|
3330
|
+
|
3331
|
+
```ruby
|
3332
|
+
require 'time'
|
3333
|
+
require 'litellm_client'
|
3334
|
+
# setup authorization
|
3335
|
+
LiteLLMClient.configure do |config|
|
3336
|
+
# Configure API key authorization: APIKeyHeader
|
3337
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3338
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3339
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3340
|
+
end
|
3341
|
+
|
3342
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3343
|
+
endpoint = 'endpoint_example' # String |
|
3344
|
+
|
3345
|
+
begin
|
3346
|
+
# Openai Proxy Route
|
3347
|
+
result = api_instance.openai_proxy_route_openai_endpoint_get_1(endpoint)
|
3348
|
+
p result
|
3349
|
+
rescue LiteLLMClient::ApiError => e
|
3350
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_1: #{e}"
|
3351
|
+
end
|
3352
|
+
```
|
3353
|
+
|
3354
|
+
#### Using the openai_proxy_route_openai_endpoint_get_1_with_http_info variant
|
3355
|
+
|
3356
|
+
This returns an Array which contains the response data, status code and headers.
|
3357
|
+
|
3358
|
+
> <Array(Object, Integer, Hash)> openai_proxy_route_openai_endpoint_get_1_with_http_info(endpoint)
|
3359
|
+
|
3360
|
+
```ruby
|
3361
|
+
begin
|
3362
|
+
# Openai Proxy Route
|
3363
|
+
data, status_code, headers = api_instance.openai_proxy_route_openai_endpoint_get_1_with_http_info(endpoint)
|
3364
|
+
p status_code # => 2xx
|
3365
|
+
p headers # => { ... }
|
3366
|
+
p data # => Object
|
3367
|
+
rescue LiteLLMClient::ApiError => e
|
3368
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_1_with_http_info: #{e}"
|
3369
|
+
end
|
3370
|
+
```
|
3371
|
+
|
3372
|
+
### Parameters
|
3373
|
+
|
3374
|
+
| Name | Type | Description | Notes |
|
3375
|
+
| ---- | ---- | ----------- | ----- |
|
3376
|
+
| **endpoint** | **String** | | |
|
3377
|
+
|
3378
|
+
### Return type
|
3379
|
+
|
3380
|
+
**Object**
|
3381
|
+
|
3382
|
+
### Authorization
|
3383
|
+
|
3384
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3385
|
+
|
3386
|
+
### HTTP request headers
|
3387
|
+
|
3388
|
+
- **Content-Type**: Not defined
|
3389
|
+
- **Accept**: application/json
|
3390
|
+
|
3391
|
+
|
3392
|
+
## openai_proxy_route_openai_endpoint_get_2
|
3393
|
+
|
3394
|
+
> Object openai_proxy_route_openai_endpoint_get_2(endpoint)
|
3395
|
+
|
3396
|
+
Openai Proxy Route
|
3397
|
+
|
3398
|
+
Simple pass-through for OpenAI. Use this if you want to directly send a request to OpenAI.
|
3399
|
+
|
3400
|
+
### Examples
|
3401
|
+
|
3402
|
+
```ruby
|
3403
|
+
require 'time'
|
3404
|
+
require 'litellm_client'
|
3405
|
+
# setup authorization
|
3406
|
+
LiteLLMClient.configure do |config|
|
3407
|
+
# Configure API key authorization: APIKeyHeader
|
3408
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3409
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3410
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3411
|
+
end
|
3412
|
+
|
3413
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3414
|
+
endpoint = 'endpoint_example' # String |
|
3415
|
+
|
3416
|
+
begin
|
3417
|
+
# Openai Proxy Route
|
3418
|
+
result = api_instance.openai_proxy_route_openai_endpoint_get_2(endpoint)
|
3419
|
+
p result
|
3420
|
+
rescue LiteLLMClient::ApiError => e
|
3421
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_2: #{e}"
|
3422
|
+
end
|
3423
|
+
```
|
3424
|
+
|
3425
|
+
#### Using the openai_proxy_route_openai_endpoint_get_2_with_http_info variant
|
3426
|
+
|
3427
|
+
This returns an Array which contains the response data, status code and headers.
|
3428
|
+
|
3429
|
+
> <Array(Object, Integer, Hash)> openai_proxy_route_openai_endpoint_get_2_with_http_info(endpoint)
|
3430
|
+
|
3431
|
+
```ruby
|
3432
|
+
begin
|
3433
|
+
# Openai Proxy Route
|
3434
|
+
data, status_code, headers = api_instance.openai_proxy_route_openai_endpoint_get_2_with_http_info(endpoint)
|
3435
|
+
p status_code # => 2xx
|
3436
|
+
p headers # => { ... }
|
3437
|
+
p data # => Object
|
3438
|
+
rescue LiteLLMClient::ApiError => e
|
3439
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_2_with_http_info: #{e}"
|
3440
|
+
end
|
3441
|
+
```
|
3442
|
+
|
3443
|
+
### Parameters
|
3444
|
+
|
3445
|
+
| Name | Type | Description | Notes |
|
3446
|
+
| ---- | ---- | ----------- | ----- |
|
3447
|
+
| **endpoint** | **String** | | |
|
3448
|
+
|
3449
|
+
### Return type
|
3450
|
+
|
3451
|
+
**Object**
|
3452
|
+
|
3453
|
+
### Authorization
|
3454
|
+
|
3455
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3456
|
+
|
3457
|
+
### HTTP request headers
|
3458
|
+
|
3459
|
+
- **Content-Type**: Not defined
|
3460
|
+
- **Accept**: application/json
|
3461
|
+
|
3462
|
+
|
3463
|
+
## openai_proxy_route_openai_endpoint_get_3
|
3464
|
+
|
3465
|
+
> Object openai_proxy_route_openai_endpoint_get_3(endpoint)
|
3466
|
+
|
3467
|
+
Openai Proxy Route
|
3468
|
+
|
3469
|
+
Simple pass-through for OpenAI. Use this if you want to directly send a request to OpenAI.
|
3470
|
+
|
3471
|
+
### Examples
|
3472
|
+
|
3473
|
+
```ruby
|
3474
|
+
require 'time'
|
3475
|
+
require 'litellm_client'
|
3476
|
+
# setup authorization
|
3477
|
+
LiteLLMClient.configure do |config|
|
3478
|
+
# Configure API key authorization: APIKeyHeader
|
3479
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3480
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3481
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3482
|
+
end
|
3483
|
+
|
3484
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3485
|
+
endpoint = 'endpoint_example' # String |
|
3486
|
+
|
3487
|
+
begin
|
3488
|
+
# Openai Proxy Route
|
3489
|
+
result = api_instance.openai_proxy_route_openai_endpoint_get_3(endpoint)
|
3490
|
+
p result
|
3491
|
+
rescue LiteLLMClient::ApiError => e
|
3492
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_3: #{e}"
|
3493
|
+
end
|
3494
|
+
```
|
3495
|
+
|
3496
|
+
#### Using the openai_proxy_route_openai_endpoint_get_3_with_http_info variant
|
3497
|
+
|
3498
|
+
This returns an Array which contains the response data, status code and headers.
|
3499
|
+
|
3500
|
+
> <Array(Object, Integer, Hash)> openai_proxy_route_openai_endpoint_get_3_with_http_info(endpoint)
|
3501
|
+
|
3502
|
+
```ruby
|
3503
|
+
begin
|
3504
|
+
# Openai Proxy Route
|
3505
|
+
data, status_code, headers = api_instance.openai_proxy_route_openai_endpoint_get_3_with_http_info(endpoint)
|
3506
|
+
p status_code # => 2xx
|
3507
|
+
p headers # => { ... }
|
3508
|
+
p data # => Object
|
3509
|
+
rescue LiteLLMClient::ApiError => e
|
3510
|
+
puts "Error when calling PassThroughApi->openai_proxy_route_openai_endpoint_get_3_with_http_info: #{e}"
|
3511
|
+
end
|
3512
|
+
```
|
3513
|
+
|
3514
|
+
### Parameters
|
3515
|
+
|
3516
|
+
| Name | Type | Description | Notes |
|
3517
|
+
| ---- | ---- | ----------- | ----- |
|
3518
|
+
| **endpoint** | **String** | | |
|
3519
|
+
|
3520
|
+
### Return type
|
3521
|
+
|
3522
|
+
**Object**
|
3523
|
+
|
3524
|
+
### Authorization
|
3525
|
+
|
3526
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3527
|
+
|
3528
|
+
### HTTP request headers
|
3529
|
+
|
3530
|
+
- **Content-Type**: Not defined
|
3531
|
+
- **Accept**: application/json
|
3532
|
+
|
3533
|
+
|
3534
|
+
## vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get
|
3535
|
+
|
3536
|
+
> Object vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get(endpoint)
|
3537
|
+
|
3538
|
+
Vertex Discovery Proxy Route
|
3539
|
+
|
3540
|
+
Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com`
|
3541
|
+
|
3542
|
+
### Examples
|
3543
|
+
|
3544
|
+
```ruby
|
3545
|
+
require 'time'
|
3546
|
+
require 'litellm_client'
|
3547
|
+
|
3548
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3549
|
+
endpoint = 'endpoint_example' # String |
|
3550
|
+
|
3551
|
+
begin
|
3552
|
+
# Vertex Discovery Proxy Route
|
3553
|
+
result = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get(endpoint)
|
3554
|
+
p result
|
3555
|
+
rescue LiteLLMClient::ApiError => e
|
3556
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get: #{e}"
|
3557
|
+
end
|
3558
|
+
```
|
3559
|
+
|
3560
|
+
#### Using the vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_with_http_info variant
|
3561
|
+
|
3562
|
+
This returns an Array which contains the response data, status code and headers.
|
3563
|
+
|
3564
|
+
> <Array(Object, Integer, Hash)> vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_with_http_info(endpoint)
|
3565
|
+
|
3566
|
+
```ruby
|
3567
|
+
begin
|
3568
|
+
# Vertex Discovery Proxy Route
|
3569
|
+
data, status_code, headers = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_with_http_info(endpoint)
|
3570
|
+
p status_code # => 2xx
|
3571
|
+
p headers # => { ... }
|
3572
|
+
p data # => Object
|
3573
|
+
rescue LiteLLMClient::ApiError => e
|
3574
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_with_http_info: #{e}"
|
3575
|
+
end
|
3576
|
+
```
|
3577
|
+
|
3578
|
+
### Parameters
|
3579
|
+
|
3580
|
+
| Name | Type | Description | Notes |
|
3581
|
+
| ---- | ---- | ----------- | ----- |
|
3582
|
+
| **endpoint** | **String** | | |
|
3583
|
+
|
3584
|
+
### Return type
|
3585
|
+
|
3586
|
+
**Object**
|
3587
|
+
|
3588
|
+
### Authorization
|
3589
|
+
|
3590
|
+
No authorization required
|
3591
|
+
|
3592
|
+
### HTTP request headers
|
3593
|
+
|
3594
|
+
- **Content-Type**: Not defined
|
3595
|
+
- **Accept**: application/json
|
3596
|
+
|
3597
|
+
|
3598
|
+
## vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0
|
3599
|
+
|
3600
|
+
> Object vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0(endpoint)
|
3601
|
+
|
3602
|
+
Vertex Discovery Proxy Route
|
3603
|
+
|
3604
|
+
Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com`
|
3605
|
+
|
3606
|
+
### Examples
|
3607
|
+
|
3608
|
+
```ruby
|
3609
|
+
require 'time'
|
3610
|
+
require 'litellm_client'
|
3611
|
+
|
3612
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3613
|
+
endpoint = 'endpoint_example' # String |
|
3614
|
+
|
3615
|
+
begin
|
3616
|
+
# Vertex Discovery Proxy Route
|
3617
|
+
result = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0(endpoint)
|
3618
|
+
p result
|
3619
|
+
rescue LiteLLMClient::ApiError => e
|
3620
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0: #{e}"
|
3621
|
+
end
|
3622
|
+
```
|
3623
|
+
|
3624
|
+
#### Using the vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0_with_http_info variant
|
3625
|
+
|
3626
|
+
This returns an Array which contains the response data, status code and headers.
|
3627
|
+
|
3628
|
+
> <Array(Object, Integer, Hash)> vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0_with_http_info(endpoint)
|
3629
|
+
|
3630
|
+
```ruby
|
3631
|
+
begin
|
3632
|
+
# Vertex Discovery Proxy Route
|
3633
|
+
data, status_code, headers = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0_with_http_info(endpoint)
|
3634
|
+
p status_code # => 2xx
|
3635
|
+
p headers # => { ... }
|
3636
|
+
p data # => Object
|
3637
|
+
rescue LiteLLMClient::ApiError => e
|
3638
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_0_with_http_info: #{e}"
|
3639
|
+
end
|
3640
|
+
```
|
3641
|
+
|
3642
|
+
### Parameters
|
3643
|
+
|
3644
|
+
| Name | Type | Description | Notes |
|
3645
|
+
| ---- | ---- | ----------- | ----- |
|
3646
|
+
| **endpoint** | **String** | | |
|
3647
|
+
|
3648
|
+
### Return type
|
3649
|
+
|
3650
|
+
**Object**
|
3651
|
+
|
3652
|
+
### Authorization
|
3653
|
+
|
3654
|
+
No authorization required
|
3655
|
+
|
3656
|
+
### HTTP request headers
|
3657
|
+
|
3658
|
+
- **Content-Type**: Not defined
|
3659
|
+
- **Accept**: application/json
|
3660
|
+
|
3661
|
+
|
3662
|
+
## vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1
|
3663
|
+
|
3664
|
+
> Object vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1(endpoint)
|
3665
|
+
|
3666
|
+
Vertex Discovery Proxy Route
|
3667
|
+
|
3668
|
+
Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com`
|
3669
|
+
|
3670
|
+
### Examples
|
3671
|
+
|
3672
|
+
```ruby
|
3673
|
+
require 'time'
|
3674
|
+
require 'litellm_client'
|
3675
|
+
|
3676
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3677
|
+
endpoint = 'endpoint_example' # String |
|
3678
|
+
|
3679
|
+
begin
|
3680
|
+
# Vertex Discovery Proxy Route
|
3681
|
+
result = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1(endpoint)
|
3682
|
+
p result
|
3683
|
+
rescue LiteLLMClient::ApiError => e
|
3684
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1: #{e}"
|
3685
|
+
end
|
3686
|
+
```
|
3687
|
+
|
3688
|
+
#### Using the vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1_with_http_info variant
|
3689
|
+
|
3690
|
+
This returns an Array which contains the response data, status code and headers.
|
3691
|
+
|
3692
|
+
> <Array(Object, Integer, Hash)> vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1_with_http_info(endpoint)
|
3693
|
+
|
3694
|
+
```ruby
|
3695
|
+
begin
|
3696
|
+
# Vertex Discovery Proxy Route
|
3697
|
+
data, status_code, headers = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1_with_http_info(endpoint)
|
3698
|
+
p status_code # => 2xx
|
3699
|
+
p headers # => { ... }
|
3700
|
+
p data # => Object
|
3701
|
+
rescue LiteLLMClient::ApiError => e
|
3702
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_1_with_http_info: #{e}"
|
3703
|
+
end
|
3704
|
+
```
|
3705
|
+
|
3706
|
+
### Parameters
|
3707
|
+
|
3708
|
+
| Name | Type | Description | Notes |
|
3709
|
+
| ---- | ---- | ----------- | ----- |
|
3710
|
+
| **endpoint** | **String** | | |
|
3711
|
+
|
3712
|
+
### Return type
|
3713
|
+
|
3714
|
+
**Object**
|
3715
|
+
|
3716
|
+
### Authorization
|
3717
|
+
|
3718
|
+
No authorization required
|
3719
|
+
|
3720
|
+
### HTTP request headers
|
3721
|
+
|
3722
|
+
- **Content-Type**: Not defined
|
3723
|
+
- **Accept**: application/json
|
3724
|
+
|
3725
|
+
|
3726
|
+
## vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2
|
3727
|
+
|
3728
|
+
> Object vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2(endpoint)
|
3729
|
+
|
3730
|
+
Vertex Discovery Proxy Route
|
3731
|
+
|
3732
|
+
Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com`
|
3733
|
+
|
3734
|
+
### Examples
|
3735
|
+
|
3736
|
+
```ruby
|
3737
|
+
require 'time'
|
3738
|
+
require 'litellm_client'
|
3739
|
+
|
3740
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3741
|
+
endpoint = 'endpoint_example' # String |
|
3742
|
+
|
3743
|
+
begin
|
3744
|
+
# Vertex Discovery Proxy Route
|
3745
|
+
result = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2(endpoint)
|
3746
|
+
p result
|
3747
|
+
rescue LiteLLMClient::ApiError => e
|
3748
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2: #{e}"
|
3749
|
+
end
|
3750
|
+
```
|
3751
|
+
|
3752
|
+
#### Using the vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2_with_http_info variant
|
3753
|
+
|
3754
|
+
This returns an Array which contains the response data, status code and headers.
|
3755
|
+
|
3756
|
+
> <Array(Object, Integer, Hash)> vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2_with_http_info(endpoint)
|
3757
|
+
|
3758
|
+
```ruby
|
3759
|
+
begin
|
3760
|
+
# Vertex Discovery Proxy Route
|
3761
|
+
data, status_code, headers = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2_with_http_info(endpoint)
|
3762
|
+
p status_code # => 2xx
|
3763
|
+
p headers # => { ... }
|
3764
|
+
p data # => Object
|
3765
|
+
rescue LiteLLMClient::ApiError => e
|
3766
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_2_with_http_info: #{e}"
|
3767
|
+
end
|
3768
|
+
```
|
3769
|
+
|
3770
|
+
### Parameters
|
3771
|
+
|
3772
|
+
| Name | Type | Description | Notes |
|
3773
|
+
| ---- | ---- | ----------- | ----- |
|
3774
|
+
| **endpoint** | **String** | | |
|
3775
|
+
|
3776
|
+
### Return type
|
3777
|
+
|
3778
|
+
**Object**
|
3779
|
+
|
3780
|
+
### Authorization
|
3781
|
+
|
3782
|
+
No authorization required
|
3783
|
+
|
3784
|
+
### HTTP request headers
|
3785
|
+
|
3786
|
+
- **Content-Type**: Not defined
|
3787
|
+
- **Accept**: application/json
|
3788
|
+
|
3789
|
+
|
3790
|
+
## vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3
|
3791
|
+
|
3792
|
+
> Object vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3(endpoint)
|
3793
|
+
|
3794
|
+
Vertex Discovery Proxy Route
|
3795
|
+
|
3796
|
+
Call any vertex discovery endpoint using the proxy. Just use `{PROXY_BASE_URL}/vertex_ai/discovery/{endpoint:path}` Target url: `https://discoveryengine.googleapis.com`
|
3797
|
+
|
3798
|
+
### Examples
|
3799
|
+
|
3800
|
+
```ruby
|
3801
|
+
require 'time'
|
3802
|
+
require 'litellm_client'
|
3803
|
+
|
3804
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3805
|
+
endpoint = 'endpoint_example' # String |
|
3806
|
+
|
3807
|
+
begin
|
3808
|
+
# Vertex Discovery Proxy Route
|
3809
|
+
result = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3(endpoint)
|
3810
|
+
p result
|
3811
|
+
rescue LiteLLMClient::ApiError => e
|
3812
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3: #{e}"
|
3813
|
+
end
|
3814
|
+
```
|
3815
|
+
|
3816
|
+
#### Using the vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3_with_http_info variant
|
3817
|
+
|
3818
|
+
This returns an Array which contains the response data, status code and headers.
|
3819
|
+
|
3820
|
+
> <Array(Object, Integer, Hash)> vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3_with_http_info(endpoint)
|
3821
|
+
|
3822
|
+
```ruby
|
3823
|
+
begin
|
3824
|
+
# Vertex Discovery Proxy Route
|
3825
|
+
data, status_code, headers = api_instance.vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3_with_http_info(endpoint)
|
3826
|
+
p status_code # => 2xx
|
3827
|
+
p headers # => { ... }
|
3828
|
+
p data # => Object
|
3829
|
+
rescue LiteLLMClient::ApiError => e
|
3830
|
+
puts "Error when calling PassThroughApi->vertex_discovery_proxy_route_vertex_ai_discovery_endpoint_get_3_with_http_info: #{e}"
|
3831
|
+
end
|
3832
|
+
```
|
3833
|
+
|
3834
|
+
### Parameters
|
3835
|
+
|
3836
|
+
| Name | Type | Description | Notes |
|
3837
|
+
| ---- | ---- | ----------- | ----- |
|
3838
|
+
| **endpoint** | **String** | | |
|
3839
|
+
|
3840
|
+
### Return type
|
3841
|
+
|
3842
|
+
**Object**
|
3843
|
+
|
3844
|
+
### Authorization
|
3845
|
+
|
3846
|
+
No authorization required
|
3847
|
+
|
3848
|
+
### HTTP request headers
|
3849
|
+
|
3850
|
+
- **Content-Type**: Not defined
|
3851
|
+
- **Accept**: application/json
|
3852
|
+
|
3853
|
+
|
3854
|
+
## vertex_proxy_route_vertex_ai_endpoint_get
|
3855
|
+
|
3856
|
+
> Object vertex_proxy_route_vertex_ai_endpoint_get(endpoint)
|
3857
|
+
|
3858
|
+
Vertex Proxy Route
|
3859
|
+
|
3860
|
+
Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai)
|
3861
|
+
|
3862
|
+
### Examples
|
3863
|
+
|
3864
|
+
```ruby
|
3865
|
+
require 'time'
|
3866
|
+
require 'litellm_client'
|
3867
|
+
# setup authorization
|
3868
|
+
LiteLLMClient.configure do |config|
|
3869
|
+
# Configure API key authorization: APIKeyHeader
|
3870
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3871
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3872
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3873
|
+
end
|
3874
|
+
|
3875
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3876
|
+
endpoint = 'endpoint_example' # String |
|
3877
|
+
|
3878
|
+
begin
|
3879
|
+
# Vertex Proxy Route
|
3880
|
+
result = api_instance.vertex_proxy_route_vertex_ai_endpoint_get(endpoint)
|
3881
|
+
p result
|
3882
|
+
rescue LiteLLMClient::ApiError => e
|
3883
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get: #{e}"
|
3884
|
+
end
|
3885
|
+
```
|
3886
|
+
|
3887
|
+
#### Using the vertex_proxy_route_vertex_ai_endpoint_get_with_http_info variant
|
3888
|
+
|
3889
|
+
This returns an Array which contains the response data, status code and headers.
|
3890
|
+
|
3891
|
+
> <Array(Object, Integer, Hash)> vertex_proxy_route_vertex_ai_endpoint_get_with_http_info(endpoint)
|
3892
|
+
|
3893
|
+
```ruby
|
3894
|
+
begin
|
3895
|
+
# Vertex Proxy Route
|
3896
|
+
data, status_code, headers = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_with_http_info(endpoint)
|
3897
|
+
p status_code # => 2xx
|
3898
|
+
p headers # => { ... }
|
3899
|
+
p data # => Object
|
3900
|
+
rescue LiteLLMClient::ApiError => e
|
3901
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_with_http_info: #{e}"
|
3902
|
+
end
|
3903
|
+
```
|
3904
|
+
|
3905
|
+
### Parameters
|
3906
|
+
|
3907
|
+
| Name | Type | Description | Notes |
|
3908
|
+
| ---- | ---- | ----------- | ----- |
|
3909
|
+
| **endpoint** | **String** | | |
|
3910
|
+
|
3911
|
+
### Return type
|
3912
|
+
|
3913
|
+
**Object**
|
3914
|
+
|
3915
|
+
### Authorization
|
3916
|
+
|
3917
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3918
|
+
|
3919
|
+
### HTTP request headers
|
3920
|
+
|
3921
|
+
- **Content-Type**: Not defined
|
3922
|
+
- **Accept**: application/json
|
3923
|
+
|
3924
|
+
|
3925
|
+
## vertex_proxy_route_vertex_ai_endpoint_get_0
|
3926
|
+
|
3927
|
+
> Object vertex_proxy_route_vertex_ai_endpoint_get_0(endpoint)
|
3928
|
+
|
3929
|
+
Vertex Proxy Route
|
3930
|
+
|
3931
|
+
Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai)
|
3932
|
+
|
3933
|
+
### Examples
|
3934
|
+
|
3935
|
+
```ruby
|
3936
|
+
require 'time'
|
3937
|
+
require 'litellm_client'
|
3938
|
+
# setup authorization
|
3939
|
+
LiteLLMClient.configure do |config|
|
3940
|
+
# Configure API key authorization: APIKeyHeader
|
3941
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
3942
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3943
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
3944
|
+
end
|
3945
|
+
|
3946
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
3947
|
+
endpoint = 'endpoint_example' # String |
|
3948
|
+
|
3949
|
+
begin
|
3950
|
+
# Vertex Proxy Route
|
3951
|
+
result = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_0(endpoint)
|
3952
|
+
p result
|
3953
|
+
rescue LiteLLMClient::ApiError => e
|
3954
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_0: #{e}"
|
3955
|
+
end
|
3956
|
+
```
|
3957
|
+
|
3958
|
+
#### Using the vertex_proxy_route_vertex_ai_endpoint_get_0_with_http_info variant
|
3959
|
+
|
3960
|
+
This returns an Array which contains the response data, status code and headers.
|
3961
|
+
|
3962
|
+
> <Array(Object, Integer, Hash)> vertex_proxy_route_vertex_ai_endpoint_get_0_with_http_info(endpoint)
|
3963
|
+
|
3964
|
+
```ruby
|
3965
|
+
begin
|
3966
|
+
# Vertex Proxy Route
|
3967
|
+
data, status_code, headers = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_0_with_http_info(endpoint)
|
3968
|
+
p status_code # => 2xx
|
3969
|
+
p headers # => { ... }
|
3970
|
+
p data # => Object
|
3971
|
+
rescue LiteLLMClient::ApiError => e
|
3972
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_0_with_http_info: #{e}"
|
3973
|
+
end
|
3974
|
+
```
|
3975
|
+
|
3976
|
+
### Parameters
|
3977
|
+
|
3978
|
+
| Name | Type | Description | Notes |
|
3979
|
+
| ---- | ---- | ----------- | ----- |
|
3980
|
+
| **endpoint** | **String** | | |
|
3981
|
+
|
3982
|
+
### Return type
|
3983
|
+
|
3984
|
+
**Object**
|
3985
|
+
|
3986
|
+
### Authorization
|
3987
|
+
|
3988
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
3989
|
+
|
3990
|
+
### HTTP request headers
|
3991
|
+
|
3992
|
+
- **Content-Type**: Not defined
|
3993
|
+
- **Accept**: application/json
|
3994
|
+
|
3995
|
+
|
3996
|
+
## vertex_proxy_route_vertex_ai_endpoint_get_1
|
3997
|
+
|
3998
|
+
> Object vertex_proxy_route_vertex_ai_endpoint_get_1(endpoint)
|
3999
|
+
|
4000
|
+
Vertex Proxy Route
|
4001
|
+
|
4002
|
+
Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai)
|
4003
|
+
|
4004
|
+
### Examples
|
4005
|
+
|
4006
|
+
```ruby
|
4007
|
+
require 'time'
|
4008
|
+
require 'litellm_client'
|
4009
|
+
# setup authorization
|
4010
|
+
LiteLLMClient.configure do |config|
|
4011
|
+
# Configure API key authorization: APIKeyHeader
|
4012
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4013
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4014
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4015
|
+
end
|
4016
|
+
|
4017
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4018
|
+
endpoint = 'endpoint_example' # String |
|
4019
|
+
|
4020
|
+
begin
|
4021
|
+
# Vertex Proxy Route
|
4022
|
+
result = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_1(endpoint)
|
4023
|
+
p result
|
4024
|
+
rescue LiteLLMClient::ApiError => e
|
4025
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_1: #{e}"
|
4026
|
+
end
|
4027
|
+
```
|
4028
|
+
|
4029
|
+
#### Using the vertex_proxy_route_vertex_ai_endpoint_get_1_with_http_info variant
|
4030
|
+
|
4031
|
+
This returns an Array which contains the response data, status code and headers.
|
4032
|
+
|
4033
|
+
> <Array(Object, Integer, Hash)> vertex_proxy_route_vertex_ai_endpoint_get_1_with_http_info(endpoint)
|
4034
|
+
|
4035
|
+
```ruby
|
4036
|
+
begin
|
4037
|
+
# Vertex Proxy Route
|
4038
|
+
data, status_code, headers = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_1_with_http_info(endpoint)
|
4039
|
+
p status_code # => 2xx
|
4040
|
+
p headers # => { ... }
|
4041
|
+
p data # => Object
|
4042
|
+
rescue LiteLLMClient::ApiError => e
|
4043
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_1_with_http_info: #{e}"
|
4044
|
+
end
|
4045
|
+
```
|
4046
|
+
|
4047
|
+
### Parameters
|
4048
|
+
|
4049
|
+
| Name | Type | Description | Notes |
|
4050
|
+
| ---- | ---- | ----------- | ----- |
|
4051
|
+
| **endpoint** | **String** | | |
|
4052
|
+
|
4053
|
+
### Return type
|
4054
|
+
|
4055
|
+
**Object**
|
4056
|
+
|
4057
|
+
### Authorization
|
4058
|
+
|
4059
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4060
|
+
|
4061
|
+
### HTTP request headers
|
4062
|
+
|
4063
|
+
- **Content-Type**: Not defined
|
4064
|
+
- **Accept**: application/json
|
4065
|
+
|
4066
|
+
|
4067
|
+
## vertex_proxy_route_vertex_ai_endpoint_get_2
|
4068
|
+
|
4069
|
+
> Object vertex_proxy_route_vertex_ai_endpoint_get_2(endpoint)
|
4070
|
+
|
4071
|
+
Vertex Proxy Route
|
4072
|
+
|
4073
|
+
Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai)
|
4074
|
+
|
4075
|
+
### Examples
|
4076
|
+
|
4077
|
+
```ruby
|
4078
|
+
require 'time'
|
4079
|
+
require 'litellm_client'
|
4080
|
+
# setup authorization
|
4081
|
+
LiteLLMClient.configure do |config|
|
4082
|
+
# Configure API key authorization: APIKeyHeader
|
4083
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4084
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4085
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4086
|
+
end
|
4087
|
+
|
4088
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4089
|
+
endpoint = 'endpoint_example' # String |
|
4090
|
+
|
4091
|
+
begin
|
4092
|
+
# Vertex Proxy Route
|
4093
|
+
result = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_2(endpoint)
|
4094
|
+
p result
|
4095
|
+
rescue LiteLLMClient::ApiError => e
|
4096
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_2: #{e}"
|
4097
|
+
end
|
4098
|
+
```
|
4099
|
+
|
4100
|
+
#### Using the vertex_proxy_route_vertex_ai_endpoint_get_2_with_http_info variant
|
4101
|
+
|
4102
|
+
This returns an Array which contains the response data, status code and headers.
|
4103
|
+
|
4104
|
+
> <Array(Object, Integer, Hash)> vertex_proxy_route_vertex_ai_endpoint_get_2_with_http_info(endpoint)
|
4105
|
+
|
4106
|
+
```ruby
|
4107
|
+
begin
|
4108
|
+
# Vertex Proxy Route
|
4109
|
+
data, status_code, headers = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_2_with_http_info(endpoint)
|
4110
|
+
p status_code # => 2xx
|
4111
|
+
p headers # => { ... }
|
4112
|
+
p data # => Object
|
4113
|
+
rescue LiteLLMClient::ApiError => e
|
4114
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_2_with_http_info: #{e}"
|
4115
|
+
end
|
4116
|
+
```
|
4117
|
+
|
4118
|
+
### Parameters
|
4119
|
+
|
4120
|
+
| Name | Type | Description | Notes |
|
4121
|
+
| ---- | ---- | ----------- | ----- |
|
4122
|
+
| **endpoint** | **String** | | |
|
4123
|
+
|
4124
|
+
### Return type
|
4125
|
+
|
4126
|
+
**Object**
|
4127
|
+
|
4128
|
+
### Authorization
|
4129
|
+
|
4130
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4131
|
+
|
4132
|
+
### HTTP request headers
|
4133
|
+
|
4134
|
+
- **Content-Type**: Not defined
|
4135
|
+
- **Accept**: application/json
|
4136
|
+
|
4137
|
+
|
4138
|
+
## vertex_proxy_route_vertex_ai_endpoint_get_3
|
4139
|
+
|
4140
|
+
> Object vertex_proxy_route_vertex_ai_endpoint_get_3(endpoint)
|
4141
|
+
|
4142
|
+
Vertex Proxy Route
|
4143
|
+
|
4144
|
+
Call LiteLLM proxy via Vertex AI SDK. [Docs](https://docs.litellm.ai/docs/pass_through/vertex_ai)
|
4145
|
+
|
4146
|
+
### Examples
|
4147
|
+
|
4148
|
+
```ruby
|
4149
|
+
require 'time'
|
4150
|
+
require 'litellm_client'
|
4151
|
+
# setup authorization
|
4152
|
+
LiteLLMClient.configure do |config|
|
4153
|
+
# Configure API key authorization: APIKeyHeader
|
4154
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4155
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4156
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4157
|
+
end
|
4158
|
+
|
4159
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4160
|
+
endpoint = 'endpoint_example' # String |
|
4161
|
+
|
4162
|
+
begin
|
4163
|
+
# Vertex Proxy Route
|
4164
|
+
result = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_3(endpoint)
|
4165
|
+
p result
|
4166
|
+
rescue LiteLLMClient::ApiError => e
|
4167
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_3: #{e}"
|
4168
|
+
end
|
4169
|
+
```
|
4170
|
+
|
4171
|
+
#### Using the vertex_proxy_route_vertex_ai_endpoint_get_3_with_http_info variant
|
4172
|
+
|
4173
|
+
This returns an Array which contains the response data, status code and headers.
|
4174
|
+
|
4175
|
+
> <Array(Object, Integer, Hash)> vertex_proxy_route_vertex_ai_endpoint_get_3_with_http_info(endpoint)
|
4176
|
+
|
4177
|
+
```ruby
|
4178
|
+
begin
|
4179
|
+
# Vertex Proxy Route
|
4180
|
+
data, status_code, headers = api_instance.vertex_proxy_route_vertex_ai_endpoint_get_3_with_http_info(endpoint)
|
4181
|
+
p status_code # => 2xx
|
4182
|
+
p headers # => { ... }
|
4183
|
+
p data # => Object
|
4184
|
+
rescue LiteLLMClient::ApiError => e
|
4185
|
+
puts "Error when calling PassThroughApi->vertex_proxy_route_vertex_ai_endpoint_get_3_with_http_info: #{e}"
|
4186
|
+
end
|
4187
|
+
```
|
4188
|
+
|
4189
|
+
### Parameters
|
4190
|
+
|
4191
|
+
| Name | Type | Description | Notes |
|
4192
|
+
| ---- | ---- | ----------- | ----- |
|
4193
|
+
| **endpoint** | **String** | | |
|
4194
|
+
|
4195
|
+
### Return type
|
4196
|
+
|
4197
|
+
**Object**
|
4198
|
+
|
4199
|
+
### Authorization
|
4200
|
+
|
4201
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4202
|
+
|
4203
|
+
### HTTP request headers
|
4204
|
+
|
4205
|
+
- **Content-Type**: Not defined
|
4206
|
+
- **Accept**: application/json
|
4207
|
+
|
4208
|
+
|
4209
|
+
## vllm_proxy_route_vllm_endpoint_get
|
4210
|
+
|
4211
|
+
> Object vllm_proxy_route_vllm_endpoint_get(endpoint)
|
4212
|
+
|
4213
|
+
Vllm Proxy Route
|
4214
|
+
|
4215
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/vllm)
|
4216
|
+
|
4217
|
+
### Examples
|
4218
|
+
|
4219
|
+
```ruby
|
4220
|
+
require 'time'
|
4221
|
+
require 'litellm_client'
|
4222
|
+
# setup authorization
|
4223
|
+
LiteLLMClient.configure do |config|
|
4224
|
+
# Configure API key authorization: APIKeyHeader
|
4225
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4226
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4227
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4228
|
+
end
|
4229
|
+
|
4230
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4231
|
+
endpoint = 'endpoint_example' # String |
|
4232
|
+
|
4233
|
+
begin
|
4234
|
+
# Vllm Proxy Route
|
4235
|
+
result = api_instance.vllm_proxy_route_vllm_endpoint_get(endpoint)
|
4236
|
+
p result
|
4237
|
+
rescue LiteLLMClient::ApiError => e
|
4238
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get: #{e}"
|
4239
|
+
end
|
4240
|
+
```
|
4241
|
+
|
4242
|
+
#### Using the vllm_proxy_route_vllm_endpoint_get_with_http_info variant
|
4243
|
+
|
4244
|
+
This returns an Array which contains the response data, status code and headers.
|
4245
|
+
|
4246
|
+
> <Array(Object, Integer, Hash)> vllm_proxy_route_vllm_endpoint_get_with_http_info(endpoint)
|
4247
|
+
|
4248
|
+
```ruby
|
4249
|
+
begin
|
4250
|
+
# Vllm Proxy Route
|
4251
|
+
data, status_code, headers = api_instance.vllm_proxy_route_vllm_endpoint_get_with_http_info(endpoint)
|
4252
|
+
p status_code # => 2xx
|
4253
|
+
p headers # => { ... }
|
4254
|
+
p data # => Object
|
4255
|
+
rescue LiteLLMClient::ApiError => e
|
4256
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_with_http_info: #{e}"
|
4257
|
+
end
|
4258
|
+
```
|
4259
|
+
|
4260
|
+
### Parameters
|
4261
|
+
|
4262
|
+
| Name | Type | Description | Notes |
|
4263
|
+
| ---- | ---- | ----------- | ----- |
|
4264
|
+
| **endpoint** | **String** | | |
|
4265
|
+
|
4266
|
+
### Return type
|
4267
|
+
|
4268
|
+
**Object**
|
4269
|
+
|
4270
|
+
### Authorization
|
4271
|
+
|
4272
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4273
|
+
|
4274
|
+
### HTTP request headers
|
4275
|
+
|
4276
|
+
- **Content-Type**: Not defined
|
4277
|
+
- **Accept**: application/json
|
4278
|
+
|
4279
|
+
|
4280
|
+
## vllm_proxy_route_vllm_endpoint_get_0
|
4281
|
+
|
4282
|
+
> Object vllm_proxy_route_vllm_endpoint_get_0(endpoint)
|
4283
|
+
|
4284
|
+
Vllm Proxy Route
|
4285
|
+
|
4286
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/vllm)
|
4287
|
+
|
4288
|
+
### Examples
|
4289
|
+
|
4290
|
+
```ruby
|
4291
|
+
require 'time'
|
4292
|
+
require 'litellm_client'
|
4293
|
+
# setup authorization
|
4294
|
+
LiteLLMClient.configure do |config|
|
4295
|
+
# Configure API key authorization: APIKeyHeader
|
4296
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4297
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4298
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4299
|
+
end
|
4300
|
+
|
4301
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4302
|
+
endpoint = 'endpoint_example' # String |
|
4303
|
+
|
4304
|
+
begin
|
4305
|
+
# Vllm Proxy Route
|
4306
|
+
result = api_instance.vllm_proxy_route_vllm_endpoint_get_0(endpoint)
|
4307
|
+
p result
|
4308
|
+
rescue LiteLLMClient::ApiError => e
|
4309
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_0: #{e}"
|
4310
|
+
end
|
4311
|
+
```
|
4312
|
+
|
4313
|
+
#### Using the vllm_proxy_route_vllm_endpoint_get_0_with_http_info variant
|
4314
|
+
|
4315
|
+
This returns an Array which contains the response data, status code and headers.
|
4316
|
+
|
4317
|
+
> <Array(Object, Integer, Hash)> vllm_proxy_route_vllm_endpoint_get_0_with_http_info(endpoint)
|
4318
|
+
|
4319
|
+
```ruby
|
4320
|
+
begin
|
4321
|
+
# Vllm Proxy Route
|
4322
|
+
data, status_code, headers = api_instance.vllm_proxy_route_vllm_endpoint_get_0_with_http_info(endpoint)
|
4323
|
+
p status_code # => 2xx
|
4324
|
+
p headers # => { ... }
|
4325
|
+
p data # => Object
|
4326
|
+
rescue LiteLLMClient::ApiError => e
|
4327
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_0_with_http_info: #{e}"
|
4328
|
+
end
|
4329
|
+
```
|
4330
|
+
|
4331
|
+
### Parameters
|
4332
|
+
|
4333
|
+
| Name | Type | Description | Notes |
|
4334
|
+
| ---- | ---- | ----------- | ----- |
|
4335
|
+
| **endpoint** | **String** | | |
|
4336
|
+
|
4337
|
+
### Return type
|
4338
|
+
|
4339
|
+
**Object**
|
4340
|
+
|
4341
|
+
### Authorization
|
4342
|
+
|
4343
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4344
|
+
|
4345
|
+
### HTTP request headers
|
4346
|
+
|
4347
|
+
- **Content-Type**: Not defined
|
4348
|
+
- **Accept**: application/json
|
4349
|
+
|
4350
|
+
|
4351
|
+
## vllm_proxy_route_vllm_endpoint_get_1
|
4352
|
+
|
4353
|
+
> Object vllm_proxy_route_vllm_endpoint_get_1(endpoint)
|
4354
|
+
|
4355
|
+
Vllm Proxy Route
|
4356
|
+
|
4357
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/vllm)
|
4358
|
+
|
4359
|
+
### Examples
|
4360
|
+
|
4361
|
+
```ruby
|
4362
|
+
require 'time'
|
4363
|
+
require 'litellm_client'
|
4364
|
+
# setup authorization
|
4365
|
+
LiteLLMClient.configure do |config|
|
4366
|
+
# Configure API key authorization: APIKeyHeader
|
4367
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4368
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4369
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4370
|
+
end
|
4371
|
+
|
4372
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4373
|
+
endpoint = 'endpoint_example' # String |
|
4374
|
+
|
4375
|
+
begin
|
4376
|
+
# Vllm Proxy Route
|
4377
|
+
result = api_instance.vllm_proxy_route_vllm_endpoint_get_1(endpoint)
|
4378
|
+
p result
|
4379
|
+
rescue LiteLLMClient::ApiError => e
|
4380
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_1: #{e}"
|
4381
|
+
end
|
4382
|
+
```
|
4383
|
+
|
4384
|
+
#### Using the vllm_proxy_route_vllm_endpoint_get_1_with_http_info variant
|
4385
|
+
|
4386
|
+
This returns an Array which contains the response data, status code and headers.
|
4387
|
+
|
4388
|
+
> <Array(Object, Integer, Hash)> vllm_proxy_route_vllm_endpoint_get_1_with_http_info(endpoint)
|
4389
|
+
|
4390
|
+
```ruby
|
4391
|
+
begin
|
4392
|
+
# Vllm Proxy Route
|
4393
|
+
data, status_code, headers = api_instance.vllm_proxy_route_vllm_endpoint_get_1_with_http_info(endpoint)
|
4394
|
+
p status_code # => 2xx
|
4395
|
+
p headers # => { ... }
|
4396
|
+
p data # => Object
|
4397
|
+
rescue LiteLLMClient::ApiError => e
|
4398
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_1_with_http_info: #{e}"
|
4399
|
+
end
|
4400
|
+
```
|
4401
|
+
|
4402
|
+
### Parameters
|
4403
|
+
|
4404
|
+
| Name | Type | Description | Notes |
|
4405
|
+
| ---- | ---- | ----------- | ----- |
|
4406
|
+
| **endpoint** | **String** | | |
|
4407
|
+
|
4408
|
+
### Return type
|
4409
|
+
|
4410
|
+
**Object**
|
4411
|
+
|
4412
|
+
### Authorization
|
4413
|
+
|
4414
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4415
|
+
|
4416
|
+
### HTTP request headers
|
4417
|
+
|
4418
|
+
- **Content-Type**: Not defined
|
4419
|
+
- **Accept**: application/json
|
4420
|
+
|
4421
|
+
|
4422
|
+
## vllm_proxy_route_vllm_endpoint_get_2
|
4423
|
+
|
4424
|
+
> Object vllm_proxy_route_vllm_endpoint_get_2(endpoint)
|
4425
|
+
|
4426
|
+
Vllm Proxy Route
|
4427
|
+
|
4428
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/vllm)
|
4429
|
+
|
4430
|
+
### Examples
|
4431
|
+
|
4432
|
+
```ruby
|
4433
|
+
require 'time'
|
4434
|
+
require 'litellm_client'
|
4435
|
+
# setup authorization
|
4436
|
+
LiteLLMClient.configure do |config|
|
4437
|
+
# Configure API key authorization: APIKeyHeader
|
4438
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4439
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4440
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4441
|
+
end
|
4442
|
+
|
4443
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4444
|
+
endpoint = 'endpoint_example' # String |
|
4445
|
+
|
4446
|
+
begin
|
4447
|
+
# Vllm Proxy Route
|
4448
|
+
result = api_instance.vllm_proxy_route_vllm_endpoint_get_2(endpoint)
|
4449
|
+
p result
|
4450
|
+
rescue LiteLLMClient::ApiError => e
|
4451
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_2: #{e}"
|
4452
|
+
end
|
4453
|
+
```
|
4454
|
+
|
4455
|
+
#### Using the vllm_proxy_route_vllm_endpoint_get_2_with_http_info variant
|
4456
|
+
|
4457
|
+
This returns an Array which contains the response data, status code and headers.
|
4458
|
+
|
4459
|
+
> <Array(Object, Integer, Hash)> vllm_proxy_route_vllm_endpoint_get_2_with_http_info(endpoint)
|
4460
|
+
|
4461
|
+
```ruby
|
4462
|
+
begin
|
4463
|
+
# Vllm Proxy Route
|
4464
|
+
data, status_code, headers = api_instance.vllm_proxy_route_vllm_endpoint_get_2_with_http_info(endpoint)
|
4465
|
+
p status_code # => 2xx
|
4466
|
+
p headers # => { ... }
|
4467
|
+
p data # => Object
|
4468
|
+
rescue LiteLLMClient::ApiError => e
|
4469
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_2_with_http_info: #{e}"
|
4470
|
+
end
|
4471
|
+
```
|
4472
|
+
|
4473
|
+
### Parameters
|
4474
|
+
|
4475
|
+
| Name | Type | Description | Notes |
|
4476
|
+
| ---- | ---- | ----------- | ----- |
|
4477
|
+
| **endpoint** | **String** | | |
|
4478
|
+
|
4479
|
+
### Return type
|
4480
|
+
|
4481
|
+
**Object**
|
4482
|
+
|
4483
|
+
### Authorization
|
4484
|
+
|
4485
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4486
|
+
|
4487
|
+
### HTTP request headers
|
4488
|
+
|
4489
|
+
- **Content-Type**: Not defined
|
4490
|
+
- **Accept**: application/json
|
4491
|
+
|
4492
|
+
|
4493
|
+
## vllm_proxy_route_vllm_endpoint_get_3
|
4494
|
+
|
4495
|
+
> Object vllm_proxy_route_vllm_endpoint_get_3(endpoint)
|
4496
|
+
|
4497
|
+
Vllm Proxy Route
|
4498
|
+
|
4499
|
+
[Docs](https://docs.litellm.ai/docs/pass_through/vllm)
|
4500
|
+
|
4501
|
+
### Examples
|
4502
|
+
|
4503
|
+
```ruby
|
4504
|
+
require 'time'
|
4505
|
+
require 'litellm_client'
|
4506
|
+
# setup authorization
|
4507
|
+
LiteLLMClient.configure do |config|
|
4508
|
+
# Configure API key authorization: APIKeyHeader
|
4509
|
+
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
|
4510
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
4511
|
+
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
|
4512
|
+
end
|
4513
|
+
|
4514
|
+
api_instance = LiteLLMClient::PassThroughApi.new
|
4515
|
+
endpoint = 'endpoint_example' # String |
|
4516
|
+
|
4517
|
+
begin
|
4518
|
+
# Vllm Proxy Route
|
4519
|
+
result = api_instance.vllm_proxy_route_vllm_endpoint_get_3(endpoint)
|
4520
|
+
p result
|
4521
|
+
rescue LiteLLMClient::ApiError => e
|
4522
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_3: #{e}"
|
4523
|
+
end
|
4524
|
+
```
|
4525
|
+
|
4526
|
+
#### Using the vllm_proxy_route_vllm_endpoint_get_3_with_http_info variant
|
4527
|
+
|
4528
|
+
This returns an Array which contains the response data, status code and headers.
|
4529
|
+
|
4530
|
+
> <Array(Object, Integer, Hash)> vllm_proxy_route_vllm_endpoint_get_3_with_http_info(endpoint)
|
4531
|
+
|
4532
|
+
```ruby
|
4533
|
+
begin
|
4534
|
+
# Vllm Proxy Route
|
4535
|
+
data, status_code, headers = api_instance.vllm_proxy_route_vllm_endpoint_get_3_with_http_info(endpoint)
|
4536
|
+
p status_code # => 2xx
|
4537
|
+
p headers # => { ... }
|
4538
|
+
p data # => Object
|
4539
|
+
rescue LiteLLMClient::ApiError => e
|
4540
|
+
puts "Error when calling PassThroughApi->vllm_proxy_route_vllm_endpoint_get_3_with_http_info: #{e}"
|
4541
|
+
end
|
4542
|
+
```
|
4543
|
+
|
4544
|
+
### Parameters
|
4545
|
+
|
4546
|
+
| Name | Type | Description | Notes |
|
4547
|
+
| ---- | ---- | ----------- | ----- |
|
4548
|
+
| **endpoint** | **String** | | |
|
4549
|
+
|
4550
|
+
### Return type
|
4551
|
+
|
4552
|
+
**Object**
|
4553
|
+
|
4554
|
+
### Authorization
|
4555
|
+
|
4556
|
+
[APIKeyHeader](../README.md#APIKeyHeader)
|
4557
|
+
|
4558
|
+
### HTTP request headers
|
4559
|
+
|
4560
|
+
- **Content-Type**: Not defined
|
4561
|
+
- **Accept**: application/json
|
4562
|
+
|