Azure Machine Learning Online Endpoints API
The OnlineEndpoints API from Azure Machine Learning — 5 operation(s) for onlineendpoints.
The OnlineEndpoints API from Azure Machine Learning — 5 operation(s) for onlineendpoints.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-machine-learning:microsoft-azure-machine-learning-onlineendpoints-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Azure Machine Learning Services Online Endpoints API
version: '2026-09-01'
description: These APIs allow end users to operate on Azure Machine Learning Workspace resources.
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: OnlineEndpoints
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints
: get:
operationId: OnlineEndpoints_List
tags:
- OnlineEndpoints
summary: List Online Endpoints
description: List Online Endpoints.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: name
in: query
description: Name of the endpoint.
required: false
schema:
type: string
- name: count
in: query
description: Number of endpoints to be retrieved in a page of results.
required: false
schema:
type: integer
format: int32
- name: computeType
in: query
description: EndpointComputeType to be filtered by.
required: false
x-ms-enum:
name: EndpointComputeType
modelAsString: true
values:
- name: Managed
value: Managed
- name: Kubernetes
value: Kubernetes
- name: AzureMLCompute
value: AzureMLCompute
schema:
type: string
enum:
- Managed
- Kubernetes
- AzureMLCompute
- name: $skip
in: query
description: Continuation token for pagination.
required: false
schema:
type: string
- name: tags
in: query
description: 'A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .'
required: false
schema:
type: string
- name: properties
in: query
description: 'A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .'
required: false
schema:
type: string
- name: orderBy
in: query
description: The option to order the response.
required: false
x-ms-enum:
name: OrderString
modelAsString: true
values:
- name: CreatedAtDesc
value: CreatedAtDesc
- name: CreatedAtAsc
value: CreatedAtAsc
- name: UpdatedAtDesc
value: UpdatedAtDesc
- name: UpdatedAtAsc
value: UpdatedAtAsc
schema:
type: string
enum:
- CreatedAtDesc
- CreatedAtAsc
- UpdatedAtDesc
- UpdatedAtAsc
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpointTrackedResourceArmPaginatedResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}
: get:
operationId: OnlineEndpoints_Get
tags:
- OnlineEndpoints
summary: Get Online Endpoint
description: Get Online Endpoint.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpoint'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
put:
operationId: OnlineEndpoints_CreateOrUpdate
tags:
- OnlineEndpoints
summary: Create or update Online Endpoint (asynchronous)
description: Create or update Online Endpoint (asynchronous).
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Resource 'OnlineEndpoint' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpoint'
'201':
description: The request has succeeded and a new resource has been created as a result.
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
x-ms-async-operation-timeout:
description: Timeout for the client to use when polling the asynchronous operation.
schema:
type: string
format: duration
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpoint'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: original-uri
final-state-schema: '#/definitions/OnlineEndpoint'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpoint'
description: Online Endpoint entity to apply during operation.
required: true
patch:
operationId: OnlineEndpoints_Update
tags:
- OnlineEndpoints
summary: Update Online Endpoint (asynchronous)
description: Update Online Endpoint (asynchronous).
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: The request has succeeded.
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineEndpoint'
'202':
description: The request has been accepted for processing, but processing has not yet completed.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
x-ms-async-operation-timeout:
description: Timeout for the client to use when polling the asynchronous operation.
schema:
type: string
format: duration
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
final-state-schema: '#/definitions/OnlineEndpoint'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PartialMinimalTrackedResourceWithIdentity'
description: Online Endpoint entity to apply during operation.
required: true
delete:
operationId: OnlineEndpoints_Delete
tags:
- OnlineEndpoints
summary: Delete Online Endpoint (asynchronous)
description: Delete Online Endpoint (asynchronous).
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'202':
description: The request has been accepted for processing, but processing has not yet completed.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
x-ms-async-operation-timeout:
description: Timeout for the client to use when polling the asynchronous operation.
schema:
type: string
format: duration
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys
: post:
operationId: OnlineEndpoints_ListKeys
tags:
- OnlineEndpoints
summary: List EndpointAuthKeys for an Endpoint using Key-based authentication
description: List EndpointAuthKeys for an Endpoint using Key-based authentication.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/EndpointAuthKeys'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys
: post:
operationId: OnlineEndpoints_RegenerateKeys
tags:
- OnlineEndpoints
summary: Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication…
description: Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
'202':
description: Resource operation accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RegenerateEndpointKeysRequest'
description: RegenerateKeys request .
required: true
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token
: post:
operationId: OnlineEndpoints_GetToken
tags:
- OnlineEndpoints
summary: Retrieve a valid AML token for an Endpoint using AMLToken-based authentication
description: Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: workspaceName
in: path
description: Azure Machine Learning Workspace Name
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$
- name: endpointName
in: path
description: Online Endpoint name.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/EndpointAuthToken'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
SkuTier:
type: string
description: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
enum:
- Free
- Basic
- Standard
- Premium
x-ms-enum:
name: SkuTier
modelAsString: false
Resource:
type: object
title: Resource
description: Common fields that are returned in the response for all Azure Resource Manager resources
properties:
id:
type: string
description: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
readOnly: true
name:
type: string
description: The name of the resource
readOnly: true
type:
type: string
description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
readOnly: true
systemData:
$ref: '#/components/schemas/systemData'
type: object
description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
readOnly: true
x-ms-azure-resource: true
EndpointPropertiesBase:
type: object
description: Inference Endpoint base definition
properties:
authMode:
$ref: '#/components/schemas/EndpointAuthMode'
description: '[Required] The authentication method for invoking the endpoint (data plane operation). Use ''Key'' for key-based authentication. Use ''AMLToken'' for Azure Machine Learning token-based authentication. Use ''AADToken'' for Microsoft Entra token-based authentication.'
description:
type:
- string
- 'null'
description: Description of the inference endpoint.
keys:
$ref: '#/components/schemas/EndpointAuthKeys'
format: password
description: 'EndpointAuthKeys to set initially on an Endpoint.
This property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.'
x-ms-mutability:
- create
x-ms-secret: true
properties:
type:
- object
- 'null'
description: Property dictionary. Properties can be added, but not removed or altered.
additionalProperties:
type:
- string
- 'null'
scoringUri:
type:
- string
- 'null'
format: uri
description: Endpoint URI.
readOnly: true
swaggerUri:
type:
- string
- 'null'
format: uri
description: Endpoint Swagger URI.
readOnly: true
required:
- authMode
ManagedServiceIdentityType:
type: string
description: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
enum:
- None
- SystemAssigned
- UserAssigned
- SystemAssigned,UserAssigned
x-ms-enum:
name: ManagedServiceIdentityType
modelAsString: true
TrackedResource:
type: object
title: Tracked Resource
description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
properties:
tags:
type: object
description: Resource tags.
additionalProperties:
type: string
x-ms-mutability:
- read
- create
- update
location:
type: string
description: The geo-location where the resource lives
x-ms-mutability:
- read
- create
required:
- location
allOf:
- $ref: '#/components/schemas/Resource'
PartialManagedServiceIdentity:
type: object
description: Managed service identity (system assigned and/or user assigned identities)
properties:
type:
$ref: '#/components/schemas/ManagedServiceIdentityType'
description: Managed service identity (system assigned and/or user assigned identities)
userAssignedIdentities:
type: object
description: 'The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: ''/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.'
additionalProperties: {}
EndpointAuthToken:
type: object
description: Service Token
properties:
accessToken:
type:
- string
- 'null'
format: password
description: Access token for endpoint authentication.
x-ms-secret: true
expiryTimeUtc:
type: integer
format: int64
description: Access token expiry time (UTC).
default: 0
refreshAfterTimeUtc:
type: integer
format: int64
description: Refresh access token after time (UTC).
default: 0
tokenType:
type:
- string
- 'null'
description: Access token type.
ManagedServiceIdentity:
type: object
description: Managed service identity (system assigned and/or user assigned identities)
properties:
principalId:
type: string
format: uuid
description: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
readOnly: true
tenantId:
type: string
format: uuid
description: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
readOnly: true
type:
$ref: '#/components/schemas/ManagedServiceIdentityType'
userAssignedIdentities:
$ref: '#/components/schemas/UserAssignedIdentities'
required:
- type
RegenerateEndpointKeysRequest:
type: object
properties:
keyType:
$ref: '#/components/schemas/KeyType'
description: '[Required] Specification for which type of key to generate. Primary or Secondary.'
keyValue:
type:
- string
- 'null'
description: The value the key is set to.
required:
- keyType
OnlineEndpoint:
type: object
description: Concrete tracked resource types can be created by aliasing this type using a specific property type.
properties:
properties:
$ref: '#/components/schemas/OnlineEndpointProperties'
description: '[Required] Additional attributes of the entity.'
identity:
$ref: '#/components/schemas/ManagedServiceIdentity'
description: Managed service identity (system assigned and/or user assigned identities)
kind:
type: string
description: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
sku:
$ref: '#/components/schemas/Sku'
description: Sku details required for ARM contract for Autoscaling.
required:
- properties
allOf:
- $ref: '#/components/schemas/TrackedResource'
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
EndpointAuthKeys:
type: object
description: Keys for endpoint authentication.
properties:
primaryKey:
type:
- string
- 'null'
format: password
description: The primary key.
x-ms-mutability:
- read
- create
x-ms-secret: true
secondaryKey:
type:
- string
- 'null'
format: password
description: The secondary key.
x-ms-mutability:
- read
- create
x-ms-secret: true
Sku:
type: object
description: The resource model definition representing SKU
properties:
name:
type: string
description: The name of the SKU. Ex - P3. It is typically a letter+number code
tier:
$ref: '#/components/schemas/SkuTier'
size:
type: string
description: 'The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. '
family:
type: string
description: If the service has different generations of hardware, for the same SKU, then that can be captured here.
capacity:
type: integer
format: int32
description: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
required:
- name
EndpointAuthMode:
type: string
description: Enum to determine endpoint authentication mode.
enum:
- AMLToken
- Key
- AADToken
x-ms-enum:
name: EndpointAuthMode
modelAsString: true
values:
- name: AMLToken
value: AMLToken
- name: Key
value: Key
- name: AADToken
value: AADToken
PartialMinimalTrackedResource:
type: object
description: Strictly used in update requests.
properties:
tags:
type: object
description: Resource tags.
additionalProperties:
type:
- string
- 'null'
OnlineEndpointProperties:
type: object
description: Online endpoint configuration
properties:
compute:
type:
- string
- 'null'
description: 'ARM resource ID of the compute if it exists.
optional'
mirrorTraffic:
type:
- object
- 'null'
description: Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.
additionalProperties:
format: int32
type: integer
provisioningState:
$ref: '#/components/schemas/EndpointProvisioningState'
description: Provisioning state for the endpoint.
readOnly: true
publicNetworkAccess:
type: string
description: Enum to determine whether PublicNetworkAccess is Enabled or Disabled.
default: Enabled
enum:
- Enabled
- Disabled
x-ms-enum:
name: PublicNetworkAccessType
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
traffic:
type:
- object
- 'null'
description: Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.
additionalProperties:
format: int32
type: integer
allOf:
- $ref: '#/components/schemas/EndpointPropertiesBase'
OnlineEndpointTrackedResourceArmPaginatedResult:
type: object
description: A paginated list of OnlineEndpoint entities.
properties:
value:
type: array
description: The OnlineEndpoint items on this page
items:
$ref: '#/components/schemas/OnlineEndpoint'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
EndpointProvisioningState:
type: string
description: State of endpoint provisioning.
enum:
- Creating
- Deleting
- Succeeded
- Failed
- Updating
- Canceled
x-ms-enum:
name: EndpointProvisioningState
modelAsString: true
values:
- name: Creating
value: Creating
- name: Deleting
value: Deleting
- name: Succeeded
value: Succeeded
- name: Failed
value: Failed
- name: Updating
value: Updating
- name: Canceled
value: Canceled
readOnly: true
PartialMinimalTrackedResourceWithIdentity:
type: object
description: Strictly used in update requests.
properties:
identity:
$ref: '#/components/schemas/PartialManagedServiceIdentity'
description: Managed service identity (system assigned and/or user assigned identities)
allOf:
- $ref: '#/components/schemas/PartialMinimalTrackedResource'
KeyType:
type: string
enum:
- Primary
- Secondary
x-ms-enum:
name: KeyType
modelAsString: true
values:
- name: Primary
value: Primary
- name: Secondary
value: Secondary
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription.
required: true
schema:
type: string
minLength: 1
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.