This SDK repository defines one backend integration contract and exposes it through TypeScript, Python, Rust, and a CLI.
- API surface: backend namespaces and authentication shape.
- Authentication: bearer tokens, API keys, admin service tokens, and headers shared across SDKs.
- CLI:
tinyhumanscommand usage.
The backend surface is broad and changes faster than hand-written SDK methods. Every language binding therefore exposes:
- A shared request pipeline with JSON envelope unwrapping.
- Typed namespace clients such as
auth,inference,payments,feedback, andagentIntegrations, with one method per deployed operation (156 across 17 namespaces). - A raw request method for new backend endpoints before typed methods land.
The source of truth for deployed backend behavior is
https://api.tinyhumans.ai/swagger.json. The local manifest at
../api/tinyhumans.backend.json summarizes
that Swagger/OpenAPI contract for SDK authors.