SiYuan Note API Use the SiYuan kernel API via curl to search, read, create, update, and delete blocks and documents in a self-hosted knowledge base. No extra tools needed -- just curl and an API token. Prerequisites 1. Install and run SiYuan (desktop or Docker) 2. Get your API token: Settings About API token 3. Store it in : defaults to if not set. API Basics All SiYuan API calls are POST with JSON body . Every request follows this pattern: Responses are JSON with this structure: means success. Any other value is an error -- check for details. ID format: SiYuan IDs look like (14-digit timesta…