Skip to main content
POST
/
v0
/
contract
/
bulk-check-compliance
Check multiple assets for contract compliance
curl --request POST \
  --url https://{hostname}.gable.ai/v0/contract/bulk-check-compliance \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "contract": {
    "contractSchema": [
      {
        "name": "<string>",
        "fields": [
          {
            "name": "<string>",
            "fields": "<array>",
            "alias": "<string>",
            "doc": "<string>",
            "logical": "<string>",
            "optional": true
          }
        ],
        "alias": "<string>",
        "doc": "<string>",
        "logical": "<string>",
        "optional": true,
        "constraints": {}
      }
    ],
    "dataAssetResourceNames": [
      "<string>"
    ]
  }
}
'
{
  "results": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.gable.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Contract with multiple data assets to check

contract
object
required

Response

Compliance results for each data asset

results
object
required

Map of data asset resource names to their compliance check results