Use when an agent must compute, parse a CSV or draw a chart with real code. Inpu...
https://1gateway.dev/v1/agent/runOverview
Use when an agent must compute, parse a CSV or draw a chart with real code. Input: language (python|node), code (64 KB), stdin, files (5 /v1/files ids), background. Output: exitCode, stdout, stderr, /workspace/out files (5, 2 MB, base64). 30 s in the response ($0.005), or background=true: 10 min, id + secret now, result at GET /v1/agent/run/{id} ($0.008). HTTP(S) allowed. Python: pandas, numpy, matplotlib; Node: lodash. Example: POST {"code":"print(2+2)"}