Interface InputTokenService.WithRawResponse
-
- All Implemented Interfaces:
public interface InputTokenService.WithRawResponseA view of InputTokenService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract InputTokenService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseFor<InputTokenCountResponse>count()Returns a raw HTTP response for post /responses/input_tokens, but is otherwise the same as InputTokenService.count.abstract HttpResponseFor<InputTokenCountResponse>count(InputTokenCountParams params, RequestOptions requestOptions)HttpResponseFor<InputTokenCountResponse>count(InputTokenCountParams params)HttpResponseFor<InputTokenCountResponse>count(RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract InputTokenService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
count
@MustBeClosed() HttpResponseFor<InputTokenCountResponse> count()
Returns a raw HTTP response for
post /responses/input_tokens, but is otherwise the same as InputTokenService.count.
-
count
@MustBeClosed() abstract HttpResponseFor<InputTokenCountResponse> count(InputTokenCountParams params, RequestOptions requestOptions)
-
count
@MustBeClosed() HttpResponseFor<InputTokenCountResponse> count(InputTokenCountParams params)
-
count
@MustBeClosed() HttpResponseFor<InputTokenCountResponse> count(RequestOptions requestOptions)
-
-
-
-