Scalars

Scalars are primitive values: Int, Float, String, Boolean, ID, etc. When calling the GraphQL API, you must specify nested subfields until you return only scalars.

BigFloat

A floating point number that requires more precision than IEEE 754 binary 64


BigInt

A signed eight-byte integer. The upper big integer values are greater than the max value for a JavaScript number. Therefore all big integers will be output as strings and not numbers.


Boolean

The Boolean scalar type represents true or false.


Cursor

A location in a connection that can be used for resuming pagination.


Date

The day, does not include a time.


Datetime

A point in time as described by the ISO 8601 standard. May or may not include a timezone.


ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.


Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.


JSON

The JSON scalar type represents JSON values as specified by ECMA-404.


String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.