Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Get Content (Markdown)
AI-generatedSummary
Fetches a SiYuan block’s Markdown content using its block ID and returns it as a plain string in the result object.
Inputs
- Block ID (required) — The unique ID of the block whose content to retrieve.
Output shape
A single record with the block ID and its Markdown content: {"id":"...","content":"..."}.
If the returned content is null or undefined, content is an empty string. The operation reads the block through SiYuan’s Kramdown endpoint; it does not modify the block.