Skip to content

Emit deploy-health notifications (drift / failure)

POST
/cron/deploy-health
curl --request POST \
--url https://example.com/api/cron/deploy-health \
--header 'Content-Type: application/json' \
--data '{ "events": [ {} ] }'

Internal endpoint for the deploy-health guard. Accepts drift + deploy-failure events and emits in-portal notifications (deploy_drift / deploy_failed), deduped per app+kind. Protected by CRON_SECRET header.

Media type application/json
object
events
required
Array<object>
object

Events processed (emitted/skipped counts)

Media type application/json
object

Invalid body

Missing or invalid CRON_SECRET