Client for managing assistants in LangGraph synchronously.
This class provides methods to interact with assistants, which are versioned configurations of your graph.
client = get_sync_client(url="http://localhost:2024")
assistant = client.assistants.get("assistant_id_123")SyncAssistantsClient(
self,
http: SyncHttpClient,
)| Name | Type |
|---|---|
| http | SyncHttpClient |
Get an assistant by ID.
Get the graph of an assistant by ID.
Get the schemas of an assistant by ID.
Get the schemas of an assistant by ID.
Create a new assistant.
Useful when graph is configurable and you want to create different assistants based on different configurations.
Update an assistant.
Use this to point to a different graph, update the configuration, or change the metadata of an assistant.
Delete an assistant.
Search for assistants.
Count assistants matching filters.
List all versions of an assistant.
Change the version of an assistant.