Deployments
Publish a version, follow the build and roll back.
Base URLhttps://api.kalle.build/v1AuthBearer kalle_sk_…VersionKalle-Version: 2026-11-01
Publish a version
Leave out version to publish the newest one. The deployment goes through building, testing and live. If a test fails, it ends as failed and the previous version stays live.
POST/v1/projects/prj_8Hq2c/deployments
curl https://api.kalle.build/v1/projects/prj_8Hq2c/deployments \
-H "Authorization: Bearer $KALLE_API_KEY" \
-H "Kalle-Version: 2026-11-01" \
-H "Content-Type: application/json" \
-d '{
"version": 14
}'Roll back
Puts the previous live version back in a few seconds and records it as a new deployment.
POST/v1/deployments/dpl_2Vx7/rollback
curl https://api.kalle.build/v1/deployments/dpl_2Vx7/rollback \
-X POST \
-H "Authorization: Bearer $KALLE_API_KEY" \
-H "Kalle-Version: 2026-11-01"