Stage variables accessible from API Gateway Stage editor

Hi, need to configure my serverless file to have access to multi stage deployments of the same stack and also access environment variables from the stage editor in API Gateway.

Is there a way to achieve that without writing a custom plugin?

Thanks