WarpBuild LogoWarpBuild Docs
Reports

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.

POST
/reports/exports

Authorization

JWTKeyAuth
Authorization<token>

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"}