Sandbox Manager
Kubernetes-based sandbox manager for Next.js applications
API Endpoints
POST /api/sandbox/create- Create a new sandboxGET /api/sandbox/[sessionId]- Get sandbox statusDELETE /api/sandbox/[sessionId]- Delete a sandboxGET /api/sandbox/list- List all active sandboxes
Example: Create Sandbox
curl -X POST http://localhost:3000/api/sandbox/createw \
-H "Content-Type: application/json" \
-d '{
"sessionId": "test-session-123",
"repoOwner": "your-org",
"repoName": "your-repo",
"branchName": "main"
}'