Home / Market / SiYuan API

SiYuan API

思源笔记 - SiYuan API Skill,支持笔记本、文档、块、资源、数据库/属性视图和 SQL 操作。Local-only SiYuan API integration for notebooks, documents, blocks, assets, database/attribute views, and SQL operations.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

SiYuan Safe API Reference

This file is the default reference for the published siyuan-api skill. It intentionally lists only the safer, in-scope API families for local note management.

In Scope

Notebook

Document and File Tree

Block

Database / Attribute View

Use these for SiYuan database tables and database row/cell updates.

Allowed use:

Avoid:

Notes:

Asset

Export

Limited SQL

Allowed use:

Avoid:

Workspace File APIs

Use these only when the task is clearly about SiYuan workspace content or assets.

Out of Scope

Do not use these APIs via this published skill:

Also avoid any endpoint intended for:

Operating Rules