get_state_history(
self,
config: RunnableConfig,
*,
filter: dict[str, Any]| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | A |
filter | dict[str, Any] | None | Default: NoneMetadata to filter on. |
before | RunnableConfig | None | Default: None |
limit | int | None | Default: None |
Get the state history of a thread.
This method calls POST /threads/{thread_id}/history.
A RunnableConfig that includes checkpoint metadata.
Max number of states to return.