cURL
curl --request GET \ --url https://api.logfleet.io/api/v1/dashboard/usage \ --header 'Authorization: Bearer <token>'
{ "logs_ingested": 123, "metrics_sent": 123, "heartbeats": 123, "streaming_bytes": 123, "api_requests": 123, "period_start": "2023-11-07T05:31:56Z", "period_end": "2023-11-07T05:31:56Z" }
Returns usage metrics for the current billing period
JWT token obtained from /auth/login
Period start (RFC3339)
Period end (RFC3339)
Usage summary