Export app code as a zip
Download any owned commit as a time-limited zip (Pro, owner-only).
Export one version
- Run
export_code {app, sha?};shadefaults tomain. - Require the owner’s Pro plan; Free accounts get
payment_required. - Download from the returned
urlwith itssha,bytes, andexpires_at. - Expect the zip to hold exactly the committed tree under
<slug>-<shortsha>/. - Stay under 256 MiB; larger trees refuse with a clear error.
- Download within 1 hour; the stored object is deleted after 24 hours.
For the person-side walkthrough, see How deploys work.