Env
Update environment variables for subsequently created processes, PTYs, sessions, and Git commands. Running processes and existing interpreter contexts are unchanged. unset removes only pushed variables (set by this operation or supplied by the platform, such as create-time variables); the sandbox's base environment is unchanged. Reserved or invalid names are rejected. Each KEY=VALUE entry is limited to 128 KiB and the env payload to 1 MiB; platform-specific environment size limits also apply.
application/json- body
Update environment variables for processes, PTYs, and sessions created after this call.
env?Environment variables to add or replace for processes, PTYs, and sessions
created after this call. Keys must not also appear in unset.
unset?array<string>Names of previously added environment variables to remove. Keys must not also appear in env.
Environment variables updated.
curl -X POST 'http://sandbox:2280/env' \ -H 'Content-Type: application/json' \ -d '{}'