ByteChef LogoByteChef
Components

GraphQL Client

The GraphQL client connector offers a comprehensive overview of your API's data, empowering users to request precisely what they need and nothing beyond that.

The GraphQL client connector offers a comprehensive overview of your API's data, empowering users to request precisely what they need and nothing beyond that.

Categories: Helpers

Type: graphQl/v1


Actions

Raw Query

Name: rawQuery

Run a raw query to a GraphQL endpoint.

Properties

NameLabelTypeDescriptionRequired
graphQlEndpointGraphQL EndpointSTRINGThe endpoint where GraphQL requests will be sent.true
headersHeadersOBJECT
Properties {}
Headers that will be sent in the HTTP request alongside the GraphQL query.false
variablesVariablesOBJECT
Properties {}
Variables that will be sent with the GraphQL query.false
queryQuerySTRINGQuery that will be sent to the GraphQL endpoint.false

Example JSON Structure

{
  "label" : "Raw Query",
  "name" : "rawQuery",
  "parameters" : {
    "graphQlEndpoint" : "",
    "headers" : { },
    "variables" : { },
    "query" : ""
  },
  "type" : "graphQl/v1/rawQuery"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

On this page