Microsoft Purview · Capability

Microsoft Purview Data Map API — Type

Microsoft Purview Data Map API — Type. 8 operations. Lead operation: Microsoft Purview Get type definition by GUID. Self-contained Naftiko capability covering one Microsoft Purview business surface.

Run with Naftiko Microsoft PurviewType

What You Can Do

GET
Typegetbyguid — Microsoft Purview Get type definition by GUID
/v1/api/atlas/v2/types/typedef/guid/{guid}
GET
Typegetbyname — Microsoft Purview Get type definition by name
/v1/api/atlas/v2/types/typedef/name/{name}
DELETE
Typedeletebyname — Microsoft Purview Delete type definition by name
/v1/api/atlas/v2/types/typedef/name/{name}
GET
Typelist — Microsoft Purview List all type definitions
/v1/api/atlas/v2/types/typedefs
POST
Typebulkcreate — Microsoft Purview Create type definitions in bulk
/v1/api/atlas/v2/types/typedefs
PUT
Typebulkupdate — Microsoft Purview Update type definitions in bulk
/v1/api/atlas/v2/types/typedefs
DELETE
Typebulkdelete — Microsoft Purview Delete type definitions in bulk
/v1/api/atlas/v2/types/typedefs
GET
Typelistheaders — Microsoft Purview List type definition headers
/v1/api/atlas/v2/types/typedefs/headers

MCP Tools

microsoft-purview-get-type-definition

Microsoft Purview Get type definition by GUID

read-only idempotent
microsoft-purview-get-type-definition-2

Microsoft Purview Get type definition by name

read-only idempotent
microsoft-purview-delete-type-definition

Microsoft Purview Delete type definition by name

idempotent
microsoft-purview-list-all-type

Microsoft Purview List all type definitions

read-only idempotent
microsoft-purview-create-type-definitions

Microsoft Purview Create type definitions in bulk

microsoft-purview-update-type-definitions

Microsoft Purview Update type definitions in bulk

idempotent
microsoft-purview-delete-type-definitions

Microsoft Purview Delete type definitions in bulk

idempotent
microsoft-purview-list-type-definition

Microsoft Purview List type definition headers

read-only idempotent

Capability Spec

data-map-type.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Purview Data Map API — Type
  description: 'Microsoft Purview Data Map API — Type. 8 operations. Lead operation: Microsoft Purview Get type definition
    by GUID. Self-contained Naftiko capability covering one Microsoft Purview business surface.'
  tags:
  - Microsoft Purview
  - Type
  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-type
    baseUri: https://{accountName}.purview.azure.com/datamap
    description: Microsoft Purview Data Map API — Type business capability. Self-contained, no shared references.
    resources:
    - name: api-atlas-v2-types-typedef-guid-guid
      path: /api/atlas/v2/types/typedef/guid/{guid}
      operations:
      - name: typegetbyguid
        method: GET
        description: Microsoft Purview Get type definition by GUID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: guid
          in: path
          type: string
          required: true
        - name: api-version
          in: query
          type: string
          required: true
    - name: api-atlas-v2-types-typedef-name-name
      path: /api/atlas/v2/types/typedef/name/{name}
      operations:
      - name: typegetbyname
        method: GET
        description: Microsoft Purview Get type definition by name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: api-version
          in: query
          type: string
          required: true
      - name: typedeletebyname
        method: DELETE
        description: Microsoft Purview Delete type definition by name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          required: true
        - name: api-version
          in: query
          type: string
          required: true
    - name: api-atlas-v2-types-typedefs
      path: /api/atlas/v2/types/typedefs
      operations:
      - name: typelist
        method: GET
        description: Microsoft Purview List all type definitions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: includeTermTemplate
          in: query
          type: boolean
        - name: type
          in: query
          type: string
      - name: typebulkcreate
        method: POST
        description: Microsoft Purview Create type definitions in bulk
        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: typebulkupdate
        method: PUT
        description: Microsoft Purview Update type definitions in bulk
        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: typebulkdelete
        method: DELETE
        description: Microsoft Purview Delete type definitions in bulk
        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-atlas-v2-types-typedefs-headers
      path: /api/atlas/v2/types/typedefs/headers
      operations:
      - name: typelistheaders
        method: GET
        description: Microsoft Purview List type definition headers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: includeTermTemplate
          in: query
          type: boolean
        - name: type
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_PURVIEW_API_KEY}}'
  exposes:
  - type: rest
    namespace: data-map-type-rest
    port: 8080
    description: REST adapter for Microsoft Purview Data Map API — Type. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/atlas/v2/types/typedef/guid/{guid}
      name: api-atlas-v2-types-typedef-guid-guid
      description: REST surface for api-atlas-v2-types-typedef-guid-guid.
      operations:
      - method: GET
        name: typegetbyguid
        description: Microsoft Purview Get type definition by GUID
        call: data-map-type.typegetbyguid
        with:
          guid: rest.guid
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/types/typedef/name/{name}
      name: api-atlas-v2-types-typedef-name-name
      description: REST surface for api-atlas-v2-types-typedef-name-name.
      operations:
      - method: GET
        name: typegetbyname
        description: Microsoft Purview Get type definition by name
        call: data-map-type.typegetbyname
        with:
          name: rest.name
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: typedeletebyname
        description: Microsoft Purview Delete type definition by name
        call: data-map-type.typedeletebyname
        with:
          name: rest.name
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/types/typedefs
      name: api-atlas-v2-types-typedefs
      description: REST surface for api-atlas-v2-types-typedefs.
      operations:
      - method: GET
        name: typelist
        description: Microsoft Purview List all type definitions
        call: data-map-type.typelist
        with:
          api-version: rest.api-version
          includeTermTemplate: rest.includeTermTemplate
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: typebulkcreate
        description: Microsoft Purview Create type definitions in bulk
        call: data-map-type.typebulkcreate
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: typebulkupdate
        description: Microsoft Purview Update type definitions in bulk
        call: data-map-type.typebulkupdate
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: typebulkdelete
        description: Microsoft Purview Delete type definitions in bulk
        call: data-map-type.typebulkdelete
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/atlas/v2/types/typedefs/headers
      name: api-atlas-v2-types-typedefs-headers
      description: REST surface for api-atlas-v2-types-typedefs-headers.
      operations:
      - method: GET
        name: typelistheaders
        description: Microsoft Purview List type definition headers
        call: data-map-type.typelistheaders
        with:
          api-version: rest.api-version
          includeTermTemplate: rest.includeTermTemplate
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-map-type-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Purview Data Map API — Type. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-purview-get-type-definition
      description: Microsoft Purview Get type definition by GUID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-map-type.typegetbyguid
      with:
        guid: tools.guid
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-get-type-definition-2
      description: Microsoft Purview Get type definition by name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-map-type.typegetbyname
      with:
        name: tools.name
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-delete-type-definition
      description: Microsoft Purview Delete type definition by name
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: data-map-type.typedeletebyname
      with:
        name: tools.name
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-list-all-type
      description: Microsoft Purview List all type definitions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-map-type.typelist
      with:
        api-version: tools.api-version
        includeTermTemplate: tools.includeTermTemplate
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-create-type-definitions
      description: Microsoft Purview Create type definitions in bulk
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-map-type.typebulkcreate
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-update-type-definitions
      description: Microsoft Purview Update type definitions in bulk
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: data-map-type.typebulkupdate
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-delete-type-definitions
      description: Microsoft Purview Delete type definitions in bulk
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: data-map-type.typebulkdelete
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-purview-list-type-definition
      description: Microsoft Purview List type definition headers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-map-type.typelistheaders
      with:
        api-version: tools.api-version
        includeTermTemplate: tools.includeTermTemplate
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.