Skip to content

GraphQLQuery

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.


The GraphQL server authentication scheme, for example ‘Bearer’.

The authentication token provided by your GraphQL server.

Request headers, if required by the GraphQL server.

Click on the […] icon to open the Request Headers editor from which headers can be added as name-value pairs:

GraphQL Query Headers

The URL of the GraphQL server.

The schema of the GraphQL server.

Click on the […] icon to open the GraphQL Server Schema editor:

GraphQL Server Schema

You can paste a schema directly into the editor, or you can fetch a schema from your GraphQL server.

The following properties are design-time properties that are required for fetching a schema:

  • Server URL
  • Authentication Scheme
  • Authentication Token
  • Headers

Click the Fetch Schema button to fetch the GraphQL schema from the GraphQL server.

The GraphQL query to execute.

The GraphQLQuery function supports queries and mutations which can be added in the Query property.

To learn more about queries and mutations, please view the latest GraphQL specification.

Only available when your query is referencing input parameters.

The name of each parameter will be listed in this section, with an input field for each. Provide the value for each parameter.

Example:

GraphQL Query Parameters

graphql.org

howtographql.com

hasura.io

towardsdatascience.com