Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.05 KB

File metadata and controls

27 lines (20 loc) · 1.05 KB

TinyHumans SDK Docs

This SDK repository defines one backend integration contract and exposes it through TypeScript, Python, Rust, and a CLI.

Documents

  • API surface: backend namespaces and authentication shape.
  • Authentication: bearer tokens, API keys, admin service tokens, and headers shared across SDKs.
  • CLI: tinyhumans command usage.

Design

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, and agentIntegrations, 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.