Is there a way to get controller uid in global middleware?

System Information
  • v4:
  • windows:
  • mysql:
  • 14.x.x:
  • 8.15.0:

I got a simple middleware:

module.exports = (options, { strapi }) => {
return async (ctx, next) => {
await next();
// here I need strapi controller uid, for example: api::product.product

How can I access that value?
There is a ctx._matchedRoute value but that return /api/products
The same value as routerPath.

Is there any other way?