List generated reports, newest first.
Returns only reports generated by the caller. Results can be narrowed with the optional body filter (report type, country and a created_at time range).
Report list filter
Report types API clients can generate and filter by.
- Mock serverhttps://docs.leanx.me/_mock/openapi/v2/reports/list/
- Leanx Test serverhttps://api.leanxtest.me/v2/reports/list/
- Leanx Production serverhttps://api.leanx.me/v2/reports/list/
curl -i -X PUT \
'https://docs.leanx.me/_mock/openapi/v2/reports/list/?limit=50&offset=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"report_type": "payout",
"country": "BGD",
"start_ts": "2019-08-24T14:15:22Z",
"end_ts": "2019-08-24T14:15:22Z"
}'Successful Response
Kind of report.
Generation status. The file can be downloaded once this is success.
true if the scheduler created this report, false if you requested it.
Cadence at which the scheduler auto-generates a client report: daily covers yesterday, monthly last month, both in the schedule's zone.
The filters the report was generated with.
Payout report parameters available to API clients.
Mirrors the client-facing parameters of stream_order_results so a generated report can be reproduced exactly from the persisted params.
[ { "auto_generated": false, "content_type": "text/csv", "created_at": "2024-12-01T01:02:03.000000Z", "file_name": "payout_IND_2024-12-01.csv", "file_status": "success", "id": "00000000-0000-4000-A000-000000000000", "report_type": "payout" } ]