SyncLangGraphClient(
self,
client: httpx.Client,
)| Name | Type |
|---|---|
| client | httpx.Client |
Close the underlying HTTP client.
Synchronous client for interacting with the LangGraph API.
This class provides synchronous access to LangGraph API endpoints for managing assistants, threads, runs, cron jobs, and data storage.
client = get_sync_client(url="http://localhost:2024")
assistant = client.assistants.get("asst_123")