{"name":"The Leo King Business Intelligence API SDKs","version":"v1","status":"release-gate","contractVersion":"2026-07-15.enterprise-trust-release-candidate-v6","lastReviewedAt":"2026-07-15","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 the commit-bound alpha export, package names, production domain, support policy, docs, env readiness, protected public SDK repository, OIDC trusted publishers, 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":"The private application repository exports hash-verified candidates, installs the exact tarball and wheel in isolated consumer locations, and binds conformance evidence to the OpenAPI digest and toolchains without publication authority. npm and PyPI publication must use OIDC trusted publishing from the approved protected public SDK repository; npm generates provenance automatically for a public package published from a public repository.","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 export:sdk-release on a clean commit-bound SDK source tree","Exact npm tarball and Python wheel consumer conformance must pass with OpenAPI and toolchain evidence","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 smoke:sdk-publication -- --base-url https://api.theleokingai.com --audit-publication --public-repository <approved-owner/repository> --npm-trusted-publishing-attested --pypi-trusted-publishing-attested after stable 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.","Generate the read-only SDK Alpha Release Export and store its SHA-256 manifest.","Approve the public SDK repository, package namespaces, protected environments, and OIDC trusted publishers.","Run npm/PyPI dry-runs and verify the exported candidates without long-lived registry write tokens.","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"}}