Pagination start position for $prismic.api.query options?

Hello James,

Thanks for reaching out to us.

You need to set the page property to define what page of the API results to return, starting with and defaulting to 1. If you want to request to the second page of results then:

   const document = await $prismic.api.query(
      $prismic.predicates.at('document.type', 'post'),
      {
        orderings: '[document.first_publication_date]',
        pageSize: 8,
        page: 2
      }
    )

I hope it answers your question. Let me know if you have any further questions.

Thanks,
Priyanka