GET /health
Healthcheck no contrato padrão da Controle Online (status, version, timestamp). Não consulta o banco: responde 200 mesmo com o MySQL fora.
status
version
timestamp
GET /monitor/run
Executa um ciclo do monitor. É chamado pelo cron web externo (a hospedagem não tem cron frequente).
Authorization: Bearer <MONITOR_RUN_TOKEN>
?token=<MONITOR_RUN_TOKEN>
401
MONITOR_RUN_MAX_SECONDS
Resposta (resumo):
{ "monitor": "c3po", "version": "0.1.0", "startedAt": "2026-12-06T12:00:00+00:00", "durationMs": 12, "deadlineSeconds": 20, "timedOut": false, "catalogEntries": 0, "checked": 0, "sourceErrors": {} }
There was an error while loading. Please reload this page.