Microsoft Azure Profile API

The Profile API from Microsoft Azure, for profile.

GitHub OpenAPI

Operations 3

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}/images/{imageId}/profiles/{id} Get a profile for a model image · Microsoft Azure Get A Profile #
Ask an LLM
“What did one profiling run recommend for my ML model image?”
“Can I fetch a single image profile by its ID?”
Tell an agent
Get profile {profile} of image {image} in workspace {ws}, resource group {rg}, subscription {sub}.
Show image {image} profile {profile}.
GET /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles List profiles for a model image · Microsoft Azure Get A List Of Image Profiles #
Ask an LLM
“Which profiles have been run for a model image?”
“Can I filter image profiles by name or tag?”
Tell an agent
List profiles for image {image} in workspace {ws}, resource group {rg}, subscription {sub}.
List image {image} profiles named {name}.
POST /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles Profile a model image · Microsoft Azure Create A Profile #
Ask an LLM
“How do I run a profile on a model image to size its deployment?”
“Can I supply sample input data when profiling an image?”
Tell an agent
Create profile {name} for image {image} in workspace {ws}, resource group {rg}, subscription {sub}.
Profile image {image} as {name} using input data {input}.

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-profile-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-profile-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: Profile
paths:
  ? /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles/{id}
  : get:
      tags:
      - Profile
      summary: Microsoft Azure Get A Profile
      description: Get the Profile for an Image.
      operationId: microsoftAzureProfilesQuerybyid
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: imageId
        in: path
        description: The Image Id.
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: The Profile Id.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
  ? /modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles
  : get:
      tags:
      - Profile
      summary: Microsoft Azure Get A List Of Image Profiles
      description: If no filter is passed, the query lists all Profiles for the Image. The returned list is paginated and the count of items in each page is an optional parameter.
      operationId: microsoftAzureProfilesListquery
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: imageId
        in: path
        description: The Image Id.
        required: true
        schema:
          type: string
      - name: name
        in: query
        description: The Profile name.
        required: false
        schema:
          type: string
      - name: description
        in: query
        description: The Profile description.
        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: count
        in: query
        description: The number of items to retrieve in a page.
        required: false
        schema:
          type: integer
          format: int32
      - name: $skipToken
        in: query
        description: The continuation token to retrieve the next page.
        required: false
        schema:
          type: string
      - name: orderBy
        in: query
        description: The option to order the response.
        required: false
        schema:
          type: string
          enum:
          - CreatedAtDesc
          - CreatedAtAsc
          - UpdatedAtDesc
          - UpdatedAtAsc
          default: CreatedAtDesc
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedProfileResponseList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      tags:
      - Profile
      summary: Microsoft Azure Create A Profile
      description: Create a Profile for an Image.
      operationId: microsoftAzureProfilesCreate
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupParameter'
      - $ref: '#/components/parameters/workspaceParameter'
      - name: imageId
        in: path
        description: The Image Id.
        required: true
        schema:
          type: string
      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/ProfileRequestBase'
        description: The payload that is used to create the Profile.
        required: true
components:
  schemas:
    ProfileRequestBase:
      description: The request for creating a profile.
      required:
      - name
      type: object
      properties:
        name:
          description: The profile name.
          type: string
        description:
          description: The profile description.
          type: string
        inputData:
          description: The profile input data.
          type: string
        kvTags:
          description: The tags dictionary.
          type: object
          additionalProperties:
            type: string
        properties:
          description: The properties dictionary.
          type: object
          additionalProperties:
            type: string
    ProfileResponse:
      description: The profile response.
      type: object
      properties:
        name:
          description: The profile name.
          type: string
        description:
          description: The profile description.
          type: string
        imageId:
          description: The Image Id.
          type: string
        inputData:
          description: The input data.
          type: string
        state:
          description: The state of the profile.
          type: string
        createdTime:
          format: date-time
          description: The profile creation time (UTC).
          type: string
        kvTags:
          description: The profile tags dictionary. Tags are mutable.
          type: object
          additionalProperties:
            type: string
        properties:
          description: The profile properties dictionary. Properties are immutable.
          type: object
          additionalProperties:
            type: string
        recommendedMemoryInGB:
          format: double
          description: The recommended amount of memory to allocate in GB.
          type: number
        recommendedCpu:
          format: double
          description: The recommended CPU allocation.
          type: number
        recommendationLatencyInMs:
          format: double
          description: Latency associated with the recommended memory/cpu config
          type: number
        profileRunResult:
          description: The profile run result.
          type: string
        error:
          $ref: '#/components/schemas/ModelErrorResponse'
          description: The error details.
        profilingErrorLogs:
          description: The profiling error logs.
          type: string
    PaginatedProfileResponseList:
      description: A paginated list of ProfileResponses.
      type: object
      properties:
        value:
          description: An array of objects of type ProfileResponse.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ProfileResponse'
        nextLink:
          description: A continuation link (absolute URI) to the next page of results in the list.
          type: string
    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
  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)