SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Document → Get Content

AI-generated

Summary

Retrieve a document’s full Markdown content from SiYuan using its document ID. The operation exports the document’s Markdown and returns the ID with the content.

Inputs

  • Document ID (required) — The unique ID of the document to retrieve.

Output shape

A single record

Contains id and content; if the content is null or missing, content is an empty string.

Links

Discussion