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
Pythonlangsmithsandbox_sse_executestart_payload
Function●Since v0.13

start_payload

Copy
start_payload(
  command: str,
  *,
  command_id: str,
  timeout: int,
  shell
View source on GitHub
:
str
,
idle_timeout
:
int
,
ttl_seconds
:
int
,
env
:
Optional
[
dict
[
str
,
str
]
]
=
None
,
cwd
:
Optional
[
str
]
=
None
,
run_config
:
Optional
[
dict
[
str
,
Any
]
]
=
None
)
->
dict
[
str
,
Any
]

Build the body for /execute/stream/start.