Query All documents with the REST API

This page shows examples of how to query all the documents in your prismic.io repository.

Without Options

If you need to query all of the documents in your repository, you can just run an empty query. The prismic.Io REST API will return the complete, paginated list of all your documents.

By default the API will paginate the results with 20 documents per page.

With Options

You can also add query parameters to modify your search.

Here's another example where we query all the documents. This time, however, we can increase the pagination to have 100 documents per page by adding the pageSize=100 parameter to the query form.

Here is the required parameter for this query:

Page size of 100

pageSize=100