Un-hardcode api role in endpoint searches