# Retrieve a report.

> Its status — `pending`, `building`, `ready`, `failed` (`failure_reason`: `too_many_rows` for an XLSX past Excel's last row, ask for CSV; `build_failed`), `expired` (the file is kept 30 days) — and, once `ready`, `url`: a download link signed for 15 minutes (`url_expires_at`). Ask again for a fresh one; never store it.

`GET https://api.wajub.com/sync/reports/{id}`

## Path parameters

- `id` (string, required): The report's `id`.

## Responses

- `200`: OK
- `404`: Unknown, another platform's or the other environment's

## Example response (200)

```json
{
  "code": 200,
  "status": "OK",
  "message": "Report retrieved",
  "report": {
    "id": "rpt_Hq2Lw8Tz4Nc6Vb1Xk9RmPd3F",
    "object": "report",
    "type": "payout_reconciliation",
    "format": "csv",
    "format_version": 1,
    "period_start": "2026-11-01",
    "period_end": "2026-11-30",
    "account": null,
    "status": "ready",
    "row_count": 18342,
    "file_name": "payout_reconciliation_v1_2026-11-01_2026-11-30.csv",
    "file_size": 2934112,
    "failure_reason": null,
    "requested_via": "api",
    "created_at": "2026-12-01T08:00:00+00:00",
    "completed_at": "2026-12-01T08:00:41+00:00",
    "expires_at": "2026-12-31T08:00:41+00:00",
    "url": "https://…",
    "url_expires_at": "2026-12-01T08:16:02+00:00"
  }
}
```
