X-Sandbox-ID header transparently.
This enables you to:
- Track API usage per sandbox — correlate external API calls back to the sandbox that made them
- Route traffic — use the header in your API gateway or proxy to apply per-sandbox rate limits, logging, or access policies
- Audit agent behavior — see exactly which external services each sandbox is calling
How it works
A transparent proxy runs inside the sandbox and intercepts all outbound HTTP/HTTPS traffic. It injects anX-Sandbox-ID header into every request before forwarding it to the destination. The sandbox’s CA certificate is automatically trusted so HTTPS works without any configuration in Python, Node.js, or any other runtime.
Your code doesn’t need to know the proxy exists — it works at the network level.
Usage
Create a sandbox from the template. Every outbound request automatically includes theX-Sandbox-ID header.