GET /reports/billing/docker-builder
Returns billing data for Docker Builder sessions including chart data, summary, paginated session list, and available filters.
Authorization
JWTKeyAuth In: header
Query Parameters
Start date (RFC3339)
End date (RFC3339)
Chart grouping: profile or arch (default: profile)
Filter by profiles
Filter by architectures
Sort column (default: timestamp)
Sort order: asc or desc (default: desc)
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/docker-builder?start_date=string&end_date=string"{
"available_filters": {
"archs": [
"string"
],
"profiles": [
"string"
]
},
"chart": {
"bucket_interval_seconds": 0,
"daily": [
{
"date": "string",
"segments": [
{
"cost": 0,
"job_count": 0,
"key": "string"
}
],
"total_cost": 0
}
],
"group_by": "string"
},
"organization_id": "string",
"sessions": {
"items": [
{
"arch": "string",
"cost": 0,
"duration": 0,
"profile": "string",
"timestamp": "string"
}
],
"next": 0,
"page": 0,
"per_page": 0,
"total_pages": 0,
"total_rows": 0
},
"summary": {
"total_cost": 0,
"total_sessions": 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 /reports/billing/ci
Returns billing data for CI jobs including chart data, summary, paginated job list, and available filters.
GET /reports/jobs
Returns aggregated per-job metrics (run count, success rate, p75/p90 of duration, queue time, CPU, memory) along with a multi-line time-series chart for the selected metric and percentile.