HI Swetha! FYI, there is no such thing as cross-data source global filters.
I'm not quite sure I understand your final question. You seem to be asking "Can we approximate the behavior I just read about in the Interworks article with APIs". Yes. that's what the article is describing in the first place. I think I may not understand what you're asking. Can you add more context?