Generate report output
Reports
Generate report output
Queue asynchronous report generation. Returns a Document record that can be polled for status and downloaded when complete.
POST
Generate report output
Workflow
- Call this endpoint — returns a Document with
status: queued - Poll the document status via GraphQL until
statusbecomesavailable(orfailed) - Download the file via
GET /documents/{id}/downloadto get a presigned S3 URL - Use the presigned URL to download the generated report file
Request Body (Optional)
You can optionally passvariables to override the report’s stored variable values:
Variable Values
Variables support Chronic-style date parsing:today 00:00:00— start of today3 days ago— 3 days before nowbeginning of month— first day of current month2024-01-15 09:00:00— explicit date/time
Access Control
Only the report owner can generate it. Returns 403 if the authenticated user is not the owner.Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the report to generate
Body
application/json
Optional variable overrides for report generation
Response
Report generation queued successfully. Returns a Document record.

