GraphQL Client

Build GraphQL operations and run them through Postman Cloud Agent.
Loading GraphQL Clientโ€ฆ

Keep going in your repo.

Save it with a test and run it again. Pick where.
In the web appSave it to a collection, add tests and environments, and share it with your team.
In your repoYour coding agent saves the query with a test in your repo and runs it.
Save my GraphQL query as a tested Postman request in this repo.
Ask me for the GraphQL endpoint and the query first.

1. Install the Postman plugin (`npx -y @postman/postman-plugin install --yes --agent claude-code`, or `codex` or `cursor`; skip it for other agents) and the Postman CLI (`npm install -g postman-cli`) if missing. If `postman update --check` finds a newer version, ask me to run `postman update` and wait. Then run `POSTMAN_REFERRER=tools/graphql-client postman --version`.
2. Ask me for the query and variables, POST them with `postman request`, then save it as a collection under `postman/collections/` with `pm.test` checks for `data` and no `errors`, and `postman collection run` it. Ask before re-sending a mutation.
3. Tell me the result and where the collection lives.

Check flags with `postman <command> -h`. Ask me before changing anything in my Postman account.
Works in any coding agent that can run terminal commands.
No account needed to start. The query runs on your machine.

Compare what you unlock

  • QueriesOne-off in the browser
  • SchemaTest public API endpoints
  • VariablesEdit inline
  • HistoryThis browser session only
  • Network accessPublic endpoints via Cloud Agent
  • Tests & scriptsNot included
  • AutomationNot included
  • CollaborationNot included

FAQ

What does this let me do with a GraphQL endpoint?
Enter a GraphQL endpoint to load its schema, build the schema, send queries using Postman, and inspect query or subscription responses.
Why can I not reach my localhost?
This tool cannot access localhost, or any endpoint behind your firewall or VPN, because it runs on the internet rather than on your computer. To reach one, sign in to Postman and use either the Postman Desktop App or the Desktop Agent in the web app. Both run on your own machine: the request goes straight from your computer to your endpoint, and your request data and credentials never pass through Postman's cloud.
Why can't I access my API through this tool?
This tool runs on the public internet, so it can only reach endpoints that are publicly reachable. One behind a corporate firewall, a VPN, a private network, or an IP allowlist will fail here, the same way localhost does, even if it works fine in your own browser. To reach it, sign in to Postman and use either the Postman Desktop App or the Desktop Agent in the web app. Both execute locally on your own machine, so they can reach anything your network can reach, and your request data and credentials never leave your machine or pass through Postman's cloud.
Can the playground run GraphQL subscriptions?
Yes. Subscription operations are supported and display messages as a live timeline.
Can I import a GraphQL schema?
Yes. Import SDL or introspection JSON from a local file or a publicly accessible URL.
Does the playground resolve variables?
No. It does not load workspace, collection, environment, history, or variable state.