v106

OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-03812347972.4 KB
script

check a script's asset references against captured producer schemas

Save-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.

post/w/{workspace}/scripts/check_schema_contracts

Path parameters

workspacestring required

Request body

language'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative' | 'dbt' required
contentstring required

Response

contract warnings (empty when all references match)