Skip to main content
This page shows you how to use the fetch endpoint to fetch documents by IDs from a collection.
include is applied first, and then exclude is applied to the included fields when you set both in the fields parameter.
To fetch documents, specify the document IDs (up to 100 IDs).
The response will look like this:
The order of the returned documents is not guaranteed to match the order of the IDs in the request.