{"openapi":"3.1.0","info":{"title":"CI Critical Path Budget","version":"1.0.0","description":"Find the slowest dependency chain in a CI graph and identify jobs with no scheduling slack.","contact":{"email":"jeremy@jeremycarter.ca"}},"servers":[{"url":"https://gptenv-x402-catalog.defcronyke.workers.dev"}],"paths":{"/ci-critical-path-budget/v1/check":{"post":{"operationId":"ci_critical_path_budget","summary":"Find the slowest dependency chain in a CI graph and identify jobs with no scheduling slack.","x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"fixed","currency":"USD","amount":"0.04"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"jobs":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":60},"seconds":{"type":"integer","minimum":0,"maximum":86400},"after":{"maxItems":80,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}}},"required":["id","seconds","after"],"additionalProperties":false}}},"required":["jobs"],"additionalProperties":false},"example":{"jobs":[{"id":"build","seconds":40,"after":[]},{"id":"lint","seconds":20,"after":[]},{"id":"test","seconds":80,"after":["build","lint"]}]}}}},"responses":{"200":{"description":"Service result","content":{"application/json":{"schema":{"type":"object"},"example":{"seconds":120,"path":["build","test"],"slack_seconds":{"build":0,"lint":20,"test":0}}}}},"400":{"description":"Invalid request"},"402":{"description":"x402 exact payment required on Base"},"503":{"description":"Payment unavailable"}}}}}}