# Bases: API for plugins to add custom functions

**URL:** <https://forum.obsidian.md/t/bases-api-for-plugins-to-add-custom-functions/109612>\
**Category:** Devs: Plugins & API\
**Created:** [January 5, 2026, 1:58am UTC](https://forum.obsidian.md/t/bases-api-for-plugins-to-add-custom-functions/109612 "2026-01-05T01:58:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![oreganop](https://forum.obsidian.md/user_avatar/forum.obsidian.md/oreganop/32/88392_2.png) [@oreganop](https://forum.obsidian.md/u/oreganop)\
**Post date:** [January 6, 2026, 4:59pm UTC](https://forum.obsidian.md/t/bases-api-for-plugins-to-add-custom-functions/109612/2 "2026-01-06T16:59:32Z")

</div>

I really would love this functionality so I could make Bases fit my usecase/base structure more succinctly.

**x-posting from discord:**

My usecase/need is that my workflow is heavily incorporating a parent-child structure of links with various note “types”, so i have an entire relationship graph that i’d looove to filter on.

The simplest example of this/small improvement for significant QOL gain: I’d love to implement `flatten` over a property key, so that i can map/reduce/filter on whether or not any of the notes above the certain properties.

ex:  
currently use `domain: [[...]]` on notes that links to my company note, or a Client note, or a project, and  
currently use `context: [[...]]` to link create the parent-child tree (more granular – _generally_ agile-related: domain \> epic \> story \> task)

I really want to have a base view that shows me every single note that is a descendant of my company’s note – ideally i’d be able to flatten over `domain` to coalesce the `[[project]], [[client]], [[company]]` chain, so i can do a simple filter by `contains(flatten(domain), [[company]])`

**Additional thoughts:** Ideally (imo) this example functionality I’ve described just gets baked into Bases-upstream, but I’d argue it’s beneficial to the Obisidan dev team to make bases functions extensible to allow users/devs to hack on what functions are useful for different usecases, and either supply plugins or chatter/share on the discord/forum _after trying things out._ That way (to reference/appeal to the team) we can help the team _determine_ which functions have usefulness that _is ongoing, popular, niche, etc._ :^)

---

_[View the full topic](https://forum.obsidian.md/t/bases-api-for-plugins-to-add-custom-functions/109612)._
