Hi,
Yes, see the second part of this post:
About using the ngx.ctx.router_matches structure.
ngx.ctx.router_matches
Best,