@airbolt/sdk
    Preparing search index...

    Interface AirboltClientOptions

    interface AirboltClientOptions {
        authProvider?: null | AuthProvider;
        baseURL: string;
        getAuthToken?: () => string | Promise<string>;
        maxRetries?: number;
        onColdStartDetected?: () => void;
        timeoutSeconds?: number;
        tokenManager?: TokenManager;
        userId?: string;
    }
    Index

    Properties

    authProvider?: null | AuthProvider

    Auto-detected auth provider

    baseURL: string
    getAuthToken?: () => string | Promise<string>

    Custom auth token getter function for BYOA

    maxRetries?: number

    Number of retries for rate limit errors (429). Defaults to 3. The SDK uses exponential backoff with jitter.

    onColdStartDetected?: () => void

    Callback invoked when a cold start is detected. This happens when the server takes longer than expected to respond, typically because it's waking up from sleep.

    timeoutSeconds?: number

    Request timeout in seconds. Defaults to 60.

    tokenManager?: TokenManager
    userId?: string