# Gemini API now stores prompts by default for new paid projects — check the 55-day log setting

Since October 26, new paid-tier Gemini API projects have request storage enabled by default across Generate Content endpoints. Google keeps full prompts and responses in project logs for up to 55 days unless developers change the setting.

New paid Gemini API projects now default to store=true on generateContent, streaming and batch calls; older projects retain their settings. Developers can opt out per request or project.

- Status: Active
- Published: 2026-11-02T06:12:49+13:00
- Updated: 2026-11-02T06:12:49+13:00
- Categories: Artificial Intelligence, Web Development, Inference & APIs, Developer Tools
- Tags: API privacy, data retention, Gemini API, Google, logging
- Canonical HTML: https://beyondthe.news/dossiers/gemini-api-generatecontent-store-true-default-55-day-logs-october-2026

## What changed

On October 26, 2026, Google changed the default for new paid-tier Gemini API projects using Generate Content methods: generateContent, streamGenerateContent and batchGenerateContent now store request logs (`store=true`) unless explicitly disabled. The Interactions API already stored requests by default. Projects created before October 26 retain their existing Generate Content setting, which is off unless the owner previously enabled it. Google's logs documentation confirms that developers can inspect full prompts, responses and previous-turn context in AI Studio; logs expire after a default 55-day retention period, with 7-, 14-, 28- and 55-day options. Logs saved to datasets do not expire automatically.

## Why it matters

A new production project can retain user prompts, customer documents and generated responses even when its predecessor did not. That affects data mapping, privacy disclosures, vendor reviews, access controls and internal incident-response assumptions. It is not evidence that Google uses those logs to train models: Google's documentation treats dataset sharing as an optional separate step. The change is actionable because developers can set store=false per request or turn off Generate Content logging for the project. Teams should verify effective settings, not assume older projects were migrated.

## The change applies to new paid projects, not all existing API users

Google's October 26 changelog explicitly scopes the new default to new paid-tier projects calling generateContent, streamGenerateContent and batchGenerateContent. Projects created before that date keep their Generate Content setting; it remains off unless previously enabled. The Interactions API has a separate logging toggle and already defaults to storage because it also supports server-managed conversation state. Google says log storage is available only on the Gemini API paid tier.

## What the logs contain and how long they last

The AI Studio Logs dashboard can display a request's full prompt, model response and prior-turn context. Logs are marked for deletion after 55 days by default, or an administrator can select 7, 14, 28 or 55 days. Developers can save selected logs into datasets for evaluation or export; those datasets do not automatically expire with the log window. Logging currently excludes some media and models, including Imagen/Veo, embeddings, robotics, inputs with videos/GIFs/PDFs and preview agents.

## Two independent controls for opt-out

A request-level store=false overrides project settings. Google documents support for this parameter in Python google-genai 2.33.0+, JavaScript @google/genai 2.31.0+, Java google-genai 1.79.0+ and Go google.golang.org/genai 1.76.0+. Alternatively, a project owner can disable Generate Content API logging from the Settings panel of the Logs and Datasets dashboard. The Generate Content and Interactions API toggles are independent; disabling Interactions storage affects its server-side conversation history feature unless overridden per request.

## Audit privacy and observability together

Inventory projects created since October 26, check which SDK versions and API methods they use, and verify the effective logging setting in AI Studio. Confirm who can view and export logs or save non-expiring datasets. If sensitive user content should not be retained in these logs, disable storage and test the setting in a controlled request. If logs are intentionally retained for debugging, document the selected retention period, project access and dataset governance. This change is about request storage in AI Studio, not a documented alteration to Google's model-training policy.

## Key details

- Change announced October 26, 2026 in Gemini API changelog.
- New paid-tier Generate Content projects: store=true by default; pre-October 26 projects keep existing setting.
- Methods affected: generateContent, streamGenerateContent, batchGenerateContent; OpenAI-compatible endpoint calls can also appear in logs.
- Default retention 55 days; configurable 7, 14, 28 or 55 days; saved datasets do not expire automatically.
- Opt out with store=false per request or disable Generate Content logging in AI Studio project settings.
- Interactions API logging is configured separately and was already on by default.
- Google documents unsupported logging cases including video/PDF/GIF inputs and certain models.

## Builder takeaways

- Check the Generate Content logging toggle on every new paid Gemini API project before sending customer data.
- Set store=false on requests that should not be logged; confirm your SDK version supports the field.
- Reduce retention to 7/14/28 days if logs are needed but 55 days is excessive.
- Audit AI Studio log and dataset access, especially exports and datasets that do not expire automatically.
- Don't conflate project request logging with Google model-training use; verify the relevant data terms separately.

## What to watch

- Clarification on the free-to-paid transition of pre-existing projects and their inherited settings.
- Changes to default retention, data-sharing controls and SDK support.
- Whether Google adds organization-wide logging policy enforcement or audit APIs.

## Uncertainties

- The official changelog does not explicitly describe behaviour when an old free-tier project is upgraded to paid; verify settings directly.
- This is a storage default, not evidence that stored prompts are used for model training.
- The logs guide lists unsupported content types and preview agents, so not every Gemini request is necessarily logged.

## Sources

- [Gemini API release notes — October 30 Computer Use GA](https://ai.google.dev/gemini-api/docs/changelog) — Google AI for Developers · primary API release notes · 2026-10-30T00:00:00+13:00. Authoritative GA date and two-API scope.
- [Gemini API Logs and datasets](https://ai.google.dev/gemini-api/docs/logs-datasets) — Google AI for Developers · primary developer documentation · 2026-10-26T00:00:00+13:00. Storage defaults, opt-out, SDK versions, retention, exclusions and datasets.
- [Gemini API Now Stores Requests From New Paid Projects for 55 Days by Default](https://s5labs.io/resources/insights/gemini-api-generatecontent-logging-default/) — S5 Labs · independent developer analysis · 2026-10-30T00:00:00+13:00. Independent reading and deployment implications; no independent API experiment claimed.

