Query a report by report_id to obtain its generation status and available file information. A successful API call does not mean generation succeeded: inspect data.status.

Body Parameters

string(64)
required
Report record ID returned by Export Report. Do not supply task_id, user_id, or entity identifiers.
The authenticated merchant identity determines report ownership. Missing, deleted, or inaccessible reports return report_not_found without disclosing another user’s data. Reports in PROCESSING, SUCCESS, and FAILED can all be queried.

Response

The standard response envelope contains a report object in data. Check success and code even on HTTP 200. Null-valued business fields are normally omitted. Lengths below describe storage capacity, not guaranteed API maximum-length validation.
string
Business result code.
string
Result description.
string
Trace ID, usually 32 characters.
integer (int64)
Response timestamp in Unix milliseconds.
boolean
Whether the API call succeeded. A query for a report with status=FAILED still returns success=true.
object
Report information.

Errors

See Report Errors for request, configuration, dependency, and asynchronous generation errors, and Common Errors for shared authentication and permission failures. Dependency failures and null data are errors, not successful empty results. When generation fails, a successful query returns data.status=FAILED with fail_code and fail_reason when available. Handle API failures using the top-level code, and generation failures using data.fail_code.