Skip to main content
POST
Run a GraphQL query

Body

application/json
query
string
required

The GraphQL document.

variables
object

Values for the document's variables. Bigint arguments are passed as strings.

operationName
string

Which operation to run when the document defines several.

Response

The operation ran. Field errors, if any, are in errors next to a partial data.

data
object | null

The selected fields, keyed by query name. Bigints are decimal strings; hex values are lowercase.

errors
object[]