Microsoft Azure Artifacts API

The Artifacts API from Microsoft Azure, for artifacts.

GitHub OpenAPI

Operations 4

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

POST /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts Preview a generated Dockerfile and manifests · Microsoft Azure Generate Preview Dockerfile And Manifests #
Ask an LLM
“Can Developer Hub generate a Dockerfile and Kubernetes manifests for my app?”
“Which language and port settings shape the previewed deployment files?”
Tell an agent
Preview a Dockerfile and manifests in {location} for a {generationLanguage} app on port {port}.
Generate preview deployment files for app {appName} with image {imageName}:{imageTag}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts List artifacts in a DevTest Labs artifact source · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What install artifacts does an artifact source provide in my DevTest lab?”
“Can I filter and sort the artifacts from one artifact repository?”
Tell an agent
List artifacts in source {artifactSourceName} of lab {labName} in {resourceGroupName}, sub {subscriptionId}.
List artifacts in source {artifactSourceName} matching {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name} Get a DevTest Labs artifact · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I see the parameters one DevTest Labs artifact takes?”
“Can I read a single artifact's definition from an artifact source?”
Tell an agent
Get artifact {name} from source {artifactSourceName} in lab {labName} ({resourceGroupName}, sub {subscriptionId}).
Show the definition of artifact {name}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate Generate an ARM template for a lab artifact · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I turn a DevTest Labs artifact into an ARM template for a VM?”
“Does generating an artifact template also upload the files it needs to storage?”
Tell an agent
Generate an ARM template for artifact {name} in source {artifactSourceName}, lab {labName} ({resourceGroupName}, {subscriptionId}).
Build the ARM template to apply artifact {name} to VM {virtualMachineName}.

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-artifacts-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-artifacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2022-10-11-preview
  title: Microsoft Azure DeveloperHubServiceClient Artifacts API
  description: The AKS Developer Hub Service Client
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Artifacts
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts:
    post:
      tags:
      - Artifacts
      operationId: microsoftAzureGeneratepreviewartifacts
      summary: Microsoft Azure Generate Preview Dockerfile And Manifests
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneratePreviewArtifactsResponse'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Artifact Generation Properties:
          $ref: ./examples/GeneratePreviewArtifacts.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ArtifactGenerationProperties'
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts
  : get:
      tags:
      - Artifacts
      description: List artifacts in a given artifact source.
      operationId: microsoftAzureArtifactsList
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: artifactSourceName
        in: path
        description: The name of the artifact source.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=title)'''
        schema:
          type: string
      - name: $filter
        in: query
        description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
        schema:
          type: string
      - name: $top
        in: query
        description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
        schema:
          type: integer
          format: int32
      - name: $orderby
        in: query
        description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtifactList'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/Artifact'
      x-ms-examples:
        Artifacts_List:
          $ref: ./examples/Artifacts_List.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}
  : get:
      tags:
      - Artifacts
      description: Get artifact.
      operationId: microsoftAzureArtifactsGet
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: artifactSourceName
        in: path
        description: The name of the artifact source.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the artifact.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=title)'''
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Artifact'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Artifacts_Get:
          $ref: ./examples/Artifacts_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate
  : post:
      tags:
      - Artifacts
      description: Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.
      operationId: microsoftAzureArtifactsGeneratearmtemplate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: artifactSourceName
        in: path
        description: The name of the artifact source.
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: The name of the artifact.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArmTemplateInfo'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Artifacts_GenerateArmTemplate:
          $ref: ./examples/Artifacts_GenerateArmTemplate.json
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateArmTemplateRequest'
        description: Parameters for generating an ARM template for deploying artifacts.
        required: true
components:
  schemas:
    GenerationLanguage:
      type: string
      enum:
      - clojure
      - csharp
      - erlang
      - go
      - gomodule
      - gradle
      - java
      - javascript
      - php
      - python
      - ruby
      - rust
      - swift
      x-ms-enum:
        name: GenerationLanguage
        modelAsString: true
        values:
        - value: clojure
          description: clojure language
        - value: csharp
          description: csharp language
        - value: erlang
          description: erlang language
        - value: go
          description: go language
        - value: gomodule
          description: gomodule language
        - value: gradle
          description: gradle language
        - value: java
          description: java language
        - value: javascript
          description: javascript language
        - value: php
          description: php language
        - value: python
          description: python language
        - value: ruby
          description: ruby language
        - value: rust
          description: rust language
        - value: swift
          description: swift language
      description: The programming language used.
    GenerationManifestType:
      type: string
      enum:
      - helm
      - kube
      x-ms-enum:
        name: GenerationManifestType
        modelAsString: true
        values:
        - value: helm
          description: Helm manifests
        - value: kube
          description: Kubernetes manifests
      description: Determines the type of manifests to be generated.
    GeneratePreviewArtifactsResponse:
      type: object
      description: Dockerfile and manifest artifacts generated as a preview are returned as a map<path string,content string>
      additionalProperties:
        type: string
    ManifestGenerationMode:
      type: string
      enum:
      - enabled
      - disabled
      x-ms-enum:
        name: ManifestGenerationMode
        modelAsString: true
        values:
        - value: enabled
          description: Manifests will be generated
        - value: disabled
          description: Manifests will not be generated
      description: The mode of generation to be used for generating Manifest.
    ArtifactGenerationProperties:
      description: Properties used for generating artifacts such as Dockerfiles and manifests.
      title: Artifact Generation Properties
      type: object
      properties:
        generationLanguage:
          $ref: '#/components/schemas/GenerationLanguage'
        languageVersion:
          type: string
          description: The version of the language image used for execution in the generated dockerfile.
        builderVersion:
          type: string
          description: The version of the language image used for building the code in the generated dockerfile.
        port:
          type: string
          description: The port the application is exposed on.
        appName:
          type: string
          description: The name of the app.
        dockerfileOutputDirectory:
          type: string
          description: The directory to output the generated Dockerfile to.
        manifestOutputDirectory:
          type: string
          description: The directory to output the generated manifests to.
        dockerfileGenerationMode:
          $ref: '#/components/schemas/DockerfileGenerationMode'
        manifestGenerationMode:
          $ref: '#/components/schemas/ManifestGenerationMode'
        manifestType:
          $ref: '#/components/schemas/GenerationManifestType'
        imageName:
          type: string
          description: The name of the image to be generated.
        namespace:
          type: string
          description: The namespace to deploy the application to.
        imageTag:
          type: string
          description: The tag to apply to the generated image.
    DockerfileGenerationMode:
      type: string
      enum:
      - enabled
      - disabled
      x-ms-enum:
        name: DockerfileGenerationMode
        modelAsString: true
        values:
        - value: enabled
          description: Dockerfiles will be generated
        - value: disabled
          description: Dockerfiles will not be generated
      description: The mode of generation to be used for generating Dockerfiles.
    ParameterInfo:
      description: Information about an artifact's parameter.
      type: object
      properties:
        name:
          description: The name of the artifact parameter.
          type: string
        value:
          description: The value of the artifact parameter.
          type: string
    ArmTemplateInfo:
      description: Information about a generated ARM template.
      type: object
      properties:
        template:
          description: The template's contents.
          type: object
        parameters:
          description: The parameters of the ARM template.
          type: object
    CloudErrorBody:
      description: Body of an error from a REST request.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        message:
          description: The error message.
          type: string
        target:
          description: The error target.
          type: string
        details:
          description: Inner errors.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    ArtifactProperties:
      description: Properties of an artifact.
      type: object
      properties:
        title:
          description: The artifact's title.
          type: string
          readOnly: true
        description:
          description: The artifact's description.
          type: string
          readOnly: true
        publisher:
          description: The artifact's publisher.
          type: string
          readOnly: true
        filePath:
          description: The file path to the artifact.
          type: string
          readOnly: true
        icon:
          description: The URI to the artifact icon.
          type: string
          readOnly: true
        targetOsType:
          description: The artifact's target OS.
          type: string
          readOnly: true
        parameters:
          description: The artifact's parameters.
          type: object
          readOnly: true
        createdDate:
          format: date-time
          description: The artifact's creation date.
          type: string
          readOnly: true
    CloudError:
      description: Error from a REST request.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The cloud error that occurred
      x-ms-external: true
    GenerateArmTemplateRequest:
      description: Parameters for generating an ARM template for deploying artifacts.
      type: object
      properties:
        virtualMachineName:
          description: The resource name of the virtual machine.
          type: string
        parameters:
          description: The parameters of the ARM template.
          type: array
          items:
            $ref: '#/components/schemas/ParameterInfo'
        location:
          description: The location of the virtual machine.
          type: string
        fileUploadOptions:
          description: Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.
          enum:
          - UploadFilesAndGenerateSasTokens
          - None
          type: string
          x-ms-enum:
            name: FileUploadOptions
            modelAsString: true
    Artifact:
      description: An artifact.
      required:
      - properties
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/ArtifactProperties'
          description: The properties of the resource.
          x-ms-client-flatten: true
    ArtifactList:
      description: The response of a list operation.
      type: object
      properties:
        value:
          description: Results of the list operation.
          type: array
          items:
            $ref: '#/components/schemas/Artifact'
        nextLink:
          description: Link for next set of results.
          type: string
    Resource:
      description: An Azure resource.
      type: object
      properties:
        id:
          description: The identifier of the resource.
          type: string
          readOnly: true
        name:
          description: The name of the resource.
          type: string
          readOnly: true
        type:
          description: The type of the resource.
          type: string
          readOnly: true
        location:
          description: The location of the resource.
          type: string
        tags:
          description: The tags of the resource.
          type: object
          additionalProperties:
            type: string
      x-ms-azure-resource: true
  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
  parameters:
    subscriptionId:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        type: string
    api-version:
      name: api-version
      in: query
      description: Client API version.
      required: true
      schema:
        type: string
        default: '2018-09-15'
    resourceGroupName:
      name: resourceGroupName
      in: path
      description: The name of the resource group.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string