latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-201,4701,08213.3 MB

905703de9c0f

billing

List usage report exports

Lists all usage report exports for an enterprise. The authenticated user must be an enterprise admin or billing manager, or a custom role holder with fine-grained read access to enterprise billing. An installation access token for a GitHub App installed on the enterprise with write access to enterprise administration, or with read access to enterprise billing, can also list usage report exports.

get/enterprises/{enterprise}/settings/billing/reports

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

List of usage report exports

Example response

{
  "usage_report_exports": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "report_type": "detailed",
      "start_date": "2024-01-01",
      "end_date": "2024-01-31",
      "status": "completed",
      "download_urls": [
        "https://github.com/enterprises/github/metered_exports/1234"
      ],
      "created_at": "2024-01-15T10:30:00Z",
      "actor": "monalisa"
    }
  ]
}