Skip to Content
Uptimeify Docs
OrganizationReports

List Report Runs

Returns the organization's report generation/delivery history, optionally filtered to a single report.

GET /api/organization/report-runs

Lists report runs for the organization, newest first. A run is created every time a report is generated: on schedule or via Send Report Now. The organization is derived from your authenticated session or API token. Available to any organization role, including read-only users. A caller restricted to some customers (customer-bound token or login) only sees reports whose scope is customers and lists only customers in their scope; reports over all customers or over tags are left out.

Query Parameters

FieldTypeRequiredNotes
reportIdstring (uuid)noRestrict to runs of one report. If the id does not resolve to a report in your organization, the list is empty.
limitintegernoDefault 50, capped at 200.
offsetintegernoDefault 0.
envelopestringnoitems: answer as { items, total, page, perPage }. Becomes the default on 2027-01-18.

Example (cURL)

BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"

curl -X GET "$BASE_URL/api/organization/report-runs?reportId=3f1c9c1e-8d2a-4c7e-9b1a-2d5f6a7b8c90&limit=20&envelope=items" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/json"

Response

{
  "items": [
    {
      "id": "9a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
      "reportId": "3f1c9c1e-8d2a-4c7e-9b1a-2d5f6a7b8c90",
      "reportName": "Weekly Ops Digest",
      "periodStart": "2026-05-25T00:00:00.000Z",
      "periodEnd": "2026-06-01T00:00:00.000Z",
      "periodLabel": "May 25 - Jun 1, 2026",
      "status": "sent",
      "trigger": "schedule",
      "sentAt": "2026-06-01T02:00:12.000Z",
      "recipients": ["ops@agency.io"],
      "hasPdf": true,
      "summary": { "sitesIncluded": 42, "incidents": 3 },
      "createdAt": "2026-06-01T02:00:00.000Z"
    }
  ],
  "total": 1,
  "page": 1,
  "perPage": 20
}

List form: with envelope=items the list arrives as { items, total, page, perPage }. Without it the endpoint still answers the current form (a bare array of the same items), which is deprecated; { items, ... } becomes the default on 2027-01-18.

status is one of pending, generating, sent, failed, skipped_empty. trigger is schedule or manual. hasPdf is true only when a PDF was archived for this run. Use it to decide whether to call Download Report PDF.

Common errors

  • 401 Unauthorized: not authenticated.
  • 403 Forbidden (forbidden): you do not have access to this organization.
  • 400 Invalid Report identifier: the reportId query parameter was sent but is not shaped like a UUID. A well-formed reportId that matches no report returns an empty list instead.

On this page