Last updated: Jan 29, 2025
Get a list of the available foundation models and filter the models list in useful ways.
The List the available foundation models method in the watsonx.ai API gets information about the foundation models that are deployed by IBM in watsonx.ai and are available for inferencing immediately.
curl -X GET \
'https://{region}.ml.cloud.ibm.com/ml/v1/foundation_model_specs?version=2024-05-01'
Listing custom foundation models
To get a list of deployed custom foundation models that you can access, use the following method. This method requires a bearer token.
curl -X GET \
'https://{region}.ml.cloud.ibm.com/ml/v4/deployments?version=2024-12-12&type=custom_foundation_model'
Listing deploy on demand models
To get a list of available deploy on demand foundation models, use the following method:
curl -X GET \
'https://{region}.ml.cloud.ibm.com/ml/v1/foundation_model_specs?version=2024-12-10&filters=curated'
You must deploy the deploy on demand model to a deployment space before you can inference the model.
Parent topic: Coding generative AI solutions