bases
Query Obsidian Bases via the Bases Query plugin (RPC). Use when you need to read structured data from Obsidian bases.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Bases Skill
Query Obsidian Bases via the Bases Query plugin.
Endpoint
http://127.0.0.1:27125/rpc
Methods
List All Bases
curl -s -X POST http://127.0.0.1:27125/rpc \
-d '{"method":"bases"}' | jq '.results[].name'
Query a View
curl -s -X POST http://127.0.0.1:27125/rpc \
-d '{"method":"query","params":{"base":"path/to/file.base","view":"View Name"}}'
Get Schema (discover fields)
curl -s -X POST http://127.0.0.1:27125/rpc \
-d '{"method":"schema","params":{"base":"path/to/file.base","view":"View Name"}}'
Response Format
{
"count": 2,
"results": [
{
"path": "Notes/Example.md",
"name": "Example",
"frontmatter": {
"status": "active",
"date": "2026-01-03"
}
}
]
}
Extract Data with jq
# Names only
jq '.results[].name'
# Name + specific field
jq '.results[] | {name, status: .frontmatter.status}'
Plugin Required
Install via BRAT: https://github.com/ArtemXTech/obsidian-bases-query
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-28
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!