Model Versions - List
List model versions.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions?api-version=2024-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions?api-version=2024-04-01&$skip={$skip}&$orderBy={$orderBy}&$top={$top}&version={version}&description={description}&offset={offset}&tags={tags}&properties={properties}&feed={feed}&listViewType={listViewType}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Model name. This is case-sensitive. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
workspace
|
path | True |
string |
Name of Azure Machine Learning workspace. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
$order
|
query |
string |
Ordering of list. |
|
$skip
|
query |
string |
Continuation token for pagination. |
|
$top
|
query |
integer int32 |
Maximum number of records to return. |
|
description
|
query |
string |
Model description. |
|
feed
|
query |
string |
Name of the feed. |
|
list
|
query |
View type for including/excluding (for example) archived entities. |
||
offset
|
query |
integer int32 |
Number of initial results to skip. |
|
properties
|
query |
string |
Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2 |
|
tags
|
query |
string |
Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2 |
|
version
|
query |
string |
Model version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
Error |
Examples
List Workspace Model Version.
Sample Request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/models/string/versions?api-version=2024-04-01&$orderBy=string&$top=1&version=string&description=string&offset=1&tags=string&properties=string
Sample Response
{
"value": [
{
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"properties": {
"string": "string"
},
"isAnonymous": false,
"flavors": {
"string": {
"data": {
"string": "string"
}
}
},
"modelType": "CustomModel",
"modelUri": "string"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "User",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User"
}
}
],
"nextLink": "string"
}
Definitions
Name | Description |
---|---|
Asset |
Provisioning state of registry asset. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Flavor |
|
List |
|
Model |
Model asset version details. |
Model |
Azure Resource Manager resource envelope. |
Model |
A paginated list of ModelVersion entities. |
system |
Metadata pertaining to creation and last modification of the resource. |
AssetProvisioningState
Provisioning state of registry asset.
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
FlavorData
Name | Type | Description |
---|---|---|
data |
object |
Model flavor-specific data. |
ListViewType
Name | Type | Description |
---|---|---|
ActiveOnly |
string |
|
All |
string |
|
ArchivedOnly |
string |
ModelVersion
Model asset version details.
Name | Type | Default Value | Description |
---|---|---|---|
description |
string |
The asset description text. |
|
flavors |
<string,
Flavor |
Mapping of model flavors to their properties. |
|
isAnonymous |
boolean |
False |
If the name version are system generated (anonymous registration). |
isArchived |
boolean |
False |
Is the asset archived? |
jobName |
string |
Name of the training job which produced this model |
|
modelType |
string |
The storage format for this entity. Used for NCD. |
|
modelUri |
string |
The URI path to the model contents. |
|
properties |
object |
The asset property dictionary. |
|
provisioningState |
Provisioning state for the model version. |
||
stage |
string |
Stage in the model lifecycle assigned to this model |
|
tags |
object |
Tag dictionary. Tags can be added, removed, and updated. |
ModelVersionResource
Azure Resource Manager resource envelope.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
The name of the resource |
properties |
[Required] Additional attributes of the entity. |
|
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
ModelVersionResourceArmPaginatedResult
A paginated list of ModelVersion entities.
Name | Type | Description |
---|---|---|
nextLink |
string |
The link to the next page of ModelVersion objects. If null, there are no additional pages. |
value |
An array of objects of type ModelVersion. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |