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
Pythonlangsmithtypessandbox_responseSandboxResponse
Class●Since v0.14

SandboxResponse

Copy
SandboxResponse()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_configAmodel_construct: construct

Methods

Mto_dict
—

Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.

View source on GitHub
Mto_json
—

Return the report as a JSON-serializable dict (raw JSON shape).

Mconstruct
Mmodel_dump
—

Dump the feedback, including its address.

Mmodel_dump_json
—

Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json

Classes

CConfig
attribute
id: Optional[str]
attribute
access_delegation: Optional[AccessDelegation]
attribute
cpu_millicores: Optional[int]
attribute
created_at: Optional[str]
attribute
created_by: Optional[str]
attribute
dataplane_url: Optional[str]
attribute
delete_after_stop_seconds: Optional[int]
attribute
fs_capacity_bytes: Optional[int]
attribute
idle_ttl_seconds: Optional[int]
attribute
labels: Optional[Dict[str, str]]
attribute
mem_bytes: Optional[int]
attribute
mount_config: Optional[MountConfig]
attribute
name: Optional[str]
attribute
preserve_memory_on_stop: Optional[bool]
attribute
proxy_config: Optional[ProxyConfig]
attribute
run_config: Optional[RunConfig]
attribute
size_class: Optional[str]
attribute
snapshot_id: Optional[str]
attribute
status: Optional[str]
attribute
status_message: Optional[str]
attribute
stopped_at: Optional[str]
attribute
updated_at: Optional[str]
attribute
updated_by: Optional[str]
attribute
vcpus: Optional[int]

AccessDelegation is the LangSmith access this sandbox was granted, absent when it has none. It is reported exactly as it was requested at create.

RunConfig is what the sandbox's commands run with: the user, working directory and base env beneath env_vars.