Notion API wont search for text in pages - Possible bug or it's me?

I need to search for a string before updating. But search function only seach in name.




Hi @Jim, I am afraid that’s a limitation coming from Notion:

(…) The query parameter matches against the page titles (…)

I can’t think of a great workaround that would allow apart from first getting all relevant pages, then getting all blocks for each page, then checking if a block contains the string you’re looking for. But this would come at quite a performance cost.