Microsoft Azure Datastore API

The Datastore API from Microsoft Azure, for datastore.

GitHub OpenAPI

Operations 6

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 /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores List datastores in a Machine Learning workspace · Microsoft Azure Get Datastores List #
Ask an LLM
“Which datastores are attached to my Azure Machine Learning workspace?”
“Can I include the stored secrets when listing workspace datastores?”
Tell an agent
List datastores in ML workspace {ws} in resource group {rg}, subscription {sub}.
List datastores {names} in workspace {ws}.
POST /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores Attach a new datastore to a Machine Learning workspace · Microsoft Azure Create Or Update A Datastore #
Ask an LLM
“How do I register a blob storage or data lake account as a datastore in my ML workspace?”
“Can I skip validation when attaching a datastore to a workspace?”
Tell an agent
Create datastore {name} of type {type} in ML workspace {ws}, resource group {rg}, subscription {sub}.
Attach datastore {name} to workspace {ws} without validating it.
DELETE /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores Delete every datastore in a Machine Learning workspace · Microsoft Azure Delete All Datastores #
Ask an LLM
“Can I remove all datastores from an Azure Machine Learning workspace at once?”
“Is there a bulk way to clear every datastore attached to my workspace?”
Tell an agent destructive · confirm first
Delete all datastores in ML workspace {ws} in resource group {rg}, subscription {sub}.
Wipe every datastore from workspace {ws}.
GET /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name} Get a datastore in a Machine Learning workspace · Microsoft Azure Get Datastore Details #
Ask an LLM
“What storage account and settings does a specific datastore point to?”
“Can I look up one ML workspace datastore by name?”
Tell an agent
Show datastore {name} in ML workspace {ws}, resource group {rg}, subscription {sub}.
Get the details of datastore {name} in workspace {ws}.
PUT /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name} Update a named datastore in a Machine Learning workspace · Microsoft Azure Update Or Create A Datastore #
Ask an LLM
“How do I change the storage settings of an existing datastore?”
“Can I update a datastore by name and create it if it is missing?”
Tell an agent
Update datastore {name} in ML workspace {ws}, resource group {rg}, subscription {sub}.
Change the tags on datastore {name} in workspace {ws} to {tags}.
DELETE /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name} Delete one datastore from a Machine Learning workspace · Microsoft Azure Delete A Datastore #
Ask an LLM
“How do I detach a single datastore from my ML workspace?”
“Can I delete one datastore by name and keep the others?”
Tell an agent destructive · confirm first
Delete datastore {name} from ML workspace {ws}, resource group {rg}, subscription {sub}.
Remove only datastore {name} from workspace {ws}.

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-datastore-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-datastore-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2019-09-30'
  title: Microsoft Azure Azure Machine Learning Management Client…
security:
- azure_auth:
  - user_impersonation
tags:
- name: Datastore
paths:
  ? /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores
  : get:
      tags:
      - Datastore
      summary: Microsoft Azure Get Datastores List
      description: Get the list of Datastores attached to the workspace.
      operationId: microsoftAzureDatastoresList
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: dataStoreNames
        in: query
        description: List of Datastore names.
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
          uniqueItems: false
      - name: continuationToken
        in: query
        description: The Continuation Token.
        required: false
        schema:
          type: string
      - name: count
        in: query
        description: Count of Datastores to be returned.
        required: false
        schema:
          type: integer
          format: int32
          default: 30
      - name: includeSecret
        in: query
        description: Whether to include the datastore secret in the response.
        required: false
        schema:
          type: boolean
          default: true
      responses:
        '200':
          description: The list of Datastores are returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDataStoreList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
    post:
      tags:
      - Datastore
      summary: Microsoft Azure Create Or Update A Datastore
      description: Create or update a Datastore in the given workspace.
      operationId: microsoftAzureDatastoresCreate
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: createIfNotExists
        in: query
        description: If set to true, the call will create an Datastore if it doesn't exist.
        required: false
        schema:
          type: boolean
          default: false
      - name: skipValidation
        in: query
        description: If set to true, the call will skip Datastore validation.
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: The Datastore is created/updated successfully.
        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/DataStore'
        description: The Datastore details.
    delete:
      tags:
      - Datastore
      summary: Microsoft Azure Delete All Datastores
      description: Delete all Datastores in the workspace.
      operationId: microsoftAzureDatastoresDeleteall
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      responses:
        '200':
          description: All the Datastores in the workspace are deleted successfully.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}
  : get:
      tags:
      - Datastore
      summary: Microsoft Azure Get Datastore Details
      description: Get details of a Datastore with a specific name.
      operationId: microsoftAzureDatastoresGet
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: name
        in: path
        description: The Datastore name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The Datastore details are returned successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataStore'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
      - Datastore
      summary: Microsoft Azure Update Or Create A Datastore
      description: Update or create a Datastore in the given workspace.
      operationId: microsoftAzureDatastoresUpdate
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: name
        in: path
        description: The Datastore name.
        required: true
        schema:
          type: string
      - name: createIfNotExists
        in: query
        description: If set to true, the call will create an Datastore if it doesn't exist.
        required: false
        schema:
          type: boolean
          default: false
      - name: skipValidation
        in: query
        description: If set to true, the call will skip Datastore validation.
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: The Datastore is created/updated successfully.
        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/DataStore'
        description: The Datastore details.
    delete:
      tags:
      - Datastore
      summary: Microsoft Azure Delete A Datastore
      description: Delete a Datastore with a specific name.
      operationId: microsoftAzureDatastoresDelete
      parameters:
      - $ref: '#/components/parameters/subscriptionIdParameter'
      - $ref: '#/components/parameters/resourceGroupNameParameter'
      - $ref: '#/components/parameters/workspaceNameParameter'
      - name: name
        in: path
        description: The Datastore name.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The Datastore is deleted successfully.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ClientCredentials:
      type: object
      properties:
        clientId:
          format: uuid
          description: The Client ID/Application ID
          type: string
        tenantId:
          format: uuid
          description: The ID of the tenant the service principal/app belongs to
          type: string
        isCertAuth:
          description: Is it using certificate to authenticate. If false then use client secret
          type: boolean
        certificate:
          description: The content of the certificate used for authentication
          type: string
        thumbprint:
          description: The thumbprint of the certificate above
          type: string
        clientSecret:
          description: The client secret
          type: string
        authorityUrl:
          description: The authority URL used for authentication
          type: string
        resourceUri:
          description: The resource the service principal/app has access to
          type: string
        subscriptionId:
          format: uuid
          description: Subscription Id
          type: string
        resourceGroup:
          description: Resource Group Name
          type: string
    AzureDataLake:
      type: object
      properties:
        storeName:
          description: The Azure Data Lake store name
          type: string
        clientId:
          format: uuid
          description: The Client ID/Application ID
          type: string
        tenantId:
          format: uuid
          description: The ID of the tenant the service principal/app belongs to
          type: string
        isCertAuth:
          description: Is it using certificate to authenticate. If false then use client secret
          type: boolean
        certificate:
          description: The content of the certificate used for authentication
          type: string
        thumbprint:
          description: The thumbprint of the certificate above
          type: string
        clientSecret:
          description: The client secret
          type: string
        authorityUrl:
          description: The authority URL used for authentication
          type: string
        resourceUri:
          description: The resource the service principal/app has access to
          type: string
        subscriptionId:
          format: uuid
          description: Subscription Id
          type: string
        resourceGroup:
          description: Resource Group Name
          type: string
    AzurePostgreSql:
      type: object
      properties:
        serverName:
          description: The Azure PostgreSQL server name
          type: string
        databaseName:
          description: The Azure PostgreSQL database name
          type: string
        userId:
          description: The Azure PostgreSQL user id
          type: string
        userPassword:
          description: The Azure PostgreSQL user password
          type: string
        portNumber:
          description: The Azure PostgreSQL port number
          type: string
        endpoint:
          description: The Azure PostgreSQL server host endpoint
          type: string
        subscriptionId:
          format: uuid
          description: Subscription Id
          type: string
        resourceGroup:
          description: Resource Group Name
          type: string
    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
    GlusterFs:
      type: object
      properties:
        serverAddress:
          description: 'The server address of one of the servers that hosts the GlusterFS. Can be either the IP address

            or server name.'
          type: string
        volumeName:
          description: The name of the created GlusterFS volume.
          type: string
    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.
    PaginatedDataStoreList:
      description: A paginated list of DataStores.
      type: object
      properties:
        value:
          description: An array of objects of type DataStore.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/DataStore'
        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
    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.
    DataStore:
      type: object
      properties:
        name:
          description: Name of the datastore
          type: string
        dataStoreType:
          description: The Azure storage service this datastore points to.
          enum:
          - AzureBlob
          - AzureFile
          - AzureDataLake
          - AzureSqlDatabase
          - AzurePostgreSql
          - DBFS
          - AzureDataLakeGen2
          - GlusterFs
          type: string
          x-ms-enum:
            name: DataStoreType
            modelAsString: false
        hasBeenValidated:
          description: A read only property that denotes whether the service datastore has been validated with credentials.
          type: boolean
        tags:
          description: Tags to datastore
          type: object
          additionalProperties:
            type: string
        azureStorageSection:
          $ref: '#/components/schemas/AzureStorage'
          description: Data specific to azure storage
        azureDataLakeSection:
          $ref: '#/components/schemas/AzureDataLake'
          description: Data Specific to azure data lake
        azureSqlDatabaseSection:
          $ref: '#/components/schemas/AzureSqlDatabase'
          description: Data specific to azure SQL database
        azurePostgreSqlSection:
          $ref: '#/components/schemas/AzurePostgreSql'
          description: Data specific to azure PostgreSQL
        glusterFsSection:
          $ref: '#/components/schemas/GlusterFs'
          description: Data specific to GlusterFS
    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
    AzureStorage:
      type: object
      properties:
        accountName:
          description: Storage Account Name
          type: string
        containerName:
          description: The storage container name
          type: string
        endpoint:
          description: The host of the container
          type: string
        protocol:
          description: The protocol to use. Defaults to https
          type: string
        credentialType:
          description: The credential type
          enum:
          - None
          - Sas
          - AccountKey
          - ClientCredentials
          type: string
          x-ms-enum:
            name: AzureStorageCredentialTypes
            modelAsString: false
        credential:
          description: The credential
          type: string
        clientCredentials:
          $ref: '#/components/schemas/ClientCredentials'
          description: Service principal credential when credential type is Microsoft.MachineLearning.DataStore.Contracts.AzureStorageCredentialTypes.ClientCredentials
        blobCacheTimeout:
          format: int32
          description: If this is an Microsoft.MachineLearning.DataStore.Contracts.DataStoreType.AzureBlob, the length of time (in seconds) to cache files locally after they are accessed (downloaded).
          type: integer
        isSas:
          description: Indicate if we are using SAS token or Account Key (Deprecated)
          type: boolean
        accountKey:
          description: Storage Account Key (Deprecated)
          type: string
        sasToken:
          description: SAS Token for the container (Deprecated)
          type: string
        areWorkspaceManagedIdentitiesAllowed:
          description: Indicate if we are using Workspace ManagedIdentities/MSI token
          type: boolean
        subscriptionId:
          format: uuid
          description: Subscription Id
          type: string
        resourceGroup:
          description: Resource Group Name
          type: string
    AzureSqlDatabase:
      type: object
      properties:
        serverName:
          description: The Azure SQL server name
          type: string
        databaseName:
          description: The Azure SQL database name
          type: string
        endpoint:
          description: The server host endpoint
          type: string
        clientId:
          format: uuid
          description: The Client ID/Application ID
          type: string
        tenantId:
          format: uuid
          description: The ID of the tenant the service principal/app belongs to
          type: string
        isCertAuth:
          description: Is it using certificate to authenticate. If false then use client secret
          type: boolean
        certificate:
          description: The content of the certificate used for authentication
          type: string
        thumbprint:
          description: The thumbprint of the certificate above
          type: string
        clientSecret:
          description: The client secret
          type: string
        authorityUrl:
          description: The authority URL used for authentication
          type: string
        resourceUri:
          description: The resource the service principal/app has access to
          type: string
        subscriptionId:
          format: uuid
          description: Subscription Id
          type: string
        resourceGroup:
          description: Resource Group Name
          type: string
  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/datastore.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)