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

API level I am getting console.log messages in terminal. But I need in frontend level (means once i add new data from strapi cms i need to access that middleware).