{"slug": "billing-usage-report-api-limited-to-the-past-24-months", "title": "Billing usage report API limited to the past 24 months", "summary": "GitHub announced that starting January 1, 2027, its Get billing usage report REST API endpoints will return only data from the past 24 months, matching the retention already applied to other billing usage report endpoints such as the AI credit and premium request usage reports. The change affects users and organizations on all plans and enterprises on GitHub Enterprise Cloud, including those with data residency. GitHub advised anyone needing usage data older than 24 months to export it from these endpoints before January 1, 2027.", "body_md": "Announcement\n\n# Billing usage report API limited to the past 24 months\n\nStarting January 1, 2027, the [Get billing usage report](https://docs.github.com/rest/billing/usage) REST API endpoints return only data from the past 24 months. This matches the retention of the other billing usage report endpoints, such as the AI credit and premium request usage reports.\n\nThis affects users and organizations on all plans, and enterprises on GitHub Enterprise Cloud, including those with data residency.\n\nIf you need usage data older than 24 months, export it from these endpoints before January 1, 2027.", "url": "https://wpnews.pro/news/billing-usage-report-api-limited-to-the-past-24-months", "canonical_source": "https://blog.github.com/changelog/2026-12-02-billing-usage-report-api-limited-to-the-past-24-months/", "published_at": "2026-12-02 16:31:54+00:00", "updated_at": "2026-12-02 17:15:50.346589+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["GitHub", "GitHub Enterprise Cloud", "Get billing usage report REST API"], "also_reported_by": [], "takeaway": "Export billing usage data from GitHub's Get billing usage report REST API before January 1, 2027, because from that date the endpoints return only the past 24 months of data on all plans and on GitHub Enterprise Cloud, including data residency.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/billing-usage-report-api-limited-to-the-past-24-months", "markdown": "https://wpnews.pro/news/billing-usage-report-api-limited-to-the-past-24-months.md", "text": "https://wpnews.pro/news/billing-usage-report-api-limited-to-the-past-24-months.txt", "jsonld": "https://wpnews.pro/news/billing-usage-report-api-limited-to-the-past-24-months.jsonld"}}