LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsbackendsSandboxListResponse
Interface●Since v1.7

SandboxListResponse

Copy
interface SandboxListResponse

Properties

View source on GitHub

Example

property
cursor: string | null
property
items: SandboxInfo<MetadataT>[]

Paginated response from a sandbox list operation.

This structure supports cursor-based pagination for efficiently browsing large collections of sandboxes.

Opaque continuation token for retrieving the next page. null indicates no more pages available.

List of sandbox metadata objects for the current page

Copy
const response: SandboxListResponse = {
  items: [
    { sandboxId: "sb_001", metadata: { status: "running" } },
    { sandboxId: "sb_002", metadata: { status: "stopped" } },
  ],
  cursor: "eyJvZmZzZXQiOjEwMH0=",
};

// Fetch next page
const nextResponse = await provider.list({ cursor: response.cursor });