I want to export grafana alerts from one cluster upload /import in other cluster grafa6v9.3.8 ad also want know how to get uid

I want to export the graffana alerts running in kuberenets environment but doesn’t found the end points and I don’t know how to retrieve UId for alerts when I trying to access and points I am getting the 404 error I already created the API ki to access grafana