check a script's asset references against captured producer schemas
Changed onSave-time schema-contract check for data pipelines: validates the given script content's asset references (body column reads, // column lineage, // data_test relationships) against the latest captured producer schemas and returns warnings. Warnings never block a save/deploy; an asset whose producer declares on_schema_change=ignore is suppressed to a single informational entry.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/scripts/check_schema_contracts
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
Request body
Response
contract warnings (empty when all references match)
Changes
- info
added the new
dbtenum value to the request property
- info
- warning
added the new
missing_dimension_columnenum value to the//response property for the response status - warning
added the new
missing_measure_columnenum value to the//response property for the response status - warning
added the new
non_aggregate_measureenum value to the//response property for the response status
- warning