billing
Get a usage report export
Gets the status and details of a usage report export by ID. The authenticated user must be an enterprise admin or billing manager.
get/enterprises/{enterprise}/settings/billing/reports/{report_id}
Path parameters
enterprisestring required
The slug version of the enterprise name.
report_idstring uuid required
The unique identifier (UUID) for the usage report export.
Response
Usage report export details
Example response
{
"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"
}