/api/predictive-compliance// Fetch health
fetch('/api/predictive-compliance/health', { credentials: 'include' })
.then(r => r.json())
.then(console.log);
// Create job
fetch('/api/predictive-compliance/jobs', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ payload: { /* ... */ } })
});