Endpoint - Get ML Model Endpoint Version
Returns information about the specified MLModel endpoint version.
For machine learning model versions where endpoints have never been enabled, or have been disabled after enabling, the status would be 'deactivated'.
Permissions
The caller must have read permission on the MLModel.
Required Delegated Scopes
MLModel.Read.All or MLModel.ReadWrite.All or Item.Read.All or Item.ReadWrite.All
Microsoft Entra supported identities
This API supports the Microsoft identities listed in this section.
| Identity | Support |
|---|---|
| User | Yes |
| Service principal and Managed identities | Yes |
Interface
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/mlmodels/{modelId}/endpoint/versions/{name}
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
model
|
path | True |
string (uuid) |
The machine learning model ID. |
|
name
|
path | True |
string |
The MLModel version name. |
|
workspace
|
path | True |
string (uuid) |
The workspace ID. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Request completed successfully. |
|
| Other Status Codes |
Common error codes:
|
Examples
| Example of Get ML Model Endpoint Version |
| Example of Get ML Model Endpoint Version with an Activation Failure |
Example of Get ML Model Endpoint Version
Sample request
GET https://api.fabric.microsoft.com/v1/workspaces/cf5fef71-f7f3-43f3-ae7f-3c427922bef1/mlmodels/7e92a6fc-3ef5-40bf-96df-ddae3fcde313/endpoint/versions/1
Sample response
{
"versionName": "1",
"status": "Running",
"inputSignature": [
{
"type": "double",
"name": "age",
"required": true
},
{
"type": "double",
"name": "sex",
"required": true
},
{
"type": "double",
"name": "bmi",
"required": true
},
{
"type": "double",
"name": "bp",
"required": true
},
{
"type": "double",
"name": "s1",
"required": true
},
{
"type": "double",
"name": "s2",
"required": true
},
{
"type": "double",
"name": "s3",
"required": true
},
{
"type": "double",
"name": "s4",
"required": true
},
{
"type": "double",
"name": "s5",
"required": true
},
{
"type": "double",
"name": "s6",
"required": true
}
],
"outputSignature": [
{
"type": "double",
"name": "target",
"required": true
}
],
"scaleRule": "AlwaysOn"
}
Example of Get ML Model Endpoint Version with an Activation Failure
Sample request
GET https://api.fabric.microsoft.com/v1/workspaces/cf5fef71-f7f3-43f3-ae7f-3c427922bef1/mlmodels/7e92a6fc-3ef5-40bf-96df-ddae3fcde313/endpoint/versions/1
Sample response
{
"versionName": "1",
"status": "Failed",
"failureDetails": {
"errorCode": "InvalidInput",
"message": "Tensor-based models are not supported yet."
}
}
Definitions
| Name | Description |
|---|---|
|
Error |
The error related resource details object. |
|
Error |
The error response. |
|
Error |
The error response details. |
|
Failure |
Activation Failure details. |
|
MLModel |
Machine learning model data schema. |
|
MLModel |
Machine Learning Model Endpoint version information. |
|
Model |
The status of a given machine learning model endpoint version. Additional ModelEndpointVersionStatus types may be added over time. |
|
Scale |
Machine learning model endpoint scale rule. Additional ScaleRule types may be added over time. |
ErrorRelatedResource
The error related resource details object.
| Name | Type | Description |
|---|---|---|
| resourceId |
string |
The resource ID that's involved in the error. |
| resourceType |
string |
The type of the resource that's involved in the error. |
ErrorResponse
The error response.
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
| message |
string |
A human readable representation of the error. |
| moreDetails |
List of additional error details. |
|
| relatedResource |
The error related resource details. |
|
| requestId |
string |
ID of the request associated with the error. |
ErrorResponseDetails
The error response details.
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
| message |
string |
A human readable representation of the error. |
| relatedResource |
The error related resource details. |
FailureDetails
Activation Failure details.
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
A specific identifier that provides information about an error condition, allowing for standardized communication between our service and its users. |
| message |
string |
A human readable representation of the error. |
| relatedResource |
The error related resource details. |
MLModelDataSchema
Machine learning model data schema.
| Name | Type | Description |
|---|---|---|
| name |
string |
The name of the signature. |
| required |
boolean |
The boolean value to indicate if the signature is required or no. True - Required, False - Not Required. |
| type |
string |
The type of the signature. |
MLModelEndpointVersionInfo
Machine Learning Model Endpoint version information.
| Name | Type | Description |
|---|---|---|
| failureDetails |
Activation Failure details. |
|
| inputSignature |
The input signature for this version of the machine learning model. |
|
| outputSignature |
The output signature for this version of the machine learning model. |
|
| scaleRule |
Machine learning model endpoint scale rule. Additional ScaleRule types may be added over time. |
|
| status |
The status of a given machine learning model endpoint version. Additional ModelEndpointVersionStatus types may be added over time. |
|
| versionName |
string |
The machine learning model version name |
ModelEndpointVersionStatus
The status of a given machine learning model endpoint version. Additional ModelEndpointVersionStatus types may be added over time.
| Value | Description |
|---|---|
| Deactivated |
All resources are deactivated. |
| Activating |
Machine learning model endpoint activation is under progress. |
| Deactivating |
Machine learning model endpoint deactivation is in progress. |
| Active |
Machine learning model endpoint is available to serve score requests. |
| Failed |
Machine learning model endpoint is in failed state. |
ScaleRule
Machine learning model endpoint scale rule. Additional ScaleRule types may be added over time.
| Value | Description |
|---|---|
| AlwaysOn |
Machine learning model endpoint should be AlwaysOn. |
| AllowScaleToZero |
Machine learning model endpoint can be scaled to zero after a period of inactivity. |