Synthetic monitoring API for k6s script

Hello everyone,

Has anyone successfully pushed a scripted monitor via API? I have done this for API endpoint monitors like HTTP, etc. (https://github.com/grafana/synthetic-monitoring-api-go-client/blob/main/docs/API.md.), but not for scripted ones for k6s. Additionally, has anyone found a way to hardcode a proxy in k6s scripted monitors? I mean without using envirnoment variable

Thank you for your assistance.