GET /reports/billing/cache
Returns billing data for cache operations including chart data, summary, paginated entry list, and available filters.
Authorization
JWTKeyAuth In: header
Query Parameters
Start date (RFC3339)
End date (RFC3339)
Sort column (default: timestamp)
Sort direction: asc or desc (default: desc)
Filter by cache types
Page number (default: 1)
Items per page (default: 50, max: 200)
Response format: json or csv (default: json)
Response Body
application/json
application/json
application/json
curl -X GET "https://api.warpbuild.com/api/v1/reports/billing/cache?start_date=string&end_date=string"{
"available_filters": {
"types": [
"string"
]
},
"chart": {
"bucket_interval_seconds": 0,
"daily": [
{
"date": "string",
"segments": [
{
"cost": 0,
"job_count": 0,
"key": "string"
}
],
"total_cost": 0
}
],
"group_by": "string"
},
"entries": {
"items": [
{
"cost": 0,
"timestamp": "string",
"type": "string"
}
],
"next": 0,
"page": 0,
"per_page": 0,
"total_pages": 0,
"total_rows": 0
},
"organization_id": "string",
"summary": {
"operations_cost": 0,
"storage_cost": 0,
"total_cost": 0,
"total_entries": 0
}
}{
"code": "string",
"description": "string",
"message": "string",
"sub_code": "string",
"sub_message": "string"
}{
"code": "string",
"description": "string",
"message": "string",
"sub_code": "string",
"sub_message": "string"
}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/ci
Returns billing data for CI jobs including chart data, summary, paginated job list, and available filters.