All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| mistral_proxy_route_mistral_endpoint_get | GET /mistral/{endpoint} | Mistral Proxy Route |
| mistral_proxy_route_mistral_endpoint_get_0 | PUT /mistral/{endpoint} | Mistral Proxy Route |
| mistral_proxy_route_mistral_endpoint_get_1 | POST /mistral/{endpoint} | Mistral Proxy Route |
| mistral_proxy_route_mistral_endpoint_get_2 | DELETE /mistral/{endpoint} | Mistral Proxy Route |
| mistral_proxy_route_mistral_endpoint_get_3 | PATCH /mistral/{endpoint} | Mistral Proxy Route |
Object mistral_proxy_route_mistral_endpoint_get(endpoint)
Mistral Proxy Route
require 'time'
require 'litellm_client'
# setup authorization
LiteLLMClient.configure do |config|
# Configure API key authorization: APIKeyHeader
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
end
api_instance = LiteLLMClient::MistralPassThroughApi.new
endpoint = 'endpoint_example' # String |
begin
# Mistral Proxy Route
result = api_instance.mistral_proxy_route_mistral_endpoint_get(endpoint)
p result
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_with_http_info(endpoint)
begin
# Mistral Proxy Route
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_with_http_info(endpoint)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| endpoint | String |
Object
- Content-Type: Not defined
- Accept: application/json
Object mistral_proxy_route_mistral_endpoint_get_0(endpoint)
Mistral Proxy Route
require 'time'
require 'litellm_client'
# setup authorization
LiteLLMClient.configure do |config|
# Configure API key authorization: APIKeyHeader
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
end
api_instance = LiteLLMClient::MistralPassThroughApi.new
endpoint = 'endpoint_example' # String |
begin
# Mistral Proxy Route
result = api_instance.mistral_proxy_route_mistral_endpoint_get_0(endpoint)
p result
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_0: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_0_with_http_info(endpoint)
begin
# Mistral Proxy Route
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_0_with_http_info(endpoint)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_0_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| endpoint | String |
Object
- Content-Type: Not defined
- Accept: application/json
Object mistral_proxy_route_mistral_endpoint_get_1(endpoint)
Mistral Proxy Route
require 'time'
require 'litellm_client'
# setup authorization
LiteLLMClient.configure do |config|
# Configure API key authorization: APIKeyHeader
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
end
api_instance = LiteLLMClient::MistralPassThroughApi.new
endpoint = 'endpoint_example' # String |
begin
# Mistral Proxy Route
result = api_instance.mistral_proxy_route_mistral_endpoint_get_1(endpoint)
p result
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_1_with_http_info(endpoint)
begin
# Mistral Proxy Route
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_1_with_http_info(endpoint)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| endpoint | String |
Object
- Content-Type: Not defined
- Accept: application/json
Object mistral_proxy_route_mistral_endpoint_get_2(endpoint)
Mistral Proxy Route
require 'time'
require 'litellm_client'
# setup authorization
LiteLLMClient.configure do |config|
# Configure API key authorization: APIKeyHeader
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
end
api_instance = LiteLLMClient::MistralPassThroughApi.new
endpoint = 'endpoint_example' # String |
begin
# Mistral Proxy Route
result = api_instance.mistral_proxy_route_mistral_endpoint_get_2(endpoint)
p result
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_2: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_2_with_http_info(endpoint)
begin
# Mistral Proxy Route
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_2_with_http_info(endpoint)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_2_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| endpoint | String |
Object
- Content-Type: Not defined
- Accept: application/json
Object mistral_proxy_route_mistral_endpoint_get_3(endpoint)
Mistral Proxy Route
require 'time'
require 'litellm_client'
# setup authorization
LiteLLMClient.configure do |config|
# Configure API key authorization: APIKeyHeader
config.api_key['x-litellm-api-key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['x-litellm-api-key'] = 'Bearer'
end
api_instance = LiteLLMClient::MistralPassThroughApi.new
endpoint = 'endpoint_example' # String |
begin
# Mistral Proxy Route
result = api_instance.mistral_proxy_route_mistral_endpoint_get_3(endpoint)
p result
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_3: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(Object, Integer, Hash)> mistral_proxy_route_mistral_endpoint_get_3_with_http_info(endpoint)
begin
# Mistral Proxy Route
data, status_code, headers = api_instance.mistral_proxy_route_mistral_endpoint_get_3_with_http_info(endpoint)
p status_code # => 2xx
p headers # => { ... }
p data # => Object
rescue LiteLLMClient::ApiError => e
puts "Error when calling MistralPassThroughApi->mistral_proxy_route_mistral_endpoint_get_3_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| endpoint | String |
Object
- Content-Type: Not defined
- Accept: application/json