1.1.3 - Bug fixes & updates to the automation scheduler

This commit is contained in:
ponzischeme89
2026-02-24 23:51:33 +13:00
parent ad3a36ee2e
commit a386683afd
7 changed files with 182 additions and 26 deletions
+11
View File
@@ -451,6 +451,17 @@ export async function runAutomationRule(ruleId, dryRun = false) {
})
}
/**
* GET /api/automation/logs - Get automation run logs
* Query params: rule_id (optional), limit (default 100)
* Returns: { success, logs: [...] }
*/
export async function getAutomationLogs(ruleId = null, limit = 100) {
const params = new URLSearchParams({ limit })
if (ruleId) params.set('rule_id', ruleId)
return apiFetch(`/automation/logs?${params}`)
}
// ============ SUGGESTED MATCHES API ============
/**