Endpoint - List
List All the endpoints under this workspace
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints?api-version=2025-07-01-preview
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints?api-version=2025-07-01-preview&endpointType={endpointType}&includeOnlineEndpoints={includeOnlineEndpoints}&includeServerlessEndpoints={includeServerlessEndpoints}&includeConnections={includeConnections}&$skip={$skip}&$expand={$expand}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
workspace
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
Azure Machine Learning Workspace Name |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
$expand
|
query |
string |
Whether the endpoint resource will be expand to include deployment information, e.g. $expand=deployments |
|
$skip
|
query |
string |
Continuation token for pagination. |
|
endpoint
|
query |
Endpoint type filter |
||
include
|
query |
boolean |
||
include
|
query |
boolean |
||
include
|
query |
boolean |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; the request was well-formed and received properly. |
|
Other Status Codes |
Error |
Security
azure_auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List Endpoint
Sample request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/endpoints?api-version=2025-07-01-preview&endpointType=Azure.OpenAI&$skip=skip_string
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/endpoints/Azure.OpenAI",
"name": "Azure.OpenAI",
"type": "Microsoft.MachineLearningServices/workspaces/endpoints",
"properties": {
"endpointType": "Azure.OpenAI",
"name": "Azure.OpenAI",
"associatedResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveService/account/account-1",
"endpointUri": "https://www.contoso.com/",
"provisioningState": "Succeeded",
"failureReason": "some_string"
},
"systemData": {
"createdAt": "2020-01-01T00:00:00Z",
"createdBy": "some_string",
"createdByType": "ManagedIdentity",
"lastModifiedAt": "2020-01-01T00:00:00Z",
"lastModifiedBy": "some_string",
"lastModifiedByType": "User"
}
}
],
"nextLink": "some_string"
}
Definitions
CognitiveServicesSku
Name | Type | Description |
---|---|---|
capacity |
integer (int32) |
|
family |
string |
|
name |
string |
|
size |
string |
|
tier |
string |
ContentSafetyEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
ContentSafetyEndpointResourceProperties
Name | Type | Description |
---|---|---|
associatedResourceId |
string (arm-id) |
Byo resource id for creating the built-in model service endpoints. |
deployments |
Deployments info. |
|
endpointType |
string:
Azure. |
Type of the endpoint. |
endpointUri |
string (url) |
Uri of the endpoint. |
failureReason |
string |
The failure reason if the creation failed. |
location |
string |
Location of the endpoint. Since input dto and when parse endpoint resource share the same contract this Location field is just for parse the endpoint resource info we won't let customer specify the endpoint resource location since we will create it the same location as workspace |
name |
string |
Name of the endpoint. |
provisioningState |
Read-only provision state status property. |
|
shouldCreateAiServicesEndpoint |
boolean |
Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. |
ContentSafetyStatus
Value | Description |
---|---|
Enabled | |
Disabled |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
DefaultResourceProvisioningState
Value | Description |
---|---|
NotStarted | |
Failed | |
Creating | |
Updating | |
Succeeded | |
Deleting | |
Accepted | |
Canceled | |
Scaling | |
Disabled |
DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
Value | Description |
---|---|
OnceNewDefaultVersionAvailable | |
OnceCurrentVersionExpired | |
NoAutoUpgrade |
EndpointAuthMode
Value | Description |
---|---|
AMLToken | |
Key | |
AADToken |
EndpointComputeType
Value | Description |
---|---|
Managed | |
Kubernetes | |
AzureMLCompute |
EndpointDeploymentModel
Name | Type | Description |
---|---|---|
format |
string |
Model format |
name |
string |
Model name. |
source |
string |
Optional. Deployment model source ARM resource ID. |
version |
string |
Model version. |
EndpointDeploymentResourcePropertiesBasicResource
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 | EndpointDeploymentResourceProperties: | |
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" |
EndpointResourcePropertiesBasicResource
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 | EndpointResourceProperties: | |
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" |
EndpointResourcePropertiesBasicResourceArmPaginatedResult
Name | Type | Description |
---|---|---|
nextLink |
string |
|
value |
endpointType
Endpoint type filter
Value | Description |
---|---|
Azure.OpenAI | |
Azure.Speech | |
Azure.ContentSafety | |
Azure.Llama | |
managedOnlineEndpoint |
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. |
ManagedOnlineEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
endpointComputeType | ||
failureReason |
string |
The failure reason if the creation failed. |
model |
string |
|
provisioningState |
Read-only provision state status property. |
|
type |
string:
managed pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
ManagedOnlineEndpointResourceProperties
Name | Type | Description |
---|---|---|
associatedResourceId |
string (arm-id) |
Byo resource id for creating the built-in model service endpoints. |
authMode | ||
compute |
string |
|
deployments |
Deployments info. |
|
description |
string |
|
endpointType |
string:
managed |
Type of the endpoint. |
endpointUri |
string (url) |
Uri of the endpoint. |
failureReason |
string |
The failure reason if the creation failed. |
location |
string |
Location of the endpoint. Since input dto and when parse endpoint resource share the same contract this Location field is just for parse the endpoint resource info we won't let customer specify the endpoint resource location since we will create it the same location as workspace |
mirrorTraffic |
object |
|
name |
string |
Name of the endpoint. |
provisioningState |
Read-only provision state status property. |
|
scoringUri |
string (uri) |
|
shouldCreateAiServicesEndpoint |
boolean |
Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. |
traffic |
object |
OpenAIEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
OpenAIEndpointResourceProperties
Name | Type | Description |
---|---|---|
associatedResourceId |
string (arm-id) |
Byo resource id for creating the built-in model service endpoints. |
deployments |
Deployments info. |
|
endpointType |
string:
Azure. |
Type of the endpoint. |
endpointUri |
string (url) |
Uri of the endpoint. |
failureReason |
string |
The failure reason if the creation failed. |
location |
string |
Location of the endpoint. Since input dto and when parse endpoint resource share the same contract this Location field is just for parse the endpoint resource info we won't let customer specify the endpoint resource location since we will create it the same location as workspace |
name |
string |
Name of the endpoint. |
provisioningState |
Read-only provision state status property. |
|
shouldCreateAiServicesEndpoint |
boolean |
Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. |
ServerlessEndpointCapacityReservation
Name | Type | Description |
---|---|---|
capacityReservationGroupId |
string minLength: 1pattern: [a-zA-Z0-9_] |
|
endpointReservedCapacity |
integer (int32) |
ServerlessEndpointContentSafety
Name | Type | Description |
---|---|---|
contentSafetyStatus |
ServerlessEndpointInferenceEndpoint
Name | Type | Description |
---|---|---|
headers |
object |
|
uri |
string (uri) |
ServerlessEndpointModelSettings
Name | Type | Description |
---|---|---|
modelId |
string minLength: 1pattern: [a-zA-Z0-9_] |
ServerlessEndpointResourceProperties
Name | Type | Description |
---|---|---|
associatedResourceId |
string (arm-id) |
Byo resource id for creating the built-in model service endpoints. |
authMode | ||
capacityReservation | ||
contentSafety | ||
deployments |
Deployments info. |
|
endpointState | ||
endpointType |
string:
serverless |
Type of the endpoint. |
endpointUri |
string (url) |
Uri of the endpoint. |
failureReason |
string |
The failure reason if the creation failed. |
inferenceEndpoint | ||
location |
string |
Location of the endpoint. Since input dto and when parse endpoint resource share the same contract this Location field is just for parse the endpoint resource info we won't let customer specify the endpoint resource location since we will create it the same location as workspace |
marketplaceSubscriptionId |
string |
|
metadata |
|
|
modelSettings | ||
name |
string |
Name of the endpoint. |
offer | ||
provisioningState |
Read-only provision state status property. |
|
shouldCreateAiServicesEndpoint |
boolean |
Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. |
ServerlessEndpointState
Value | Description |
---|---|
Unknown | |
Creating | |
Deleting | |
Suspending | |
Reinstating | |
Online | |
Suspended | |
CreationFailed | |
DeletionFailed |
ServerlessInferenceEndpointAuthMode
Value | Description |
---|---|
Key | |
AAD |
ServerlessOffer
Name | Type | Description |
---|---|---|
offerName |
string minLength: 1pattern: [a-zA-Z0-9_] |
|
publisher |
string minLength: 1pattern: [a-zA-Z0-9_] |
SpeechEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
SpeechEndpointResourceProperties
Name | Type | Description |
---|---|---|
associatedResourceId |
string (arm-id) |
Byo resource id for creating the built-in model service endpoints. |
deployments |
Deployments info. |
|
endpointType |
string:
Azure. |
Type of the endpoint. |
endpointUri |
string (url) |
Uri of the endpoint. |
failureReason |
string |
The failure reason if the creation failed. |
location |
string |
Location of the endpoint. Since input dto and when parse endpoint resource share the same contract this Location field is just for parse the endpoint resource info we won't let customer specify the endpoint resource location since we will create it the same location as workspace |
name |
string |
Name of the endpoint. |
provisioningState |
Read-only provision state status property. |
|
shouldCreateAiServicesEndpoint |
boolean |
Whether the proxy (non-byo) endpoint is a regular endpoint or a OneKeyV2 AI services account endpoint. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
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 (date-time) |
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. |