Get the violation status of a contract by id
cURL
curl --request GET \ --url https://{hostname}.gable.ai/v0/contract/{id}/violation-status \ --header 'X-API-KEY: <api-key>'
{ "violation_state": "violation", "violations": [ { "message": "<string>", "field": "<string>", "fieldType": "<string>", "violationType": "MISSING_REQUIRED_PROPERTY", "expected": "<string>", "actual": "<string>" } ], "checkedAt": "2023-11-07T05:31:56Z" }
violation
no_violation
Show child attributes