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": [
      {
        "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>",
        "optional": true,
        "constraints": {}
      }
    ],
    "dataAssetResourceNames": [
      "<string>"
    ]
  }
}'
{
  "results": {}
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
contract
object
required

Response

results
object
required