How to enable Api Gateway detailed cloudwatch metrics for a endpoint from serverless.yml

I want to enable api gateway detailed cloud watch metrics for a endpoint. I was checking if there is already a serverless plugin which could do that. I found one serverless-api-gate-way-route settings (Serverless Framework: Plugins), but this is not working in my case because stage is already existing and stage is not created from serverless.yml. Stage is created as a part of infrastructure module using terraform.

Is there any way to solve this? Thankyou.