selfhosted

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Self-hosted example: point the SDK at a self-hosted E2B control plane and show the current sandbox session (ID, template, state, timing, envd info, live metrics).

Usage:

E2B_API_KEY=...            # team API key issued by your self-hosted cluster
E2B_DOMAIN=e2b.example.com # your self-hosted domain; APIs resolve to
                           # https://api.<domain> and sandboxes to
                           # https://49983-<id>.<domain> unless overridden.
E2B_API_URL=https://api.e2b.example.com  # optional full override
go run ./examples/selfhosted

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL