@ScottDevTweets @Netlify @graphcms This might be more of a CMS than Netlify question (depending on what CMS you are using). Many headless CMS have different APIs for prod/staging (@contentful for sure). Netlify can consume different APIs in your builds thanks to deploy contexts.
https://www.netlify.com/docs/continuous-deployment/#deploy-contexts