200 Successful Response
Schema: ReportsListResponse
-
itemsarray · ReportResponse requiredReportResponse -
List of items
10 fields
-
idstring required -
Unique identifier for this generated report. Use this ID to retrieve the report details or delete it. Example: '019ab37c-rpt1-7000-8000-000000000001'.
-
business_idstring required -
UUID of the business this report belongs to. Reports are scoped to a single business and cannot be accessed by other businesses.
-
report_namestring required -
The report type that was generated. Matches the report_name from the original request. Example: 'profit_and_loss', 'master_transactions', 'ar_report'.
-
created_atstring · date-time required -
Timestamp when the report was generated (ISO 8601 format). Example: '2026-01-15T14:00:00Z'.
-
downloaded_atstring · date-time required -
Timestamp of the most recent download of this report. Updated each time the report is accessed. Useful for tracking report usage.
-
s3_bucketstring required -
Name of the S3 bucket where the report file is stored. Format: 'dayzero-{environment}-reports'. Example: 'dayzero-prod-reports'.
-
s3_keystring required -
S3 object key (path) for the report file within the bucket. Format: 'reports/{business_id}/{report_type}_{dates}.xlsx'. Example: 'reports/019ab37c-bus1/master_transactions_2026-01-01_2026-12-31.xlsx'.
-
generation_paramsobject -
Dictionary of all parameters used to generate this report. Includes resolved dates (even when using tax_year/tax_quarter), filters, and any additional parameters. Useful for understanding report scope and audit purposes. Example: {'start_date': '2026-01-01', 'end_date': '2026-12-31', 'ledger_id': null}.
-
download_urlstring required -
Same-origin proxy URL for downloading the report file. Streams through the backend to avoid CORS and presigned-URL expiration issues. Requires Authorization and x-business-id headers.
-
generated_by_namestring -
Display name of the user who generated this report, e.g. 'Sarah Chen'. Extracted from generation_params.
-
-
totalinteger -
Total number of items (null when not calculated for performance)
-
limitinteger -
Pagination limit
-
next_cursorstring -
Cursor for next page
-
prev_cursorstring -
Cursor for previous page
-
has_nextboolean required -
Whether there are more items
-
has_prevboolean required -
Whether there are previous items