LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithasync_clientAsyncClientupdate_run
Method●Since v0.5

update_run

Copy
update_run(
  self,
  run_id: ls_client.ID_TYPE,
  **kwargs: Any = {}
) ->
View source on GitHub
None

Parameters

NameTypeDescription
run_id*ls_client.ID_TYPE
**kwargsAny
Default:{}

Update a run.

The run to update.

The fields to update, and address.

Experimental

address is in beta. It sends the patch to an address, and must match the post it belongs to: an update that names none is resolved by run id, as every update was before. It may change without notice.