---
title: "Record what a version did when it ran"
description: "Written by the preview, never by a page and never by an agent: which tables the page asked for, how many rows came back, what was refused, and what it drew."
canonical: "https://grid82.com/docs/builder-api/pages/report"
updated: "2026-11-13"
---

# Record what a version did when it ran

`POST https://studio.grid82.app/v1/apps/{appId}/pages/{pageId}/report`

Written by the preview, never by a page and never by an agent: which tables the page asked for, how many rows came back, what was refused, and what it drew.

It is what lets `page_check` answer "this page shows an empty table over 140 rows" instead of "it compiled".

Requires the `pages:write` scope. Operation `pages.report`. MCP tool `pages_report`. CLI: `grid82 pages report` (`npx grid82`).

## Path parameters

| Name     | Type   | Required | Description |
| -------- | ------ | -------- | ----------- |
| `appId`  | string | yes      |             |
| `pageId` | string | yes      |             |

## Headers

| Name              | Type   | Required | Description                                                                                                                                                                                                                                                        |
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Idempotency-Key` | string | no       | Any unique string. Sending the same key with the same request again returns the first response (marked `Idempotency-Replayed: true`) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |

## Request body

| Field     | Type    | Required | Description |
| --------- | ------- | -------- | ----------- |
| `version` | integer | yes      | At least 1. |
| `report`  | object  | yes      |             |

**Authorizations**

- `Authorization` (bearer, in header, required)

## Response

**200**: Success

- `data` (`object`, required)
- `data.ok` (`boolean`, required)

```json
{
  "data": {
    "ok": true
  }
}
```

**4XX**: Refused

- `error` (`object`, required)
- `error.code` (`enum<string>`, required, one of: `not_found, forbidden, unauthenticated, validation_failed, conflict, rate_limited, payment_required, not_implemented, internal`)
- `error.message` (`string`, required)
- `error.details` (`Record<string, unknown>`)

```json
{
  "error": {
    "code": "not_found",
    "message": "<string>",
    "details": {}
  }
}
```

**Example request**

```bash
curl --request POST \
  --url 'https://studio.grid82.app/v1/apps/<appId>/pages/<pageId>/report' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "version": 123,
  "report": {}
}'
```
