POST /reports/exports
Queues a background job that generates the report CSV, uploads it to storage, and emails the requester when the download is ready. Params mirror the query parameters of the corresponding sync report endpoint.
Authorization
JWTKeyAuth In: header
Request Body
application/json
Export request
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/reports/exports" \ -H "Content-Type: application/json" \ -d '{ "params": {}, "report_type": "ci_billing" }'{ "completed_at": "string", "created_at": "string", "end_date": "string", "error": "string", "expires_at": "string", "file_size_bytes": 0, "id": "string", "report_type": "string", "row_count": 0, "start_date": "string", "status": "pending"}GET /org_metrics/job_runner_recommendations
Returns, for every GitHub job in the organization's last 7 days that should move to a different runner size, a right-sizing recommendation (derived from the job's aggregate CPU/memory usage across all its runs) plus a sample of its most recent runs.
GET /reports/billing/agents
Returns billing data for Claude managed-agent agent VMs: a daily cost chart, summary totals, a paginated per-instance entry list, and available filters (labels, environments).