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