curl --request POST \
--url https://{hostname}.gable.ai/v0/data-assets/check-compliance \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"assets": [
{
"source_type": "postgres",
"data_asset_resource_name": {
"source_type": "postgres",
"data_source": "<string>",
"path": "<string>"
},
"schema": {
"type": "struct",
"name": "<string>",
"fields": [
{
"type": "struct",
"name": "<string>",
"fields": [
"<any>"
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>",
"optional": true
}
],
"alias": "<string>",
"doc": "<string>",
"logical": "<string>"
},
"fieldNameToDataAssetFieldProfileMap": {}
}
],
"includeUnchangedAssets": false,
"responseType": "DETAILED",
"prLink": "<string>"
}'