{"name":"The Leo King Business Intelligence API SDKs","version":"v1","status":"release-gate","contractVersion":"2026-07-09.enterprise-trust-paid-route-ci-gate-v1","lastReviewedAt":"2026-07-09","packages":[{"language":"node","packageName":"@theleoking/ai-api","status":"release_gate","sourcePath":"sdk/node","installCommand":"npm install @theleoking/ai-api","localBuildCommand":"npm --prefix sdk/node run build","helperSurface":["public metadata helpers","core chart compute helpers","AI experience helpers","async world-signal job helpers","webhook signature helpers"],"releaseGates":["package namespace approval","dist files rebuilt from TypeScript source","SDK contract tests pass","OpenAPI route coverage reviewed","production docs and support policy approved"]},{"language":"python","packageName":"theleoking-ai-api","status":"release_gate","sourcePath":"sdk/python","installCommand":"pip install theleoking-ai-api","localBuildCommand":"python -m compileall sdk\\python\\theleoking_ai_api","helperSurface":["public metadata helpers","core chart compute helpers","AI experience helpers","async world-signal job helpers","webhook signature helpers"],"releaseGates":["package namespace approval","Python package metadata review","SDK contract tests pass","compileall syntax check passes","production docs and support policy approved"]}],"releasePolicy":{"status":"release_gate","packagePublication":"npm and PyPI publication is gated until package names, production domain, support policy, docs, env readiness, SDK release smoke evidence, publication dry-run evidence, and Dave's explicit release approval are all current.","generatedClients":"Generated clients should be produced from /api/v1/openapi only after the hand-written Node/Python source clients and endpoint examples pass contract tests.","versioning":"SDK package versions must track public API compatibility notes and publish migration guidance through /api/v1/changelog before breaking helper changes.","releaseSmokeCommand":"npm run smoke:sdk-release -- --base-url https://api.theleokingai.com","publicationDryRunCommand":"npm run smoke:sdk-publication -- --base-url https://api.theleokingai.com","provenance":"npm publication must use provenance from CI or an approved release machine; PyPI publication must use trusted publishing or a scoped token with no credentials committed to repo logs.","releaseTagPolicy":"Create a signed sdk-vX.Y.Z tag only after SDK release smoke, publication dry-run, changelog link, and rollback note are committed.","rollback":"For a bad SDK release, deprecate the npm version, yank the bad Python release, publish a patch version, keep source clients available, and add the rollback note to /api/v1/changelog.","requiredChecks":["npm --prefix sdk/node run build","python -m compileall sdk\\python\\theleoking_ai_api","npm run smoke:sdk-release -- --skip-live","npm run smoke:sdk-publication -- --skip-live","npm run smoke:sdk-release -- --base-url https://api.theleokingai.com after deploy","npm run smoke:sdk-publication -- --base-url https://api.theleokingai.com before package publication","npm run test -- --run tests/sdk-contract.test.ts tests/api-v1.test.ts","npm run build","npm run prod:env:production before push/deploy"],"rollout":["Publish docs/source clients first.","Approve package namespaces and release credentials.","Run npm/PyPI dry-runs and store publication evidence.","Publish alpha packages with release notes and changelog links.","Run SDK smoke against public metadata and one scoped paid route.","Only then generate broader language clients from OpenAPI."]},"links":{"docs":"/api-docs","openapi":"/api/v1/openapi","accessControl":"/api/v1/access-control","examples":"/api/v1/examples","support":"/api/v1/support","migrations":"/api/v1/migrations","procurement":"/api/v1/procurement","conformance":"/api/v1/conformance","dataProcessing":"/api/v1/data-processing","compliance":"/api/v1/compliance","changelog":"/api/v1/changelog","errors":"/api/v1/errors","postman":"/api/v1/postman"}}