A data scientist wants to retrieve a specific version of a registered model from SAS Model Manager via the SAS Viya REST API. Which resource path is correct?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because the SAS Model Manager REST API uses the /modelRepository/ base path to access registered models, and a specific model is retrieved via GET /modelRepository/models/{modelId}. A is wrong because the /models/ path structure is not the SAS Model Manager convention.
Full explanation below image
Full Explanation
B is correct because the SAS Model Manager REST API uses the /modelRepository/ base path to access registered models, and a specific model is retrieved via GET /modelRepository/models/{modelId}. A is wrong because the /models/ path structure is not the SAS Model Manager convention. C is wrong because /cas/sessions/ addresses CAS session management, not the model registry. D is wrong because /mlPipeline/ is not the correct Model Manager endpoint.