New updates and improvements to Lago.

Retrieve past usage

We have added a new endpoint to retrieve past usage. When a billing period has ended, users can still retrieve usage data through <text-code>GET /customers/{external_customer_id}/past_usage<text-code>.

Users must specify <text-code>external_subscription_id<text-code> and can filter results by <text-code>billable_metric_code<text-code>. They can also select the number of past periods for which they wish to retrieve usage data.

Learn more