Is there is a way to access api level middleware in strapi v4.5

your middleware definition looks correct to me.

so when the application starts successfully with that configuration it means that strapi found the middleware. otherwise it would crash on startup with the message that the middleware could not be found.

what’s the request you’re issuing? should be GET /api/funeral-applications because you configured the find route.