LangGraph.js API Reference
    Preparing search index...
    interface ClientConfig {
        apiKey?: null | string;
        apiUrl?: string;
        callerOptions?: AsyncCallerParams;
        defaultHeaders?: Record<string, HeaderValue>;
        onRequest?: RequestHook;
        timeoutMs?: number;
    }
    Index

    Properties

    apiKey?: null | string

    API key for authentication.

    • If a string is provided, that key will be used
    • If undefined (default), the key will be auto-loaded from environment variables (LANGGRAPH_API_KEY, LANGSMITH_API_KEY, or LANGCHAIN_API_KEY)
    • If null, no API key will be set (skips auto-loading)
    apiUrl?: string
    callerOptions?: AsyncCallerParams
    defaultHeaders?: Record<string, HeaderValue>
    onRequest?: RequestHook
    timeoutMs?: number