This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Retrieves a Model by its Resource Identifier (RID).
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:models-read.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/models/ri.models.main.model.f351c142-0e4c-4b12-adc2-6e1539737ae9?preview=true"1
2
3
{
"rid": "ri.models.main.model.f351c142-0e4c-4b12-adc2-6e1539737ae9"
}| Error Name | ||
|---|---|---|
Model | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The given Model could not be found. | |
| Parameters | modelRid | |
See Errors for a general overview of errors in the platform.