- Retrieve the latest finished report run
Returns the most recent report run in the tenant, across all reports, that has reached a final status (Available, Error, Terminated or Cancelled).
Purpose: Check the outcome of the last report produced in the tenant, for example in a monitoring job, without knowing its submission ID.
When to use: In monitoring or health-check jobs that need the outcome of the most recent finished run without tracking submission IDs.
Notes:
- Runs that are still in progress are ignored.
| Parameter | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Zuora-Track-Id | header | string | No | Optional correlation identifier (up to 64 characters) that you choose. The Zuora One gateway records it; quote it to Zuora Support when you report a problem. | |
Authorization | header | string | Yes | Bearer <access_token> (Zuora OneID OAuth). |
Request body: none.
| HTTP status | Content type | Response schema |
|---|---|---|
200 | application/json | ReportRun |
400 | application/json | SpringError |
401 | application/json | GatewayError |
403 | application/json | GatewayError |
404 | none | No body |
429 | application/json | GatewayError |
500 | application/json | ServiceError |
ReportRun: One execution (submission) of a report layout.
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | No | Submission identifier of the run. Use it as submissionId to poll status and download. |
reportId | integer | No | Identifier of the report that was run. |
layoutId | integer | No | Identifier of the layout that was run. |
status | string | No | Current run status. See Report run status values. Allowed: Submitted, Upload Started, File Created, Available, Error, Terminated, Cancelled. |
fileName | string | No | Name of the output file. Populated once the file is produced. |
filterParameters | string | No | JSON text of the filters stored for the run, after defaults and period macros were resolved. Filters are stored with internal filter keys (key), operator (opr, omitted for =) and values (val1, val2). Treat the content as informational; its format can change. |
config | string | No | JSON text of output options: Show Filters (Y/N, print the filters in the file) and Enable Totals (Y/N, add total rows). |
createdBy | string | No | User that submitted the run. |
runDate | string (date-time) | No | Date and time the run was submitted, formatted yyyy-MM-dd'T'HH:mm:ss. |
updatedBy | string | No | User or process that last updated the run. |
updatedAt | string (date-time) | No | Date and time of the last status change, formatted yyyy-MM-dd'T'HH:mm:ss. |
Error response schemas (GatewayError, ServiceError, SpringError, SimpleError, MissingFiltersError, RunStatusConflict, RiaError, SignedUrlError) are defined once under Error response schemas in the API overview and in components/schemas.
Response codes: 200, 400, 401, 403, 404, 429, 500. Each response with a body includes worked examples; responses without a body say so.
- Zuora One production. Revenue Reporting paths start with /revenue/services/v1; Integration Reporting paths start with /api/integration/v1 or /api/integration/v2.https://one.zuora.com/revenue/services/v1/reports/run/latest
curl -i -X GET \
https://one.zuora.com/revenue/services/v1/reports/run/latest \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Zuora-Track-Id: close-run-2026-09-001'Success. The latest finished run.
Submission identifier of the run. Use it as submissionId to poll status and download.
Current run status. See Report run status values.
Name of the output file. Populated once the file is produced.
JSON text of the filters stored for the run, after defaults and period macros were resolved. Filters are stored with internal filter keys (key), operator (opr, omitted for =) and values (val1, val2). Treat the content as informational; its format can change.
JSON text of output options: Show Filters (Y/N, print the filters in the file) and Enable Totals (Y/N, add total rows).
Date and time the run was submitted, formatted yyyy-MM-dd'T'HH:mm:ss.
{ "id": 482391, "reportId": 10021, "layoutId": 3105, "status": "Available", "fileName": "WF_SUMMARY_482391.csv", "filterParameters": "{\"filters\":[{\"key\":\"A300\",\"val1\":\"SEP-2026\"},{\"key\":\"A101\",\"val1\":\"R\"}]}", "config": "{\"Show Filters\":\"Y\",\"Enable Totals\":\"N\"}", "createdBy": "INTEGRATION.USER", "runDate": "2026-10-09T07:15:02", "updatedBy": "INTEGRATION.USER", "updatedAt": "2026-10-09T07:16:40" }