API Reference > imodeljs-clients > iModelHubClient > IModelsHandler > get get Method Get iModels that belong to the specified context. get(requestContext: AuthorizedClientRequestContext, contextId: string, query: IModelQuery = new IModelQuery()): Promise<HubIModel[]> throws WsgError with WSStatus.InstanceNotFound if InstanceIdQuery.byId is used and an HubIModel with the specified id could not be found. throws Common iModelHub errors Parameter Type Description requestContext AuthorizedClientRequestContext The client request context. contextId string Id for the iModel's context. For iModelHub it should be the id of the connect context (Project or Asset). query IModelQuery Optional query object to filter the queried iModels or select different data from them. Returns - Promise<HubIModel[]> HubIModel instances that match the query. Defined in core/clients/src/imodelhub/iModels.ts Line 365 Last Updated: 13 June, 2024