GraphQL Datatypes

In addition to common datatypes (e.g., string, boolean, integer) GraphQL uses a variety of specialized datatypes. Some of these datatypes are used in several GraphQL query and mutation fields. A few are used for only one query or mutation because it has very particular requirements.

On the pages for GraphQL queries and mutations, there are almost always one or more tables for the parameters required — with their datatypes. For the parameters that have special datatypes, there will be a link to another page with the table containing the parameters and values allowed for them.

You can drill down to those parameter tables – the ones relevant to the query or mutation you're researching – by that method. Or you can click on the link to them in the right margin on this page. They're grouped first by datatype: type, as in somewhat regular datatypes; enum, as in enumerated options; input, which refers to datatypes used only for input; and interface for datatypes used for interfacing. The datatypes of each group are then sorted alphabetically. If you know the datatype, though, you can click on the link in the left margin for that particular group to go to the page listing just them.