Skip to main content

Get Statistics

GET /v1/stats Retrieve aggregated log counts grouped by time or source.

Query Parameters

Response

Grouped by day (default):
Grouped by hour:
Grouped by source:

Examples

Last 7 days by day:
Last 24 hours by hour:
By source:
Filter by environment:

Get Summary

GET /v1/stats/summary Quick overview of today’s activity compared to yesterday.

Response

Example

Error Responses

401 Unauthorized - Invalid or missing API key
How to resolve: All stats endpoints require authentication. Ensure your Authorization or X-API-Key header is included and valid. See Authentication for details on API key format and usage.

Examples

Dashboard Metrics

Display key metrics in your application dashboard:

Error Rate Monitoring

Track error rates over time:

Source Comparison

Compare log volume across services: