Interface UsageServiceAsync
-
- All Implemented Interfaces:
public interface UsageServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUsageServiceAsync.WithRawResponseA view of UsageServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract UsageServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract UsageServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
audioSpeeches
CompletableFuture<UsageAudioSpeechesResponse> audioSpeeches(UsageAudioSpeechesParams params)
Get audio speeches usage details for the organization.
-
audioSpeeches
abstract CompletableFuture<UsageAudioSpeechesResponse> audioSpeeches(UsageAudioSpeechesParams params, RequestOptions requestOptions)
-
audioTranscriptions
CompletableFuture<UsageAudioTranscriptionsResponse> audioTranscriptions(UsageAudioTranscriptionsParams params)
Get audio transcriptions usage details for the organization.
-
audioTranscriptions
abstract CompletableFuture<UsageAudioTranscriptionsResponse> audioTranscriptions(UsageAudioTranscriptionsParams params, RequestOptions requestOptions)
-
codeInterpreterSessions
CompletableFuture<UsageCodeInterpreterSessionsResponse> codeInterpreterSessions(UsageCodeInterpreterSessionsParams params)
Get code interpreter sessions usage details for the organization.
-
codeInterpreterSessions
abstract CompletableFuture<UsageCodeInterpreterSessionsResponse> codeInterpreterSessions(UsageCodeInterpreterSessionsParams params, RequestOptions requestOptions)
-
completions
CompletableFuture<UsageCompletionsResponse> completions(UsageCompletionsParams params)
Get completions usage details for the organization.
-
completions
abstract CompletableFuture<UsageCompletionsResponse> completions(UsageCompletionsParams params, RequestOptions requestOptions)
-
costs
CompletableFuture<UsageCostsResponse> costs(UsageCostsParams params)
Get costs details for the organization.
-
costs
abstract CompletableFuture<UsageCostsResponse> costs(UsageCostsParams params, RequestOptions requestOptions)
-
embeddings
CompletableFuture<UsageEmbeddingsResponse> embeddings(UsageEmbeddingsParams params)
Get embeddings usage details for the organization.
-
embeddings
abstract CompletableFuture<UsageEmbeddingsResponse> embeddings(UsageEmbeddingsParams params, RequestOptions requestOptions)
-
fileSearchCalls
CompletableFuture<UsageFileSearchCallsResponse> fileSearchCalls(UsageFileSearchCallsParams params)
Get file search calls usage details for the organization.
-
fileSearchCalls
abstract CompletableFuture<UsageFileSearchCallsResponse> fileSearchCalls(UsageFileSearchCallsParams params, RequestOptions requestOptions)
-
images
CompletableFuture<UsageImagesResponse> images(UsageImagesParams params)
Get images usage details for the organization.
-
images
abstract CompletableFuture<UsageImagesResponse> images(UsageImagesParams params, RequestOptions requestOptions)
-
moderations
CompletableFuture<UsageModerationsResponse> moderations(UsageModerationsParams params)
Get moderations usage details for the organization.
-
moderations
abstract CompletableFuture<UsageModerationsResponse> moderations(UsageModerationsParams params, RequestOptions requestOptions)
-
vectorStores
CompletableFuture<UsageVectorStoresResponse> vectorStores(UsageVectorStoresParams params)
Get vector stores usage details for the organization.
-
vectorStores
abstract CompletableFuture<UsageVectorStoresResponse> vectorStores(UsageVectorStoresParams params, RequestOptions requestOptions)
-
webSearchCalls
CompletableFuture<UsageWebSearchCallsResponse> webSearchCalls(UsageWebSearchCallsParams params)
Get web search calls usage details for the organization.
-
webSearchCalls
abstract CompletableFuture<UsageWebSearchCallsResponse> webSearchCalls(UsageWebSearchCallsParams params, RequestOptions requestOptions)
-
-
-
-