Deployment Shapes
List Deployment Shapes Versions
List validated deployment shape versions for a shape you already know, filtered by base model and latest_validated using AIP-160 filter syntax.
GET
List Deployment Shapes Versions
Use this endpoint to query available deployment shape versions for a given model. Use
- as a wildcard for both account_id and deployment_shape_id to search across all accounts and shapes.
To find which shapes work with a model — with the compatibility rules applied server-side — use Match Deployment Shape Versions instead. This endpoint is for listing versions of shapes you already know, for example to check which exact model version each validated version binds.
Example: List shapes for a model
To list validated deployment shapes for a specific model, use thefilter parameter with snapshot.base_model and latest_validated=true:
Filter syntax
Thefilter parameter uses AIP-160 filtering. Common patterns:
Combine multiple conditions with
AND:
Remember to URL-encode the filter value when using curl directly.
= becomes %3D, " becomes %22, and / becomes %2F.Authorizations
Path Parameters
Query Parameters
Only deployment shape versions satisfying the provided filter (if specified) will be returned. See https://google.aip.dev/160 for the filter grammar.
A comma-separated list of fields to order by. e.g. "foo,bar" The default sort order is ascending. To specify a descending order for a field, append a " desc" suffix. e.g. "foo desc,bar" Subfields are specified with a "." character. e.g. "foo.bar" If not specified, the default order is by "create_time".
Response
200 - application/json
A successful response.
List Deployment Shapes Versions