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
Pythonlangsmithtypessnapshot_responseSnapshotResponse
Class●Since v0.16

SnapshotResponse

Copy
SnapshotResponse()

Bases

BaseModel

Attributes

Inherited fromBaseModel

Attributes

Amodel_fields_set: set[str]Amodel_config: ConfigDictAmodel_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
—

Generates a JSON string representing this model as it would be received from or sent to the API (but with indentation).

Mconstruct
Mmodel_dump
—

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

Mmodel_dump_json
—

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

Classes

CConfig
attribute
id: Optional[str]
attribute
created_at: Optional[str]
attribute
created_by: Optional[str]
attribute
description: Optional[str]
attribute
docker_image: Optional[str]
attribute
fs_capacity_bytes: Optional[int]
attribute
fs_used_bytes: Optional[int]
attribute
image_digest: Optional[str]
attribute
included: Optional[List[Literal['mounts', 'proxy_config', 'env_vars', 'resources', 'lifecycle', 'labels']]]
attribute
labels: Optional[Dict[str, str]]
attribute
memory_snapshot_size_bytes: Optional[int]
attribute
mount_config: Optional[SandboxMountConfig]
attribute
name: Optional[str]
attribute
nested_virtualization: Optional[bool]
attribute
proxy_config: Optional[ProxyConfig]
attribute
registry_id: Optional[str]
attribute
run_config: Optional[RunConfig]
attribute
source_sandbox_id: Optional[str]
attribute
status: Optional[str]
attribute
status_message: Optional[str]
attribute
tags: Optional[List[str]]
attribute
updated_at: Optional[str]

Description says what this snapshot's image can do, so a caller can hand it to an agent as a capability summary.

The settings this snapshot carries, in include terms: sandboxes created from it start with each one their create request leaves unset. Env var values are never returned.

MemorySnapshotSizeBytes is non-nil iff the snapshot was captured with VM memory state. A non-nil value is the canonical signal that this snapshot can warm-restore from memory; nil means rootfs only.

The mount_config sandboxes created from this snapshot start with when their create request has none, with secret values redacted. Present only on snapshots captured with include "mounts" or "all" from a sandbox that had mounts.

NestedVirtualization reports whether sandboxes created from this snapshot ask to run virtual machines of their own when their create request leaves it unset. A snapshot captured from a sandbox takes that sandbox's setting.

The proxy_config sandboxes created from this snapshot start with when their create request has none, with secret values redacted. Present only on snapshots captured with include "proxy_config" or "all".

RunConfig is what sandboxes from this snapshot boot with.

Absent on snapshots built before it was recorded, which run as root with their own env.

Tags currently resolving to this snapshot, under Name.

A snapshot with no tags is dangling — addressable only by id.