Why don't you use the model catalog api? https://github.com/mintproject/model-catalog-python-api-client https://github.com/mintproject/wcm/blob/fcd7b3d5822368319be2fadbb84709662f5b287b/src/wcm/_has_grid.py#L10