{"openapi":"3.1.0","info":{"title":"CnC Workflow Preflight","version":"0.1.0","description":"Deterministic static checks for n8n exports. No workflow execution. Payment activation pending until configured and tested."},"servers":[{"url":"https://cnc-workflow-preflight.pages.dev"}],"paths":{"/v1/n8n/preflight":{"post":{"summary":"Check an n8n workflow export","description":"Price 0.02 USDC on Solana mainnet when activated. Follow x402 v2 PAYMENT-REQUIRED / PAYMENT-SIGNATURE. No normal API subscription.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["workflow"],"properties":{"workflow":{"type":"object"}}},"example":{"workflow":{"name":"Synthetic preflight example","nodes":[{"id":"sample-1","name":"Receive","type":"n8n-nodes-base.webhook","typeVersion":2,"parameters":{"authentication":"none"}},{"id":"sample-2","name":"Send","type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"parameters":{"authentication":"genericCredentialType"}}],"connections":{"Receive":{"main":[[{"node":"Removed node","type":"main","index":0}]]}}}}}}},"responses":{"200":{"description":"Report after successful settlement, or cached report for the same paid input"},"400":{"description":"Invalid input; no charge"},"402":{"description":"Payment required or rejected"},"409":{"description":"Reused or unresolved payment; no automatic resubmission"},"413":{"description":"Input exceeds 128 KiB"},"503":{"description":"Payments disabled, free-tier cap, or payment dependency unavailable"}}}}}}