Execute Query

Beta
Executes a GraphQL query via a GET request. Per the GraphQL over HTTP spec, GET should only be used for queries, never mutations.

Query parameters

querystringRequired
The GraphQL query string to execute.
operationNamestringOptional
The name of the operation to execute.
variablesstringOptional

A JSON-encoded string containing variables for the query.

Response

This endpoint returns an object.
datamap from strings to any
The payload returned by the GraphQL execution.
errorslist of objects
A list of errors that occurred during execution.
extensionsmap from strings to any

Reserved for implementors to extend the protocol (e.g., tracing data).