API Reference > imodelhub-client > iModelHubClient > VersionHandler > get get Method Get the named Versions of an iModel. Returned Versions are ordered from the latest ChangeSet to the oldest. get(requestContext: AuthorizedClientRequestContext, iModelId: string, query: VersionQuery = ...): Promise<Version[]> throws WsgError with WSStatus.InstanceNotFound if InstanceIdQuery.byId is used and a Version with the specified id could not be found. throws Common iModelHub errors Parameter Type Description requestContext AuthorizedClientRequestContext The client request context. iModelId string Id of the iModel. See HubIModel. query VersionQuery Optional query object to filter the queried Versions or select different data from them. Returns - Promise<Version[]> Versions that match the query. Defined in clients/imodelhub/src/imodelhub/Versions.ts Line 172 Last Updated: 12 June, 2024