Microsoft Azure Saved Filters API

Provides access to saved filter resources.

GitHub OpenAPI

Operations 8

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}/workspaces/{workspaceName}/savedFilters List saved filters in a workspace · Microsoft Azure Retrieve A List Of Saved Filters For The Provided Search… #
Ask an LLM
“Which saved filters exist in one of my workspaces?”
“Can I page through a workspace's saved filters with skip and page size?”
Tell an agent
List the saved filters in workspace {workspaceName}.
Show saved filters in workspace {workspaceName} matching {filter}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{savedFilterName} Remove a saved filter from a workspace · Microsoft Azure Remove A Saved Filter With A Given Savedfiltername #
Ask an LLM
“How do I delete a saved filter nobody uses from my workspace?”
“Can I remove a workspace saved filter by name?”
Tell an agent destructive · confirm first
Remove saved filter {savedFilterName} from workspace {workspaceName}.
Delete workspace filter {savedFilterName} in {workspaceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{savedFilterName} Get a saved filter in a workspace · Microsoft Azure Retrieve A Saved Filter By Savedfiltername #
Ask an LLM
“What criteria does a particular saved filter in my workspace use?”
“Can I open one workspace saved filter by its name?”
Tell an agent
Show saved filter {savedFilterName} in workspace {workspaceName}.
Get the definition of workspace filter {savedFilterName} from {workspaceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{savedFilterName} Save a filter in a workspace · Microsoft Azure Create A Saved Filter With A Given Savedfiltername #
Ask an LLM
“How do I save a filter to a workspace so my team can reuse it?”
“Can I add a description when saving a workspace filter?”
Tell an agent
Save filter {filter} as {savedFilterName} in workspace {workspaceName}.
Create workspace saved filter {savedFilterName} in {workspaceName} described as {description}.
GET /savedFilters List saved filters outside a workspace · Microsoft Azure Get Savedfilters #
Ask an LLM
“What saved filters are available at the top level, not tied to a workspace?”
“Can I search the standalone saved filters list with a filter expression?”
Tell an agent
List my standalone saved filters that aren't in a workspace.
Show top-level saved filters matching {filter}, {maxpagesize} per page.
GET /savedFilters/{filterName} Get a top-level saved filter by name · Microsoft Azure Get Savedfilters Filtername #
Ask an LLM
“What does a standalone saved filter contain, looked up by its filter name?”
“Can I fetch a non-workspace saved filter directly?”
Tell an agent
Show top-level saved filter {filterName}.
Get the standalone saved filter named {filterName}.
PUT /savedFilters/{filterName} Create or replace a top-level saved filter · Microsoft Azure Put Savedfilters Filtername #
Ask an LLM
“How do I overwrite a standalone saved filter with new criteria?”
“Does creating a top-level saved filter require both a filter and a description?”
Tell an agent
Create top-level saved filter {filterName} with filter {filter} and description {description}.
Replace standalone saved filter {filterName} so it uses {filter}, described as {description}.
DELETE /savedFilters/{filterName} Delete a top-level saved filter · Microsoft Azure Delete Savedfilters Filtername #
Ask an LLM
“How do I delete a standalone saved filter that isn't in a workspace?”
“Can a top-level saved filter be removed by its filter name?”
Tell an agent destructive · confirm first
Delete top-level saved filter {filterName}.
Remove the standalone saved filter named {filterName}.

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-saved-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-saved-filters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: EASM discovers and maps your digital attack surface to provide an "outside-in" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.
  title: Microsoft Azure Azure EASM Saved Filters API
  version: 2022-04-01-preview
servers:
- url: /
security:
- azure_auth:
  - user_impersonation
tags:
- description: Provides access to saved filter resources.
  name: Saved Filters
paths:
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters:
    get:
      parameters:
      - $ref: '#/components/parameters/FilterParameter'
      - $ref: '#/components/parameters/SkipParameter'
      - $ref: '#/components/parameters/MaxPageSizeParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedFilterPageResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Saved Filters
      operationId: microsoftAzureSavedfiltersList
      summary: Microsoft Azure Retrieve A List Of Saved Filters For The Provided Search…
      x-ms-examples:
        SavedFilters:
          $ref: ./examples/SavedFilters_List.json
      x-ms-pageable:
        itemName: content
        nextLinkName: nextLink
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}/savedFilters/{savedFilterName}
  : delete:
      parameters:
      - $ref: '#/components/parameters/SavedFilterNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Saved Filters
      operationId: microsoftAzureSavedfiltersRemove
      summary: Microsoft Azure Remove A Saved Filter With A Given Savedfiltername
      x-ms-examples:
        SavedFilters:
          $ref: ./examples/SavedFilters_Remove.json
      description: Needs a more full description created.
    get:
      parameters:
      - $ref: '#/components/parameters/SavedFilterNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedFilterResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Saved Filters
      operationId: microsoftAzureSavedfiltersGet
      summary: Microsoft Azure Retrieve A Saved Filter By Savedfiltername
      x-ms-examples:
        SavedFilters:
          $ref: ./examples/SavedFilters_Get.json
      description: Needs a more full description created.
    put:
      parameters:
      - $ref: '#/components/parameters/SavedFilterNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/WorkspaceNameParameter'
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedFilterResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Saved Filters
      operationId: microsoftAzureSavedfiltersPut
      summary: Microsoft Azure Create A Saved Filter With A Given Savedfiltername
      x-ms-examples:
        SavedFilters:
          $ref: ./examples/SavedFilters_Put.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedFilterRequest'
        required: true
  /savedFilters:
    get:
      operationId: microsoftAzureSavedfiltersListsavedfilter
      tags:
      - Saved Filters
      description: Retrieve a list of saved filters for the provided search parameters.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - $ref: '#/components/parameters/Azure.Core.FilterQueryParameter'
      - $ref: '#/components/parameters/Azure.Core.SkipQueryParameter'
      - $ref: '#/components/parameters/Azure.Core.MaxPageSizeQueryParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedSavedFilter'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        SavedFilters_ListSavedFilter:
          $ref: ./examples/SavedFilters_ListSavedFilter_MaximumSet_Gen.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Savedfilters
  /savedFilters/{filterName}:
    get:
      operationId: microsoftAzureSavedfiltersGetsavedfilter
      tags:
      - Saved Filters
      description: Retrieve a saved filter by filterName.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: filterName
        in: path
        description: The caller provided unique name for the resource.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedFilter'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        SavedFilters_GetSavedFilter:
          $ref: ./examples/SavedFilters_GetSavedFilter_MaximumSet_Gen.json
      summary: Microsoft Azure Get Savedfilters Filtername
    put:
      operationId: microsoftAzureSavedfiltersCreateorreplacesavedfilter
      tags:
      - Saved Filters
      description: Create or replace a saved filter with a given filterName.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: filterName
        in: path
        description: The caller provided unique name for the resource.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SavedFilter'
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        SavedFilters_CreateOrReplaceSavedFilter:
          $ref: ./examples/SavedFilters_CreateOrReplaceSavedFilter_MaximumSet_Gen.json
      summary: Microsoft Azure Put Savedfilters Filtername
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedFilterData'
        required: true
    delete:
      operationId: microsoftAzureSavedfiltersDeletesavedfilter
      tags:
      - Saved Filters
      description: Delete a saved filter with a given filterName.
      parameters:
      - $ref: '#/components/parameters/Azure.Core.Foundations.ApiVersionParameter'
      - name: filterName
        in: path
        description: The caller provided unique name for the resource.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: 'There is no content to send for this request, but the headers may be useful. '
        default:
          description: An unexpected error response.
          headers:
            x-ms-error-code:
              description: String error code indicating what went wrong.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Azure.Core.Foundations.ErrorResponse'
      x-ms-examples:
        SavedFilters_DeleteSavedFilter:
          $ref: ./examples/SavedFilters_DeleteSavedFilter_MaximumSet_Gen.json
      summary: Microsoft Azure Delete Savedfilters Filtername
components:
  schemas:
    InnerError:
      description: This is an object containing more specific information than the current object about the error.
      properties:
        code:
          description: This is a more specific error code than was provided by the containing error..
          type: string
      type: object
    ErrorDetail:
      description: This is the top-level error object whose code matches the x-ms-error-code response header
      properties:
        code:
          description: This is one of a server-defined set of error codes.
          type: string
        details:
          description: This is an array of details about specific errors that led to this reported error.
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        innererror:
          $ref: '#/components/schemas/InnerError'
        message:
          description: This is a human-readable representation of the error.
          type: string
        target:
          description: This is the error target.
          type: string
      required:
      - code
      - message
      type: object
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
      - error
      type: object
    SavedFilterResponse:
      properties:
        description:
          type: string
        displayName:
          type: string
        filter:
          type: string
        id:
          type: string
        name:
          type: string
      type: object
    SavedFilterPageResponse:
      properties:
        content:
          items:
            $ref: '#/components/schemas/SavedFilterResponse'
          type: array
        first:
          type: boolean
        last:
          type: boolean
        nextLink:
          type: string
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        size:
          format: int32
          type: integer
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    SavedFilterRequest:
      properties:
        description:
          type: string
        filter:
          type: string
        id:
          type: string
      type: object
    PagedSavedFilter:
      type: object
      description: Paged collection of SavedFilter items
      properties:
        value:
          type: array
          description: The SavedFilter items on this page
          items:
            $ref: '#/components/schemas/SavedFilter'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
        totalElements:
          type: integer
          format: int64
          description: The total number of items available in the full result set.
      required:
      - value
    Azure.Core.Foundations.Error:
      type: object
      description: The error object.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        message:
          type: string
          description: A human-readable representation of the error.
        target:
          type: string
          description: The target of the error.
        details:
          type: array
          description: An array of details about specific errors that led to this reported error.
          items:
            $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          x-ms-identifiers: []
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: An object containing more specific information than the current object about the error.
      required:
      - code
      - message
    Azure.Core.Foundations.InnerError:
      type: object
      description: An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
      properties:
        code:
          type: string
          description: One of a server-defined set of error codes.
        innererror:
          $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
          description: Inner error.
    SavedFilterData:
      type: object
      description: A request body used to create a saved filter.
      properties:
        filter:
          type: string
          description: An expression on the resource type that selects the resources to be returned.
        description:
          type: string
          description: A human readable description of the saved filter.
      required:
      - filter
      - description
    Azure.Core.Foundations.ErrorResponse:
      type: object
      description: A response containing error details.
      properties:
        error:
          $ref: '#/components/schemas/Azure.Core.Foundations.Error'
          description: The error object.
      required:
      - error
    SavedFilter:
      type: object
      properties:
        id:
          type: string
          description: The system generated unique id for the resource.
        name:
          type: string
          description: The caller provided unique name for the resource.
          readOnly: true
        displayName:
          type: string
          description: The name that can be used for display purposes.
        filter:
          type: string
        description:
          type: string
      required:
      - name
  parameters:
    MaxPageSizeParameter:
      description: An offset into the collection of the first resource to be returned.
      in: query
      name: maxpagesize
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        default: 20
    WorkspaceNameParameter:
      description: The name of the Workspace.
      in: path
      name: workspaceName
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    SkipParameter:
      description: An offset into the collection of the first resource to be returned.
      in: query
      name: skip
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        default: 0
    SavedFilterNameParameter:
      in: path
      name: savedFilterName
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    FilterParameter:
      description: An expression on the resource type that selects the resources to be returned.
      in: query
      name: filter
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    Azure.Core.MaxPageSizeQueryParameter:
      name: maxpagesize
      in: query
      description: The maximum number of result items per page.
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
    Azure.Core.FilterQueryParameter:
      name: filter
      in: query
      description: Filter the result list using the given expression.
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    Azure.Core.SkipQueryParameter:
      name: skip
      in: query
      description: The number of result items to skip.
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
        default: 0
    Azure.Core.Foundations.ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      x-ms-parameter-location: method
      x-ms-client-name: apiVersion
      schema:
        type: string
        minLength: 1
  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
    OAuth2Auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            https://easm.defender.microsoft.com/.default: ''
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
x-ms-parameterized-host:
  hostTemplate: '{region}.easm.microsoft.com'
  parameters:
  - $ref: '#/components/parameters/RegionParameter'