Add metadata endpoint

[#81635392]