Working with iModelHub

Working with iModelHub directly

iModelHub API is available in the @bentley/imodelhub-client package.

Additional client APIs for various Bentley services can be found in the clients/ directory alongside imodelhub-client

These client libraries contain TypeScript classes and other types that can be used by both frontends and backends. Any method that requires access to the file system will have to be run in the backend.

iModelHub API covers basic calls to iModelHub that are part of larger workflows. For any calls that require working with actual iModel files, you should use backend classes.

Before you start

Working through backend classes

Working through clients package

Last Updated: 11 June, 2024