Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to get deployed models list in Vertex AI?

nSN6666P.png


In the Vertex AI model registry , we can see the models we've imported . There , we can also see the deployment status of those models .

https://us-central1-aiplatform.googleapis.com/v1/projects/projectId/locations/us-central1/models

I got this endpoint from the vertex ai api reference , this returns the list of models in the model registry . But in this list , the deployment status of the models is not available .

How to get deployment status of these models? What api do I need to call ? Am I missing any parameters in the endpoint I'm using?

I am using NodeJS .

I am trying to get Vertex AI model registry's model list in my app along with their deployment status.

I expected a json response with deploymentStatus field also , but not getting it. Except deploymentStatus I get every other field .

 
Solved Solved
5 1 4,173
1 ACCEPTED SOLUTION

Hi , 
after some research we've found out the 'Deployment Status' of models in Model Registry . It's actually the presence of "deployedModels" array we get in the result of 

This api returns array of objects where each object represents a model in the model registry . Inside this object , we have "deployedModels" array . If this array is empty , it means the model isn't deployed , otherwise it is .

gauravpant_0-1715688108137.png

 


 

View solution in original post

1 REPLY 1

Hi , 
after some research we've found out the 'Deployment Status' of models in Model Registry . It's actually the presence of "deployedModels" array we get in the result of 

This api returns array of objects where each object represents a model in the model registry . Inside this object , we have "deployedModels" array . If this array is empty , it means the model isn't deployed , otherwise it is .

gauravpant_0-1715688108137.png