Run Search
{{api_url}}/shop/reportstore/run/search?limit=5&limit_start=0&report_key=amazon_mfn_returnsSearches the saved runs of reports, newest first. A run is one saved copy of a report for one period, for example the Amazon MFN Returns report for 2026-11-30.
Returns run_total, the count of every matching run (not just this page), and runs. Each run carries:
| Field | Description |
|---|---|
report_store_run_id | Run id, used by Run Get. |
report_key | The report's key. |
report_name | Display name. |
report_params | The parameters the report was generated with. |
report_summary | The report's totals, each with key, label, and value. |
period_start | First day the run covers. |
period_end | Last day the run covers. |
row_count | Rows saved in the run. |
date_created | When the run was saved. |
Rows are not included; read them with Run Get.
period_from and period_to match runs whose period_start falls in that range. Send the same date in both to find the run for one day; a run_total of 0 means no saved copy exists for that report and day.
Authorization
Bearer token, sent in the Authorization header. Inherited from the collection.
Query Parameters
| Key | Value | Description |
|---|---|---|
limit | 5 | Maximum runs to return. Maximum 100. |
limit_start | 0 | Number of leading runs to skip, for paging. |
period_from optional | 2026-11-30 | Runs whose period_start is on or after this date. Format: 2026-11-01 |
period_to optional | 2026-12-31 | Runs whose period_start is on or before this date. Format: 2026-11-30 |
report_key | amazon_mfn_returns | Only runs of this report, the report_key from Definition List. Omit for runs of every report. |
Example Request
curl --location --request GET '{{api_url}}/shop/reportstore/run/search?limit=5&limit_start=0&report_key=amazon_mfn_returns' \
--header 'Authorization: Bearer {{auth_token}}'Example Responses
Run Search
Request
curl --location --request GET '{{api_url}}/shop/reportstore/run/search?limit=5&limit_start=0&report_key=amazon_mfn_returns' \
--header 'Authorization: Bearer YOUR_API_KEY'Response 200 OK
{
"run_total": 1,
"runs": [
{
"report_store_run_id": 13,
"report_key": "amazon_mfn_returns",
"report_name": "Amazon MFN Returns",
"report_params": {
"report_date": "2026-11-30"
},
"report_summary": [
{
"key": "return_units",
"label": "Units Returned",
"value": 0
},
{
"key": "refunded_amount",
"label": "Total Refunded",
"value": 0
},
{
"key": "return_rows",
"label": "Returns",
"value": 0
}
],
"period_start": "2026-11-30",
"period_end": "2026-11-30",
"row_count": 0,
"date_created": "2026-12-01 09:07:27"
}
]
}
