Microsoft Azure Model Management API

The Model Management API from Microsoft Azure, for model management.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} Get a deployed ML model service · Microsoft Azure Get A Service #
Ask an LLM
“What is the state of a model deployment service in my Machine Learning workspace?”
“Can I fetch one deployed ML service by its ID?”
Tell an agent
Get service {id} in workspace {workspace} of resource group {resourceGroup} in subscription {subscriptionId}.
Show deployed model service {id} in {workspace}.
DELETE /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} Delete a deployed ML model service · Microsoft Azure Delete A Service #
Ask an LLM
“Can I tear down a model deployment service from my ML workspace?”
“What happens to the scoring endpoint when I delete a service?”
Tell an agent destructive · confirm first
Delete service {id} from workspace {workspace} in {resourceGroup} of subscription {subscriptionId}.
Remove deployed model service {id} in {workspace}.
PATCH /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id} Patch a deployed ML model service · Microsoft Azure Patch A Service #
Ask an LLM
“Can I modify an existing model deployment service without recreating it?”
“Is partial update supported on a deployed ML service?”
Tell an agent
Patch service {id} in workspace {workspace} of {resourceGroup} in subscription {subscriptionId}.
Apply updates to deployed model service {id}.
GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services List or search services in an ML workspace · Microsoft Azure Query The List Of Services In A Workspace #
Ask an LLM
“Which model services are deployed in my Machine Learning workspace?”
“Can I find services running a particular model or image?”
Tell an agent
List services in workspace {workspace} of resource group {resourceGroup} in subscription {subscriptionId}.
Find services in {workspace} deploying model {modelName}.
POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services Deploy a new ML model service · Microsoft Azure Create A Service #
Ask an LLM
“How do I deploy a model as a new service in my ML workspace?”
“Which compute type do I have to specify when creating a model service?”
Tell an agent
Create service {name} on compute type {computeType} in workspace {workspace} of {resourceGroup}, subscription {subscriptionId}.
Deploy image {imageId} as service {name} in {workspace}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-model-management-api"
All apis
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.

Get an API 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 Specification

microsoft-azure-model-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2019-09-30'
  title: Microsoft Azure Azure Machine Learning Model Management…
  description: These APIs allow end users to manage Azure Machine Learning Models, Images, Profiles, and Services.
security:
- azure_auth:
  - user_impersonation
tags:
- name: Model Management
paths:
  ? /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}
  : get:
      tags:
      - Model Management
      summary: Microsoft Azure Get A Service
      description: Get a Service by Id.
      operationId: microsoftAzureServicesQuerybyid
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: id
        in: path
        description: The Service Id.
        required: true
        schema:
          type: string
      - name: expand
        in: query
        description: Set to True to include Model details.
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceResponseBase'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
    delete:
      tags:
      - Model Management
      summary: Microsoft Azure Delete A Service
      description: Delete a specific Service.
      operationId: microsoftAzureServicesDelete
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: id
        in: path
        description: The Service Id.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The resource exists and was deleted successfully.
        '202':
          description: Success
        '204':
          description: The resource does not exist and the request was well formed.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
    patch:
      tags:
      - Model Management
      summary: Microsoft Azure Patch A Service
      description: Patch a specific Service.
      operationId: microsoftAzureServicesPatch
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: id
        in: path
        description: The Service Id.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
        '202':
          description: The request was accepted.  The header 'Operation-Location' contains the async operation location URL.  Accessing this URL with a GET call will return the status of the background task.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
      requestBody:
        content:
          application/json-patch+json:
            schema:
              uniqueItems: false
              type: array
              items:
                $ref: '#/components/schemas/JsonPatchOperation'
        description: The payload that is used to patch the Service.
        required: true
  ? /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services
  : get:
      tags:
      - Model Management
      summary: Microsoft Azure Query The List Of Services In A Workspace
      description: If no filter is passed, the query lists all Services in the Workspace. The returned list is paginated and the count of item in each page is an optional parameter.
      operationId: microsoftAzureServicesListquery
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: imageId
        in: query
        description: The Image Id.
        required: false
        schema:
          type: string
      - name: imageName
        in: query
        description: The Image name.
        required: false
        schema:
          type: string
      - name: modelId
        in: query
        description: The Model Id.
        required: false
        schema:
          type: string
      - name: modelName
        in: query
        description: The Model name.
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: The object name.
        required: false
        schema:
          type: string
      - name: count
        in: query
        description: The number of items to retrieve in a page.
        required: false
        schema:
          type: integer
          format: int32
      - name: computeType
        in: query
        description: The compute environment type.
        required: false
        schema:
          type: string
      - name: $skipToken
        in: query
        description: The continuation token to retrieve the next page.
        required: false
        schema:
          type: string
      - name: tags
        in: query
        description: "A set of tags with which to filter the returned models.\n            It is a comma separated string of tags key or tags key=value\n            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.\n            It is a comma separated string of properties key and/or properties key=value\n            Example: propKey1,propKey2,propKey3=value3"
        required: false
        schema:
          type: string
      - name: expand
        in: query
        description: Set to True to include Model details.
        required: false
        schema:
          type: boolean
          default: false
      - name: orderby
        in: query
        description: The option to order the response.
        required: false
        schema:
          type: string
          enum:
          - CreatedAtDesc
          - CreatedAtAsc
          - UpdatedAtDesc
          - UpdatedAtAsc
          default: UpdatedAtDesc
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedServiceList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      tags:
      - Model Management
      summary: Microsoft Azure Create A Service
      description: Create a Service with the specified payload.
      operationId: microsoftAzureServicesCreate
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      responses:
        '202':
          description: The request was accepted.  The header 'Operation-Location' contains the async operation location URL.  Accessing this URL with a GET call will return the status of the background task.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateServiceRequest'
        description: The payload that is used to create the Service.
        required: true
components:
  schemas:
    PaginatedServiceList:
      description: A paginated list of Services.
      type: object
      properties:
        value:
          description: An array of objects of type Service.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ServiceResponseBase'
        nextLink:
          description: A continuation link (absolute URI) to the next page of results in the list.
          type: string
    ModelSparkSection:
      type: object
      properties:
        repositories:
          description: The list of spark repositories.
          uniqueItems: false
          type: array
          items:
            type: string
        packages:
          description: The Spark packages to use.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/SparkMavenPackage'
        precachePackages:
          description: Whether to precache the packages.
          type: boolean
          example: 'True'
    CreateServiceRequest:
      description: The base class for creating a service.
      required:
      - name
      - computeType
      type: object
      properties:
        name:
          description: The service name.
          type: string
        description:
          description: The description of the service.
          type: string
        kvTags:
          description: The service tag dictionary. Tags are mutable.
          type: object
          additionalProperties:
            type: string
        properties:
          description: The service properties dictionary. Properties are immutable.
          type: object
          additionalProperties:
            type: string
        keys:
          $ref: '#/components/schemas/AuthKeys'
          description: The authentication keys.
        computeType:
          description: The compute environment type for the service.
          enum:
          - ACI
          - AKS
          - AMLCOMPUTE
          - IOT
          - AKSENDPOINT
          - UNKNOWN
          type: string
          example: AKS
          x-ms-enum:
            name: ComputeEnvironmentType
            modelAsString: false
        deploymentType:
          description: The deployment type for the service.
          enum:
          - GRPCRealtimeEndpoint
          - HttpRealtimeEndpoint
          - Batch
          type: string
          example: HttpRealtimeEndpoint
          x-ms-enum:
            name: DeploymentType
            modelAsString: false
        imageId:
          description: The Image Id.
          type: string
        environmentImageRequest:
          $ref: '#/components/schemas/EnvironmentImageRequest'
          description: The Environment, models and assets needed for inferencing.
        location:
          description: The location of the service.
          type: string
      discriminator:
        propertyName: computeType
    ModelDockerSection:
      type: object
      properties:
        baseImage:
          description: Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.
          type: string
          example: ubuntu:latest
        baseDockerfile:
          description: Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.
          type: string
          example: 'FROM ubuntu:latest

            RUN echo "Hello world!"'
        enabled:
          description: Set True to perform this run inside a Docker container.
          type: boolean
          example: 'True'
        sharedVolumes:
          description: Set False if necessary to work around shared volume bugs on Windows.
          type: boolean
          example: 'True'
        gpuSupport:
          description: Run with NVidia Docker extension to support GPUs.
          type: boolean
          example: 'False'
        shmSize:
          description: The shared memory size setting for NVidia GPUs.
          type: string
          example: 1g
        arguments:
          description: Extra arguments to the Docker run command.
          uniqueItems: false
          type: array
          items:
            type: string
        baseImageRegistry:
          $ref: '#/components/schemas/ContainerRegistry'
          description: Image registry that contains the base image.
    AuthKeys:
      type: object
      properties:
        primaryKey:
          description: The primary key.
          type: string
        secondaryKey:
          description: The secondary key.
          type: string
    ModelEnvironmentDefinition:
      type: object
      properties:
        name:
          description: The name of the environment.
          type: string
          example: mydevenvironment
        version:
          description: The environment version.
          type: string
          example: '1'
        python:
          $ref: '#/components/schemas/ModelPythonSection'
          description: Settings for a Python environment.
        environmentVariables:
          description: Definition of environment variables to be defined in the environment.
          type: object
          additionalProperties:
            type: string
        docker:
          $ref: '#/components/schemas/ModelDockerSection'
          description: The definition of a Docker container.
        spark:
          $ref: '#/components/schemas/ModelSparkSection'
          description: The configuration for a Spark environment.
        inferencingStackVersion:
          description: The Inferencing stack version.
          type: string
          example: latest
    ServiceResponseBase:
      description: The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)
      required:
      - computeType
      type: object
      properties:
        id:
          description: The service Id.
          type: string
        name:
          description: The service name.
          type: string
        description:
          description: The service description.
          type: string
        kvTags:
          description: The service tag dictionary. Tags are mutable.
          type: object
          additionalProperties:
            type: string
        properties:
          description: The service property dictionary. Properties are immutable.
          type: object
          additionalProperties:
            type: string
        operationId:
          description: The ID of the latest asynchronous operation for this service.
          type: string
        state:
          description: The current state of the service.
          enum:
          - Transitioning
          - Healthy
          - Unhealthy
          - Failed
          type: string
          example: Healthy
          x-ms-enum:
            name: WebServiceState
            modelAsString: false
        createdTime:
          format: date-time
          description: The time the service was created.
          type: string
        updatedTime:
          format: date-time
          description: The time the service was updated.
          type: string
        error:
          $ref: '#/components/schemas/ModelErrorResponse'
          description: The error details.
        computeType:
          description: The compute environment type for the service.
          enum:
          - ACI
          - AKS
          - AMLCOMPUTE
          - IOT
          - AKSENDPOINT
          - UNKNOWN
          type: string
          example: AKS
          x-ms-enum:
            name: ComputeEnvironmentType
            modelAsString: false
        deploymentType:
          description: The deployment type for the service.
          enum:
          - GRPCRealtimeEndpoint
          - HttpRealtimeEndpoint
          - Batch
          type: string
          example: HttpRealtimeEndpoint
          x-ms-enum:
            name: DeploymentType
            modelAsString: false
      discriminator:
        propertyName: computeType
    ModelErrorResponse:
      description: The Model Management Service Error object.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        statusCode:
          format: int32
          description: The HTTP status code.
          type: integer
        message:
          description: The error message.
          type: string
        details:
          description: An array of error detail objects.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetails'
    ErrorDetails:
      description: The error details.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        message:
          description: The error message.
          type: string
        target:
          description: The target of the error (e.g., the name of the property in error).
          type: string
    EnvironmentImageRequest:
      description: Request to create a Docker image based on Environment.
      type: object
      properties:
        driverProgram:
          description: The name of the driver file.
          type: string
        assets:
          description: The list of assets.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentImageAsset'
        modelIds:
          description: The list of model Ids.
          uniqueItems: false
          type: array
          items:
            type: string
          example: '[mymodel:1, mymodel:2]'
        environment:
          $ref: '#/components/schemas/ModelEnvironmentDefinition'
          description: The details of the AZURE ML environment.
    EnvironmentImageAsset:
      description: An Image asset.
      type: object
      properties:
        id:
          description: The Asset Id.
          type: string
        mimeType:
          description: The mime type.
          type: string
        url:
          description: The Url of the Asset.
          type: string
        unpack:
          description: Whether the Asset is unpacked.
          type: boolean
    ModelPythonSection:
      type: object
      properties:
        interpreterPath:
          description: The python interpreter path. This is only used when user_managed_dependencies=True.
          type: string
        userManagedDependencies:
          description: True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.
          type: boolean
        condaDependencies:
          type: object
        baseCondaEnvironment:
          type: string
    JsonPatchOperation:
      description: The Json Patch definition.
      type: object
      properties:
        value:
          description: The value.
          type: object
        path:
          description: The target location.
          type: string
        op:
          description: The operation.
          type: string
        from:
          description: The source location.
          type: string
    ContainerRegistry:
      type: object
      properties:
        address:
          type: string
        username:
          type: string
        password:
          type: string
    SparkMavenPackage:
      type: object
      properties:
        group:
          type: string
        artifact:
          type: string
        version:
          type: string
  parameters:
    workspaceParameter:
      name: workspace
      in: path
      description: The name of the workspace.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Azure Subscription ID.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        format: uuid
    resourceGroupParameter:
      name: resourceGroup
      in: path
      description: The Name of the resource group in which the workspace is located.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)