GuidesRecipesAPI ReferenceChangelogDiscussions
Log In

modzyClient.getModelVersion

Retrieve model version details

modzyClient.getModelVersion(String modelId, String versionId)

Returns version's details. It includes timeout, requirement, containerImage, loadStatus, runStatus, inputs, outputs, statistics, technicalDetails, sampleInput, sampleOutput, performanceSummary, processing, and others.

Parameters

ParameterTypeDescriptionExample
modelIdjava.lang.StringA model identifier assigned by Modzy."ed542963de"
versionIdjava.lang.StringThe model’s version number."0.0.27"

Returns

com.modzy.sdk.model.ModelVersion A instance with detailed information regarding the version and the model.

Examples

ModelVersion modelVersion = modzyClient.getModelVersion("ed542963de", "1.0.1");
System.out.println(String.format(" %s", modelVersion));