Liveblocks icon

Liveblocks

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

AI Knowledge → Get

AI-generated

Summary

Retrieve detailed information about a specific AI Knowledge source associated with a given AI copilot in Liveblocks.

Inputs

  • copilotId (required) — The identifier of the AI copilot to which the knowledge source belongs.
  • knowledgeSourceId (required) — The identifier of the specific knowledge source to retrieve.
  • includeRequestInError — Optionally include request details such as URL, method, headers, and body in error messages to aid debugging failed API calls.

Output shape

A single record containing the details of the requested AI Knowledge source.

The operation requires both a valid Copilot ID and Knowledge Source ID. If the API call fails and 'Include Request in Error' is enabled, error responses will include additional request context for debugging.

Links

Discussion