Use when an agent must compute, parse a CSV or draw a chart with real code. Inpu...
https://1gateway.dev/v1/agent/sandbox/runOverview
Use when an agent must compute, parse a CSV or draw a chart with real code. Input: language (python|node), code (64 KB), optional stdin, files (up to 5 of your /v1/files ids → /workspace/in). Output: exitCode, stdout, stderr (64 KB each), files written to /workspace/out (5, 2 MB, base64), timedOut. Fresh container, no internet, 30 s, 1 GiB. Python: pandas, numpy, matplotlib, openpyxl, pillow, bs4; Node: lodash, date-fns. Example: POST {"code":"print(2+2)"}