Which component called the query

Is there a property or way i can know which component initiated the call to the query/api?

HI @peter.b,

It was recently mentioned in this thread that when you're in live preview mode, you will see additional details for each query, showing what triggered each one of them.

Apologies, I meant, in code, programmatically - when a query gets called i want to tap the component/query that originally called it.

Ah, yeah that's a good question.

I don't think there is a native way of doing that. I guess as a workaround you can pass the component/query id as additional scope using {{self.id}}.