Liveblocks icon

Liveblocks

Call the Liveblocks REST API (rooms, comments, feeds, Yjs, AI, and more)

Yjs → Create Version Snapshot

AI-generated

Summary

Create a new version snapshot of a Yjs collaborative document in a specified Liveblocks room.

Inputs

  • Room ID (required) — Identifier of the Liveblocks room containing the Yjs document to version snapshot.
  • Include Request in Error — Optionally include detailed request information in error messages for debugging failed API calls.

Output shape

a JSON object representing the newly created Yjs version snapshot details as returned from the Liveblocks API

Requires a valid Room ID parameter. Errors include detailed request info only if enabled. No pagination applies.

Links

Discussion