OptionalfilterA metadata filter expression selecting the documents to fetch. Must not be empty; an empty filter is rejected rather than matching every document. Mutually exclusive with ids.
OptionalidsA list of document IDs to fetch. Mutually exclusive with filter.
OptionalincludeThe document fields to return on each document. When omitted or empty, all fields are returned; ["*"] also returns every field.
OptionallimitThe maximum number of documents to return per page. Only applies to a fetch by filter; a fetch by ids is already bounded by ids and ignores an in-range value, but a value outside 1-10000 is rejected on either form. Defaults to 100.
OptionalpaginationA pagination token from a previous fetch response, used to retrieve the next page of matching documents. Only valid together with filter.
The request for the
fetch_documentsoperation. Exactly one ofidsorfiltermust be specified.Export
FetchDocumentsRequest