Microsoft Purview Integration Runtimes API

The IntegrationRuntimes API from Microsoft Purview — 7 operation(s) for integrationruntimes.

GitHub OpenAPI

Operations 9

GET /integrationruntimes Integration runtimes list by account #
GET /integrationruntimes/{integrationRuntimeName} Integration runtimes get #
DELETE /integrationruntimes/{integrationRuntimeName} Integration runtimes delete #
PUT /integrationruntimes/{integrationRuntimeName} Integration runtimes create or replace #
GET /integrationruntimes/{integrationRuntimeName}/status Integration runtimes status #
POST /integrationruntimes/{integrationRuntimeName}:listAuthKeys Integration runtimes list auth keys #
POST /integrationruntimes/{integrationRuntimeName}:regenerateAuthKey Integration runtimes regenerate auth key #
POST /integrationruntimes/{integrationRuntimeName}:disableInteractiveQuery Integration runtimes disable interactive query #
POST /integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery Integration runtimes enable interactive query #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/
📖
Authentication
https://learn.microsoft.com/en-us/purview/tutorial-using-rest-apis
📖
GettingStarted
https://learn.microsoft.com/en-us/purview/data-gov-api-create-assets
📖
Authentication
https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow
📖
GettingStarted
https://learn.microsoft.com/en-us/purview/legacy/how-to-purview-custom-lineage-api-user-guide
📖
GettingStarted
https://learn.microsoft.com/en-us/purview/legacy/tutorial-metadata-policy-collections-apis
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/unified-catalog-api-overview
📖
Authentication
https://learn.microsoft.com/en-us/purview/data-gov-api-rest-data-plane
📖
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/unified-catalog-data-quality
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-ediscovery-apioverview?view=graph-rest-1.0
📖
Authentication
https://learn.microsoft.com/en-us/graph/security-ediscovery-appauthsetup
📖
GettingStarted
https://learn.microsoft.com/en-us/purview/edisc-ref-api-guide
📖
Documentation
https://learn.microsoft.com/en-us/graph/security-information-protection-overview
📖
Documentation
https://learn.microsoft.com/en-us/graph/security-datasecurityandgovernance-overview
📖
GettingStarted
https://learn.microsoft.com/en-us/purview/developer/use-the-api
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-recordsmanagement-overview?view=graph-rest-1.0

Specifications

Schemas & Data

Other Resources

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-purview:microsoft-purview-integrationruntimes-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-purview-integrationruntimes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MicrosoftScanningClient Integration Runtimes API
  description: Creates a Microsoft.Scanning management client.
  version: '2023-09-01'
servers:
- url: https://purview.azure.com/scan
security:
- azure_auth:
  - user_impersonation
tags:
- name: IntegrationRuntimes
paths:
  /integrationruntimes:
    get:
      tags:
      - IntegrationRuntimes
      description: Lists integration runtimes in an account.
      operationId: IntegrationRuntimes_ListByAccount
      parameters:
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntimeList'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Integration runtimes list by account
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}:
    get:
      tags:
      - IntegrationRuntimes
      description: Gets an integration runtime.
      operationId: IntegrationRuntimes_Get
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntime'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      summary: Integration runtimes get
      x-summary-source: derived
    delete:
      tags:
      - IntegrationRuntimes
      description: Deletes an integration runtime.
      operationId: IntegrationRuntimes_Delete
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '204':
          description: Success.
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      summary: Integration runtimes delete
      x-summary-source: derived
    put:
      tags:
      - IntegrationRuntimes
      description: Creates or replaces an instance of integration runtime.
      operationId: IntegrationRuntimes_CreateOrReplace
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntime'
        '201':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntime'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationRuntime'
        description: The integration runtime definition.
        required: true
      summary: Integration runtimes create or replace
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}/status:
    get:
      tags:
      - IntegrationRuntimes
      description: Gets detailed status information for an integration runtime.
      operationId: IntegrationRuntimes_Status
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntimeStatus'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      summary: Integration runtimes status
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}:listAuthKeys:
    post:
      tags:
      - IntegrationRuntimes
      description: Retrieves the authentication keys for an integration runtime.
      operationId: IntegrationRuntimes_ListAuthKeys
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntimeAuthKeys'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      summary: Integration runtimes list auth keys
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}:regenerateAuthKey:
    post:
      tags:
      - IntegrationRuntimes
      description: Regenerates the authentication key for an integration runtime.
      operationId: IntegrationRuntimes_RegenerateAuthKey
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationRuntimeAuthKeys'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationRuntimeRegenerateKeyParameters'
        description: The request of regenerating authentication key of an integration runtime.
        required: true
      summary: Integration runtimes regenerate auth key
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}:disableInteractiveQuery:
    post:
      tags:
      - IntegrationRuntimes
      description: Disables interactive querying.
      operationId: IntegrationRuntimes_DisableInteractiveQuery
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '202':
          description: Success.
          headers:
            Operation-Location:
              description: Response header for long running operation.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResponse'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-long-running-operation: true
      summary: Integration runtimes disable interactive query
      x-summary-source: derived
  /integrationruntimes/{integrationRuntimeName}:enableInteractiveQuery:
    post:
      tags:
      - IntegrationRuntimes
      description: Enables interactive querying.
      operationId: IntegrationRuntimes_EnableInteractiveQuery
      parameters:
      - $ref: '#/components/parameters/integrationRuntimeName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '202':
          description: Success.
          headers:
            Operation-Location:
              description: Response header for long running operation.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResponse'
        default:
          description: An error response received from the Scanning Service.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnableInteractiveQueryForIntegrationRuntimeRequest'
        description: The request of enabling interactive query for integration runtime.
        required: true
      summary: Integration runtimes enable interactive query
      x-summary-source: derived
components:
  schemas:
    IntegrationRuntimeStatus:
      description: Integration runtime status.
      required:
      - kind
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        kind:
          $ref: '#/components/schemas/IntegrationRuntimeType'
      discriminator:
        propertyName: kind
    OperationResponse:
      description: The operation response.
      type: object
      properties:
        scanResultId:
          format: uuid
          type: string
          description: The scan result identifier.
        startTime:
          format: date-time
          type: string
          description: The start time of the operation.
        endTime:
          format: date-time
          type: string
          description: The end time of the operation.
        status:
          enum:
          - Accepted
          - InProgress
          - TransientFailure
          - Succeeded
          - Failed
          - Canceled
          type: string
          description: Scan operation status.
          x-ms-enum:
            name: OperationStatus
            values:
            - value: Accepted
              description: the scan is accepted
            - value: InProgress
              description: the scan is InProgress
            - value: TransientFailure
              description: the scan is in transient failure
            - value: Succeeded
              description: the scan is succeeded
            - value: Failed
              description: the scan is failed
            - value: Canceled
              description: the scan is canceled
            modelAsString: true
        error:
          $ref: '#/components/schemas/ErrorInfo'
    IntegrationRuntimeList:
      description: List of integration runtime resources.
      required:
      - value
      type: object
      properties:
        value:
          description: List of integration runtimes.
          type: array
          items:
            $ref: '#/components/schemas/IntegrationRuntime'
        nextLink:
          description: The link to the next page of results, if any remaining results exist.
          type: string
        count:
          description: The number of integration runtimes.
          format: int64
          type: integer
    ErrorInfo:
      description: The error info.
      type: object
      properties:
        code:
          type: string
          description: A unique error code that identifies the specific error.
        message:
          type: string
          description: A human-readable error message that provides more details about the error.
        target:
          type: string
          description: The specific component that the error is associated with.
        details:
          type: array
          description: Error info detail.
          items:
            $ref: '#/components/schemas/ErrorInfo'
    IntegrationRuntimeAuthKeys:
      description: The integration runtime authentication keys.
      type: object
      properties:
        authKey1:
          type: string
          description: The primary integration runtime authentication key.
        authKey2:
          type: string
          description: The secondary integration runtime authentication key.
    ProxyResource:
      description: The proxy resource.
      type: object
      properties:
        id:
          description: The resource identifier.
          type: string
          readOnly: true
        name:
          description: The resource name.
          type: string
          readOnly: true
    ErrorResponseModel:
      description: The error response model.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorModel'
      required:
      - error
    IntegrationRuntimeRegenerateKeyParameters:
      description: Parameters to regenerate the authentication key.
      type: object
      properties:
        keyName:
          description: The name of the authentication key to regenerate.
          type: string
          enum:
          - authKey1
          - authKey2
          x-ms-enum:
            name: IntegrationRuntimeAuthKeyName
            modelAsString: true
    ErrorModel:
      description: The error model.
      type: object
      properties:
        code:
          description: A unique error code that identifies the specific error.
          type: string
        message:
          description: A human-readable error message that provides more details about the error.
          type: string
        target:
          description: The specific component that the error is associated with.
          type: string
        details:
          description: An array of nested ErrorModel objects that provides additional error details.
          type: array
          items:
            $ref: '#/components/schemas/ErrorModel'
      required:
      - code
      - message
    IntegrationRuntimeType:
      description: The type of integration runtime.
      type: string
      enum:
      - Managed
      - SelfHosted
      x-ms-enum:
        name: IntegrationRuntimeType
        modelAsString: true
    IntegrationRuntime:
      description: Purview nested object which serves as a compute resource for activities.
      required:
      - kind
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        kind:
          $ref: '#/components/schemas/IntegrationRuntimeType'
      discriminator:
        propertyName: kind
    EnableInteractiveQueryForIntegrationRuntimeRequest:
      description: The request of enabling interactive query for integration runtime.
      type: object
      properties:
        autoTerminationMinutes:
          description: The interactive querying auto termination time in minutes.
          format: int32
          type: integer
  parameters:
    api-version:
      in: query
      name: api-version
      description: The api version to use.
      required: true
      x-ms-client-name: ApiVersion
      x-ms-parameter-location: client
      schema:
        type: string
    integrationRuntimeName:
      in: path
      name: integrationRuntimeName
      description: The integration runtime name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 63
        minLength: 3
        pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$
  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-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/endpoint'