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
JavaScriptlangsmithsandboxUpdateSandboxOptions
Interface●Since v0.8

UpdateSandboxOptions

Options for updating a sandbox (name and/or retention settings).

Copy
interface UpdateSandboxOptions

Properties

property
deleteAfterStopSeconds: number

Seconds after the sandbox enters the stopped state before it (and its filesystem clone) are permanently deleted. Must be a multiple of 60. Pass 0 to disable stop-anchored deletion (manual cleanup required). When omitted, the server applies its configured default (typically 14 days).

property
idleTtlSeconds: number

Idle timeout in seconds. The launcher stops the sandbox after this many seconds of inactivity. Must be a multiple of 60. Pass 0 to disable the idle stop. When omitted, the server applies a default of 600 seconds (10 minutes).

property
newName: string

New display name.

View source on GitHub