API Reference > imodeljs-clients > iModelHubClient > IModelHandler > getInitializationState getInitializationState Method Get the InitializationState for the specified iModel. See iModel creation. getInitializationState(requestContext: AuthorizedClientRequestContext, contextId: string): Promise<InitializationState> throws IModelHubError with [IModelHubStatus.iModelDoesNotExist]$(bentley) if iModel does not exist. throws IModelHubError with IModelHubStatus.FileDoesNotExist if the seed file was not 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). Returns - Promise<InitializationState> State of the seed file initialization. Defined in core/clients/src/imodelhub/iModels.ts Line 732 Last Updated: 13 June, 2024