Overview
The E2B integration enables Steadwing to access sandbox execution data from your E2B account. During root cause analysis, Steadwing pulls sandbox logs, lifecycle events, resource metrics, and template configurations to diagnose failures in AI applications that rely on E2B for sandboxed code execution.Why Use E2B with Steadwing?
Sandbox Monitoring
List running and paused sandboxes to understand what was active during an incident
Execution Logs
Pull sandbox logs to find execution errors, crashes, and unexpected output
Resource Analysis
Detect CPU, memory, and disk exhaustion that caused sandbox failures
Lifecycle Tracking
Identify unexpected sandbox terminations, timeouts, and state changes
Setup Instructions
Step 1: Get Your E2B API Key
- Sign up or log in at e2b.dev
- Navigate to the Dashboard
- Go to Settings → API Keys
- Copy your existing API key or create a new one
Step 2: Connect E2B in Steadwing
- Navigate to Steadwing Settings
- Find the E2B integration card
- Click to expand the collapsible form
- Paste your API key in the API Key field
- Toggle the switch to Enable the integration
How E2B Integration Works
Data Collection
Steadwing queries E2B for:- Sandbox List - Running, paused, and recently terminated sandboxes and their states
- Sandbox Logs - Execution output, error messages, and crash reports from sandbox processes
- Lifecycle Events - Sandbox creation, termination, pause/resume events, and timeout triggers
- Resource Metrics - CPU, memory, and disk usage to detect resource exhaustion
- Template Status - Build status and configuration of sandbox templates
- Team Metrics - Concurrent sandbox counts and limit usage across your team
Configuration
Required Permissions
The E2B API key requires read access to:- Sandboxes - Read sandbox list, status, and timeout configuration
- Logs - Read execution output and error messages
- Lifecycle - Read start, stop, pause, resume, and timeout events
- Resources - Read CPU, memory, and disk usage metrics
- Templates - Read template list, build status, and installed packages
- Team - Read concurrent sandbox counts and usage limits
FAQs
What E2B data does Steadwing access?
What E2B data does Steadwing access?
Steadwing reads sandbox states, execution logs, lifecycle events, resource metrics, and template configurations. It does NOT create, modify, or terminate any sandboxes.
Does E2B require OAuth to connect?
Does E2B require OAuth to connect?
No. E2B uses API key authentication — just paste your key in Steadwing Settings and the integration connects immediately. No OAuth redirect required.
Can Steadwing run code in my sandboxes?
Can Steadwing run code in my sandboxes?
No. Steadwing only has read access. It queries sandbox states, logs, and metrics but never executes code or modifies sandbox configurations.
What if my sandboxes have already terminated?
What if my sandboxes have already terminated?
Steadwing can still access logs and lifecycle events for recently terminated sandboxes, subject to E2B’s data retention policy.
What happens if my API key is revoked?
What happens if my API key is revoked?
The integration will stop working. Simply create a new API key in your E2B dashboard and update it in Steadwing Settings to reconnect.