How can I return the resource name on the resource read action?

Hi …how can i return the resource name on the resource read action… Ash framework-Elixir
more like a middleware all my queries should have a resource name

:wave: Could you show me an example of what you’re after?