@modelhealth/modelhealth
    Preparing search index...

    Interface ModelHealthConfig

    Configuration options for the Model Health client.

    interface ModelHealthConfig {
        apiKey: string;
        autoInit?: boolean;
        maxRetries?: number;
        timeout?: number;
    }
    Index
    apiKey: string

    Your ModelHealth API key for authentication.

    autoInit?: boolean

    Automatically initialize WASM on construction.

    When false, you must manually call init() before using the client.

    true
    
    maxRetries?: number

    Number of retries on network/server errors.

    When omitted, the build's default is used (3).

    timeout?: number

    Per-request timeout, in seconds, for JSON API calls.

    Bulk transfers (archive downloads, video uploads) are not bounded by it. When omitted, the build's default is used: 30s in production builds, 60s in development builds.