Skip to content

First-party source

Desktop command contract: Obsidian CLI, retrieved 2026-08-29 EDT. See the dated source ledger.

Bases

Fresh

Commands for working with Obsidian Bases databases.

Commands for Bases.

bases

List all .base files in the vault.

base:views

List views in the current base file.

base:create

Create a new item in a base. Defaults to the active base view if no file is specified.

bash
file=<name>        # base file name
path=<path>        # base file path
view=<name>        # view name
name=<name>        # new file name
content=<text>     # initial content

open               # open file after creating
newtab             # open in new tab

base:query

Query a base and return results.

bash
file=<name>                    # base file name
path=<path>                    # base file path
view=<name>                    # view name to query
format=json|csv|tsv|md|paths   # output format (default: json)

See also

Unofficial SOP mirror. Built for terminal-driven and agentic Obsidian workflows.