useApiAuthAuditAnalytics
TheuseApiAuthAuditAnalytics hook returns aggregated analytics for API auth requests.
Parameters
ISO start date.
ISO end date.
Optional key filter.
Include top keys breakdown.
Include top endpoint paths.
Include blocked reason stats.
Include rate-limit breakdown.
Limit for top-N aggregations.
Return Value
Aggregated analytics payload.
Whether request is in progress.
Error from the latest request.
Revalidate analytics.
