Skip to content

Security and governanceChecklist

Gemini API stores requests by default: what to change

From 26 October 2026, new paid Google projects store Generate Content requests unless you say otherwise. This checklist covers which projects are affected, which settings to apply, and what to write in a procurement answer about where prompts are retained.

By INFRO Editorial

Published

8 min read

A grid of dark glass cards with small bar charts, a few of them lit amber, on a dark ground

In short

New paid-tier Gemini projects now store generateContent, streamGenerateContent and batchGenerateContent requests by default; existing projects keep their setting 1. Inventory projects by creation date, decide per project, set the toggle in AI Studio, pin store per request in code, and document retention and sharing separately.

Key takeaways

  • Projects created on or after 26 October 2026 on the paid tier store Generate Content requests by default; older projects keep their existing setting, which was off unless someone enabled it.
  • Storage is a project-level setting in AI Studio plus a per-request store field, and the per-request field wins, but it needs a recent SDK version.
  • Stored logs are private to the project, kept 55 days by default, and not used for training unless you put them into a dataset and share it.
  • Datasets have no retention period and shared datasets fall under the unpaid-services data terms, so treat dataset creation as a controlled action.
  • A procurement answer should name three layers separately: your gateway or app logs, Google's project logs, and Google's abuse-monitoring logs.

What changed on 26 October 2026

Google's release notes say new projects using the Generate Content API (generateContent, streamGenerateContent and batchGenerateContent) on the paid tier now store requests by default (store=true), matching the Interactions API. Existing projects keep their current setting.1 The logging guide pins the cut-off to project creation: projects created on or after 26 October 2026 store by default, and earlier projects stay at store=false unless storage was switched on in AI Studio.2

Three details decide who is affected:

  • Storage only exists for paid-tier projects, so a free-tier project has no stored logs to worry about.2
  • The Interactions API already stored by default, so a project that was "off" for Generate Content may still be storing Interactions calls.2
  • Calls made through Google's OpenAI-compatibility endpoints are covered by logging.2 Teams that use the OpenAI SDK against Gemini are in scope too.

The rest of this checklist is ordered the way a review usually goes: find, decide, configure, constrain the data path, then document.

Step 1: find the projects and keys that are affected

Google's billing model works at the project and billing-account level: a project's tier and plan show on the AI Studio Projects page, and tiers are determined at the billing-account level.3 Use that page as the starting list, then add the fields the review will ask for.

Work through it like this:

  • List every Google project that holds a Gemini API key, including ones created by individual developers in AI Studio. The billing guide notes new users get a project and key created for them by default, so unmanaged keys are likely.3
  • Record the creation date and whether billing is linked. Paid and created on or after 26 October 2026 means storage is on until someone turns it off.
  • For older paid projects, open the Settings panel of the Logs and Datasets dashboard and read the actual toggle for both Generate Content and Interactions. Do not infer it from the date.
  • Map each key to its project and to the applications that use it. A key in a new project is where the new default applies, even if the application is old.
  • Mark any project created after 26 October that was free first and upgraded later as "verify". The release notes talk about new paid-tier projects and the guide ties the default to creation date, so confirm the toggle in the dashboard rather than assuming either way.

If you already keep a credential inventory, add a "retention at provider" column to it; the existing AI API key inventory post covers the rest of that record.

Step 2: decide per project whether storage should be on

Storage is not only a risk. Google positions logs as something to observe and debug with, and the Interactions API relies on it for server-side conversation state.2 The decision is per workload.

Turn it off, or keep it off, when prompts carry customer personal data, regulated data or contract-restricted content, and you already hold your own logs under a policy you control. Leave it on when a team debugs model behavior from the AI Studio dashboard, the data is low-sensitivity, and the retention window matches your policy.

One trap: switching Interactions API logging off in the Settings panel stops the API automatically storing and retrieving conversation history unless overridden per request.2 Do not apply a blanket "off" to a project that depends on server-side state without testing it.

Step 3: apply the settings, at both levels

There are two controls, and the request-level store property takes precedence over the project-level setting.2

Project level. In AI Studio, open the Logs and Datasets dashboard, go to Settings, and turn Generate Content API logging off or on. The toggle is independent for Generate Content and Interactions.2 The release notes name this panel as one of two ways to opt out.1

Request level. Setting store on Generate Content requests needs google-genai 2.33.0 or later for Python, @google/genai 2.31.0 or later for JavaScript, google-genai 1.79.0 or later for Java, and google.golang.org/genai 1.76.0 or later for Go.2

no_store.py
from google import genai

client = genai.Client()

response = client.models.generate_content(
    model="gemini-3.8-flash",
    contents="Classify this support ticket.",
    config={"store": False},  # this request is not stored
)
print(response.text)

Pin it in a shared client wrapper rather than at each call site, so a new service cannot forget it. Pin the SDK floor in your dependency file; an older SDK may not send the field at all, which would leave you on the project default. Whether the OpenAI-compatibility endpoint accepts a store field is not stated on the pages read here, so for those callers rely on the project-level toggle and verify it.

  • Set the project toggle for every in-scope project, and record who changed it and when.
  • Add store to the shared client wrapper for sensitive workloads, and raise the SDK minimums.
  • Confirm the batch path (batchGenerateContent) is covered; it is in the default.1
  • Send one test request per project and check in the Logs dashboard that nothing appears.

Step 4: set retention and keep datasets under control

If storage stays on, retention is your lever. Logs are kept for a default maximum of 55 days, then automatically marked for deletion; the window can be changed per project to 7, 14, 28 or 55 days.4 Pick the shortest window that still serves debugging.

Datasets are the part that deserves a rule. A dataset retains selected logs beyond the retention period, and logs stored in datasets have no set retention period.4 If you share a dataset with Google, it is processed under the Unpaid Services terms, which means it may be used to improve Google products and models and human reviewers may read it.4 Google's own page tells you not to include personal, sensitive or confidential information.4

The baseline is better than the sharing path: because logging is only available on billing-enabled projects, prompts and responses within logs are by default not used for product improvement or development.4 Your control is to make sharing a deliberate act:

  • Restrict who can create datasets and tick the share option in AI Studio to named project owners.
  • Add a periodic review of existing datasets, since they do not expire.
  • Do not enroll a project in the Contributor Tier without legal sign-off. It is an invite-only preview that lowers token rates in exchange for data use under the Unpaid Services terms for the participating models.4

Step 5: constrain the data path before the prompt leaves

A project toggle governs what Google stores. It does not reduce what you send. Controls upstream of Google still matter:

  • Redact or block identifiers before the call; the PII in LLM prompts post covers the patterns and their misses.
  • Limit which models a project can reach, so traffic does not drift to a project or model you have not reviewed.
  • Keep production, staging and development keys in separate Google projects so a sandbox's storage setting is not inherited by production data.
  • Keep your own logging off or short for payloads, and be explicit that it is a different system from Google's logs.

If you route through INFRO, the relevant shipped pieces are: payload logging that is off by default with a retention window you choose, guardrails that can block, redact or flag patterns in prompts (detection can miss things), model allowlists per project, and an audit log of policy changes. INFRO's docs state that disabling INFRO logging does not disable storage or logging at your AI provider,5 so the Google setting from Step 3 still has to be made at Google. Per-request history and payload access are scoped per gateway key.6 The docs I read do not say INFRO forwards a Gemini store value, so do not rely on it to.

Step 6: what to tell a procurement review

Procurement and security questionnaires usually ask "where are prompts retained, for how long, and who can use them". Answer in layers rather than one sentence, because three different stores exist.

  1. Your application and gateway logs. State what is recorded (metadata only, or prompts and responses), the retention window, and who can read it. For INFRO, content logging is off until an owner or admin turns it on, and the stored window is the smaller of the organization's choice and the plan's maximum.5
  2. Google project logs. State the project's storage setting, the retention (default 55 days, or the 7, 14 or 28 you set), that logs are private to the project, and that by default they are not used for product improvement.4 State whether any dataset exists and whether any was shared.
  3. Google abuse-monitoring logs. Google describes these as separate from project logs and held solely for abuse monitoring.4 The retention period is not visible on the pages read for this post, so cite Google's abuse-monitoring page and your contract rather than promising "no retention".

Add the contractual basis: the paid-services data-use terms in Google's Additional Terms, effective 23 March 2026,7 and the billing guide's note that linking a billing account is how prompts and responses are kept out of product improvement.3 The terms also say that if you make API clients available to users in the EEA, Switzerland or the UK, you may use only Paid Services.7 That makes the paid path, with its storage default, the one your European workloads are on.

A one-paragraph statement that holds up:

For Gemini API projects on the paid tier, request storage is enabled per project. Projects created from 26 October 2026 default to on; we set it per project and per request and record the setting in our inventory. Stored logs are private to the project, retained for the window we configure (up to 55 days), and are not used for Google product improvement unless a dataset is deliberately shared, which requires named approval. Separate abuse-monitoring logs are governed by Google's terms.

Review cadence

Google changes these defaults through release notes, not contract amendments, so put the release-notes page on a monthly review with the rest of your provider terms. Re-run Step 1 whenever a team creates a new project, since each one starts from the current default. The broader prompt and payload logging policy post covers what to keep in your own logs.

Questions readers ask

Does this change affect a project I created last year?
Not by itself. Google's release notes say existing projects keep their current setting, and the logging guide says projects created before 26 October 2026 stay at store=false for the Generate Content API unless storage was enabled in AI Studio 12. Check anyway: someone may have enabled it, and the Interactions API already stores by default.
Does store=false stop Google holding any copy of a request?
Google describes the stored logs as separate from logs held solely for abuse monitoring 4. Treat store as controlling the developer-visible logs only, and ask Google for its abuse-monitoring retention terms in writing rather than assuming zero retention.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Request traces and payload logs

    Available with a plan

    Per-request timing detail, with prompt and completion logging off by default and a retention window you choose.

    Read the documentation for Request traces and payload logs
  • Guardrails

    Available with a plan

    Pattern-based checks on chat completion prompts and responses: block, redact or flag email addresses, phone numbers, card numbers, IBANs, US Social Security numbers, IP addresses, API keys and your own terms, plus optional classifier checks on your own connection to a decision model's provider. Detection can miss things. Included on every plan.

    Read the documentation for Guardrails
  • Model allowlists

    Available with a plan

    Approve which models a project may call; anything else returns a policy error instead of a line item.

    Read the documentation for Model allowlists
  • Audit log

    Available with a plan

    Member, key, and policy changes recorded with actor and timestamp, viewable in the console.

    Read the documentation for Audit log

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Release notes, October 26, 2026: Generate Content API storage on by default (opens in a new tab) — Google AI for Developers. Accessed Oct 27, 2026.
  2. 2.Logs and datasets (opens in a new tab) — Google AI for Developers. Accessed Oct 27, 2026.
  3. 3.Billing (opens in a new tab) — Google AI for Developers. Accessed Oct 27, 2026.
  4. 4.Data logging and sharing (opens in a new tab) — Google AI for Developers. Accessed Oct 27, 2026.
  5. 5.Privacy & data (opens in a new tab) — INFRO Docs. Accessed Oct 27, 2026.
  6. 6.Request traces (opens in a new tab) — INFRO Docs. Accessed Oct 27, 2026.
  7. 7.Gemini API Additional Terms of Service (opens in a new tab) — Google AI for Developers. Accessed Oct 27, 2026.

About this article

Read on 2026-10-27: Google's Gemini API release notes, Logs and datasets, Data logging and sharing, Billing and Additional Terms pages, plus INFRO's Privacy & data and Request traces docs. Several pages were returned truncated; anything not visible there, including abuse-monitoring retention periods and how OpenAI-compatible calls accept a store field, is marked as unconfirmed.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.