Interface UsageService.WithRawResponse
-
- All Implemented Interfaces:
public interface UsageService.WithRawResponseA view of UsageService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract UsageService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
audioSpeeches
@MustBeClosed() HttpResponseFor<UsageAudioSpeechesResponse> audioSpeeches(UsageAudioSpeechesParams params)
Returns a raw HTTP response for
get /organization/usage/audio_speeches, but is otherwise the same as UsageService.audioSpeeches.
-
audioSpeeches
@MustBeClosed() abstract HttpResponseFor<UsageAudioSpeechesResponse> audioSpeeches(UsageAudioSpeechesParams params, RequestOptions requestOptions)
-
audioTranscriptions
@MustBeClosed() HttpResponseFor<UsageAudioTranscriptionsResponse> audioTranscriptions(UsageAudioTranscriptionsParams params)
Returns a raw HTTP response for
get /organization/usage/audio_transcriptions, but is otherwise the same as UsageService.audioTranscriptions.
-
audioTranscriptions
@MustBeClosed() abstract HttpResponseFor<UsageAudioTranscriptionsResponse> audioTranscriptions(UsageAudioTranscriptionsParams params, RequestOptions requestOptions)
-
codeInterpreterSessions
@MustBeClosed() HttpResponseFor<UsageCodeInterpreterSessionsResponse> codeInterpreterSessions(UsageCodeInterpreterSessionsParams params)
Returns a raw HTTP response for
get /organization/usage/code_interpreter_sessions, but is otherwise the same as UsageService.codeInterpreterSessions.
-
codeInterpreterSessions
@MustBeClosed() abstract HttpResponseFor<UsageCodeInterpreterSessionsResponse> codeInterpreterSessions(UsageCodeInterpreterSessionsParams params, RequestOptions requestOptions)
-
completions
@MustBeClosed() HttpResponseFor<UsageCompletionsResponse> completions(UsageCompletionsParams params)
Returns a raw HTTP response for
get /organization/usage/completions, but is otherwise the same as UsageService.completions.
-
completions
@MustBeClosed() abstract HttpResponseFor<UsageCompletionsResponse> completions(UsageCompletionsParams params, RequestOptions requestOptions)
-
costs
@MustBeClosed() HttpResponseFor<UsageCostsResponse> costs(UsageCostsParams params)
Returns a raw HTTP response for
get /organization/costs, but is otherwise the same as UsageService.costs.
-
costs
@MustBeClosed() abstract HttpResponseFor<UsageCostsResponse> costs(UsageCostsParams params, RequestOptions requestOptions)
-
embeddings
@MustBeClosed() HttpResponseFor<UsageEmbeddingsResponse> embeddings(UsageEmbeddingsParams params)
Returns a raw HTTP response for
get /organization/usage/embeddings, but is otherwise the same as UsageService.embeddings.
-
embeddings
@MustBeClosed() abstract HttpResponseFor<UsageEmbeddingsResponse> embeddings(UsageEmbeddingsParams params, RequestOptions requestOptions)
-
fileSearchCalls
@MustBeClosed() HttpResponseFor<UsageFileSearchCallsResponse> fileSearchCalls(UsageFileSearchCallsParams params)
Returns a raw HTTP response for
get /organization/usage/file_search_calls, but is otherwise the same as UsageService.fileSearchCalls.
-
fileSearchCalls
@MustBeClosed() abstract HttpResponseFor<UsageFileSearchCallsResponse> fileSearchCalls(UsageFileSearchCallsParams params, RequestOptions requestOptions)
-
images
@MustBeClosed() HttpResponseFor<UsageImagesResponse> images(UsageImagesParams params)
Returns a raw HTTP response for
get /organization/usage/images, but is otherwise the same as UsageService.images.
-
images
@MustBeClosed() abstract HttpResponseFor<UsageImagesResponse> images(UsageImagesParams params, RequestOptions requestOptions)
-
moderations
@MustBeClosed() HttpResponseFor<UsageModerationsResponse> moderations(UsageModerationsParams params)
Returns a raw HTTP response for
get /organization/usage/moderations, but is otherwise the same as UsageService.moderations.
-
moderations
@MustBeClosed() abstract HttpResponseFor<UsageModerationsResponse> moderations(UsageModerationsParams params, RequestOptions requestOptions)
-
vectorStores
@MustBeClosed() HttpResponseFor<UsageVectorStoresResponse> vectorStores(UsageVectorStoresParams params)
Returns a raw HTTP response for
get /organization/usage/vector_stores, but is otherwise the same as UsageService.vectorStores.
-
vectorStores
@MustBeClosed() abstract HttpResponseFor<UsageVectorStoresResponse> vectorStores(UsageVectorStoresParams params, RequestOptions requestOptions)
-
webSearchCalls
@MustBeClosed() HttpResponseFor<UsageWebSearchCallsResponse> webSearchCalls(UsageWebSearchCallsParams params)
Returns a raw HTTP response for
get /organization/usage/web_search_calls, but is otherwise the same as UsageService.webSearchCalls.
-
webSearchCalls
@MustBeClosed() abstract HttpResponseFor<UsageWebSearchCallsResponse> webSearchCalls(UsageWebSearchCallsParams params, RequestOptions requestOptions)
-
-
-
-