Package com.anthropic.services.blocking
Interface ModelService
-
- All Implemented Interfaces:
public interface ModelService
-
-
Method Summary
Modifier and Type Method Description abstract ModelInforetrieve(ModelRetrieveParams params, RequestOptions requestOptions)Get a specific model. abstract ModelInforetrieve(ModelRetrieveParams params)Get a specific model. abstract ModelListPagelist(ModelListParams params, RequestOptions requestOptions)List available models. abstract ModelListPagelist(ModelListParams params)List available models. -
-
Method Detail
-
retrieve
abstract ModelInfo retrieve(ModelRetrieveParams params, RequestOptions requestOptions)
Get a specific model.
The Models API response can be used to determine information about a specific model or resolve a model alias to a model ID.
-
retrieve
abstract ModelInfo retrieve(ModelRetrieveParams params)
Get a specific model.
The Models API response can be used to determine information about a specific model or resolve a model alias to a model ID.
-
list
abstract ModelListPage list(ModelListParams params, RequestOptions requestOptions)
List available models.
The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
-
list
abstract ModelListPage list(ModelListParams params)
List available models.
The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
-
-
-
-