The deploy pipeline
Each step is available as a separate API endpoint so you can run them independently or chain them together:What gets deployed
The deploy system examines the session’s workspace and detects the project type. It supports:- Node.js - Express, Next.js, React, and other Node frameworks
- Python - FastAPI, Flask, Django, and other Python frameworks
- Ruby - Rails applications
- Static sites - HTML/CSS/JS served via a lightweight server
- Docker - bring your own Dockerfile for any stack
Deploy manifest
Every deployable project needs aruntm.yaml at the workspace root:
Streaming build logs
ThePOST /api/sessions/{id}/deploy/run endpoint streams NDJSON events as the build progresses:
Volumes
Sessions that need persistent storage across redeploys can configure volumes:GET /api/sessions/{id}/deploy/volumes- read current volume configurationPUT /api/sessions/{id}/deploy/volumes- update volume mounts
Redeploying
Deploying again to the same project name updates the existing deployment. The system detects changes, rebuilds only what is necessary, and swaps to the new version with minimal downtime.Permissions
Deploying requires thedeployments:write scope on your API key. The preflight step also checks that the session’s owner has sufficient quota for the target tier.
See Deploy Info for the full API reference.