ModelRepository API explanation required

I have a requirement to get the Model from the DB using the key and I have planned to use the below method from ModelRepository.

List findByKeyAndType(String key, Integer modelType);

Can any one please explain, actually what is modelType. In DB, sometimes it getting stored as 0 and sometimes as 4. On what basis the values getting updated. Please let me know.
Thanks in advance

Hey @venkata.rajamanickam,

The ModelRepository is part of the Flowable Modeler UI Application and is not meant to be public API.

It is there to store the models which are worked on in the Modeler. You can see the available model types in AbstractModel.

Cheers,
Filip