Field noteNov 25, 20263 min read1 source

From Files to Cited Answers in One API Call: Managed Ingestion and SearchDocuments in Agent Retrieval

In one minute

Google’s Agent Retrieval update, formerly Vector Search 2.0, adds managed ingestion and a SearchDocuments call, aiming to replace custom file parsing, segmentation and embedding pipelines. In Public Preview, it parses and segments Cloud Storage files, embeds them with Gemini Embedding 2, then returns matching segments with source locations: page ranges for documents or timestamps for videos. (developers.googleblog.com)

What changed: Google’s Agent Retrieval adds public-preview managed ingestion and SearchDocuments, enabling cited search across documents and videos through a single API call.

What happened

Create separate data stores for documents (UNSTRUCTURED) and videos (VIDEO). Supported inputs include PDF, DOCX, PPTX, XLSX and TXT for documents, and MP4, MOV, WebM and MKV for video. Document search combines semantic and full-text retrieval; results can be narrowed by filters or document IDs, include metadata, and optionally use the Ranking API’s semantic-ranker-fast@latest reranker. Video search embeds frames by default; setting audio_mode to enabled adds the first audio track.

Default document chunks are 100–500 tokens; page segmentation instead creates one segment per page. Both modes retain page numbers for paginated files. Imports can target Cloud Storage URI patterns or a JSONL manifest with document IDs and metadata. They run as long-running operations; re-imports update changed documents and skip unchanged content. For more control, the backing Collection remains directly queryable.

Google says its document test made 18 Alphabet investor PDFs searchable with page citations in about nine minutes. In its video example, importing five videos totaling roughly 19 minutes took 20–45 minutes; subsequent searches returned in 0.3–0.5 seconds. Only the audio-enabled store found the relevant spoken moments in Google’s comparison. These are publisher-reported examples, not independent benchmarks. Video segments default to 30 seconds; Google suggests 10–20-second windows for more precise timestamps or up to 80 seconds for more context.

In an employee-count example, plain hybrid search placed two irrelevant balance-sheet pages among its top five; with reranking, all top results reported headcount.

Why it matters

During Public Preview, managed ingestion has no separate charge, but Google says ingestion billing begins at GA; the backing Collection is already billed at standard Agent Retrieval rates. Treat this as a cheaper way to test the workflow, not a cost-free search stack.

Limits and uncertainty

Preview APIs are limited to us-east4 and europe-west4; the data-store and SearchDocuments APIs are REST v1beta, with Python SDK support planned. Reranking is not supported for VIDEO data stores.

Skill to build now

Start with Google’s document notebook for ingestion, filters and reranking, or its video notebook to compare audio modes. Grant the Agent Retrieval service agent roles/vectorsearch.serviceAgent so it can read the files. For spoken-content search, set "audio_mode": "ENABLED"; for documents, Google’s example enables reranking with "ranking_spec": {"reranking_spec": {"enabled": True}}. Run one import at a time per data store; separate stores can import in parallel. When cleaning up, delete the backing Collection explicitly with force=true and backing_collection_deleted=true if you want it removed too; otherwise it remains. Google reports background deletion took about 20 minutes in its test.

Reader takeaway

The useful change is the path from Cloud Storage to source-located search results in one managed flow. A trial still has practical constraints: separate document and video stores, only two preview regions, REST v1beta APIs, and no video reranking. Preview removes the separate ingestion charge, not the backing Collection’s standard cost.

Evidence / sources

  1. 1developers.googleblog.com/from-files-to-cited-answers-in-one-api-call-managed-ingestion-and-searchdocuments-in-agent-retrieval
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicGoogleExplore the google topic hub.
  2. 02topicGeminiExplore the gemini topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract