API Reference
Full reference for every SDK initialization option and logUsage parameter, including types, defaults, and what each one controls.
Configuration Reference
AIObservlyOptions
LogUsageParams
Custom Endpoint Resolution
The SDK resolves the ingestion endpoint using the following priority order:
- The
baseUrloption passed intonew AIObservly({ baseUrl: "..." }) - The
AI_OBSERVLY_BASE_URLenvironment variable - The default collector endpoint, if neither of the above is set
