Bases: it is possible to access their output programatically?

Apologies if this has been addressed elsewhere, but I couldn’t find my answer in the documentation or forum: Is it possible to give a program/script/AI access to the “rendered” output of a base?

What I’m trying to do

I have a number of workflows in Dify (a low-code AI system) that allow me to interact with my Obsidian notes via the REST API plugin. It would be really helpful if I could give Dify access to the output of my bases to make the workflows more tailored to my vault. E.g. I have one base that serves as an “index” of context files for an LLM. It would be far simpler if Dify could read the list of file paths from the base (and then extract their content via the API for an LLM to use) rather than have to crawl the YAML in each note in the vault to find the relevant files.

Things I have tried

I have tried accessing the files containing the bases directly, but this only shows the base code, not the “rendered” content. The same applies when using the API. I know that it’s possible to export a base to CSV, but this requires me to keep the index manually up-to-date.

I would be more than happy to use a script/plugin within Obsidian to periodically copy the rendered data from the bases into a dedicated note within the vault, but I haven’t yet found a way to do this. Any help would be appreciated.

Many thanks,

Michael

2 Likes

This sounds like something Dataview does ? Anyone know ? You make a very convincing case for it’s usefulness in Bases !

DIFY sounds interesting.

Times are a changing.

Thanks for your comment. I haven’t explored Dataview extensively, but if Obsidian Bases does natively what Dataview does, then Bases would be my preference.

Does anyone else know whether what I am trying to do can be done by Bases? If not, I’m happy to put in a request for it. I just don’t want to waste the devs’ time if it is already possible and I just don’t know how :slightly_smiling_face:

There’s a large possbility this will be possible with the Bases API once it gets released, but there’s no information about it at the moment.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.