Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Purview's API. It is a proposal applied on top of the contract, not a document Microsoft Purview publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Microsoft Purview Metadata Policies Metadata Policy API
version: 1.0.0
extends: openapi/microsoft-purview-metadata-policy-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-10-01'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/metadataPolicies/{policyId}'].get
update:
x-apievangelist-phrasing:
intent: Get a metadata policy
effect: read
questions:
- Who has which role on a collection according to its metadata policy?
- Can I read one metadata policy by its ID?
instructions:
- text: Show me metadata policy {policy}.
slots:
policy: path.policyId
- text: Get the role assignments in policy {policy}.
slots:
policy: path.policyId
method: generated
generated: '2026-10-01'
- target: $.paths['/metadataPolicies/{policyId}'].put
update:
x-apievangelist-phrasing:
intent: Update a metadata policy
effect: write
questions:
- How do I change role assignments in a collection's metadata policy?
- Can I replace the properties of a metadata policy?
instructions:
- text: Update metadata policy {policy} with properties {props}.
slots:
policy: path.policyId
props: requestBody.properties
- text: Replace policy {policy} at version {version}.
slots:
policy: path.policyId
version: requestBody.version
method: generated
generated: '2026-10-01'
- target: $.paths['/metadataPolicies'].get
update:
x-apievangelist-phrasing:
intent: List metadata policies
effect: read
questions:
- What metadata policies govern access across our Purview collections?
- Can I get the metadata policy for just one collection?
instructions:
- text: List all metadata policies.
- text: Get the metadata policy for collection {collection}.
slots:
collection: query.collectionName
method: generated
generated: '2026-10-01'
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. See our Privacy Policy and
Terms.