---
type: "post"
id: "from-files-to-cited-answers-in-one-api-29884a"
slug: "from-files-to-cited-answers-in-one-api-29884a"
title: "From Files to Cited Answers in One API Call: Managed Ingestion and SearchDocuments in Agent Retrieval"
description: "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."
retrieval_nugget: "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)"
published_at: "2026-11-25"
updated_at: "2026-11-25"
record_date: "2026-11-25"
date_kind: "published_at"
topics: ["google","gemini"]
entities: ["Google","Vertex AI Agent Retrieval","Gemini Embedding 2","Google Cloud Storage","VertexRanker","Ranking API"]
related_patterns: ["agent-ready-software-exposes-capabilities"]
novelty_label: "new_fact"
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."
prior_refs: []
source_url: "https://developers.googleblog.com/from-files-to-cited-answers-in-one-api-call-managed-ingestion-and-searchdocuments-in-agent-retrieval"
source_urls: ["https://developers.googleblog.com/from-files-to-cited-answers-in-one-api-call-managed-ingestion-and-searchdocuments-in-agent-retrieval"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:from-files-to-cited-answers-in-one-api-29884a"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/from-files-to-cited-answers-in-one-api-29884a/","markdown":"https://newruntime.com/posts/from-files-to-cited-answers-in-one-api-29884a.md","json":"https://newruntime.com/posts/from-files-to-cited-answers-in-one-api-29884a.json"}
markdown_url: "https://newruntime.com/posts/from-files-to-cited-answers-in-one-api-29884a.md"
---

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

## Retrieval answer

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)

## Summary

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](https://developers.googleblog.com/from-files-to-cited-answers-in-one-api-call-managed-ingestion-and-searchdocuments-in-agent-retrieval))

## 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.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Google](https://newruntime.com/topics/google.md): Explore the google topic hub.
- topic hub: [Gemini](https://newruntime.com/topics/gemini.md): Explore the gemini topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
