SDKs
Official client libraries for StoneDock Connect.
Official SDKs handle authentication, request building, error parsing, and types so you can focus on your product.
| SDK | Package | Status |
|---|---|---|
| TypeScript / JavaScript | @onepathhealth/connect | Available — v2.6.0 |
| Python | onepath-connect | Available — v1.6.0, behind JS on resource coverage |
| Go | — | Planned |
| .NET/C# | — | Planned |
Why use an SDK?
The raw API is always available, but SDKs give you:
- Full typed requests and responses (TypeScript types / Python type stubs)
- Typed error classes (
OnepathAuthError,OnepathRateLimitError, etc.) - IDE autocomplete for every endpoint
- One place to manage the consent-JWT header on every call
Resource coverage
The JavaScript SDK covers users, insights, lab, coaching, goals, health score/summary, chat, documents, demographics, fitness plans, product advisor, usage, medications, conditions, questionnaires, messaging, care team, visit notes, practitioners, and appointments. The Python SDK covers the same set except health summary, chat, documents, demographics, fitness plans, product advisor, and usage — those are JS-only for now.
Two newer backend endpoints, allergies and authored notes, aren't wrapped by either SDK yet — call them directly over HTTP for now, see API Reference and API Reference.
See the JavaScript and Python pages for full usage and the current parity gap.