LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesFleetThreadsactivateSandbox
Method●Since v0.14

activateSandbox

Starts or resumes the sandbox referenced by the thread and returns when it is ready. The operation is idempotent. The thread must include sandbox.sandbox_slug.

Copy
activateSandbox(
  threadID: string,
  options: RequestOptions
): APIPromise<ThreadActivateSandboxResponse>

Parameters

NameTypeDescription
threadID*string
optionsRequestOptions
View source on GitHub