# What a visual editor needs for a page

`GET /hosting/sites/{id}/pages/{page}/canvas` · Rivier · hosting

What a visual editor needs for a page: every block with its place, author, locks, editable props (type, limits, options), slots (what they take, how many) and text values, plus the blocks that can be added. Pair it with the preview rendered with ?annotate=1, whose elements carry the same ids.

- Scope: hosting:read
- Mcp: rivier_site_canvas_get
- Graphql: Query.hostingSitePageCanvas
- Sdk: hosting.sitePage.canvas
- Cli: hosting site page canvas

## Parameters

- `id` (path, required), string
- `page` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/hosting/sites/{id}/pages/{page}/canvas' \
  -H 'Authorization: Bearer $KEY'
```
