Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Get Child Blocks
AI-generatedSummary
Retrieves the direct child blocks of a SiYuan block using its ID. Use this to inspect a document or container block’s immediate contents; deeper descendants are not fetched by this operation.
Inputs
- Block ID (required) — The unique ID of the parent block whose direct children to retrieve.
Output shape
A list of child block records returned by the SiYuan API.
The operation passes the Block ID to SiYuan’s getChildBlocks endpoint and returns its data without reshaping it. It includes direct children only.