Google File Search icon

Google File Search

Interact with Google File Search API for RAG operations

Actions11

Document → List

AI-generated

Summary

List documents from a specified Google File Search store, supporting pagination via a cursor token.

Inputs

  • Store Name or ID (required) — Select the document store to list documents from, either by choosing from the list or specifying an ID via expression.
  • Pagination Cursor — Cursor token to fetch the next page of results from a previous list operation.

Output shape

an object containing 'items' (array of document objects) and 'nextPageToken' (string or null) for pagination

Results are returned in pages of up to 20 documents. Use 'nextPageToken' in subsequent calls to retrieve further pages.

Examples

Example 1: List first page of documents in store

Provide 'documentStoreId' for the target store, leave 'paginationCursorDocuments' empty.

Example 2: List next page of documents

Use the 'nextPageToken' from a previous list operation in 'paginationCursorDocuments' to fetch more documents.

Links

Discussion