Skip to main content
POST
/
execute
/
stream
curl -N -X POST http://localhost:3000/execute/stream \
  -H "Authorization: Bearer $ISOL8_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request": {
      "runtime": "python",
      "code": "import time\nfor i in range(3):\n print(i)\n time.sleep(1)"
    }
  }'
data: {"type":"stdout","data":"0\n"}

data: {"type":"stdout","data":"1\n"}

data: {"type":"stdout","data":"2\n"}

data: {"type":"exit","data":"0"}

Documentation Index

Fetch the complete documentation index at: https://isol8.notdhruv.com/llms.txt

Use this file to discover all available pages before exploring further.

Streams execution events as SSE frames.
request
ExecutionRequest
required
Execution request with code and runtime.
options
Isol8Options
Optional execution options merged over defaults.
Streaming endpoint uses ephemeral execution lifecycle.
type
string
Event kind: stdout, stderr, exit, or error.
data
string
Event payload content.
curl -N -X POST http://localhost:3000/execute/stream \
  -H "Authorization: Bearer $ISOL8_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "request": {
      "runtime": "python",
      "code": "import time\nfor i in range(3):\n print(i)\n time.sleep(1)"
    }
  }'
data: {"type":"stdout","data":"0\n"}

data: {"type":"stdout","data":"1\n"}

data: {"type":"stdout","data":"2\n"}

data: {"type":"exit","data":"0"}