Skip to content

AI Agents Integration

PingRoot can monitor your AI agents to ensure they’re running smoothly and respond within expected timeframes.

Add a health check endpoint to your agent:

// Example health endpoint for your agent
app.get('/health', (req, res) => {
res.json({
status: 'healthy',
agent: 'my-agent',
uptime: process.uptime(),
last_request: lastRequestTime,
});
});
  1. Go to your PingRoot dashboard.
  2. Click Add Monitor.
  3. Set URL to your health endpoint (e.g., https://your-agent.com/health).
  4. Set interval to 5 minutes (Free) or 1 minute (Pro).
  5. Set Expected Status to 200.
  6. Click Create Monitor.
  • Use a short check interval (5 minutes on Free, 1 minute on Pro) for critical agents.
  • Enable alerts so you’re notified the moment your agent stops responding.
  • Track response time trends to spot degradation early.