Microsoft Purview · Capability

Microsoft Purview Data Map API — Discovery

Microsoft Purview Data Map API — Discovery. 3 operations. Lead operation: Microsoft Purview Get auto complete options. Self-contained Naftiko capability covering one Microsoft Purview business surface.

Run with Naftiko Microsoft PurviewDiscovery

What You Can Do

POST
Discoveryautocomplete — Microsoft Purview Get auto complete options
/v1/api/search/autocomplete
POST
Discoveryquery — Microsoft Purview Search data assets
/v1/api/search/query
POST
Discoverysuggest — Microsoft Purview Get search suggestions
/v1/api/search/suggest

MCP Tools

microsoft-purview-get-auto-complete

Microsoft Purview Get auto complete options

read-only
microsoft-purview-search-data-assets

Microsoft Purview Search data assets

read-only
microsoft-purview-get-search-suggestions

Microsoft Purview Get search suggestions

read-only

Capability Spec

data-map-discovery.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Purview Data Map API — Discovery
  description: 'Microsoft Purview Data Map API — Discovery. 3 operations. Lead operation: Microsoft Purview Get auto complete
    options. Self-contained Naftiko capability covering one Microsoft Purview business surface.'
  tags:
  - Microsoft Purview
  - Discovery
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_PURVIEW_API_KEY: MICROSOFT_PURVIEW_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-map-discovery
    baseUri: https://{accountName}.purview.azure.com/datamap
    description: Microsoft Purview Data Map API — Discovery business capability. Self-contained, no shared references.
    resources:
    - name: api-search-autocomplete
      path: /api/search/autocomplete
      operations:
      - name: discoveryautocomplete
        method: POST
        description: Microsoft Purview Get auto complete options
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-search-query
      path: /api/search/query
      operations:
      - name: discoveryquery
        method: POST
        description: Microsoft Purview Search data assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-search-suggest
      path: /api/search/suggest
      operations:
      - name: discoverysuggest
        method: POST
        description: Microsoft Purview Get search suggestions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_PURVIEW_API_KEY}}'
  exposes:
  - type: rest
    namespace: data-map-discovery-rest
    port: 8080
    description: REST adapter for Microsoft Purview Data Map API — Discovery. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/search/autocomplete
      name: api-search-autocomplete
      description: REST surface for api-search-autocomplete.
      operations:
      - method: POST
        name: discoveryautocomplete
        description: Microsoft Purview Get auto complete options
        call: data-map-discovery.discoveryautocomplete
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/search/query
      name: api-search-query
      description: REST surface for api-search-query.
      operations:
      - method: POST
        name: discoveryquery
        description: Microsoft Purview Search data assets
        call: data-map-discovery.discoveryquery
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/search/suggest
      name: api-search-suggest
      description: REST surface for api-search-suggest.
      operations:
      - method: POST
        name: discoverysuggest
        description: Microsoft Purview Get search suggestions
        call: data-map-discovery.discoverysuggest
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-map-discovery-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Purview Data Map API — Discovery. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-purview-get-auto-complete
      description: Microsoft Purview Get auto complete options
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: data-map-discovery.discoveryautocomplete
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-search-data-assets
      description: Microsoft Purview Search data assets
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: data-map-discovery.discoveryquery
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-get-search-suggestions
      description: Microsoft Purview Get search suggestions
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: data-map-discovery.discoverysuggest
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.