venice_client 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +510 -0
- data/Rakefile +8 -0
- data/docs/APIKeysApi.md +334 -0
- data/docs/AnyOfChatCompletionRequestMessagesItems.md +6 -0
- data/docs/AnyOfChatCompletionRequestStop.md +6 -0
- data/docs/AnyOfChatCompletionRequestToolChoice.md +6 -0
- data/docs/AnyOfCreateEmbeddingRequestSchemaInput.md +6 -0
- data/docs/AnyOfCreateEmbeddingRequestSchemaModel.md +6 -0
- data/docs/AnyOfModelResponseModelSpecConstraints.md +6 -0
- data/docs/AnyOfModelResponseModelSpecPricing.md +6 -0
- data/docs/AnyOfUpscaleImageRequestEnhance.md +6 -0
- data/docs/AnyOfUpscaleImageRequestImage.md +6 -0
- data/docs/AnyOfapiKeysBodyExpiresAt.md +6 -0
- data/docs/AnyOfapiKeysConsumptionLimitUsd.md +6 -0
- data/docs/AnyOfapiKeysConsumptionLimitVcu.md +6 -0
- data/docs/AnyOfapiKeysGenerateWeb3KeyBodyExpiresAt.md +6 -0
- data/docs/AnyOfinlineResponse2002DataItems.md +6 -0
- data/docs/AnyOfinlineResponse2004Type.md +6 -0
- data/docs/AnyOfinlineResponse2005Type.md +6 -0
- data/docs/AnyOfinlineResponse2006Type.md +6 -0
- data/docs/AnyOfinlineResponse200ChoicesMessage.md +6 -0
- data/docs/AnyOfinlineResponse200PromptLogprobs.md +6 -0
- data/docs/ApiKeysBody.md +10 -0
- data/docs/ApiKeysConsumptionLimit.md +8 -0
- data/docs/ApiKeysGenerateWeb3KeyBody.md +13 -0
- data/docs/AudioApi.md +58 -0
- data/docs/BillingApi.md +70 -0
- data/docs/BillingUsageRequest.md +12 -0
- data/docs/BillingUsageResponse.md +8 -0
- data/docs/BillingUsageResponseData.md +14 -0
- data/docs/BillingUsageResponseInferenceDetails.md +10 -0
- data/docs/BillingUsageResponsePagination.md +10 -0
- data/docs/CharactersApi.md +52 -0
- data/docs/ChatApi.md +60 -0
- data/docs/ChatCompletionRequest.md +32 -0
- data/docs/ChatCompletionRequestFunction.md +9 -0
- data/docs/ChatCompletionRequestStreamOptions.md +7 -0
- data/docs/ChatCompletionRequestVeniceParameters.md +12 -0
- data/docs/CreateEmbeddingRequestSchema.md +11 -0
- data/docs/CreateSpeechRequestSchema.md +12 -0
- data/docs/EmbeddingsApi.md +60 -0
- data/docs/GenerateImageRequest.md +22 -0
- data/docs/ImageApi.md +270 -0
- data/docs/InlineResponse200.md +14 -0
- data/docs/InlineResponse2001.md +10 -0
- data/docs/InlineResponse20010.md +7 -0
- data/docs/InlineResponse20010Data.md +12 -0
- data/docs/InlineResponse20010DataApiTier.md +8 -0
- data/docs/InlineResponse20010DataBalances.md +8 -0
- data/docs/InlineResponse20010DataRateLimits.md +8 -0
- data/docs/InlineResponse20010DataRateLimits1.md +8 -0
- data/docs/InlineResponse20011.md +8 -0
- data/docs/InlineResponse20011Data.md +11 -0
- data/docs/InlineResponse20012.md +8 -0
- data/docs/InlineResponse20012Data.md +7 -0
- data/docs/InlineResponse20013.md +8 -0
- data/docs/InlineResponse20013Data.md +16 -0
- data/docs/InlineResponse20013Stats.md +7 -0
- data/docs/InlineResponse20014.md +10 -0
- data/docs/InlineResponse20014Data.md +9 -0
- data/docs/InlineResponse20014Usage.md +8 -0
- data/docs/InlineResponse20015.md +8 -0
- data/docs/InlineResponse2001Timing.md +10 -0
- data/docs/InlineResponse2002.md +8 -0
- data/docs/InlineResponse2003.md +8 -0
- data/docs/InlineResponse2004.md +9 -0
- data/docs/InlineResponse2005.md +9 -0
- data/docs/InlineResponse2006.md +9 -0
- data/docs/InlineResponse2007.md +8 -0
- data/docs/InlineResponse2007Data.md +15 -0
- data/docs/InlineResponse2007Usage.md +7 -0
- data/docs/InlineResponse2007UsageTrailingSevenDays.md +8 -0
- data/docs/InlineResponse2008.md +8 -0
- data/docs/InlineResponse2008Data.md +12 -0
- data/docs/InlineResponse2009.md +7 -0
- data/docs/InlineResponse200Choices.md +11 -0
- data/docs/InlineResponse200Logprobs.md +10 -0
- data/docs/InlineResponse200LogprobsTopLogprobs.md +9 -0
- data/docs/InlineResponse200Usage.md +10 -0
- data/docs/InlineResponse200VeniceParameters.md +13 -0
- data/docs/InlineResponse200VeniceParametersWebSearchCitations.md +10 -0
- data/docs/InlineResponse400.md +8 -0
- data/docs/InlineResponse401.md +7 -0
- data/docs/InlineResponse402.md +7 -0
- data/docs/InlineResponse403.md +7 -0
- data/docs/InlineResponse415.md +7 -0
- data/docs/InlineResponse429.md +7 -0
- data/docs/InlineResponse500.md +7 -0
- data/docs/InlineResponse5001.md +7 -0
- data/docs/InlineResponse503.md +7 -0
- data/docs/ModelCompatibilitySchema.md +6 -0
- data/docs/ModelResponse.md +12 -0
- data/docs/ModelResponseModelSpec.md +15 -0
- data/docs/ModelResponseModelSpecCapabilities.md +14 -0
- data/docs/ModelTraitSchema.md +6 -0
- data/docs/ModelsApi.md +160 -0
- data/docs/OneOfChatCompletionRequestResponseFormat.md +6 -0
- data/docs/PreviewApi.md +52 -0
- data/docs/SimpleGenerateImageRequest.md +18 -0
- data/docs/SpeechApi.md +58 -0
- data/docs/ToolCall.md +9 -0
- data/docs/Type.md +6 -0
- data/docs/UpscaleImageRequest.md +12 -0
- data/git_push.sh +55 -0
- data/lib/venice_client/api/api_keys_api.rb +381 -0
- data/lib/venice_client/api/audio_api.rb +74 -0
- data/lib/venice_client/api/billing_api.rb +97 -0
- data/lib/venice_client/api/characters_api.rb +70 -0
- data/lib/venice_client/api/chat_api.rb +77 -0
- data/lib/venice_client/api/embeddings_api.rb +81 -0
- data/lib/venice_client/api/image_api.rb +314 -0
- data/lib/venice_client/api/models_api.rb +185 -0
- data/lib/venice_client/api/preview_api.rb +70 -0
- data/lib/venice_client/api/speech_api.rb +74 -0
- data/lib/venice_client/api_client.rb +388 -0
- data/lib/venice_client/api_error.rb +56 -0
- data/lib/venice_client/configuration.rb +204 -0
- data/lib/venice_client/models/any_of_chat_completion_request_messages_items.rb +197 -0
- data/lib/venice_client/models/any_of_chat_completion_request_stop.rb +197 -0
- data/lib/venice_client/models/any_of_chat_completion_request_tool_choice.rb +197 -0
- data/lib/venice_client/models/any_of_create_embedding_request_schema_input.rb +197 -0
- data/lib/venice_client/models/any_of_create_embedding_request_schema_model.rb +197 -0
- data/lib/venice_client/models/any_of_model_response_model_spec_constraints.rb +197 -0
- data/lib/venice_client/models/any_of_model_response_model_spec_pricing.rb +197 -0
- data/lib/venice_client/models/any_of_upscale_image_request_enhance.rb +197 -0
- data/lib/venice_client/models/any_of_upscale_image_request_image.rb +197 -0
- data/lib/venice_client/models/any_ofapi_keys_body_expires_at.rb +197 -0
- data/lib/venice_client/models/any_ofapi_keys_consumption_limit_usd.rb +197 -0
- data/lib/venice_client/models/any_ofapi_keys_consumption_limit_vcu.rb +195 -0
- data/lib/venice_client/models/any_ofapi_keys_generate_web3_key_body_expires_at.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_2_data_items.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_4_type.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_5_type.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_6_type.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_choices_message.rb +197 -0
- data/lib/venice_client/models/any_ofinline_response_200_prompt_logprobs.rb +197 -0
- data/lib/venice_client/models/api_keys_body.rb +281 -0
- data/lib/venice_client/models/api_keys_consumption_limit.rb +228 -0
- data/lib/venice_client/models/api_keys_generate_web3_key_body.rb +322 -0
- data/lib/venice_client/models/billing_usage_request.rb +309 -0
- data/lib/venice_client/models/billing_usage_response.rb +228 -0
- data/lib/venice_client/models/billing_usage_response_data.rb +350 -0
- data/lib/venice_client/models/billing_usage_response_inference_details.rb +262 -0
- data/lib/venice_client/models/billing_usage_response_pagination.rb +253 -0
- data/lib/venice_client/models/chat_completion_request.rb +483 -0
- data/lib/venice_client/models/chat_completion_request_function.rb +231 -0
- data/lib/venice_client/models/chat_completion_request_stream_options.rb +207 -0
- data/lib/venice_client/models/chat_completion_request_venice_parameters.rb +302 -0
- data/lib/venice_client/models/create_embedding_request_schema.rb +294 -0
- data/lib/venice_client/models/create_speech_request_schema.rb +331 -0
- data/lib/venice_client/models/generate_image_request.rb +420 -0
- data/lib/venice_client/models/inline_response_200.rb +341 -0
- data/lib/venice_client/models/inline_response_200_1.rb +254 -0
- data/lib/venice_client/models/inline_response_200_10.rb +211 -0
- data/lib/venice_client/models/inline_response_200_10_data.rb +287 -0
- data/lib/venice_client/models/inline_response_200_10_data_api_tier.rb +227 -0
- data/lib/venice_client/models/inline_response_200_10_data_balances.rb +217 -0
- data/lib/venice_client/models/inline_response_200_10_data_rate_limits.rb +227 -0
- data/lib/venice_client/models/inline_response_200_10_data_rate_limits_1.rb +223 -0
- data/lib/venice_client/models/inline_response_200_11.rb +262 -0
- data/lib/venice_client/models/inline_response_200_11_data.rb +274 -0
- data/lib/venice_client/models/inline_response_200_12.rb +225 -0
- data/lib/venice_client/models/inline_response_200_12_data.rb +212 -0
- data/lib/venice_client/models/inline_response_200_13.rb +261 -0
- data/lib/venice_client/models/inline_response_200_13_data.rb +350 -0
- data/lib/venice_client/models/inline_response_200_13_stats.rb +212 -0
- data/lib/venice_client/models/inline_response_200_14.rb +292 -0
- data/lib/venice_client/models/inline_response_200_14_data.rb +278 -0
- data/lib/venice_client/models/inline_response_200_14_usage.rb +228 -0
- data/lib/venice_client/models/inline_response_200_15.rb +228 -0
- data/lib/venice_client/models/inline_response_200_1_timing.rb +257 -0
- data/lib/venice_client/models/inline_response_200_2.rb +228 -0
- data/lib/venice_client/models/inline_response_200_3.rb +262 -0
- data/lib/venice_client/models/inline_response_200_4.rb +277 -0
- data/lib/venice_client/models/inline_response_200_5.rb +274 -0
- data/lib/venice_client/models/inline_response_200_6.rb +274 -0
- data/lib/venice_client/models/inline_response_200_7.rb +262 -0
- data/lib/venice_client/models/inline_response_200_7_data.rb +357 -0
- data/lib/venice_client/models/inline_response_200_7_usage.rb +211 -0
- data/lib/venice_client/models/inline_response_200_7_usage_trailing_seven_days.rb +227 -0
- data/lib/venice_client/models/inline_response_200_8.rb +225 -0
- data/lib/venice_client/models/inline_response_200_8_data.rb +316 -0
- data/lib/venice_client/models/inline_response_200_9.rb +211 -0
- data/lib/venice_client/models/inline_response_200_choices.rb +312 -0
- data/lib/venice_client/models/inline_response_200_logprobs.rb +251 -0
- data/lib/venice_client/models/inline_response_200_logprobs_top_logprobs.rb +236 -0
- data/lib/venice_client/models/inline_response_200_usage.rb +253 -0
- data/lib/venice_client/models/inline_response_200_venice_parameters.rb +329 -0
- data/lib/venice_client/models/inline_response_200_venice_parameters_web_search_citations.rb +243 -0
- data/lib/venice_client/models/inline_response_400.rb +222 -0
- data/lib/venice_client/models/inline_response_401.rb +212 -0
- data/lib/venice_client/models/inline_response_402.rb +212 -0
- data/lib/venice_client/models/inline_response_403.rb +212 -0
- data/lib/venice_client/models/inline_response_415.rb +212 -0
- data/lib/venice_client/models/inline_response_429.rb +212 -0
- data/lib/venice_client/models/inline_response_500.rb +212 -0
- data/lib/venice_client/models/inline_response_500_1.rb +212 -0
- data/lib/venice_client/models/inline_response_503.rb +212 -0
- data/lib/venice_client/models/model_compatibility_schema.rb +202 -0
- data/lib/venice_client/models/model_response.rb +340 -0
- data/lib/venice_client/models/model_response_model_spec.rb +292 -0
- data/lib/venice_client/models/model_response_model_spec_capabilities.rb +352 -0
- data/lib/venice_client/models/model_trait_schema.rb +200 -0
- data/lib/venice_client/models/one_of_chat_completion_request_response_format.rb +197 -0
- data/lib/venice_client/models/simple_generate_image_request.rb +456 -0
- data/lib/venice_client/models/tool_call.rb +230 -0
- data/lib/venice_client/models/type.rb +198 -0
- data/lib/venice_client/models/upscale_image_request.rb +270 -0
- data/lib/venice_client/version.rb +14 -0
- data/lib/venice_client.rb +139 -0
- data/spec/api/api_keys_api_spec.rb +113 -0
- data/spec/api/audio_api_spec.rb +45 -0
- data/spec/api/billing_api_spec.rb +51 -0
- data/spec/api/characters_api_spec.rb +44 -0
- data/spec/api/chat_api_spec.rb +46 -0
- data/spec/api/embeddings_api_spec.rb +46 -0
- data/spec/api/image_api_spec.rb +99 -0
- data/spec/api/models_api_spec.rb +69 -0
- data/spec/api/preview_api_spec.rb +44 -0
- data/spec/api/speech_api_spec.rb +45 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/any_of_chat_completion_request_messages_items_spec.rb +34 -0
- data/spec/models/any_of_chat_completion_request_stop_spec.rb +34 -0
- data/spec/models/any_of_chat_completion_request_tool_choice_spec.rb +34 -0
- data/spec/models/any_of_create_embedding_request_schema_input_spec.rb +34 -0
- data/spec/models/any_of_create_embedding_request_schema_model_spec.rb +34 -0
- data/spec/models/any_of_model_response_model_spec_constraints_spec.rb +34 -0
- data/spec/models/any_of_model_response_model_spec_pricing_spec.rb +34 -0
- data/spec/models/any_of_upscale_image_request_enhance_spec.rb +34 -0
- data/spec/models/any_of_upscale_image_request_image_spec.rb +34 -0
- data/spec/models/any_ofapi_keys_body_expires_at_spec.rb +34 -0
- data/spec/models/any_ofapi_keys_consumption_limit_usd_spec.rb +34 -0
- data/spec/models/any_ofapi_keys_consumption_limit_vcu_spec.rb +34 -0
- data/spec/models/any_ofapi_keys_generate_web3_key_body_expires_at_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_2_data_items_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_4_type_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_5_type_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_6_type_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_choices_message_spec.rb +34 -0
- data/spec/models/any_ofinline_response_200_prompt_logprobs_spec.rb +34 -0
- data/spec/models/api_keys_body_spec.rb +61 -0
- data/spec/models/api_keys_consumption_limit_spec.rb +46 -0
- data/spec/models/api_keys_generate_web3_key_body_spec.rb +80 -0
- data/spec/models/billing_usage_request_spec.rb +78 -0
- data/spec/models/billing_usage_response_data_spec.rb +86 -0
- data/spec/models/billing_usage_response_inference_details_spec.rb +57 -0
- data/spec/models/billing_usage_response_pagination_spec.rb +58 -0
- data/spec/models/billing_usage_response_spec.rb +46 -0
- data/spec/models/chat_completion_request_function_spec.rb +52 -0
- data/spec/models/chat_completion_request_spec.rb +189 -0
- data/spec/models/chat_completion_request_stream_options_spec.rb +40 -0
- data/spec/models/chat_completion_request_venice_parameters_spec.rb +73 -0
- data/spec/models/create_embedding_request_schema_spec.rb +68 -0
- data/spec/models/create_speech_request_schema_spec.rb +81 -0
- data/spec/models/generate_image_request_spec.rb +134 -0
- data/spec/models/inline_response_200_10_data_api_tier_spec.rb +45 -0
- data/spec/models/inline_response_200_10_data_balances_spec.rb +45 -0
- data/spec/models/inline_response_200_10_data_rate_limits_1_spec.rb +45 -0
- data/spec/models/inline_response_200_10_data_rate_limits_spec.rb +46 -0
- data/spec/models/inline_response_200_10_data_spec.rb +69 -0
- data/spec/models/inline_response_200_10_spec.rb +40 -0
- data/spec/models/inline_response_200_11_data_spec.rb +64 -0
- data/spec/models/inline_response_200_11_spec.rb +50 -0
- data/spec/models/inline_response_200_12_data_spec.rb +39 -0
- data/spec/models/inline_response_200_12_spec.rb +46 -0
- data/spec/models/inline_response_200_13_data_spec.rb +93 -0
- data/spec/models/inline_response_200_13_spec.rb +49 -0
- data/spec/models/inline_response_200_13_stats_spec.rb +40 -0
- data/spec/models/inline_response_200_14_data_spec.rb +55 -0
- data/spec/models/inline_response_200_14_spec.rb +61 -0
- data/spec/models/inline_response_200_14_usage_spec.rb +45 -0
- data/spec/models/inline_response_200_15_spec.rb +45 -0
- data/spec/models/inline_response_200_1_spec.rb +57 -0
- data/spec/models/inline_response_200_1_timing_spec.rb +58 -0
- data/spec/models/inline_response_200_2_spec.rb +46 -0
- data/spec/models/inline_response_200_3_spec.rb +50 -0
- data/spec/models/inline_response_200_4_spec.rb +55 -0
- data/spec/models/inline_response_200_5_spec.rb +55 -0
- data/spec/models/inline_response_200_6_spec.rb +55 -0
- data/spec/models/inline_response_200_7_data_spec.rb +91 -0
- data/spec/models/inline_response_200_7_spec.rb +50 -0
- data/spec/models/inline_response_200_7_usage_spec.rb +39 -0
- data/spec/models/inline_response_200_7_usage_trailing_seven_days_spec.rb +45 -0
- data/spec/models/inline_response_200_8_data_spec.rb +73 -0
- data/spec/models/inline_response_200_8_spec.rb +45 -0
- data/spec/models/inline_response_200_9_spec.rb +39 -0
- data/spec/models/inline_response_200_choices_spec.rb +72 -0
- data/spec/models/inline_response_200_logprobs_spec.rb +57 -0
- data/spec/models/inline_response_200_logprobs_top_logprobs_spec.rb +51 -0
- data/spec/models/inline_response_200_spec.rb +85 -0
- data/spec/models/inline_response_200_usage_spec.rb +57 -0
- data/spec/models/inline_response_200_venice_parameters_spec.rb +80 -0
- data/spec/models/inline_response_200_venice_parameters_web_search_citations_spec.rb +57 -0
- data/spec/models/inline_response_400_spec.rb +45 -0
- data/spec/models/inline_response_401_spec.rb +39 -0
- data/spec/models/inline_response_402_spec.rb +39 -0
- data/spec/models/inline_response_403_spec.rb +40 -0
- data/spec/models/inline_response_415_spec.rb +40 -0
- data/spec/models/inline_response_429_spec.rb +39 -0
- data/spec/models/inline_response_500_1_spec.rb +40 -0
- data/spec/models/inline_response_500_spec.rb +39 -0
- data/spec/models/inline_response_503_spec.rb +40 -0
- data/spec/models/model_compatibility_schema_spec.rb +34 -0
- data/spec/models/model_response_model_spec_capabilities_spec.rb +85 -0
- data/spec/models/model_response_model_spec_spec.rb +87 -0
- data/spec/models/model_response_spec.rb +81 -0
- data/spec/models/model_trait_schema_spec.rb +34 -0
- data/spec/models/one_of_chat_completion_request_response_format_spec.rb +34 -0
- data/spec/models/simple_generate_image_request_spec.rb +134 -0
- data/spec/models/tool_call_spec.rb +51 -0
- data/spec/models/type_spec.rb +34 -0
- data/spec/models/upscale_image_request_spec.rb +69 -0
- data/spec/spec_helper.rb +110 -0
- data/venice_client.gemspec +38 -0
- metadata +522 -0
data/docs/APIKeysApi.md
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
# VeniceClient::APIKeysApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.venice.ai/api/v1*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create_api_key**](APIKeysApi.md#create_api_key) | **POST** /api_keys | /api/v1/api_keys
|
|
8
|
+
[**delete_api_key**](APIKeysApi.md#delete_api_key) | **DELETE** /api_keys | /api/v1/api_keys
|
|
9
|
+
[**get_api_key_generate_web3_key**](APIKeysApi.md#get_api_key_generate_web3_key) | **GET** /api_keys/generate_web3_key | /api/v1/api_keys/generate_web3_key
|
|
10
|
+
[**get_api_key_rate_limit_logs**](APIKeysApi.md#get_api_key_rate_limit_logs) | **GET** /api_keys/rate_limits/log | /api/v1/api_keys/rate_limits/log
|
|
11
|
+
[**get_api_key_rate_limits**](APIKeysApi.md#get_api_key_rate_limits) | **GET** /api_keys/rate_limits | /api/v1/api_keys/rate_limits
|
|
12
|
+
[**get_api_keys**](APIKeysApi.md#get_api_keys) | **GET** /api_keys | /api/v1/api_keys
|
|
13
|
+
[**post_api_key_generate_web3_key**](APIKeysApi.md#post_api_key_generate_web3_key) | **POST** /api_keys/generate_web3_key | /api/v1/api_keys/generate_web3_key
|
|
14
|
+
|
|
15
|
+
# **create_api_key**
|
|
16
|
+
> InlineResponse2008 create_api_key(opts)
|
|
17
|
+
|
|
18
|
+
/api/v1/api_keys
|
|
19
|
+
|
|
20
|
+
Create a new API key.
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
```ruby
|
|
24
|
+
# load the gem
|
|
25
|
+
require 'venice_client'
|
|
26
|
+
# setup authorization
|
|
27
|
+
VeniceClient.configure do |config|
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
31
|
+
opts = {
|
|
32
|
+
body: VeniceClient::ApiKeysBody.new # ApiKeysBody |
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
#/api/v1/api_keys
|
|
37
|
+
result = api_instance.create_api_key(opts)
|
|
38
|
+
p result
|
|
39
|
+
rescue VeniceClient::ApiError => e
|
|
40
|
+
puts "Exception when calling APIKeysApi->create_api_key: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
Name | Type | Description | Notes
|
|
47
|
+
------------- | ------------- | ------------- | -------------
|
|
48
|
+
**body** | [**ApiKeysBody**](ApiKeysBody.md)| | [optional]
|
|
49
|
+
|
|
50
|
+
### Return type
|
|
51
|
+
|
|
52
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
|
53
|
+
|
|
54
|
+
### Authorization
|
|
55
|
+
|
|
56
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
57
|
+
|
|
58
|
+
### HTTP request headers
|
|
59
|
+
|
|
60
|
+
- **Content-Type**: application/json
|
|
61
|
+
- **Accept**: application/json
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# **delete_api_key**
|
|
66
|
+
> InlineResponse2009 delete_api_key(opts)
|
|
67
|
+
|
|
68
|
+
/api/v1/api_keys
|
|
69
|
+
|
|
70
|
+
Delete an API key.
|
|
71
|
+
|
|
72
|
+
### Example
|
|
73
|
+
```ruby
|
|
74
|
+
# load the gem
|
|
75
|
+
require 'venice_client'
|
|
76
|
+
# setup authorization
|
|
77
|
+
VeniceClient.configure do |config|
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
81
|
+
opts = {
|
|
82
|
+
id: 'id_example' # String | The ID of the API key to delete
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
begin
|
|
86
|
+
#/api/v1/api_keys
|
|
87
|
+
result = api_instance.delete_api_key(opts)
|
|
88
|
+
p result
|
|
89
|
+
rescue VeniceClient::ApiError => e
|
|
90
|
+
puts "Exception when calling APIKeysApi->delete_api_key: #{e}"
|
|
91
|
+
end
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Parameters
|
|
95
|
+
|
|
96
|
+
Name | Type | Description | Notes
|
|
97
|
+
------------- | ------------- | ------------- | -------------
|
|
98
|
+
**id** | **String**| The ID of the API key to delete | [optional]
|
|
99
|
+
|
|
100
|
+
### Return type
|
|
101
|
+
|
|
102
|
+
[**InlineResponse2009**](InlineResponse2009.md)
|
|
103
|
+
|
|
104
|
+
### Authorization
|
|
105
|
+
|
|
106
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
107
|
+
|
|
108
|
+
### HTTP request headers
|
|
109
|
+
|
|
110
|
+
- **Content-Type**: Not defined
|
|
111
|
+
- **Accept**: application/json
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
# **get_api_key_generate_web3_key**
|
|
116
|
+
> InlineResponse20012 get_api_key_generate_web3_key
|
|
117
|
+
|
|
118
|
+
/api/v1/api_keys/generate_web3_key
|
|
119
|
+
|
|
120
|
+
Returns the token required to generate an API key via a wallet.
|
|
121
|
+
|
|
122
|
+
### Example
|
|
123
|
+
```ruby
|
|
124
|
+
# load the gem
|
|
125
|
+
require 'venice_client'
|
|
126
|
+
|
|
127
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
128
|
+
|
|
129
|
+
begin
|
|
130
|
+
#/api/v1/api_keys/generate_web3_key
|
|
131
|
+
result = api_instance.get_api_key_generate_web3_key
|
|
132
|
+
p result
|
|
133
|
+
rescue VeniceClient::ApiError => e
|
|
134
|
+
puts "Exception when calling APIKeysApi->get_api_key_generate_web3_key: #{e}"
|
|
135
|
+
end
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
This endpoint does not need any parameter.
|
|
140
|
+
|
|
141
|
+
### Return type
|
|
142
|
+
|
|
143
|
+
[**InlineResponse20012**](InlineResponse20012.md)
|
|
144
|
+
|
|
145
|
+
### Authorization
|
|
146
|
+
|
|
147
|
+
No authorization required
|
|
148
|
+
|
|
149
|
+
### HTTP request headers
|
|
150
|
+
|
|
151
|
+
- **Content-Type**: Not defined
|
|
152
|
+
- **Accept**: application/json
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
# **get_api_key_rate_limit_logs**
|
|
157
|
+
> InlineResponse20011 get_api_key_rate_limit_logs
|
|
158
|
+
|
|
159
|
+
/api/v1/api_keys/rate_limits/log
|
|
160
|
+
|
|
161
|
+
Returns the last 50 rate limits that the account exceeded.
|
|
162
|
+
|
|
163
|
+
### Example
|
|
164
|
+
```ruby
|
|
165
|
+
# load the gem
|
|
166
|
+
require 'venice_client'
|
|
167
|
+
# setup authorization
|
|
168
|
+
VeniceClient.configure do |config|
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
172
|
+
|
|
173
|
+
begin
|
|
174
|
+
#/api/v1/api_keys/rate_limits/log
|
|
175
|
+
result = api_instance.get_api_key_rate_limit_logs
|
|
176
|
+
p result
|
|
177
|
+
rescue VeniceClient::ApiError => e
|
|
178
|
+
puts "Exception when calling APIKeysApi->get_api_key_rate_limit_logs: #{e}"
|
|
179
|
+
end
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Parameters
|
|
183
|
+
This endpoint does not need any parameter.
|
|
184
|
+
|
|
185
|
+
### Return type
|
|
186
|
+
|
|
187
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
|
188
|
+
|
|
189
|
+
### Authorization
|
|
190
|
+
|
|
191
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
192
|
+
|
|
193
|
+
### HTTP request headers
|
|
194
|
+
|
|
195
|
+
- **Content-Type**: Not defined
|
|
196
|
+
- **Accept**: application/json
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
# **get_api_key_rate_limits**
|
|
201
|
+
> InlineResponse20010 get_api_key_rate_limits
|
|
202
|
+
|
|
203
|
+
/api/v1/api_keys/rate_limits
|
|
204
|
+
|
|
205
|
+
Return details about user balances and rate limits.
|
|
206
|
+
|
|
207
|
+
### Example
|
|
208
|
+
```ruby
|
|
209
|
+
# load the gem
|
|
210
|
+
require 'venice_client'
|
|
211
|
+
# setup authorization
|
|
212
|
+
VeniceClient.configure do |config|
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
216
|
+
|
|
217
|
+
begin
|
|
218
|
+
#/api/v1/api_keys/rate_limits
|
|
219
|
+
result = api_instance.get_api_key_rate_limits
|
|
220
|
+
p result
|
|
221
|
+
rescue VeniceClient::ApiError => e
|
|
222
|
+
puts "Exception when calling APIKeysApi->get_api_key_rate_limits: #{e}"
|
|
223
|
+
end
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Parameters
|
|
227
|
+
This endpoint does not need any parameter.
|
|
228
|
+
|
|
229
|
+
### Return type
|
|
230
|
+
|
|
231
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
|
232
|
+
|
|
233
|
+
### Authorization
|
|
234
|
+
|
|
235
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: Not defined
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
# **get_api_keys**
|
|
245
|
+
> InlineResponse2007 get_api_keys
|
|
246
|
+
|
|
247
|
+
/api/v1/api_keys
|
|
248
|
+
|
|
249
|
+
Return a list of API keys.
|
|
250
|
+
|
|
251
|
+
### Example
|
|
252
|
+
```ruby
|
|
253
|
+
# load the gem
|
|
254
|
+
require 'venice_client'
|
|
255
|
+
# setup authorization
|
|
256
|
+
VeniceClient.configure do |config|
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
260
|
+
|
|
261
|
+
begin
|
|
262
|
+
#/api/v1/api_keys
|
|
263
|
+
result = api_instance.get_api_keys
|
|
264
|
+
p result
|
|
265
|
+
rescue VeniceClient::ApiError => e
|
|
266
|
+
puts "Exception when calling APIKeysApi->get_api_keys: #{e}"
|
|
267
|
+
end
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Parameters
|
|
271
|
+
This endpoint does not need any parameter.
|
|
272
|
+
|
|
273
|
+
### Return type
|
|
274
|
+
|
|
275
|
+
[**InlineResponse2007**](InlineResponse2007.md)
|
|
276
|
+
|
|
277
|
+
### Authorization
|
|
278
|
+
|
|
279
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
280
|
+
|
|
281
|
+
### HTTP request headers
|
|
282
|
+
|
|
283
|
+
- **Content-Type**: Not defined
|
|
284
|
+
- **Accept**: application/json
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
# **post_api_key_generate_web3_key**
|
|
289
|
+
> InlineResponse2008 post_api_key_generate_web3_key(opts)
|
|
290
|
+
|
|
291
|
+
/api/v1/api_keys/generate_web3_key
|
|
292
|
+
|
|
293
|
+
Authenticates a wallet holding sVVV and creates an API key.
|
|
294
|
+
|
|
295
|
+
### Example
|
|
296
|
+
```ruby
|
|
297
|
+
# load the gem
|
|
298
|
+
require 'venice_client'
|
|
299
|
+
|
|
300
|
+
api_instance = VeniceClient::APIKeysApi.new
|
|
301
|
+
opts = {
|
|
302
|
+
body: VeniceClient::ApiKeysGenerateWeb3KeyBody.new # ApiKeysGenerateWeb3KeyBody |
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
begin
|
|
306
|
+
#/api/v1/api_keys/generate_web3_key
|
|
307
|
+
result = api_instance.post_api_key_generate_web3_key(opts)
|
|
308
|
+
p result
|
|
309
|
+
rescue VeniceClient::ApiError => e
|
|
310
|
+
puts "Exception when calling APIKeysApi->post_api_key_generate_web3_key: #{e}"
|
|
311
|
+
end
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
### Parameters
|
|
315
|
+
|
|
316
|
+
Name | Type | Description | Notes
|
|
317
|
+
------------- | ------------- | ------------- | -------------
|
|
318
|
+
**body** | [**ApiKeysGenerateWeb3KeyBody**](ApiKeysGenerateWeb3KeyBody.md)| | [optional]
|
|
319
|
+
|
|
320
|
+
### Return type
|
|
321
|
+
|
|
322
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
|
323
|
+
|
|
324
|
+
### Authorization
|
|
325
|
+
|
|
326
|
+
No authorization required
|
|
327
|
+
|
|
328
|
+
### HTTP request headers
|
|
329
|
+
|
|
330
|
+
- **Content-Type**: application/json
|
|
331
|
+
- **Accept**: application/json
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
data/docs/ApiKeysBody.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# VeniceClient::ApiKeysBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**api_key_type** | **String** | The API Key type. Admin keys have full access to the API while inference keys are only able to call inference endpoints. |
|
|
7
|
+
**consumption_limit** | [**ApiKeysConsumptionLimit**](ApiKeysConsumptionLimit.md) | | [optional]
|
|
8
|
+
**description** | **String** | The API Key description |
|
|
9
|
+
**expires_at** | [**AnyOfapiKeysBodyExpiresAt**](AnyOfapiKeysBodyExpiresAt.md) | The API Key expiration date. If not provided, the key will not expire. | [optional]
|
|
10
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# VeniceClient::ApiKeysConsumptionLimit
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**usd** | [**AnyOfapiKeysConsumptionLimitUsd**](AnyOfapiKeysConsumptionLimitUsd.md) | USD limit |
|
|
7
|
+
**vcu** | [**AnyOfapiKeysConsumptionLimitVcu**](AnyOfapiKeysConsumptionLimitVcu.md) | VCU limit |
|
|
8
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# VeniceClient::ApiKeysGenerateWeb3KeyBody
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**api_key_type** | **String** | The API Key type. Admin keys have full access to the API while inference keys are only able to call inference endpoints. |
|
|
7
|
+
**consumption_limit** | [**ApiKeysConsumptionLimit**](ApiKeysConsumptionLimit.md) | | [optional]
|
|
8
|
+
**description** | **String** | The API Key description | [optional] [default to 'Web3 API Key']
|
|
9
|
+
**expires_at** | [**AnyOfapiKeysGenerateWeb3KeyBodyExpiresAt**](AnyOfapiKeysGenerateWeb3KeyBodyExpiresAt.md) | The API Key expiration date. If not provided, the key will not expire. | [optional]
|
|
10
|
+
**address** | **String** | The wallet's address |
|
|
11
|
+
**signature** | **String** | The token, signed with the wallet's private key |
|
|
12
|
+
**token** | **String** | The token obtained from https://api.venice.ai/api/v1/api_keys/generate_web3_key |
|
|
13
|
+
|
data/docs/AudioApi.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# VeniceClient::AudioApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.venice.ai/api/v1*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create_speech**](AudioApi.md#create_speech) | **POST** /audio/speech | /api/v1/audio/speech
|
|
8
|
+
|
|
9
|
+
# **create_speech**
|
|
10
|
+
> String create_speech(opts)
|
|
11
|
+
|
|
12
|
+
/api/v1/audio/speech
|
|
13
|
+
|
|
14
|
+
Converts text to speech using various voice models and formats.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
```ruby
|
|
18
|
+
# load the gem
|
|
19
|
+
require 'venice_client'
|
|
20
|
+
# setup authorization
|
|
21
|
+
VeniceClient.configure do |config|
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
api_instance = VeniceClient::AudioApi.new
|
|
25
|
+
opts = {
|
|
26
|
+
body: VeniceClient::CreateSpeechRequestSchema.new # CreateSpeechRequestSchema |
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
begin
|
|
30
|
+
#/api/v1/audio/speech
|
|
31
|
+
result = api_instance.create_speech(opts)
|
|
32
|
+
p result
|
|
33
|
+
rescue VeniceClient::ApiError => e
|
|
34
|
+
puts "Exception when calling AudioApi->create_speech: #{e}"
|
|
35
|
+
end
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Parameters
|
|
39
|
+
|
|
40
|
+
Name | Type | Description | Notes
|
|
41
|
+
------------- | ------------- | ------------- | -------------
|
|
42
|
+
**body** | [**CreateSpeechRequestSchema**](CreateSpeechRequestSchema.md)| | [optional]
|
|
43
|
+
|
|
44
|
+
### Return type
|
|
45
|
+
|
|
46
|
+
**String**
|
|
47
|
+
|
|
48
|
+
### Authorization
|
|
49
|
+
|
|
50
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
51
|
+
|
|
52
|
+
### HTTP request headers
|
|
53
|
+
|
|
54
|
+
- **Content-Type**: application/json
|
|
55
|
+
- **Accept**: audio/aac, audio/flac, audio/mpeg, audio/opus, audio/pcm, audio/wav, application/json
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
data/docs/BillingApi.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# VeniceClient::BillingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.venice.ai/api/v1*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**get_billing_usage**](BillingApi.md#get_billing_usage) | **GET** /billing/usage | /api/v1/billing/usage
|
|
8
|
+
|
|
9
|
+
# **get_billing_usage**
|
|
10
|
+
> InlineResponse20015 get_billing_usage(opts)
|
|
11
|
+
|
|
12
|
+
/api/v1/billing/usage
|
|
13
|
+
|
|
14
|
+
Get paginated billing usage data for the authenticated user. NOTE: This is a beta endpoint and may be subject to change.
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
```ruby
|
|
18
|
+
# load the gem
|
|
19
|
+
require 'venice_client'
|
|
20
|
+
# setup authorization
|
|
21
|
+
VeniceClient.configure do |config|
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
api_instance = VeniceClient::BillingApi.new
|
|
25
|
+
opts = {
|
|
26
|
+
accept: 'accept_example', # String | Accept header to specify the response format
|
|
27
|
+
currency: 'currency_example', # String |
|
|
28
|
+
end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime |
|
|
29
|
+
limit: 200, # Integer |
|
|
30
|
+
page: 1, # Integer |
|
|
31
|
+
sort_order: 'desc', # String |
|
|
32
|
+
start_date: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime |
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
#/api/v1/billing/usage
|
|
37
|
+
result = api_instance.get_billing_usage(opts)
|
|
38
|
+
p result
|
|
39
|
+
rescue VeniceClient::ApiError => e
|
|
40
|
+
puts "Exception when calling BillingApi->get_billing_usage: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
Name | Type | Description | Notes
|
|
47
|
+
------------- | ------------- | ------------- | -------------
|
|
48
|
+
**accept** | **String**| Accept header to specify the response format | [optional]
|
|
49
|
+
**currency** | **String**| | [optional]
|
|
50
|
+
**end_date** | **DateTime**| | [optional]
|
|
51
|
+
**limit** | **Integer**| | [optional] [default to 200]
|
|
52
|
+
**page** | **Integer**| | [optional] [default to 1]
|
|
53
|
+
**sort_order** | **String**| | [optional] [default to desc]
|
|
54
|
+
**start_date** | **DateTime**| | [optional]
|
|
55
|
+
|
|
56
|
+
### Return type
|
|
57
|
+
|
|
58
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
|
59
|
+
|
|
60
|
+
### Authorization
|
|
61
|
+
|
|
62
|
+
[BearerAuth](../README.md#BearerAuth)
|
|
63
|
+
|
|
64
|
+
### HTTP request headers
|
|
65
|
+
|
|
66
|
+
- **Content-Type**: Not defined
|
|
67
|
+
- **Accept**: application/json, text/csv
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# VeniceClient::BillingUsageRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**currency** | **String** | Filter by currency | [optional]
|
|
7
|
+
**end_date** | **DateTime** | End date for filtering records (ISO 8601) | [optional]
|
|
8
|
+
**limit** | **Integer** | Number of items per page | [optional] [default to 200]
|
|
9
|
+
**page** | **Integer** | Page number for pagination | [optional] [default to 1]
|
|
10
|
+
**sort_order** | **String** | Sort order for createdAt field | [optional] [default to 'desc']
|
|
11
|
+
**start_date** | **DateTime** | Start date for filtering records (ISO 8601) | [optional]
|
|
12
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# VeniceClient::BillingUsageResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**data** | [**Array<BillingUsageResponseData>**](BillingUsageResponseData.md) | |
|
|
7
|
+
**pagination** | [**BillingUsageResponsePagination**](BillingUsageResponsePagination.md) | |
|
|
8
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# VeniceClient::BillingUsageResponseData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**amount** | [**BigDecimal**](BigDecimal.md) | The total amount charged for the billing usage entry |
|
|
7
|
+
**currency** | **String** | The currency charged for the billing usage entry |
|
|
8
|
+
**inference_details** | [**BillingUsageResponseInferenceDetails**](BillingUsageResponseInferenceDetails.md) | |
|
|
9
|
+
**notes** | **String** | Notes about the billing usage entry |
|
|
10
|
+
**price_per_unit_usd** | [**BigDecimal**](BigDecimal.md) | The price per unit in USD |
|
|
11
|
+
**sku** | **String** | The product associated with the billing usage entry |
|
|
12
|
+
**timestamp** | **String** | The timestamp the billing usage entry was created |
|
|
13
|
+
**units** | [**BigDecimal**](BigDecimal.md) | The number of units consumed |
|
|
14
|
+
|