/bin/sh -c and return stdout, stderr, and exit code.
Endpoint
Request
Headers
Body Parameters
Example Request
Run a simple command:Response
Success (200 OK)
Response Fields
Status Codes
Errors
Command Failed (500)
stderr field for error details and verify the command.
Use Cases
Install Packages
Check System Information
File Operations
Git Operations
Build and Test
Pipeline Multiple Commands
Related
- SDK: sandbox.commands.run() - Python SDK method
- CLI Commands - Shell commands from CLI
Next Steps
- Run Command in Background - Run long-running commands
- Execute Code - Execute code directly
- File Operations - Read and write files

