You can run any query you'd like and see the resulting json. If you'd like to take advantage of sorting or exporting to markdown, the json from your query will need to have the following structure: ...
You should add OpenAI API key to plugin settings or set to use special model. You can describe what the query should return in logseq block, then access the ...