Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Database → Get Schema
AI-generatedSummary
Fetches the column definitions for a SiYuan database (AttributeView), without returning its rows. Use the database’s AV ID, which is different from the ID of the block that hosts it; find AV IDs with the List operation.
Inputs
- AV ID (required) — The AttributeView ID (
data-av-id) of the database, not its hosting block ID.
Output shape
A single record containing the database ID, name, view ID, view type, and columns.
Each column includes its ID, name, type, icon, hidden status, and description. The operation fetches the first rendered database page to obtain the schema; it does not return rows.