• Asynchronously retrieves a KOS data model and its type.

    Type Parameters

    • T extends IKosDataModel = IKosDataModel

    Parameters

    • modelId: string

      The ID of the KOS data model.

    Returns Promise<{
        model: T;
        type: undefined | string;
    }>

    An object containing the KOS data model and its type.

    Async

    Throws

    An error if the model ID is not provided or the model cannot be found.