Our GraphQL API follows the Relay pagination spec. When fetching collections from our API you can control how much data is returned. We will return 25 records per request by default and the maximum page size is 100 records. We support two forms of page control arguments:Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Forward pagination with
after(cursor) &first(numeric count) - Reverse pagination with
before(cursor) &last(numeric count)
pageInfo object along with a totalCount field which allows you to make subsequent calls with page controls. Using the getCustomers API as an example this would look as follows:
This will fetch a subsequent page of 50 entries by passing in the endCursor from an initial query.
Query
Variables

