Microsoft Azure Run Artifacts API

The RunArtifacts API from Microsoft Azure, for runartifacts.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 7

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 /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts List all artifacts of an ML experiment run · Microsoft Azure Get Artifacts In A Container #
Ask an LLM
“What files did my Azure Machine Learning run produce?”
“Can I page through all artifacts of a run with a continuation token?”
Tell an agent
List all artifacts for run {run} in experiment {experiment}, workspace {workspace}, resource group {resource_group}, subscription {subscription}.
Show every output file from ML run {run} in experiment {experiment}.
GET /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/path List a run's artifacts under a folder path · Microsoft Azure Get Artifacts In The Provided Path #
Ask an LLM
“How do I list only the artifacts under one folder of an ML run, like outputs/?”
“Can I browse a run's artifacts by directory path?”
Tell an agent
List artifacts under path {path} for run {run} in experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Show the files in folder {path} of ML run {run}.
GET /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/metadata Get metadata for one run artifact · Microsoft Azure Get Artifact By Id #
Ask an LLM
“How do I get the metadata for a single artifact file from an ML run?”
“What does the artifact record say about a specific file my run saved?”
Tell an agent
Get artifact metadata for {path} in run {run}, experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Look up the artifact record for file {path} from ML run {run}.
GET /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/contentinfo Get content info for a run artifact · Microsoft Azure Get Artifact Content Information #
Ask an LLM
“How do I get the content information, like download location, for an ML run artifact?”
“Can I see content details of one artifact before downloading it?”
Tell an agent
Get content information for artifact {path} of run {run} in experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Show content details for run {run} artifact {path}.
GET /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/artifacturi Get a SAS URI to download a run artifact · Microsoft Azure Get Uri Of An Artifact #
Ask an LLM
“How do I get a download URL for a model file my ML run saved?”
“Can I get a SAS link to a single run artifact?”
Tell an agent
Get the SAS URI for artifact {path} of run {run} in experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Give me a download link for {path} from ML run {run}.
GET /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/prefix/contentinfo Get SAS links for run artifacts under a prefix · Microsoft Azure Get Sas Of An Artifact #
Ask an LLM
“How do I get download links for every artifact under a folder prefix in an ML run?”
“Can I fetch SAS URIs in bulk for all files starting with a path?”
Tell an agent
Get SAS links for prefix {path} in run {run}, experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Generate download URLs for all run {run} files starting with {path}.
POST /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/batch/metadata Create empty artifact placeholders in a run · Microsoft Azure Create A Batch Of Empty Artifacts #
Ask an LLM
“How do I register several empty artifacts in an ML run before uploading their content?”
“Can I create a batch of artifact entries for a run in one request?”
Tell an agent
Create empty artifacts at paths {paths} in run {run}, experiment {experiment}, workspace {workspace}, group {resource_group}, subscription {subscription}.
Register placeholder artifacts {paths} on ML run {run}.

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-runartifacts-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-runartifacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2019-09-30'
  title: Microsoft Azure Run History Run Artifacts API
security:
- azure_auth:
  - user_impersonation
tags:
- name: RunArtifacts
paths:
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Artifacts In A Container
      description: Get Artifacts in container for a specific Run Id.
      operationId: microsoftAzureRunartifactsListincontainer
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: continuationToken
        in: query
        description: The Continuation Token.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The Artifacts in Container are returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedArtifactList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/path
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Artifacts In The Provided Path
      description: Get Artifacts in the provided path for a specific Run Id.
      operationId: microsoftAzureRunartifactsListinpath
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: path
        in: query
        description: The Artifact Path.
        required: false
        schema:
          type: string
      - name: continuationToken
        in: query
        description: The Continuation Token.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedArtifactList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/metadata
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Artifact By Id
      description: Get Artifact for a specific Id.
      operationId: microsoftAzureRunartifactsGetbyid
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: path
        in: query
        description: The Artifact Path.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Artifact'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/contentinfo
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Artifact Content Information
      description: Get Artifact content information for give Run Id.
      operationId: microsoftAzureRunartifactsGetcontentinformation
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: path
        in: query
        description: The Artifact Path.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The Artifact content information is returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtifactContentInformation'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/artifacturi
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Uri Of An Artifact
      description: Get URI of an Artifact for a specific Run Id.
      operationId: microsoftAzureRunartifactsGetsasuri
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: path
        in: query
        description: The Artifact Path.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/prefix/contentinfo
  : get:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Get Sas Of An Artifact
      description: Get SAS of an Artifact in the specified path.
      operationId: microsoftAzureRunartifactsListsasbyprefix
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      - name: path
        in: query
        description: The Artifact Path.
        required: false
        schema:
          type: string
      - name: continuationToken
        in: query
        description: The Continuation Token.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedArtifactContentInformationList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
  ? /history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/batch/metadata
  : post:
      tags:
      - RunArtifacts
      summary: Microsoft Azure Create A Batch Of Empty Artifacts
      description: Create a batch of empty Artifacts in a specific Run.
      operationId: microsoftAzureRunartifactsBatchcreateemptyartifacts
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: experimentName
        in: path
        description: The experiment name.
        required: true
        schema:
          type: string
      - name: runId
        in: path
        description: The identifier of the Run.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The Batch Artifacts are created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchArtifactContentInformationResult'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ArtifactPathList'
        description: The list of artifact paths.
components:
  schemas:
    PaginatedArtifactContentInformationList:
      description: A paginated list of ArtifactContentInformations.
      type: object
      properties:
        value:
          description: An array of objects of type ArtifactContentInformation.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ArtifactContentInformation'
        continuationToken:
          description: The token used in retrieving the next page.  If null, there are no additional pages.
          type: string
        nextLink:
          description: The link to the next page constructed using the continuationToken.  If null, there are no additional pages.
          type: string
    DataPath:
      type: object
      properties:
        dataStoreName:
          type: string
        relativePath:
          type: string
        sqlDataPath:
          $ref: '#/components/schemas/SqlDataPath'
    ErrorResponse:
      description: The error response.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/RootError'
          description: The top level error that occurred.
        correlation:
          description: Dictionary containing correlation details for the error.
          type: object
          additionalProperties:
            type: string
        environment:
          description: The hosting environment.
          type: string
        location:
          description: The Azure region.
          type: string
        time:
          format: date-time
          description: The time in UTC.
          type: string
    PaginatedArtifactList:
      description: A paginated list of Artifacts.
      type: object
      properties:
        value:
          description: An array of objects of type Artifact.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/Artifact'
        continuationToken:
          description: The token used in retrieving the next page.  If null, there are no additional pages.
          type: string
        nextLink:
          description: The link to the next page constructed using the continuationToken.  If null, there are no additional pages.
          type: string
    ArtifactContentInformation:
      description: Details of an Artifact Content Information.
      type: object
      properties:
        contentUri:
          description: The URI of the content.
          type: string
        origin:
          description: The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset', 'ComputeRecord', 'Metric', and 'Unknown'.
          type: string
        container:
          description: The name of container. Artifacts can be grouped by container.
          type: string
        path:
          description: The path to the Artifact in a container.
          type: string
    SqlDataPath:
      type: object
      properties:
        sqlTableName:
          type: string
        sqlQuery:
          type: string
        sqlStoredProcedureName:
          type: string
        sqlStoredProcedureParams:
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/StoredProcedureParameter'
    InnerErrorResponse:
      description: A nested structure of errors.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        innerError:
          $ref: '#/components/schemas/InnerErrorResponse'
          description: A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand.
    ArtifactPathList:
      description: Contains list of Artifact Paths.
      required:
      - paths
      type: object
      properties:
        paths:
          description: List of Artifact Paths.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ArtifactPath'
    RootError:
      description: The root error.
      type: object
      properties:
        code:
          description: 'The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.'
          type: string
        message:
          description: A human-readable representation of the error.
          type: string
        target:
          description: The target of the error (e.g., the name of the property in error).
          type: string
        details:
          description: The related errors that occurred during the request.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetails'
        innerError:
          $ref: '#/components/schemas/InnerErrorResponse'
          description: A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand.
    BatchArtifactContentInformationResult:
      description: Results of the Batch Artifact Content Information request.
      type: object
      properties:
        artifacts:
          description: Artifact details of the Artifact Ids requested.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Artifact'
        artifactContentInformation:
          description: Artifact Content Information details of the Artifact Ids requested.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ArtifactContentInformation'
        errors:
          description: Errors occurred while fetching the requested Artifact Ids.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ErrorResponse'
    StoredProcedureParameter:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
        type:
          enum:
          - String
          - Int
          - Decimal
          - Guid
          - Boolean
          - Date
          type: string
          x-ms-enum:
            name: StoredProcedureParameterType
            modelAsString: false
    ArtifactPath:
      description: Details of an Artifact Path.
      required:
      - path
      type: object
      properties:
        path:
          description: The path to the Artifact in a container.
          type: string
    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
    Artifact:
      description: Details of an Artifact.
      required:
      - origin
      - container
      - path
      type: object
      properties:
        artifactId:
          description: The identifier of an Artifact. Format of ArtifactId - {Origin}/{Container}/{Path}.
          type: string
        origin:
          description: The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset' and 'Unknown'.
          type: string
        container:
          description: The name of container. Artifacts can be grouped by container.
          type: string
        path:
          description: The path to the Artifact in a container.
          type: string
        etag:
          description: The Etag of the Artifact.
          type: string
          readOnly: true
        createdTime:
          format: date-time
          description: The Date and Time at which the Artifact is created. The DateTime is in UTC.
          type: string
          readOnly: true
        dataPath:
          $ref: '#/components/schemas/DataPath'
  parameters:
    workspaceNameParameter:
      name: workspaceName
      in: path
      description: The name of the workspace.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    resourceGroupNameParameter:
      name: resourceGroupName
      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
    subscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Azure Subscription ID.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        format: uuid
  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/runHistory.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)