I need to retrieve deployment status for a large list of devices using the Mender API. Currently, I’m making individual calls to /api/management/v1/deployments/deployments/devices/{id}
for each device, but I’m hitting the rate limiter and receiving 429 Too Many Requests errors.
Current approach limitations:
-
No bulk endpoint available for querying multiple device deployment statuses simultaneously
-
Individual API calls don’t scale well for large device lists
-
Rate limiting blocks progress without clear guidance on limits
I implemented a retry strategy that makes requests until hitting the rate limit, then waits before resuming. However, I need to understand:
-
What are the specific rate limits for the hosted Mender v4.0.0 API?
-
Is this information documented anywhere?
-
Are there any recommended patterns or alternative approaches for bulk deployment status queries?
Environment: Hosted Mender v4.0.0 (Open Mender)
Any guidance on rate limits or suggestions for more efficient approaches would be greatly appreciated.