Docs Menu

Run GraphQL Operations from a CLI

On this page

  • Overview
  • Run a Query
  • Run a Mutation

You can access your app's exposed GraphQL API through a terminal or command line interface. GraphQL operates over HTTP, so the CLI can be a standard HTTP client, like curl, or a specialized GraphQL CLI, like graphqurl.

To send GraphQL requests to your app, you'll need the following:

←  Authenticate GraphQL RequestsGraphQL Types, Resolvers, and Operators →
Give Feedback
© 2022 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.