SiYuan icon

SiYuan

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

Document → Get Storage Path by ID

AI-generated

Summary

Looks up a document’s internal SiYuan storage path using its document ID. Returns the notebook ID and path when found, with a found flag.

Inputs

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

Output shape

A single record containing id, notebook, storagePath, and found.

If the lookup returns no path or errors, notebook and storagePath are null and found is false.

Links

Discussion