Microsoft Azure Filters API

The Filters API from Microsoft Azure, for filters.

GitHub OpenAPI

Operations 2

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 /datasources/{dataSourceName}/scans/{scanName}/filters/custom Get the custom filter for a scan · Microsoft Azure Get Datasources Datasourcename Scans Scanname Filters Custom #
Ask an LLM
“What include and exclude filter is set on my Purview scan?”
“Can I read the custom filter configured on a data source scan?”
Tell an agent
Get the custom filter on scan {scanName} of data source {dataSourceName}.
Show the scan filter for {scanName} on {dataSourceName}.
PUT /datasources/{dataSourceName}/scans/{scanName}/filters/custom Create or update the custom filter for a scan · Microsoft Azure Put Datasources Datasourcename Scans Scanname Filters Custom #
Ask an LLM
“Can I limit which paths a Purview scan covers with a custom filter?”
“What does it take to change the filter on an existing data source scan?”
Tell an agent
Set the custom filter on scan {scanName} of data source {dataSourceName}.
Create or update the scan filter for {scanName} on {dataSourceName}.

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-filters-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-filters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure MicrosoftScanningClient Filters API
  description: Creates a Microsoft.Scanning management client.
  version: 2022-07-01-preview
servers:
- url: https://purview.azure.com/scan
security:
- azure_auth:
  - user_impersonation
tags:
- name: Filters
paths:
  /datasources/{dataSourceName}/scans/{scanName}/filters/custom:
    get:
      tags:
      - Filters
      description: Get a filter
      operationId: microsoftAzureFiltersGet
      parameters:
      - in: path
        name: dataSourceName
        required: true
        schema:
          type: string
      - in: path
        name: scanName
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Filter'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        Filters_Get:
          $ref: ./examples/Filters_Get.json
      summary: Microsoft Azure Get Datasources Datasourcename Scans Scanname Filters Custom
    put:
      tags:
      - Filters
      description: Creates or updates a filter
      operationId: microsoftAzureFiltersCreateorupdate
      parameters:
      - in: path
        name: dataSourceName
        required: true
        schema:
          type: string
      - in: path
        name: scanName
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Filter'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Filter'
        default:
          description: An error response received from the Scanning Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        Filters_CreateOrUpdate:
          $ref: ./examples/Filters_CreateOrUpdate.json
      summary: Microsoft Azure Put Datasources Datasourcename Scans Scanname Filters Custom
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Filter'
components:
  schemas:
    Filter:
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        properties:
          allOf:
          - $ref: '#/components/schemas/FilterProperties'
    ErrorModel:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorModel'
    ErrorResponseModel:
      type: object
      properties:
        error:
          allOf:
          - $ref: '#/components/schemas/ErrorModel'
    FilterProperties:
      required:
      - excludeUriPrefixes
      - includeUriPrefixes
      type: object
      properties:
        excludeUriPrefixes:
          uniqueItems: true
          type: array
          items:
            type: string
        includeUriPrefixes:
          uniqueItems: true
          type: array
          items:
            type: string
        excludeRegexes:
          uniqueItems: true
          type: array
          items:
            type: string
        includeRegexes:
          uniqueItems: true
          type: array
          items:
            type: string
    ProxyResource:
      type: object
      properties:
        id:
          type: string
          readOnly: true
        name:
          type: string
          readOnly: true
  parameters:
    api-version:
      in: query
      name: api-version
      description: The api version to use.
      required: true
      x-ms-client-name: ApiVersion
      schema:
        type: string
  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'