@humanity-org/connect-sdk
In-depth SDK reference: TypeScript interfaces, query engine documentation, error handling, and advanced usage patterns for the Humanity Connect SDK.
1. About humanity-org/connect-sdk
2. Common SDK use cases
3. Installation
npm install @humanity-org/connect-sdk
# or
yarn add @humanity-org/connect-sdk
# or
pnpm add @humanity-org/connect-sdkimport { HumanitySDK } from '@humanity-org/connect-sdk';4. Initialization & configuration
Option
Required
Description
Full Interface
Example: Local or serverless project
Confidential vs public clients
5. OAuth helpers
TokenResult raw interface
TokenResult interface description
Property
Type
Description
Token revocation
6. Preset verification
PresetBatchResult Interface
7. Query Engine
8 Using the generated client directly
9. Error handling
HumanitySDKError Interface description
Error Class
Description
10. Before You Ship to Production
Last updated