Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI evidence

We call Gemini, and some Claude models, through Google Cloud's Vertex AI, now Gemini Enterprise Agent Platform. If a customer later says the model told them something false, can we show exactly what was sent and returned? Does Google log it for us, do Cloud Audit Logs contain it, and what do we have to switch on?

Last updated

TL;DR: Only if you set it up. Google's 'Log requests and responses' page (last updated November 20, 2026, Preview) says the platform can log samples of requests and responses for Gemini and supported partner models to a BigQuery table you choose, and that request-response logging is disabled by default until you create a PublisherModelConfig with setPublisherModelConfig. You pick a sampling rate between 0 and 1; set 1 to log every request. The BigQuery rows carry the full GenerateContentRequest and GenerateContentResponse, the model and model version, the API method, a logging time and metadata with latency, but pairs larger than BigQuery's 10 MB row limit aren't recorded. Cloud Audit Logs answer 'who did what, where, and when'; their Data Access logs, which cover calls such as generateContent, are off by default. Google's zero data retention page lists request-response logging as a feature that stays off unless you enable it.

What should I check, step by step?

1. For each model and project you use, check the current setting with fetchPublisherModelConfig. A 404 NOT_FOUND means no config exists and logging is in its default disabled state; enabled false means it was turned off.

  1. Enable it with setPublisherModelConfig (REST) or set_request_response_logging_config (Python SDK), naming a BigQuery destination. For Anthropic Claude models on the platform, Google says only REST is supported, with publisher set to anthropic.
  2. Set samplingRate to 1 if you need every call; 0.1 logs only 10% of requests, and a disputed answer may be in the 90% you didn't keep.
  3. For a fine-tuned model, set predictRequestResponseLoggingConfig on the endpoint; logging there is per endpoint and covers every model deployed to it.
  4. Allow a few minutes after changing the configuration before relying on it, and send a test call to confirm a row appears.
  5. Restrict the aiplatform.endpoints.setPublisherModelConfig permission so only approved people can turn logging, or partner log sharing, on or off.
  6. Protect the BigQuery table like evidence: limit who can modify or delete rows, and hash any rows you export for a dispute.

What do Vertex AI request-response logs record for Gemini calls?

Google says request-response logging is supported for all Gemini models that use generateContent or streamGenerateContent, and for Anthropic Claude through rawPredict or streamRawPredict. Logs are written to a BigQuery table; if you give only a project ID, a dataset is created for you, and if you give no table name the table is called request_response_logging. On the global endpoint you must name an existing dataset.

Do Cloud Audit Logs or Google's own retention keep your Gemini prompts and responses?

Google's audit logging page for the platform says Admin Activity and System Event audit logs can't be turned off, while Data Access audit logs, which cover reading and writing user-provided data and list operations such as endpoints.generateContent and endpoints.predict, must be explicitly enabled. Audit logs are built to answer who did what, where and when; the page doesn't describe them as a store of prompt and response text, so don't plan on them for that.

How does Vertex AI partner log sharing work, and can request-response logs be used as evidence?

For certain Advanced AI partner models, Google says some partners require a tamper-proof log of prompts and responses to be shared with their trust and safety teams; with dataSharingEnabledProvider active, logged requests and responses under the Advanced AI Safety Addendum are shared with that partner in real time. Google lists Anthropic models it calls Claude Mythos Preview, Claude Mythos 5 and Claude Fable 5 on Google Cloud, and shows an organization policy custom constraint to stop anyone turning sharing on.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We exported the BigQuery request-response log row for a disputed Gemini answer. Record a receipt with the model, model version, logging time, request ID and the SHA-256 of the exported row.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "ai_output.records_collected",
    "outcome": "success",
    "occurred_at": "2026-11-25T12:00:00Z",
    "client_event_id": "gemini-review:<case id>",
    "summary": "Request-response log row exported from BigQuery for case <case id>: api_method generateContent, model <model name>, model_version <version>, logging_time <time>, request_id <id>; sampling rate 1 confirmed with fetchPublisherModelConfig",
    "action_sha256": "<sha256 of the exported row and config response>"
  }
}

Rightshold isn't affiliated with Google and doesn't connect to Google Cloud, BigQuery or Cloud Logging. Details are from Google Cloud's 'Log requests and responses' page (last updated November 20, 2026; Preview), the platform's audit logging page (last updated November 20, 2026) and 'Gemini Enterprise Agent Platform and zero data retention' (last updated November 24, 2026), all read November 25, 2026. Preview features, field names and supported models can change; check the current pages. The advice on using the logs in a dispute is ours. Not legal advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'