Get Bulk Asset Metadata - Get Bulk Asset Metadata

Retrieves metadata for all assets in an account with pagination support. Returns up to 10 assets per request.

GET {endpoint}/datagovernance/quality/bulk-asset-metadata?api-version=2026-01-12-preview
GET {endpoint}/datagovernance/quality/bulk-asset-metadata?api-version=2026-01-12-preview&continuationToken={continuationToken}

URI Parameters

Name In Required Type Description
endpoint
path True

string (uri)

api-version
query True

string

minLength: 1

The API version to use for this operation.

continuationToken
query

string

Continuation token for pagination. Use this to get all results until continuationToken from the response becomes null.

Responses

Name Type Description
200 OK

BulkAssetMetadataRequestResponse

The request has succeeded.

Other Status Codes

Azure.Core.Foundations.ErrorResponse

An unexpected error response.

Headers

x-ms-error-code: string

Security

OAuth2Auth

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
https://purview.azure.net/.default

Examples

BulkAssetMetadata_Get

Sample request

GET {endpoint}/datagovernance/quality/bulk-asset-metadata?api-version=2026-01-12-preview&continuationToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9

Sample response

{
  "metadata": [
    {
      "assetMetadata": {
        "name": "CAMPAIGN_ANALYTICS",
        "businessDomain": {
          "type": "BusinessDomainReference",
          "referenceId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c"
        },
        "dataProduct": {
          "type": "DataProductReference",
          "referenceId": "2a1d2087-09e2-4ecf-817d-1f5bfcbc31bf"
        },
        "type": "Basic",
        "dataAsset": {
          "type": "DataAssetReference",
          "referenceId": "fadb55b6-aa10-47d5-82c4-5e2723ba7869"
        },
        "ETag": "250025c0-0000-3200-0000-685e748d0000",
        "typeProperties": {
          "inputDatasets": [
            {
              "alias": "CAMPAIGN_ANALYTICS",
              "primary": true,
              "dataset": {
                "businessDomain": {
                  "referenceId": "e0c0840b-f087-4c3e-99e2-63075572d33b",
                  "type": "BusinessDomainReference"
                },
                "dataProduct": {
                  "referenceId": "757b96c3-af76-45a8-a7cd-0f4b90e27d9a",
                  "type": "DataProductReference"
                },
                "dataAsset": {
                  "referenceId": "fadb55b6-aa10-47d5-82c4-5e2723ba7869",
                  "type": "DataAssetReference"
                },
                "datasourceFQN": "snowflake://fljqaun-gpa78346.snowflakecomputing.com/databases/dream_demo",
                "schema": {
                  "origin": "DataProfiling",
                  "items": [
                    {
                      "name": "ID",
                      "type": "Number",
                      "typeProperties": {
                        "integral": false,
                        "precision": 38,
                        "scale": 38
                      }
                    },
                    {
                      "name": "REGION",
                      "type": "String"
                    },
                    {
                      "name": "COUNTRY",
                      "type": "String"
                    }
                  ]
                },
                "type": "SnowflakeTable",
                "typeProperties": {
                  "format": "table",
                  "schemaName": "PUBLIC",
                  "tableName": "CAMPAIGN_ANALYTICS"
                }
              }
            }
          ],
          "projection": null
        },
        "createdAt": "2025-01-09T11:18:00.1199307Z",
        "createdBy": "ca31eca9-668e-4933-82f8-69bdeecc6632",
        "id": "083b54ef-f417-4c1c-ad05-e4e5579619b4",
        "lastModifiedAt": "2025-06-27T10:38:05.0847187Z",
        "lastModifiedBy": "92522642-6537-4785-9fcd-fe58afaa43c5",
        "isDQAsset": false
      },
      "assetScopedMetadata": {
        "description": "",
        "favouriteColumnPaths": [],
        "id": "642bc3b4-66aa-494a-b9d9-797085ce2cb0",
        "businessDomain": {
          "type": "BusinessDomainReference",
          "referenceId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c"
        },
        "dataProduct": {
          "type": "DataProductReference",
          "referenceId": "2a1d2087-09e2-4ecf-817d-1f5bfcbc31bf"
        },
        "dataAsset": {
          "type": "DataAssetReference",
          "referenceId": "fadb55b6-aa10-47d5-82c4-5e2723ba7869"
        },
        "runtime": {
          "isErrorRowRequired": false,
          "errorRowWriteFormat": ""
        },
        "createdAt": "2025-06-27T10:38:07.6920087Z",
        "lastModifiedAt": "2025-06-27T10:38:07.6920087Z",
        "createdBy": "92522642-6537-4785-9fcd-fe58afaa43c5",
        "lastModifiedBy": "92522642-6537-4785-9fcd-fe58afaa43c5",
        "ETag": "250026c0-0000-3200-0000-685e748f0000"
      },
      "scoreSnapshot": {
        "businessDomainId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c",
        "dataProductId": "00000000-0000-0000-0000-000000000000",
        "assetId": "238ec0c6-f8a2-4a35-8fc3-a2f6f6f60000",
        "assetScore": 1,
        "originAssetId": "238ec0c6-f8a2-4a35-8fc3-a2f6f6f60000",
        "isStandaloneAsset": true,
        "rules": [
          {
            "name": "Empty/blank_fields_actual_shipping_cost",
            "id": "Emptyblank_fields_actual_shippin",
            "description": "",
            "type": "NotNull",
            "typeProperties": {
              "column": {
                "value": "actual_shipping_cost",
                "type": "Column"
              }
            },
            "status": "Active",
            "score": 1,
            "dimension": "Completeness",
            "lastModifiedAt": "2025-11-13T01:37:12.9302796Z",
            "lastModifiedBy": "d3c08f4c-8973-419c-a0cd-a32724e54365",
            "createdBy": "d3c08f4c-8973-419c-a0cd-a32724e54365",
            "createdAt": "2025-11-12T21:00:05.2288404Z",
            "businessDomain": {
              "type": "BusinessDomainReference",
              "referenceId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c"
            },
            "dataProduct": {
              "type": "DataProductReference",
              "referenceId": "00000000-0000-0000-0000-000000000000"
            },
            "dataAsset": {
              "type": "DataAssetReference",
              "referenceId": "238ec0c6-f8a2-4a35-8fc3-a2f6f6f60000"
            },
            "totalRows": 1,
            "failedRows": 0,
            "passedRows": 1,
            "emptyRows": 0,
            "miscastRows": 0,
            "queryExecuted": null
          }
        ],
        "job": {
          "jobId": "5b6ce30a-718b-442e-a075-31d39c0cb15f",
          "businessDomainId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c"
        }
      },
      "globalRules": [
        {
          "name": "Custom",
          "description": "",
          "type": "CustomTruth",
          "status": "Active",
          "typeProperties": {
            "condition": "{REVENUE} > 50000",
            "filterCriteria": "{REGION} == 'India'",
            "emptyCriteria": "{REVENUE_TARGET} < 100000",
            "columns": [
              {
                "value": "REVENUE",
                "type": "Column"
              },
              {
                "value": "REGION",
                "type": "Column"
              },
              {
                "value": "REVENUE_TARGET",
                "type": "Column"
              }
            ]
          },
          "dimension": "Accuracy",
          "id": "06dda07d-126b-43c1-aade-2484b265a271",
          "businessDomain": {
            "type": "BusinessDomainReference",
            "referenceId": "76be16f9-5cb3-4839-83d6-4e3829a8ab0c"
          },
          "dataProduct": {
            "type": "DataProductReference",
            "referenceId": "2a1d2087-09e2-4ecf-817d-1f5bfcbc31bf"
          },
          "dataAsset": {
            "type": "DataAssetReference",
            "referenceId": "fadb55b6-aa10-47d5-82c4-5e2723ba7869"
          },
          "score": -1,
          "createdAt": "2025-11-13T09:08:28.1798306Z",
          "lastModifiedAt": "2025-11-13T09:08:29.1508867Z",
          "createdBy": "6f19d772-4716-4523-9910-cb1575512ce6",
          "lastModifiedBy": "6f19d772-4716-4523-9910-cb1575512ce6"
        }
      ]
    }
  ]
}

Definitions

Name Description
AssetMetadata

Unified metadata observer for monitoring data assets across platforms

AssetMetadataCommonProperties

Shared metadata properties across all data asset types

Azure.Core.Foundations.Error

The error object.

Azure.Core.Foundations.ErrorResponse

A response containing error details.

Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

BulkAssetMetadataEntry

Complete metadata entry for bulk operations including asset metadata, scoped metadata, rules, and score snapshot

BulkAssetMetadataRequestResponse

Response containing bulk asset metadata with pagination support

Column

Column definition for dataset validation and quality checks

Location

Physical storage location for data assets across different storage types

LocationTypeProperties

Storage-specific configuration properties for different location types

Reference

Reference to entities in the data governance hierarchy for relationship establishment

RuleEntity

Data quality rule entity with validation logic, execution parameters, and scoring

ScopedAssetMetadata

Scoped asset metadata configuration linked to a specific data asset.

ScopedAssetMetadataRuntime

Runtime configuration options for a scoped asset metadata entity.

ScoredRule

Rule definition with scoring and validation results

ScoreSnapshot

Comprehensive score snapshot with business domain, data product, asset scoring, and validation results

SnapshotJob

Job information associated with a score snapshot

TypeProperties

Type-specific configuration properties for data quality rules.

AssetMetadata

Unified metadata observer for monitoring data assets across platforms

Name Type Description
ETag

string

Entity tag for concurrency control

businessDomain

Reference

Reference to the associated business domain

createdAt

string (date-time)

Creation timestamp (UTC)

createdBy

string

Identity of the creating user

dataAsset

Reference

Reference to the associated data asset

dataProduct

Reference

Reference to the associated data product

format

string

Data format specification for structured assets

hostName

string

Host server name for on-premises database connections

id

string

Unique identifier of the asset metadata observer

isDQAsset

boolean

Flag indicating if the asset is a Data Quality asset

isDeleted

boolean

Soft deletion flag

lastModifiedAt

string (date-time)

Last modification timestamp (UTC)

lastModifiedBy

string

Identity of the last modifying user

location

Location[]

Physical storage locations for file-based assets

name

string

Display name of the asset metadata observer

projectId

string

Project ID for Google Big Query type of data asset

schemaName

string

Database schema name for SQL-based assets

tableName

string

Table name for SQL-based data assets

testConnectionDatasetName

string

Connection Dataset name for Google Big Quey type of data asset

testConnectionSchemaName

string

Connection Schema name for Google Big Query type of data asset

type

string

Data source type classification

typeProperties

AssetMetadataCommonProperties

Common metadata properties across all asset types

AssetMetadataCommonProperties

Shared metadata properties across all data asset types

Name Type Description
inputDatasets

InputDatasets[]

Input dataset definitions and schemas

projection

purview.purviewdataquality.getbulkassetmetadata.getbulkassetmetadata

Data projection and mapping configuration

Azure.Core.Foundations.Error

The error object.

Name Type Description
code

string

One of a server-defined set of error codes.

details

Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror

Azure.Core.Foundations.InnerError

An object containing more specific information than the current object about the error.

message

string

A human-readable representation of the error.

target

string

The target of the error.

Azure.Core.Foundations.ErrorResponse

A response containing error details.

Name Type Description
error

Azure.Core.Foundations.Error

The error object.

Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

Name Type Description
code

string

One of a server-defined set of error codes.

innererror

Azure.Core.Foundations.InnerError

Inner error.

BulkAssetMetadataEntry

Complete metadata entry for bulk operations including asset metadata, scoped metadata, rules, and score snapshot

Name Type Description
assetMetadata

AssetMetadata

Asset metadata information

assetScopedMetadata

ScopedAssetMetadata

Asset scoped metadata information

globalRules

RuleEntity[]

Global rules applied to the asset

scoreSnapshot

ScoreSnapshot

Snapshot Details

BulkAssetMetadataRequestResponse

Response containing bulk asset metadata with pagination support

Name Type Description
continuationToken

string

Continuation token for pagination. Null when no more results are available.

metadata

BulkAssetMetadataEntry[]

Array of metadata entries (up to 10 per response)

Column

Column definition for dataset validation and quality checks

Name Type Description
type

string

Column data type or classification

value

string

Column name or identifier

Location

Physical storage location for data assets across different storage types

Name Type Description
type

string

Storage type classification

typeProperties

LocationTypeProperties

Storage-specific configuration properties

LocationTypeProperties

Storage-specific configuration properties for different location types

Name Type Description
accountName

string

Storage account name or endpoint identifier

fileSystem

string

File system or container name

folderPath

string

Hierarchical path within the storage location

region

string

Geographic region or environment location

Reference

Reference to entities in the data governance hierarchy for relationship establishment

Name Type Description
referenceId

string

Unique identifier of the referenced entity

type

string

Type classification of the referenced entity

RuleEntity

Data quality rule entity with validation logic, execution parameters, and scoring

Name Type Description
businessDomain

Reference

Business domain reference

createdAt

string (date-time)

Timestamp when this rule was created

createdBy

string

User identifier for the creator of the rule

dataAsset

Reference

Data asset reference

dataProduct

Reference

Data product reference

description

string

Detailed description of rule validation and business purpose

dimension

string

Optional business dimension or classification

id

string

Unique rule identifier

lastModifiedAt

string (date-time)

Timestamp when this rule was last modified

lastModifiedBy

string

User identifier for the last modifier of the rule

name

string

Descriptive name of the rule

score

number (double)

Quality score (0.0 to 1.0)

status

string

Current execution status

type

string

Rule type classification

typeProperties

TypeProperties

Type-specific configuration properties

ScopedAssetMetadata

Scoped asset metadata configuration linked to a specific data asset.

Name Type Description
ETag

string

Entity tag used for concurrency control and version validation.

businessDomain

Reference

Reference to the associated Business Domain.

createdAt

string (date-time)

Timestamp when this metadata was created.

createdBy

string

Identifier of the user who created this metadata.

dataAsset

Reference

Reference to the associated Data Asset.

dataProduct

Reference

Reference to the associated Data Product.

description

string

Descriptive text providing details about the scoped asset metadata.

favouriteColumnPaths

string[]

List of favorite column paths selected for quick access or monitoring.

id

string

Unique identifier for the scoped asset metadata entity.

lastModifiedAt

string (date-time)

Timestamp when this metadata was last modified.

lastModifiedBy

string

Identifier of the user who last modified this metadata.

runtime

ScopedAssetMetadataRuntime

Runtime configuration parameters defining error row behavior and output format.

ScopedAssetMetadataRuntime

Runtime configuration options for a scoped asset metadata entity.

Name Type Description
errorRowWriteFormat

string

Specifies the format in which error rows are written (e.g., CSV, Parquet).

isErrorRowRequired

boolean

Indicates whether error row details should be captured.

ScoredRule

Rule definition with scoring and validation results

Name Type Description
businessDomain

Reference

Reference to the business domain

columns

Columns[]

Columns associated with the rule

createdAt

string (date-time)

Creation timestamp

createdBy

string

Creator user ID

dataAsset

Reference

Reference to the data asset

dataProduct

Reference

Reference to the data product

description

string

Description of the rule

dimension

string

Dimension of the rule

emptyRows

integer (int64)

Number of empty rows

failedRows

integer (int64)

Number of failed rows

id

string

Rule identifier

lastModifiedAt

string (date-time)

Last modification timestamp

lastModifiedBy

string

Last modifier user ID

miscastRows

integer (int64)

Number of miscast rows

name

string

Name of the rule

passedRows

integer (int64)

Number of passed rows

queryExecuted

string

The query which has been executed

score

number (double)

Score for the rule

status

string

Status of the rule

totalRows

integer (int64)

Total number of rows processed

type

string

Type of the rule

typeProperties

TypeProperties

Properties related to the data asset

ScoreSnapshot

Comprehensive score snapshot with business domain, data product, asset scoring, and validation results

Name Type Description
assetId

string

Asset identifier

assetScore

number (double)

Overall score for the asset

businessDomainId

string

Business domain identifier

dataProductId

string

Data product identifier

isStandaloneAsset

boolean

Is the asset standalone

job

SnapshotJob

Job information for the snapshot

originAssetId

string

Origin asset identifier

rules

ScoredRule[]

Rules with their scores and validation results

SnapshotJob

Job information associated with a score snapshot

Name Type Description
businessDomainId

string

Business domain identifier

jobId

string

Job identifier

TypeProperties

Type-specific configuration properties for data quality rules.

Name Type Description
column

Column

Column specification for column-specific rules.

columns

Column[]

List of columns for multi-column or relational rules (e.g., Duplicate, CustomTruth).

condition

string

Main logical condition or expression defining validation criteria.

emptyCriteria

string

Optional condition defining when a field or column is considered empty.

filterCriteria

string

Optional filter condition to limit rows that are validated by this rule.

pattern

string

Regex or pattern-based validation logic for format rules.