Skip to main content
LogFleet uses rate limiting to ensure fair usage and protect the platform from abuse. This guide explains how rate limiting works and how to handle it in your applications.

Rate Limit Overview

Different endpoint groups have different rate limits:

Rate Limit Headers

Every API response includes rate limit information:

Handling Rate Limits

When you exceed the rate limit, you’ll receive a 429 Too Many Requests response:

Retry Strategy

Implement exponential backoff with jitter:

Best Practices

1. Monitor Rate Limit Headers

Track your remaining quota and slow down before hitting limits:

2. Batch Requests

When possible, use batch endpoints instead of individual requests:

3. Cache Responses

Cache responses that don’t change frequently:

4. Use Webhooks

For real-time updates, use webhooks instead of polling:

Edge API Rate Limits

Edge agents have higher rate limits (1000 req/min) to accommodate:
  • Heartbeats every 30 seconds
  • Metrics every 60 seconds
  • Config syncs every 60 seconds
With multiple agents, ensure your total request rate stays within limits:
If you have more than ~300 agents, contact support to discuss rate limit increases.

Rate Limits by Plan

Higher-tier plans have increased rate limits:

Troubleshooting

  1. Check if you have retry loops without proper backoff
  2. Verify you’re not making duplicate requests
  3. Review the X-RateLimit-Remaining header to see your usage
  4. Consider caching frequently-accessed data
  1. Verify heartbeat/metrics intervals aren’t too aggressive
  2. Check total agent count vs. edge API limits
  3. Ensure agents aren’t retrying failed requests too quickly
  4. Contact support if you need higher limits
Enterprise customers can request custom rate limits. Contact support@logfleet.io with:
  • Your organization ID
  • Current usage patterns
  • Required limits and justification