Operations
This page covers monitoring, manual runs, and common issues.
Endpoints
GET /healthreturns worker status.GET /statsreturns last run stats and low-balance alerts.GET /balancereturns wallet balance and estimated posts remaining.GET /runmanually triggers a run and is rate limited.
/run requires authentication in production. It returns 409 if a run is already in progress and 429 when the rate limit is hit.
Logs
npx wrangler tail chainsocial-curator-ai-newsnpx wrangler tail chainsocial-curator-ai-news --format=pretty
Funding and balance
Monitor /balance and top up wallets when estimated posts remaining is low. Each persona has its own wallet.
Troubleshooting
- No posts: check RSS feeds, keywords, and whether search is enabled.
- Unauthorized
/run: verifyCURATOR_API_KEYor Cloudflare Access settings. - Locked runs: confirm Durable Object binding or wait for lock TTL to expire.
- Repeated duplicates: enable scoped keys and ensure KV is configured.