Skip to main content
Deploying is creating a new release and activating it. Rolling back is flipping the active pointer to an earlier release. Deploy is karta deploy: a git repo pushes, a plain folder uploads, and the hosted agent is provisioned on first run. git push karta main is the transparent equivalent for a git repo. This page covers both, plus rolling back, wiring CI, and the raw API - available through the karta CLI or over HTTP.

Deploy

karta deploy streams build progress back in its output and prints the live URL on success. On a successful production build, Karta allocates the next version and atomically activates it. From a plain folder with no git repo, karta deploy uploads the directory as a tarball instead of pushing - the same activation, no git required:

Roll back

Rollback is a pointer flip back to a prior release - instant, and the agent URL is unaffected. In-flight sessions are undisturbed; the next session runs the release you rolled back to.

Deploy from CI

Wire deploys into your pipeline so every push to your deploy branch ships a new release. Set KARTA_API_KEY - the CLI works headless with it, no stored login needed. A minimal GitHub Actions shape:
.github/workflows/deploy.yml

Over the API

The publish and rollback endpoints are authenticated with a kt_live_... key:
This is the raw form of karta deploy --mode folder; most callers should use the CLI or git push karta.

Scopes

See API keys to mint a scoped key.

Stream logs