Branches
Grafbase automatically creates preview environments for each branch in your repository.
All commits to your branch will trigger a new deployment.
Using the Grafbase Dashboard you can execute regular queries, live queries, and mutations against any of your branches.
Each branch has its own GraphQL API endpoint that you can use for development and testing purposes. The endpoint must use an API key that has the Preview scope.
All branches (including production) require a valid API Key to be passed in the HTTP header using the Bearer
format:
Authorization: Bearer TOKEN
Only your configured production branch will be the production environment. All other branches will use the preview context.
You can change the Production Branch from the project settings at any time.