Sandbox API

Browser and CI

Remote browser sessions and CI-style sandbox runs.

export SANDBOX_GATEWAY_URL="${SANDBOX_GATEWAY_URL:-http://localhost:8780}"

Browser session

curl -sS -H "X-Api-Key: dev-local-key" -H "Content-Type: application/json" \
  -d '{}' \
  "$SANDBOX_GATEWAY_URL/sandbox/browser/v1/sessions"

CI run

curl -sS -H "X-Api-Key: dev-local-key" -H "Content-Type: application/json" \
  -d '{"commands":["echo","hello"]}' \
  "$SANDBOX_GATEWAY_URL/sandbox/cirunner/v1/runs"

References: Browser API, CI Runner API.