Microsoft Azure Dataset API

The Dataset API from Microsoft Azure, for dataset.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName} Get a dataset in a data share · Microsoft Azure Get Dataset In A Share #
Ask an LLM
“How can I see the details of one dataset I'm sharing?”
“What kind of source does a shared dataset point to?”
Tell an agent
Get dataset {dataSetName} in share {shareName} of Data Share account {accountName} (group {resourceGroupName}, subscription {subscriptionId}).
Show shared dataset {dataSetName} from share {shareName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName} Add a dataset to an existing share · Microsoft Azure Adds A New Data Set To An Existing Share #
Ask an LLM
“How do I add a blob container or database to an Azure Data Share?”
“Which dataset kinds can I add to a share?”
Tell an agent
Add dataset {dataSetName} of kind {kind} in share {shareName} of Data Share account {accountName} (group {resourceGroupName}, subscription {subscriptionId}).
Create {kind} dataset {dataSetName} in share {shareName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName} Delete a dataset from a share · Microsoft Azure Delete Dataset In A Share #
Ask an LLM
“Can I stop sharing one dataset without deleting the whole share?”
“What removes a dataset from a Data Share share?”
Tell an agent destructive · confirm first
Delete dataset {dataSetName} in share {shareName} of Data Share account {accountName} (group {resourceGroupName}, subscription {subscriptionId}).
Stop sharing dataset {dataSetName} from share {shareName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets List datasets in a share · Microsoft Azure List Datasets In A Share #
Ask an LLM
“Which datasets are included in a share?”
“Can I filter or sort the datasets listed in a share?”
Tell an agent
List datasets in share {shareName} of Data Share account {accountName} (group {resourceGroupName}, subscription {subscriptionId}).
List datasets in share {shareName} filtered by {filter}.

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-dataset-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-dataset-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2018-11-01-preview
  title: Microsoft Azure DataShareManagementClient Data Set API
  description: Creates a Microsoft.DataShare management client.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Dataset
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName}
  : get:
      tags:
      - Dataset
      summary: Microsoft Azure Get Dataset In A Share
      description: Get a DataSet in a share
      operationId: microsoftAzureDatasetsGet
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/accountName'
      - name: shareName
        in: path
        description: The name of the share.
        required: true
        schema:
          type: string
      - name: dataSetName
        in: path
        description: The name of the dataSet.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataSet'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-examples:
        DataSets_Get:
          $ref: ./examples/DataSets_Get.json
    put:
      tags:
      - Dataset
      summary: Microsoft Azure Adds A New Data Set To An Existing Share
      description: Create a DataSet
      operationId: microsoftAzureDatasetsCreate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/accountName'
      - name: shareName
        in: path
        description: The name of the share to add the data set to.
        required: true
        schema:
          type: string
      - name: dataSetName
        in: path
        description: The name of the dataSet.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataSet'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataSet'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-examples:
        DataSets_Create:
          $ref: ./examples/DataSets_Create.json
        DataSets_KustoCluster_Create:
          $ref: ./examples/DataSets_KustoCluster_Create.json
        DataSets_KustoDatabase_Create:
          $ref: ./examples/DataSets_KustoDatabase_Create.json
        DataSets_SqlDWTable_Create:
          $ref: ./examples/DataSets_SqlDWTable_Create.json
        DataSets_SqlDBTable_Create:
          $ref: ./examples/DataSets_SqlDBTable_Create.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataSet'
        description: The new data set information.
        required: true
    delete:
      tags:
      - Dataset
      summary: Microsoft Azure Delete Dataset In A Share
      description: Delete a DataSet in a share
      operationId: microsoftAzureDatasetsDelete
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/accountName'
      - name: shareName
        in: path
        description: The name of the share.
        required: true
        schema:
          type: string
      - name: dataSetName
        in: path
        description: The name of the dataSet.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
        '202':
          description: Accepted
        '204':
          description: Success
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-long-running-operation: true
      x-ms-examples:
        DataSets_Delete:
          $ref: ./examples/DataSets_Delete.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets
  : get:
      tags:
      - Dataset
      summary: Microsoft Azure List Datasets In A Share
      description: List DataSets in a share
      operationId: microsoftAzureDatasetsListbyshare
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/accountName'
      - name: shareName
        in: path
        description: The name of the share.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      - name: $skipToken
        in: query
        description: continuation token
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: Filters the results using OData syntax.
        required: false
        schema:
          type: string
      - name: $orderby
        in: query
        description: Sorts the results using OData syntax.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataSetList'
        default:
          description: An error response received from the Microsoft.DataShare resource provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataShareError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        DataSets_ListByShare:
          $ref: ./examples/DataSets_ListByShare.json
components:
  parameters:
    subscriptionId:
      name: subscriptionId
      in: path
      description: The subscription identifier
      required: true
      schema:
        type: string
    api-version:
      name: api-version
      in: query
      description: The api version to use.
      required: true
      schema:
        type: string
    accountName:
      name: accountName
      in: path
      description: The name of the share account.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    resourceGroupName:
      name: resourceGroupName
      in: path
      description: The resource group name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  schemas:
    DataSetList:
      description: List response for get DataSets
      required:
      - value
      type: object
      properties:
        nextLink:
          description: The Url of next result page.
          type: string
        value:
          description: Collection of items of type DataTransferObjects.
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/DataSet'
    DataSet:
      description: A DataSet data transfer object.
      required:
      - kind
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyDto'
      properties:
        kind:
          description: Kind of data set.
          enum:
          - Blob
          - Container
          - BlobFolder
          - AdlsGen2FileSystem
          - AdlsGen2Folder
          - AdlsGen2File
          - AdlsGen1Folder
          - AdlsGen1File
          - KustoCluster
          - KustoDatabase
          - SqlDBTable
          - SqlDWTable
          type: string
          x-ms-enum:
            name: dataSetKind
            modelAsString: true
      discriminator:
        propertyName: kind
    ProxyDto:
      description: Base data transfer object implementation for proxy resources.
      type: object
      properties:
        id:
          description: The resource id of the azure resource
          type: string
          readOnly: true
        name:
          description: Name of the azure resource
          type: string
          readOnly: true
        type:
          description: Type of the azure resource
          type: string
          readOnly: true
      x-ms-azure-resource: true
    DataShareErrorInfo:
      description: The data share error body model.
      required:
      - code
      - message
      type: object
      properties:
        code:
          description: Code of the error
          type: string
        details:
          description: Nested details of the error model
          uniqueItems: false
          type: array
          items:
            $ref: '#/components/schemas/DataShareErrorInfo'
        message:
          description: Message of the error
          type: string
        target:
          description: Target of the error
          type: string
    DataShareError:
      description: The data share error model.
      required:
      - error
      type: object
      properties:
        error:
          $ref: '#/components/schemas/DataShareErrorInfo'
          description: The data share error body
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.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)