Learning in public — this reference is being written in the open. Unfinished pages are excluded from search engines.
paged.IDML Reference
API reference

API reference

Every programmable surface of paged in one place — the paged.* scripting API, the Viewer SDK, the editor-server REST API, and the plugin manifest — each generated from its own source of truth.

Tier: IntermediateIntermediateIIreference

In short paged exposes four programmable surfaces. Each reference below is generated from its own source of truth — the engine's scripting catalog, the SDK package surface, the server's OpenAPI spec, and the plugin manifest schema — so none of them drift from the running code.

Which one do I want?

  • Scripting (paged.*)read and author the open document from inside the editor's script panel, the REPL, or headless via paged-run. Start with the examples.
  • Viewer SDKembed a WebGPU IDML viewer on a canvas: load a document, drive the camera, render to bytes, listen for events.
  • REST APIthe editor-server HTTP surface for accounts, document storage, billing, and assets.
  • Plugin manifestthe declarative contract a plugin bundle ships to contribute tools, panels, commands, and document behaviour.

On this page