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
Pythonlangsmith_openapi_clientresourcessandboxesboxesBoxesResource
Classā—Since v0.9

BoxesResource

Copy
BoxesResource(
    self,
    client: Langsmith,
)

Bases

SyncAPIResource

Methods

View source on GitHub
method
with_raw_response
method
with_streaming_response
method
create
method
retrieve
method
update
method
list
method
delete
method
create_snapshot
method
generate_service_url
method
get_status
method
start
method
stop

This property can be used as a prefix for any HTTP method call to return the raw response object instead of the parsed content.

For more information, see https://www.github.com/stainless-sdks/langchain-python#accessing-raw-response-data-eg-headers

An alternative to .with_raw_response that doesn't eagerly read the response body.

For more information, see https://www.github.com/stainless-sdks/langchain-python#with_streaming_response

Create a new sandbox from a snapshot.

Provide at most one of snapshot_id or snapshot_name; if neither is provided, the server uses the default static blueprint.

Retrieve a sandbox by name.

Stale provisioning sandboxes are auto-failed.

Update a sandbox's display name.

The name must be unique within the tenant.

List sandboxes for the authenticated tenant, with optional filtering, sorting, and pagination.

Delete a sandbox by name or UUID.

Tears down the sandbox runtime and removes the DB record.

Create a snapshot by capturing the current state of a sandbox or promoting an existing checkpoint.

Create a short-lived JWT for accessing an HTTP service running on a specific port inside a sandbox. Returns a browser_url (sets auth cookie via redirect), a service_url (for use with the X-Langsmith-Sandbox-Service-Token header), the raw token, and its expiry.

Retrieve the lightweight status of a sandbox for polling.

Start a stopped or failed sandbox.

This endpoint is not idempotent.

Stop a ready sandbox.

This endpoint is not idempotent; the filesystem is preserved for later restart.