API Reference > imodelhub-client > iModelHubClient > InstanceIdQuery InstanceIdQuery Class Query for instances with Guid based instance ids. Extends WsgQuery Extended by IModelQuery ThumbnailQuery VersionQuery Methods Name Description constructor(): InstanceIdQuery byId(id: string): InstanceIdQuery Query single instance by its id. Inherited methods Name Inherited from Description filter(filter: string): InstanceIdQuery WsgQuery Set filter to the specified filter string. orderBy(orderBy: string): InstanceIdQuery WsgQuery Set order for the query. pageSize(n: number): InstanceIdQuery WsgQuery Select all entries from the query by pages. select(select: string): InstanceIdQuery WsgQuery Set select to specified select string. skip(n: number): InstanceIdQuery WsgQuery Skip first entries in the query. top(n: number): InstanceIdQuery WsgQuery Select only top entries from the query. Inherited properties Name Type Inherited from Description _query Protected RequestQueryOptions WsgQuery Defined in clients/imodelhub/src/imodelhub/HubQuery.ts Line 50 Last Updated: 11 June, 2024