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

SnapshotResponse

Copy
SnapshotResponse()

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
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
labels: Optional[Dict[str, str]]
attribute
memory_snapshot_size_bytes: Optional[int]
attribute
name: Optional[str]
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.

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.

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.