Microsoft Azure Agents API

The Agents API from Microsoft Azure, for agents.

GitHub OpenAPI

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 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents List agents in a Storage Mover · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which migration agents are registered to my Azure Storage Mover?”
“Can I see every agent machine attached to a Storage Mover?”
Tell an agent
List the agents in Storage Mover {storageMoverName}.
Show all registered agents for mover {storageMoverName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName} Get a Storage Mover agent · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Is my Storage Mover agent online and what machine does it reference?”
“Can I look up one Storage Mover agent by name?”
Tell an agent
Get agent {agentName} in Storage Mover {storageMoverName}.
Show the status of Storage Mover agent {agentName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName} Register a Storage Mover agent · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I register a hybrid machine as an agent that can run migration jobs?”
“Can I create an agent resource pointing at an Arc-enabled hybrid compute machine?”
Tell an agent
Register agent {agentName} in Storage Mover {storageMoverName} with properties {properties}.
Create or replace the agent resource {agentName} for mover {storageMoverName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName} Update a Storage Mover agent · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I change the description of an existing Storage Mover agent?”
“Which agent properties can I patch without re-registering it?”
Tell an agent
Patch agent {agentName} in Storage Mover {storageMoverName} with {properties}.
Update the existing Storage Mover agent {agentName}'s properties.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName} Delete a Storage Mover agent · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I unregister an agent from my Storage Mover?”
“Can I remove an agent resource I'm decommissioning?”
Tell an agent destructive · confirm first
Delete agent {agentName} from Storage Mover {storageMoverName}.
Unregister Storage Mover agent {agentName}.

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-agents-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-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2022-07-01-preview
  title: Microsoft Azure StorageMoverClient Agents API
  description: The Azure Storage Mover REST API.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Agents
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents
  : get:
      tags:
      - Agents
      operationId: microsoftAzureAgentsList
      description: Lists all Agents in a Storage Mover.
      x-ms-examples:
        Agents_List:
          $ref: ./examples/Agents_List.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/StorageMoverNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The list of Agents.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  : get:
      tags:
      - Agents
      operationId: microsoftAzureAgentsGet
      description: Gets an Agent resource.
      x-ms-examples:
        Agents_Get:
          $ref: ./examples/Agents_Get.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/StorageMoverNameParameter'
      - $ref: '#/components/parameters/AgentNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The Agent resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - Agents
      operationId: microsoftAzureAgentsCreateorupdate
      description: Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.
      x-ms-examples:
        Agents_CreateOrUpdate:
          $ref: ./examples/Agents_CreateOrUpdate.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/StorageMoverNameParameter'
      - $ref: '#/components/parameters/AgentNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Successfully PUT Agent resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Agent'
        required: true
    patch:
      tags:
      - Agents
      operationId: microsoftAzureAgentsUpdate
      description: Creates or updates an Agent resource.
      x-ms-examples:
        Agents_Update:
          $ref: ./examples/Agents_Update.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/StorageMoverNameParameter'
      - $ref: '#/components/parameters/AgentNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: The Agent resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentUpdateParameters'
        required: true
    delete:
      tags:
      - Agents
      operationId: microsoftAzureAgentsDelete
      description: Deletes an Agent resource.
      x-ms-examples:
        Agents_Delete:
          $ref: ./examples/Agents_Delete.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/StorageMoverNameParameter'
      - $ref: '#/components/parameters/AgentNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Successfully deleted Agent.
        '202':
          description: Accepted. Agent delete operation is ongoing.
        '204':
          description: NoContent -- Agent does not exist for this Storage Mover.
        default:
          description: Error response describing why delete operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    AgentNameParameter:
      name: agentName
      in: path
      required: true
      description: The name of the Agent resource.
      x-ms-parameter-location: method
      schema:
        type: string
    StorageMoverNameParameter:
      name: storageMoverName
      in: path
      required: true
      description: The name of the Storage Mover resource.
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    AgentProperties:
      type: object
      properties:
        description:
          type: string
          description: A description for the Agent.
        agentVersion:
          type: string
          description: The Agent version.
          readOnly: true
        arcResourceId:
          type: string
          description: The fully qualified resource ID of the Hybrid Compute resource for the Agent.
          x-ms-mutability:
          - read
          - create
        arcVmUuid:
          type: string
          description: The VM UUID of the Hybrid Compute resource for the Agent.
          x-ms-mutability:
          - read
          - create
        agentStatus:
          description: The Agent status.
          enum:
          - Registering
          - Offline
          - Online
          - Executing
          - RequiresAttention
          - Unregistering
          type: string
          x-ms-enum:
            name: AgentStatus
            modelAsString: true
          readOnly: true
        lastStatusUpdate:
          type: string
          format: date-time
          description: The last updated time of the Agent status.
          readOnly: true
        localIPAddress:
          type: string
          description: Local IP address reported by the Agent.
          readOnly: true
        memoryInMB:
          type: integer
          format: int64
          description: Available memory reported by the Agent, in MB.
          readOnly: true
        numberOfCores:
          type: integer
          format: int64
          description: Available compute cores reported by the Agent.
          readOnly: true
        uptimeInSeconds:
          type: integer
          format: int64
          description: Uptime of the Agent in seconds.
          readOnly: true
        errorDetails:
          type: object
          properties:
            code:
              type: string
              description: Error code reported by Agent
            message:
              type: string
              description: Expanded description of reported error code
          readOnly: true
        provisioningState:
          description: The provisioning state of this resource.
          enum:
          - Succeeded
          type: string
          x-ms-enum:
            name: ProvisioningState
            modelAsString: true
          readOnly: true
      required:
      - arcResourceId
      - arcVmUuid
    AgentUpdateParameters:
      description: The Agent resource.
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AgentUpdateProperties'
    Agent:
      description: The Agent resource.
      type: object
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/AgentProperties'
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Resource system metadata.
      required:
      - properties
      allOf:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource
    AgentList:
      description: List of Agents.
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/Agent'
          readOnly: true
        nextLink:
          type: string
          description: Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
          readOnly: true
    AgentUpdateProperties:
      type: object
      properties:
        description:
          type: string
          description: A description for the Agent.
  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.