{"name":"ComputeSDK Gateway","version":"1.0.0","description":"Multi-provider API gateway for ComputeSDK sandbox lifecycle management","framework":"Hono","architecture":"Modular providers","providers":{"supported":["railway","e2b","daytona","vercel","modal","render","namespace","blaxel","codesandbox"],"default":"railway"},"endpoints":{"health":"GET /health - Health check","info":"GET /info - Gateway information","openapi_json":"GET /openapi.json - OpenAPI specification (JSON)","openapi_yaml":"GET /openapi.yaml - OpenAPI specification (YAML)","sandbox_create":"POST /v1/sandboxes - Create sandbox and get URL","sandbox_list":"GET /v1/sandboxes - List sandboxes for workspace","sandbox_get":"GET /v1/sandboxes/:id - Get sandbox info and URL","sandbox_destroy":"DELETE /v1/sandboxes/:id - Destroy sandbox","events_create":"POST /v1/events - Store event from compute daemon","events_get":"GET /v1/events/:sandboxId - Get events for a sandbox"},"tunnel":{"note":"All sandbox operations (execute, files, terminals) are handled by the tunnel API at the sandbox URL","example":"POST {sandboxUrl}/execute"},"authentication":{"required":"X-ComputeSDK-API-Key header (always required - validates license and tracks usage)","business_models":{"byok":{"name":"Bring Your Own Keys (BYOK)","description":"Customer has their own provider account","required_headers":"X-ComputeSDK-API-Key + X-E2B-API-Key (or X-Railway-*)","billing":"Customer pays ComputeSDK for gateway + provider directly for usage"},"partnership":{"name":"Provider Partnership","description":"ComputeSDK manages provider credentials","required_headers":"X-ComputeSDK-API-Key only","billing":"Customer pays ComputeSDK, we pay provider","setup":"Provider sets E2B_API_KEY/RAILWAY_* as environment variables"}},"provider_selection":"X-Provider: railway | e2b (default: railway)"},"adding_providers":{"instructions":"See src/providers/README.md for how to add new providers","steps":["1. Create src/providers/{provider}.ts","2. Implement the Provider interface","3. Add to src/providers/index.ts","4. Deploy - no other changes needed!"]},"timestamp":"2026-04-12T11:58:52.230Z"}