They are not very different really, Either you get the model or the ensemble json, and in the ensemble case you need to get one of its models also to check the input data fields. but the procedure once you have all the info is the same.