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