It is fairly trivial to pull an entire document and perform searches in code. I don’t think the document size is an issue (for the server nor the client) unless the document is really really huge or you need to do the same thing every second.
Just as an example, here’s some code based on my Node.js API client:
const Client = require('dynalist-js');
const dyn = new Client('<my developer api token>');
dyn.readDocument(file_id, function(err, data) {
const todos = data.nodes.filter(function(node) {
return node.content.match(/@todo/);
});
console.log(todos);
});
I’m vaguely planning to build a search utility into my client class so one can use all search prameters just like in the Dynalist app, but that will take a while to get to.