Gemini File Search Stores icon

Gemini File Search Stores

Manage File Search stores for Gemini RAG operations

List

AI-generated

Summary

List File Search stores, optionally limiting results.

Inputs

  • returnAll — Whether to return all results or only up to a given limit.
  • limit — Maximum number of results to return; valid range 1‑20, default 10.

Output shape

a list of store objects

Result set may be limited by the limit parameter; if returnAll is true the full list is returned regardless of limit.

Examples

Example 1: List stores with default pagination

Return All = false, Limit = 10

Example 2: List stores with custom limit

Return All = false, Limit = 5

Example 3: Return all stores ignoring limit

Return All = true

Discussion