Package com.anthropic.services.async
Interface ModelServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface ModelServiceAsync.WithRawResponseA view of ModelServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description CompletableFuture<HttpResponseFor<ModelInfo>>retrieve(ModelRetrieveParams params)Returns a raw HTTP response for get /v1/models/{model_id}, but is otherwise the same as ModelServiceAsync.retrieve.abstract CompletableFuture<HttpResponseFor<ModelInfo>>retrieve(ModelRetrieveParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<ModelListPageAsync>>list()Returns a raw HTTP response for get /v1/models, but is otherwise the same as ModelServiceAsync.list.abstract CompletableFuture<HttpResponseFor<ModelListPageAsync>>list(ModelListParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<ModelListPageAsync>>list(ModelListParams params)CompletableFuture<HttpResponseFor<ModelListPageAsync>>list(RequestOptions requestOptions)-
-
Method Detail
-
retrieve
@MustBeClosed() CompletableFuture<HttpResponseFor<ModelInfo>> retrieve(ModelRetrieveParams params)
Returns a raw HTTP response for
get /v1/models/{model_id}, but is otherwise the same as ModelServiceAsync.retrieve.
-
retrieve
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<ModelInfo>> retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<ModelListPageAsync>> list()
Returns a raw HTTP response for
get /v1/models, but is otherwise the same as ModelServiceAsync.list.
-
list
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<ModelListPageAsync>> list(ModelListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<ModelListPageAsync>> list(ModelListParams params)
-
list
@MustBeClosed() CompletableFuture<HttpResponseFor<ModelListPageAsync>> list(RequestOptions requestOptions)
-
-
-
-