AIO Sandbox APIs expose several layers of errors. A robust client should not rely on HTTP status alone.
success.status, exit_code, stdout, and stderr.Common HTTP failures include:
| Status | Meaning |
|---|---|
400 | Invalid request or failed validation |
401 / 403 | Missing or invalid authentication |
404 | Endpoint or target resource not found |
422 | Request body validation failed |
500+ | Sandbox service error |
Some APIs can return HTTP 200 while reporting a tool failure:
Treat success: false as a handled operation failure. Show message to the user or pass it back to your agent.
Shell, Bash, Jupyter, Node.js, and unified code execution may return process-level details:
For these APIs, success: true only means the sandbox handled the request. The executed command or code can still fail.