API Reference > imodeljs-clients > iModelHubClient > IModelHandler > get get Method Get iModel that belong to the specified context. get(requestContext: AuthorizedClientRequestContext, contextId: string): Promise<HubIModel> throws IModelHubError with [IModelHubStatus.iModelDoesNotExist]$(bentley) if iModel does not exist. 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). Returns - Promise<HubIModel> HubIModel instances that match the query. Defined in core/clients/src/imodelhub/iModels.ts Line 697 Last Updated: 13 June, 2024