Obsidian icon

Obsidian

Interact with your Obsidian vault via the Local REST API

Overview

This node interacts with the Obsidian Local REST API to retrieve periodic notes from an Obsidian vault. It supports fetching notes based on different period types such as daily, weekly, monthly, quarterly, and yearly. Users can choose to get the note content in Markdown format or as JSON metadata including paths, tags, and content. This node is useful for automating workflows that involve accessing and processing periodic notes in Obsidian, such as generating reports, backups, or integrating notes with other applications.

Use Case Examples

  1. Retrieve the daily note content in Markdown format for daily journaling automation.
  2. Fetch the weekly note with full JSON metadata to analyze tags and paths for project management.
  3. Get the monthly note content to compile monthly summaries or reports.

Properties

Name Meaning
Period The period type of the note to retrieve, e.g., daily, weekly, monthly, quarterly, or yearly.
Format The type of data to get from the note, either just the Markdown content or JSON metadata including content and additional note information.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and timeout settings to control how the API request is made.

Output

JSON

  • content - The content of the periodic note in Markdown format if 'content' format is selected.
  • metadata - The JSON metadata of the note including paths, tags, and content if 'json' format is selected.

Dependencies

  • Obsidian Local REST API

Troubleshooting

  • Ensure the Obsidian Local REST API is running and accessible at the configured host and port.
  • Verify that the API credentials (protocol, host, port) are correctly set in the node credentials.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option to bypass certificate validation.
  • Check proxy settings if behind a corporate firewall or proxy server to ensure requests are routed correctly.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.

Links

Discussion