Skip to main content
How can I create a preflight script?
To create a preflight script:
Open Apollo Studio and then open the Explorer for the graph and variant you want to create a script for.
Open the Explorer's Settings tab and scroll down to the Preflight script section:
- Click Add script. The following dialog appears:
Click Show snippets to display a list of common helpful actions you can perform from your preflight script (such as sending HTTP requests and interacting with Explorer environment variables).
Develop your script in the Script editor panel. As you develop, you can click Test script to test its execution. Console messages are printed in the Console output panel.
When your script is ready, click Save. Studio stores your script.
You can find more information on preflight scripts here.
Note that preflight scripts are not available in Apollo Sandbox
Announcements about Apollo Help Center.
Technical articles on specialized topics for Apollo tools and libraries.
Join discussions with other developers and Apollo engineers.
federation, schema check, rover cli