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

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

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

create_run

Copy
create_run(
  self,
  name: str,
  inputs: dict[str, Any],
  run_type:
View source on GitHub
str
,
*
,
project_name
:
Optional
[
str
]
=
None
,
revision_id
:
Optional
[
ls_client
.
ID_TYPE
]
=
None
,
kwargs
:
Any
=
{
}
)
->
None

Create a run.