API Overview
Base URL: https://kettle-anthropic-api-demo.lunal.dev
The Kettle API is Lunal's implementation of attestable builds. It lets you submit source code and get back an attestable build with provenance. Each build produces compiled artifacts alongside cryptographic provenance and attestation, so you can verify exactly what was built, from what source, and with which toolchain.
Provide either a ZIP file or a git repo URL as the source.
| Method | Endpoint | Description |
|---|---|---|
| POST | /build | Build and download outputs as a ZIP archive |
| POST | /build/stream | Build with streaming progress via SSE |
Quick Start
# Build from a git repo
curl -X POST https://kettle-anthropic-api-demo.lunal.dev/build \
-F "repo_url=https://github.com/owner/repo" \
-F "ref=main" \
-o build.zip
# Build from a ZIP file
curl -X POST https://kettle-anthropic-api-demo.lunal.dev/build \
-F "source=@source.zip" \
-o build.zip
# Stream build progress (SSE)
curl -N -X POST https://kettle-anthropic-api-demo.lunal.dev/build/stream \
-F "repo_url=https://github.com/owner/repo"