Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sandbox.list()
import { Sandbox } from 'e2b' // Create sandbox with metadata. const sandbox = await Sandbox.create({ metadata: { userId: '123', }, }) // List running sandboxes and access metadata. const paginator = await Sandbox.list() const runningSandboxes = await paginator.nextItems() // Will print: // { // 'userId': '123', // } console.log(runningSandboxes[0].metadata)
Was this page helpful?