You need to know the formatting for startDate and endDate fields in the SPE Rest API Events Report /spe/api/v1/download-detailed-report.
In the body of SPE Rest API Events Report
/spe/api/v1/download-detailed-report
the formatting is as follows
{ "startDate": "YYYY-MM-DDTHH:MM:SS", "endDate": "YYYY-MM-DDTHH:MM:SS", "type": "*"}
This example will generate an Events Report with data between June 01, 2025 12:00am and July 01, 2025 11:59pm.
{ "startDate": "2025-06-01T00:00:00", "endDate": "2025-07-01T23:59:59", "type": "*"}
The type field can be used to narrow to Events Report to a specific type of event if desired. * will gather all event types.