Skip to main content
Execute shell commands in the sandbox and wait for completion. Commands run in /bin/sh -c and return stdout, stderr, and exit code.

Endpoint

Request

Headers

Body Parameters

Example Request

Run a simple command:
Run with custom environment:

Response

Success (200 OK)

Response Fields

Status Codes

Errors

Command Failed (500)

Cause: Command execution failed. Fix: Check the 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

Next Steps