{
  "openapi": "3.0.0",
  "info": {
    "title": "Artifact API",
    "version": "2019-08-01",
    "x-jentic-source-url": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json"
  },
  "servers": [],
  "paths": {
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/batch/metadata": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchArtifactContentInformationResult"
                }
              }
            },
            "description": "The requested Batch Artifacts are returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get Batch Artifacts by the specific Ids.",
        "operationId": "Artifacts_BatchGetById",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArtifactIdList"
              }
            }
          },
          "description": "The command for Batch Artifact get request.",
          "required": true
        },
        "summary": "Get Batch Artifacts by Ids."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/metadata": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Artifact"
                }
              }
            },
            "description": "The Artifact is created successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Create an Artifact.",
        "operationId": "Artifacts_Create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Artifact"
              }
            }
          },
          "description": "The Artifact details.",
          "required": true
        },
        "summary": "Create Artifact."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/register": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Artifact"
                }
              }
            },
            "description": "The Artifact is created successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Create an Artifact for an existing dataPath.",
        "operationId": "Artifacts_Register",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Artifact"
              }
            }
          },
          "description": "The Artifact creation details.",
          "required": true
        },
        "summary": "Create an Artifact for an existing data location."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/storageuri/batch/metadata": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchArtifactContentInformationResult"
                }
              }
            },
            "description": "The Batch Artifact's storage are returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get Batch Artifacts storage by specific Ids.",
        "operationId": "Artifacts_BatchGetStorageById",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArtifactIdList"
              }
            }
          },
          "description": "The list of artifactIds to get.",
          "required": true
        },
        "summary": "Get Batch Artifacts storage by Ids."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The continuation token.",
            "in": "query",
            "name": "continuationToken",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedArtifactList"
                }
              }
            },
            "description": "The details of the Artifacts are returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get Artifacts metadata in a specific container or path.",
        "operationId": "Artifacts_ListInContainer",
        "summary": "Get Artifacts metadata in a container or path.",
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch": {
      "delete": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "If set to true. The delete cannot be revert at later time.",
            "in": "query",
            "name": "hardDelete",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Artifact metadata deleted successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Delete Artifact Metadata in a specific container.",
        "operationId": "Artifacts_DeleteMetaDataInContainer",
        "summary": "Delete Artifact Metadata."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/ingest/containersas": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedArtifactList"
                }
              }
            },
            "description": "The Batch is ingested using shared access signature successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Ingest Batch Artifacts using shared access signature.",
        "operationId": "Artifacts_BatchIngestFromSas",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArtifactContainerSas"
              }
            }
          },
          "description": "The artifact container shared access signature to use for batch ingest.",
          "required": true
        },
        "summary": "Batch ingest using shared access signature.",
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/metadata": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchArtifactContentInformationResult"
                }
              }
            },
            "description": "The Batch of empty Artifacts created successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Create a Batch of empty Artifacts from the supplied paths.",
        "operationId": "Artifacts_BatchCreateEmptyArtifacts",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArtifactPathList"
              }
            }
          },
          "description": "The list of Artifact paths to create.",
          "required": true
        },
        "summary": "Create a batch of empty Artifacts."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/metadata:delete": {
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "If set to true, the delete cannot be reverted at a later time.",
            "in": "query",
            "name": "hardDelete",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The batch delete of Artifact metadata completed successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Delete a Batch of Artifact Metadata.",
        "operationId": "Artifacts_DeleteBatchMetaData",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ArtifactPathList"
              }
            }
          },
          "description": "The list of Artifact paths to delete.",
          "required": true
        },
        "summary": "Delete Batch of Artifact Metadata."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/content": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {},
              "application/octet-stream": {}
            },
            "description": "File Response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get Artifact content of a specific Id.",
        "operationId": "Artifacts_Download",
        "summary": "Get Artifact content by Id."
      },
      "post": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The index.",
            "in": "query",
            "name": "index",
            "required": false,
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "description": "Whether or not to append the content or replace it.",
            "in": "query",
            "name": "append",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "description": "whether to allow overwrite if Artifact Content exist already. when set to true, Overwrite happens if Artifact Content already exists",
            "in": "query",
            "name": "allowOverwrite",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Artifact"
                }
              }
            },
            "description": "The Artifact content is uploaded successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Upload content to an Artifact.",
        "operationId": "Artifacts_Upload",
        "requestBody": {
          "content": {
            "application/octet-stream": {
              "schema": {
                "format": "binary",
                "type": "string"
              }
            }
          },
          "description": "The file upload.",
          "required": true
        },
        "summary": "Upload Artifact content."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/contentinfo": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArtifactContentInformation"
                }
              }
            },
            "description": "The Artifact content information is returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get content information of an Artifact.",
        "operationId": "Artifacts_GetContentInformation",
        "summary": "Get Artifact content information."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/contentinfo/storageuri": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArtifactContentInformation"
                }
              }
            },
            "description": "The Artifact storage content information is returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get storage content information of an Artifact.",
        "operationId": "Artifacts_GetStorageContentInformation",
        "summary": "Get Artifact storage content information."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/metadata": {
      "delete": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "If set to true. The delete cannot be revert at later time.",
            "in": "query",
            "name": "hardDelete",
            "required": false,
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The Artifact metadata deleted successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Delete an Artifact Metadata.",
        "operationId": "Artifacts_DeleteMetaData",
        "summary": "Delete Artifact Metadata."
      },
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Artifact"
                }
              }
            },
            "description": "The details of the Artifact are returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get Artifact metadata for a specific Id.",
        "operationId": "Artifacts_Get",
        "summary": "Get Artifact metadata by Id."
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/prefix/contentinfo": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The continuation token.",
            "in": "query",
            "name": "continuationToken",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedArtifactContentInformationList"
                }
              }
            },
            "description": "The Artifact writable shared access signature is returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get shared access signature for an Artifact in specific path.",
        "operationId": "Artifacts_ListSasByPrefix",
        "summary": "Get shared access signature for an Artifact",
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/prefix/contentinfo/storageuri": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The continuation token.",
            "in": "query",
            "name": "continuationToken",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedArtifactContentInformationList"
                }
              }
            },
            "description": "The Artifact storage uri is returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get storage Uri for Artifacts in a specific path.",
        "operationId": "Artifacts_ListStorageUriByPrefix",
        "summary": "Get storage Uri for Artifacts in a path.",
        "x-ms-pageable": {
          "nextLinkName": "nextLink"
        }
      }
    },
    "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/write": {
      "get": {
        "parameters": [
          {
            "$ref": "#/components/parameters/subscriptionIdParameter"
          },
          {
            "$ref": "#/components/parameters/resourceGroupNameParameter"
          },
          {
            "$ref": "#/components/parameters/workspaceNameParameter"
          },
          {
            "description": "The origin of the Artifact.",
            "in": "path",
            "name": "origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The container name.",
            "in": "path",
            "name": "container",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The Artifact Path.",
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ArtifactContentInformation"
                }
              }
            },
            "description": "The Artifact writable shared access signature is returned successfully."
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Error response describing why the operation failed."
          }
        },
        "tags": [
          "Artifact"
        ],
        "description": "Get writable shared access signature for a specific Artifact.",
        "operationId": "Artifacts_GetSas",
        "summary": "Get writable shared access signature for Artifact."
      }
    }
  },
  "components": {
    "parameters": {
      "resourceGroupNameParameter": {
        "description": "The Name of the resource group in which the workspace is located.",
        "in": "path",
        "name": "resourceGroupName",
        "required": true,
        "schema": {
          "type": "string"
        },
        "x-ms-parameter-location": "method"
      },
      "subscriptionIdParameter": {
        "description": "The Azure Subscription ID.",
        "in": "path",
        "name": "subscriptionId",
        "required": true,
        "schema": {
          "format": "uuid",
          "type": "string"
        },
        "x-ms-parameter-location": "method"
      },
      "workspaceNameParameter": {
        "description": "The name of the workspace.",
        "in": "path",
        "name": "workspaceName",
        "required": true,
        "schema": {
          "type": "string"
        },
        "x-ms-parameter-location": "method"
      }
    },
    "schemas": {
      "Artifact": {
        "description": "Details of an Artifact.",
        "properties": {
          "artifactId": {
            "description": "The identifier of an Artifact. Format of ArtifactId - {Origin}/{Container}/{Path}.",
            "type": "string"
          },
          "container": {
            "description": "The name of container. Artifacts can be grouped by container.",
            "type": "string"
          },
          "createdTime": {
            "description": "The Date and Time at which the Artifact is created. The DateTime is in UTC.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "dataPath": {
            "$ref": "#/components/schemas/DataPath"
          },
          "etag": {
            "description": "The Etag of the Artifact.",
            "readOnly": true,
            "type": "string"
          },
          "origin": {
            "description": "The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset' and 'Unknown'.",
            "type": "string"
          },
          "path": {
            "description": "The path to the Artifact in a container.",
            "type": "string"
          }
        },
        "required": [
          "origin",
          "container",
          "path"
        ],
        "type": "object"
      },
      "ArtifactContainerSas": {
        "description": "Details of the Artifact Container's shared access signature.",
        "properties": {
          "artifactPrefix": {
            "description": "The Prefix to the Artifact in the Blob.",
            "type": "string"
          },
          "containerSas": {
            "description": "The shared access signature of the Container.",
            "type": "string"
          },
          "containerUri": {
            "description": "The URI of the Container.",
            "type": "string"
          },
          "prefix": {
            "description": "The Prefix to the Blobs in the Container.",
            "type": "string"
          }
        },
        "required": [
          "containerSas",
          "containerUri"
        ],
        "type": "object"
      },
      "ArtifactContentInformation": {
        "description": "Details of an Artifact Content Information.",
        "properties": {
          "container": {
            "description": "The name of container. Artifacts can be grouped by container.",
            "type": "string"
          },
          "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"
          },
          "path": {
            "description": "The path to the Artifact in a container.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ArtifactIdList": {
        "description": "Contains list of Artifact Ids.",
        "properties": {
          "artifactIds": {
            "description": "List of Artifacts Ids.",
            "items": {
              "type": "string"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "required": [
          "artifactIds"
        ],
        "type": "object"
      },
      "ArtifactPath": {
        "description": "Details of an Artifact Path.",
        "properties": {
          "path": {
            "description": "The path to the Artifact in a container.",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "ArtifactPathList": {
        "description": "Contains list of Artifact Paths.",
        "properties": {
          "paths": {
            "description": "List of Artifact Paths.",
            "items": {
              "$ref": "#/components/schemas/ArtifactPath"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "required": [
          "paths"
        ],
        "type": "object"
      },
      "BatchArtifactContentInformationResult": {
        "description": "Results of the Batch Artifact Content Information request.",
        "properties": {
          "artifactContentInformation": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ArtifactContentInformation"
            },
            "description": "Artifact Content Information details of the Artifact Ids requested.",
            "type": "object"
          },
          "artifacts": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Artifact"
            },
            "description": "Artifact details of the Artifact Ids requested.",
            "type": "object"
          },
          "errors": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "description": "Errors occurred while fetching the requested Artifact Ids.",
            "type": "object"
          }
        },
        "type": "object"
      },
      "DataPath": {
        "properties": {
          "dataStoreName": {
            "type": "string"
          },
          "relativePath": {
            "type": "string"
          },
          "sqlDataPath": {
            "$ref": "#/components/schemas/SqlDataPath"
          }
        },
        "type": "object"
      },
      "ErrorDetails": {
        "description": "The error details.",
        "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"
          }
        },
        "type": "object"
      },
      "ErrorResponse": {
        "description": "The error response.",
        "properties": {
          "correlation": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Dictionary containing correlation details for the error.",
            "type": "object"
          },
          "environment": {
            "description": "The hosting environment.",
            "type": "string"
          },
          "error": {
            "$ref": "#/components/schemas/RootError",
            "description": "The top level error that occurred."
          },
          "location": {
            "description": "The Azure region.",
            "type": "string"
          },
          "time": {
            "description": "The time in UTC.",
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "InnerErrorResponse": {
        "description": "A nested structure of errors.",
        "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."
          }
        },
        "type": "object"
      },
      "PaginatedArtifactContentInformationList": {
        "description": "A paginated list of ArtifactContentInformations.",
        "properties": {
          "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"
          },
          "value": {
            "description": "An array of objects of type ArtifactContentInformation.",
            "items": {
              "$ref": "#/components/schemas/ArtifactContentInformation"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "type": "object"
      },
      "PaginatedArtifactList": {
        "description": "A paginated list of Artifacts.",
        "properties": {
          "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"
          },
          "value": {
            "description": "An array of objects of type Artifact.",
            "items": {
              "$ref": "#/components/schemas/Artifact"
            },
            "type": "array",
            "uniqueItems": false
          }
        },
        "type": "object"
      },
      "RootError": {
        "description": "The root error.",
        "properties": {
          "code": {
            "description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
            "type": "string"
          },
          "details": {
            "description": "The related errors that occurred during the request.",
            "items": {
              "$ref": "#/components/schemas/ErrorDetails"
            },
            "type": "array",
            "uniqueItems": false
          },
          "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."
          },
          "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"
          }
        },
        "type": "object"
      },
      "SqlDataPath": {
        "properties": {
          "sqlQuery": {
            "type": "string"
          },
          "sqlStoredProcedureName": {
            "type": "string"
          },
          "sqlStoredProcedureParams": {
            "items": {
              "$ref": "#/components/schemas/StoredProcedureParameter"
            },
            "type": "array",
            "uniqueItems": false
          },
          "sqlTableName": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "StoredProcedureParameter": {
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "enum": [
              "String",
              "Int",
              "Decimal",
              "Guid",
              "Boolean",
              "Date"
            ],
            "type": "string",
            "x-ms-enum": {
              "modelAsString": false,
              "name": "StoredProcedureParameterType"
            }
          },
          "value": {
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "azure_auth": {
        "flows": {
          "implicit": {
            "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
            "scopes": {
              "user_impersonation": "impersonate your user account"
            }
          }
        },
        "type": "oauth2"
      }
    }
  },
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "tags": []
}