Microsoft Purview Scans API
Operations for managing scan configurations
Operations 4
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
PUT
/scan/datasources/{dataSourceName}/scans/{scanName}
Create or replace a scan · Microsoft Purview Create or replace a scan
#
Ask an LLM
“How do I set up a new scan for a registered data source?”
“Can I overwrite an existing scan's settings?”
Tell an agent
Create scan {scan} of kind {kind} on data source {source}.
Replace scan {scan} on {source} with properties {props}.
GET
/scan/datasources/{dataSourceName}/scans/{scanName}
Get a scan definition · Microsoft Purview Get a scan
#
Ask an LLM
“How is a particular scan of a data source configured?”
“Which rule set does one scan use?”
Tell an agent
Show me scan {scan} on data source {source}.
Get the configuration of scan {scan} for {source}.
DELETE
/scan/datasources/{dataSourceName}/scans/{scanName}
Delete a scan · Microsoft Purview Delete a scan
#
Ask an LLM
“Can I delete a scan from a data source?”
“What is the way to remove a scan definition?”
Tell an agent destructive · confirm first
Delete scan {scan} from data source {source}.
Remove the {scan} scan on {source}.
GET
/scan/datasources/{dataSourceName}/scans
List scans on a data source · Microsoft Purview List scans by data source
#
Ask an LLM
“What scans are configured for a given data source?”
“Which scans exist under one registered source?”
Tell an agent
List the scans on data source {source}.
Show every scan defined for {source}.
Documentation
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/
Authentication
https://learn.microsoft.com/en-us/purview/tutorial-using-rest-apis
GettingStarted
https://learn.microsoft.com/en-us/purview/data-gov-api-create-assets
Authentication
https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow
GettingStarted
https://learn.microsoft.com/en-us/purview/legacy/how-to-purview-custom-lineage-api-user-guide
GettingStarted
https://learn.microsoft.com/en-us/purview/legacy/tutorial-metadata-policy-collections-apis
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/unified-catalog-api-overview
Authentication
https://learn.microsoft.com/en-us/purview/data-gov-api-rest-data-plane
Documentation
https://learn.microsoft.com/en-us/rest/api/purview/unified-catalog-data-quality
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-ediscovery-apioverview?view=graph-rest-1.0
Authentication
https://learn.microsoft.com/en-us/graph/security-ediscovery-appauthsetup
GettingStarted
https://learn.microsoft.com/en-us/purview/edisc-ref-api-guide
Documentation
https://learn.microsoft.com/en-us/graph/security-information-protection-overview
Documentation
https://learn.microsoft.com/en-us/graph/security-datasecurityandgovernance-overview
GettingStarted
https://learn.microsoft.com/en-us/purview/developer/use-the-api
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-recordsmanagement-overview?view=graph-rest-1.0
Specifications
Other Resources
Pricing
https://azure.microsoft.com/en-us/pricing/details/purview/
Reference
https://learn.microsoft.com/en-us/purview/data-map-data-sources
Reference
https://learn.microsoft.com/en-us/purview/unified-catalog-data-quality
Reference
https://learn.microsoft.com/en-us/purview/sensitivity-labels
Reference
https://learn.microsoft.com/en-us/purview/developer/
Reference
https://learn.microsoft.com/en-us/graph/compliance-concept-overview