curl -X POST http://localhost:3000/execute \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request": {
"runtime": "python",
"code": "print(2 ** 10)"
},
"options": {
"network": "none",
"timeoutMs": 30000
}
}'
{
"stdout": "1024\n",
"stderr": "",
"exitCode": 0,
"durationMs": 82,
"truncated": false,
"executionId": "550e8400-e29b-41d4-a716-446655440000",
"runtime": "python",
"timestamp": "2026-02-19T12:00:00.000Z"
}
Run code and return buffered execution results.
curl -X POST http://localhost:3000/execute \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request": {
"runtime": "python",
"code": "print(2 ** 10)"
},
"options": {
"network": "none",
"timeoutMs": 30000
}
}'
{
"stdout": "1024\n",
"stderr": "",
"exitCode": 0,
"durationMs": 82,
"truncated": false,
"executionId": "550e8400-e29b-41d4-a716-446655440000",
"runtime": "python",
"timestamp": "2026-02-19T12:00:00.000Z"
}
stdout/stderr and metadata.
code and runtime plus optional per-request fields.curl -X POST http://localhost:3000/execute \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request": {
"runtime": "python",
"code": "print(2 ** 10)"
},
"options": {
"network": "none",
"timeoutMs": 30000
}
}'
{
"stdout": "1024\n",
"stderr": "",
"exitCode": 0,
"durationMs": 82,
"truncated": false,
"executionId": "550e8400-e29b-41d4-a716-446655440000",
"runtime": "python",
"timestamp": "2026-02-19T12:00:00.000Z"
}
Was this page helpful?