aget_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 |
headers | dict[str, str] | None | Default: None |
params | QueryParamTypes | 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.
Optional custom headers to include with the request.
Optional query parameters to include with the request.