Skip to main content
POST
Run a command
Runs a shell command inside the session checkout — for example git pull --rebase origin main to resolve a commit conflict.

Authorizations

Authorization
string
header
required

Enter your Zite API key. Format: Bearer <api_key>

Path Parameters

sessionId
string
required

The build session ID from Open a session.

Body

application/json
script
string
required

Shell command to run.

Example:

"git pull --rebase origin main"

Response

Command output

stdout
string
stderr
string