Header attributes can be pulled through rest APIs (via script) instead of manually? if it is possible please provide solution to it