Is there an api to manage logseq content?

i know there is a plugin API that must build in Logseq app. but my requirement is to use another app push content to Logseq, eg: chrome extension.
Simply described is that an outside app call Logseq app exposed API to manage content.
eg: objective c - Talk to MacOSX app from Chrome Extension - Stack Overflow

The same API available to plugins can be accessed from a local HTTP server:

This browser extension, Logseq Copilot, uses the above to connect to Logseq: