@airbolt/sdk
    Preparing search index...

    Class AirboltClient

    Airbolt client with automatic JWT token management

    Features:

    • Automatic token refresh via TokenManager
    • Clean API surface matching previous client
    • Full type safety from Fern generation
    • Automatic retry on 401 errors
    Index

    Constructors

    Methods

    • Send a chat request with automatic auth handling and cold start retry

      Parameters

      • messages: Message[]
      • Optionaloptions: { model?: string; provider?: "openai" | "anthropic" }

      Returns Promise<ChatResponse>

    • Get token info for debugging

      Returns { expiresAt?: Date; hasToken: boolean; tokenType?: string }