---
title: "Reports — API v1 and MCP | Nodea Documentation"
description: "Reference of the Reports module: REST API v1 endpoints (report list, report, PDF download), the account:read scope, the products account permission, MCP tool client-reports-list."
url: "https://nodea.io/en/api-docs/client-reports"
lang: "en"
updated: "2026-11-18"
---

# Reports — API v1 and MCP | Nodea Documentation

> Reference of the Reports module — monthly server reports sent by Nodea: read-only API v1 endpoints (list, details, PDF download), the account:read scope, the MCP tool and examples.

The **Reports** module gives access to the monthly server reports Nodea sends to your account: CPU, disk and network usage, backup status, availability of monitored websites, admin work and completed tasks — as one PDF per month and report group. The panel shows the same view at `/app/client-reports`. This document describes the REST API v1 layer (`/api/v1/client-reports*`) and the module's MCP tool. The module is read-only.

## Authentication and scopes

API v1 authenticates with a Passport personal access token in the `Authorization: Bearer <token>` header.

- `account:read` — every endpoint and the tool of the module.

Rate limit: `throttle:api-v1` = 240/min per token user; PDF downloads additionally 60/min. In MCP the tool additionally needs the transport scope `mcp:use`.

**Availability:** the module is being rolled out to customers gradually. Until it is enabled for customers the endpoints answer `404` and the MCP tool returns the error "Client reports are not available for this account yet.".

## Customer account and visibility

Reports belong to a **customer account** (see [Customer accounts](https://nodea.io/en/api-docs/accounts)). A request acts in the current account (token pin → `X-Account-Id` header → default account). Besides the token scope the account permission `products` is required. The API returns only **sent** (`sent`) and **archived** (`archived` — reports of previous years imported from the former report service) reports. Drafts prepared by administrators are never returned. A report of another account — also another account of the same user — answers `404`, exactly like an unknown id. The period is a calendar month as `YYYY-MM`; times are returned in UTC (ISO 8601 with `Z`).

## API v1 — endpoints

| Method | Path | Scope | Description |
| --- | --- | --- | --- |
| GET | /api/v1/client-reports | account:read | Reports of the current account, newest month first. Parameters: `period` (YYYY-MM — the report of one month), `year` (2000–2100), `per_page` (1–100, default 20), `page`. |
| GET | /api/v1/client-reports/{id} | account:read | One report (metadata). `{id}` is the ULID from the list. |
| GET | /api/v1/client-reports/{id}/pdf | account:read | The report PDF: `Content-Type: application/pdf`, `Content-Disposition: attachment; filename="raport-YYYY-MM-<group>.pdf"`. |

### Response — ClientReportResource

- `id` — report id (ULID).
- `period` — month of the report (YYYY-MM).
- `group_name` — name of the report group (one report may cover several servers).
- `brand` (`nodea`|`netgraf`|`mizzox`|`domenomania`|`alterpage`), `brand_label` — the brand the report was sent under.
- `status` (`sent`|`archived`), `source` (`generated`|`archive`).
- `sent_at` — when the report was e-mailed (nullable; archived reports are usually `null`).
- `pdf_size` — file size in bytes (nullable), `pdf_url` — PDF download address (nullable when the file is not available).

The list returns the standard pagination `links` and `meta` next to `data`; a single report — an object in `data`.

```json
{
  "data": [{
    "id": "01jbx4w3k2m9q8r7t6v5y4z3a2",
    "period": "2026-09",
    "group_name": "Shop",
    "brand": "nodea",
    "brand_label": "Nodea",
    "status": "sent",
    "source": "generated",
    "sent_at": "2026-10-06T08:12:00Z",
    "pdf_size": 248311,
    "pdf_url": "https://app.nodea.io/api/v1/client-reports/01jbx4w3k2m9q8r7t6v5y4z3a2/pdf"
  }],
  "links": { "first": "…", "last": "…", "prev": null, "next": null },
  "meta": { "current_page": 1, "last_page": 1, "per_page": 20, "total": 1 }
}
```

### Error codes

- `401` — missing/invalid token.
- `403` — missing `account:read` scope, no account context (`no_account_context`) or missing `products` permission (`account_permission_denied`).
- `404` — the module is not yet available to customers, the report does not exist, belongs to another account, has not been sent yet or its PDF is unavailable.
- `422` — invalid `period`, `year` or pagination parameters.
- `429` — rate limit exceeded.

## Examples — API

**REST API · curl**

```bash
curl -s "https://app.nodea.io/api/v1/client-reports?year=2026" \
  -H "Authorization: Bearer $NODEA_TOKEN" \
  -H "Accept: application/json"
```

**REST API · curl**

```bash
curl -s -o report.pdf "https://app.nodea.io/api/v1/client-reports/01jbx4w3k2m9q8r7t6v5y4z3a2/pdf" \
  -H "Authorization: Bearer $NODEA_TOKEN"
```

## MCP — tools

| Tool | Scope | Arguments | Description |
| --- | --- | --- | --- |
| `client-reports-list` | account:read | `period`?, `year`?, `page`, `per_page` (≤100) | Reports of the current account — fields as `ClientReportResource` (including `pdf_url` to download through the API with the same token), plus pagination `meta`. Drafts are never returned. |

The tool is marked read-only and idempotent. Example JSON-RPC call:

**MCP · JSON-RPC**

```json
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"client-reports-list","arguments":{"year":2026}}}
```

The report content (charts, summary) is available only in the PDF; the API does not expose the report's source data.

## Related

- [Customer accounts — API v1 and MCP | Nodea Documentation](https://nodea.io/en/api-docs/accounts)
- [Admin work — API v1 and MCP | Nodea Documentation](https://nodea.io/en/api-docs/work-log)
- [Servers — API v1 and MCP | Nodea Documentation](https://nodea.io/en/api-docs/servers)

---

Languages: [pl](https://nodea.pl/pl/dokumentacja-api/client-reports.md)  
Site index: [llms.txt](https://nodea.io/en/llms.txt)
