Query Records with GraphQL

The GraphQL API schema contains a subset of types that allow you to query records. With the RecordQuery type, each Salesforce object corresponds to a RecordQuery field of the same name, such as Account or Case. You can filter records with the where argument, order results with the orderBy argument, and paginate through the response using the Relay Connection specification.