Fix stats query params: sending_streams[] and add --esps filter#4
Conversation
- Fix stats get: wrong param name streams[] → sending_streams[] (was silently ignored by the API, making --streams filter have no effect) - Add --esps flag (email_service_providers[]) to all 5 stats commands: get, by-domain, by-category, by-esp, by-date - Improve --streams flag description to clarify valid values Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 35 minutes and 42 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
stats get: wrong query paramstreams[]→sending_streams[]— the filter was being silently ignored by the API, so--streams transactionalreturned unfiltered results identical to no filter at all--espsflag (email_service_providers[]) to all 5 stats commands:get,by-domain,by-category,by-esp,by-date--streamsflag description to clarify valid values (transactional, bulk)Test plan
mailtrap stats get --start-date 2026-03-07 --end-date 2026-04-07 --streams transactionalreturns different results than without--streamsmailtrap stats get --start-date 2026-03-07 --end-date 2026-04-07 --esps Googlefilters by ESP correctlyby-domain,by-category,by-esp,by-date🤖 Generated with Claude Code