Send request payload from a file.
Section: API and GraphQL
Send JSON from file
bash
bash
gh api graphql --input query.jsonExplanation
Send request payload from a file.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing API and GraphQL