Files
langgraph/libs/sdk-js/docs/classes/Client.md
T
2025-07-07 08:05:46 -07:00

2.6 KiB

@langchain/langgraph-sdk


@langchain/langgraph-sdk / Client

Class: Client<TStateType, TUpdateType, TCustomEventType>

Defined in: client.ts:1620

Type Parameters

TStateType = DefaultValues

TUpdateType = TStateType

TCustomEventType = unknown

Constructors

new Client()

new Client<TStateType, TUpdateType, TCustomEventType>(config?): Client<TStateType, TUpdateType, TCustomEventType>

Defined in: client.ts:1656

Parameters

config?

ClientConfig

Returns

Client<TStateType, TUpdateType, TCustomEventType>

Properties

~ui

~ui: UiClient

Defined in: client.ts:1654

Internal

The client for interacting with the UI. Used by LoadExternalComponent and the API might change in the future.


assistants

assistants: AssistantsClient

Defined in: client.ts:1628

The client for interacting with assistants.


crons

crons: CronsClient

Defined in: client.ts:1643

The client for interacting with cron runs.


runs

runs: RunsClient<TStateType, TUpdateType, TCustomEventType>

Defined in: client.ts:1638

The client for interacting with runs.


store

store: StoreClient

Defined in: client.ts:1648

The client for interacting with the KV store.


threads

threads: ThreadsClient<TStateType, TUpdateType>

Defined in: client.ts:1633

The client for interacting with threads.