Installation
fetch support.
Initialize the Client
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your theo_sk_... API key |
baseUrl | string | https://hitheo.ai | API base URL |
timeoutMs | number | 30000 | Request timeout in milliseconds |
maxRetries | number | 2 | Max retry attempts on 429/5xx errors |
Retry Behavior
The SDK automatically retries on:- 429 Too Many Requests — respects the
Retry-Afterheader - 5xx Server Errors — exponential backoff (1s, 2s, 4s, max 8s)
