get_content
Retrieves a page's stored content as HTML or plain text using its site ID, slug, or unlisted token, enabling direct access for reading or editing.
Instructions
Read a page's content back. format "html" (the default) returns the exact stored index.html, byte for byte, which is the only form you can edit and hand to update_site; format "text" returns the same page stripped to plain text — no markup, CSS, scripts or SVG — for when you only need to read, summarise or quote it and the markup would be most of the tokens. Only pages this key owns, gated ones included. A page that expired or was deleted still reads back until its restore window closes; one taken down for abuse does not. Never edit the text form and publish it: that throws the page's design away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| id_or_slug | Yes | Site id, slug, or unlisted token. |