Liveblocks icon

Liveblocks

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

Thread → Edit Metadata

AI-generated

Summary

Update the metadata of a specified thread within a given Liveblocks room, optionally including the user ID, metadata object, and update timestamp.

Inputs

  • Room ID (required) — Identifier of the Liveblocks room containing the thread.
  • Thread ID (required) — Identifier of the thread to update.
  • User ID (required) — Identifier of the user performing the metadata edit.
  • Metadata (required) — JSON object with the metadata fields to update on the thread.
  • Updated At — Timestamp string indicating when the metadata was updated.
  • Include Request in Error — Flag to include detailed request information in error messages for debugging.

Output shape

a JSON object representing the updated thread metadata, including any fields returned by Liveblocks API

The output contains the resulting thread metadata after the update. If the API call fails, error information may include debug details if 'Include Request in Error' is set to true.

Links

Discussion