Skip to content

Logs & metrics

Watch a deploy happen, read what your app is printing, and track how it's doing — all per project.

Streaming build logs (SSE)

Deploys stream step-by-step events over Server-Sent Events as the 8-step pipeline runs:

curl -N -X POST https://api.cantila.app/v1/projects/PROJECT_ID/deploy/stream \
  -H "Authorization: Bearer <api_key>"

The CLI streams by default — every cantila deploy shows the build live:

cantila deploy <projectId>

Disable the stream when you want a quiet, fire-and-forget deploy:

cantila deploy <projectId> --no-stream

Runtime & build logs

Read the project's runtime and build logs at any time:

curl https://api.cantila.app/v1/projects/PROJECT_ID/logs \
  -H "Authorization: Bearer <api_key>"

Metrics

Pull project metrics:

curl https://api.cantila.app/v1/projects/PROJECT_ID/metrics \
  -H "Authorization: Bearer <api_key>"

Use metrics to decide when to scale or pin a project always-on.