Answers · AI evidence
Our app calls Claude and other models through Amazon Bedrock. A customer now disputes what the app told them last month. Does AWS keep a copy of the prompt and the model's answer we can pull, does CloudTrail show it, and what should we switch on so we have the full record next time?
Last updated
TL;DR: Not unless you turned it on. Amazon Bedrock's user guide says model invocation logging, which records the full request body, the response body and metadata for each call, is disabled by default; once you enable it, logs go to your own CloudWatch Logs group or S3 bucket in the same account and Region and are kept until you delete the logging configuration. CloudTrail is on by default, but AWS's example InvokeModel event shows who called, when, from where and the modelId, with responseElements null: not the prompt or the answer. AWS also describes a zero operator access model and says model providers have no access to Bedrock logs or to customer prompts and completions; for a few listed models it retains traffic for up to 30 days for abuse detection, which is not a records service for you. So for past calls, CloudTrail can show that a call happened; for the words, you need invocation logging enabled before the call.
What should I check, step by step?
1. Check whether model invocation logging is on in each Region you use: Bedrock console, Settings, Model invocation logging, or GetModelInvocationLoggingConfiguration. It is off by default and configured per account and Region.
- Create the destination first: an S3 bucket and/or a CloudWatch Logs group in the same account and Region, with the bucket policy or IAM role AWS documents for the bedrock.amazonaws.com service principal.
- Turn it on with the modalities you need (text, image, embedding, video) using the console or PutModelInvocationLoggingConfiguration. Data is logged for every model that supports the modalities you pick.
- Give it an S3 location even if you use CloudWatch Logs: request and response bodies over 100 KB and binary data such as images are written only to S3, with a reference in the log record.
- Make sure your calls go through the bedrock-runtime endpoint with Converse, ConverseStream, InvokeModel or InvokeModelWithResponseStream. AWS says calls through other endpoints, such as the same APIs on bedrock-mantle, aren't currently captured.
- Tag calls with requestMetadata (for example a ticket or session reference, no personal data) so you can find a disputed answer later; it is the only field the caller supplies.
- Protect the logs: limit who can change the logging configuration or delete objects, and keep a hash of any records you export for a dispute.
What does Amazon Bedrock model invocation logging record?
AWS says model invocation logging collects invocation logs, model input data and model output data for all invocations in your AWS account in a Region: the full request data, response data and metadata for supported calls. The supported operations are Converse, ConverseStream, InvokeModel and InvokeModelWithResponseStream, and only calls made through the bedrock-runtime endpoint are logged, including the OpenAI-compatible Responses and Chat Completions APIs on that endpoint.
- Each record is a JSON object with schemaType ModelInvocationLog, a timestamp, accountId, region, requestId, the operation, the modelId (or inference profile ID), identity.arn for the IAM or STS principal that made the call, optional requestMetadata tags, and input and output objects holding inputBodyJson and outputBodyJson (up to 100 KB each inline) plus inputTokenCount and outputTokenCount. AWS notes every field is filled in by Bedrock automatically except requestMetadata, which the caller supplies.
- In S3, records arrive as gzipped JSON files in batches; in CloudWatch Logs, as JSON log events. Bodies over 100 KB and binary data are stored as separate S3 objects under the data prefix, and the record points to them. With the Converse API, image or document data you pass is logged in S3 if you enabled S3 delivery and image logging.
Does CloudTrail show the prompt and response of an Amazon Bedrock model call?
CloudTrail is enabled on an AWS account when it is created, and Bedrock records InvokeModel, InvokeModelWithResponseStream, Converse and ConverseStream as management events, which CloudTrail logs by default. AWS's example InvokeModel event carries the caller's identity, event time, Region, source address, user agent, requestParameters with only the modelId, and responseElements set to null. That tells you a call was made and by whom, not what was asked or answered.
- For streaming calls, Bedrock adds a stream-completion event of type AwsServiceEvent after the stream ends, carrying input and output token counts and the Region where inference ran. AWS warns it isn't an API call, so count invocations only with eventType AwsApiCall. Agents, knowledge bases, flows and some other runtime operations are logged as data events, which CloudTrail doesn't record unless you configure advanced event selectors, at extra cost.
Does AWS keep a copy of your Amazon Bedrock prompts and responses?
Bedrock's data protection page says each Region has a model deployment account per model provider, owned and operated by the Bedrock service team, and that model providers don't have access to Bedrock logs or to customer prompts and completions. Its abuse detection page describes a zero operator access data security model, subject to model-specific exceptions: classifier-flagged traffic for OpenAI models other than the gpt-oss and GPT OSS Safeguard models, and all traffic for Claude Fable 5, 5.1 and 5.2, is kept for up to 30 days for automated offline abuse detection, stored by AWS and not shared with the model providers. AWS says eligible customers can ask their account team for full zero data retention on those OpenAI models.
- None of that is a copy you can request to settle a dispute. If invocation logging was off when the answer was given, our reading of AWS's documentation is that the record you have is whatever your own application saved, plus the CloudTrail event showing the call. Turning logging on now covers future calls only.
- Even with logging on, the record shows what Bedrock received and returned, not that the answer was true, and anyone with write access to the bucket or log group could change or delete it. For a record a customer or auditor can check, export the relevant entries, hash them and timestamp the hash somewhere outside the account.
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 Bedrock invocation log record for a disputed answer from our S3 bucket. Record a receipt with the requestId, modelId, timestamp, Region and the SHA-256 of the exported record.”
{
"tool": "record_action",
"arguments": {
"action_type": "ai_output.records_collected",
"outcome": "success",
"occurred_at": "2026-11-25T12:00:00Z",
"client_event_id": "bedrock-review:<case id>",
"summary": "Bedrock ModelInvocationLog record exported for case <case id>: operation Converse, modelId <model id>, requestId <request id>, region us-east-1, timestamp <record timestamp>; matching CloudTrail event saved",
"action_sha256": "<sha256 of the exported log record and CloudTrail event>"
}
}- Needs your API key (or accept_terms:true once to open a free account; the key comes back once). It returns a ledger-committed receipt of what you submitted and when, kept outside your AWS account.
- It doesn't connect to AWS or read your logs; it shows that export existed in that form at that time, not that the model's answer was right. Keep prompt text and personal data out of summary; the hash ties the receipt to the file.
Rightshold isn't affiliated with Amazon Web Services and doesn't connect to Bedrock, S3, CloudWatch or CloudTrail. Details are from the Amazon Bedrock User Guide pages 'Monitor model invocation using CloudWatch Logs and Amazon S3', 'Monitor Amazon Bedrock API calls using CloudTrail', 'Data protection' and 'Amazon Bedrock abuse detection', all read November 25, 2026. AWS changes supported endpoints, models and retention terms; check the current pages. The advice on using the records in a dispute is ours. Not legal advice.
What are the sources?
- Amazon Bedrock User Guide: Monitor model invocation using CloudWatch Logs and Amazon S3
- Amazon Bedrock User Guide: Monitor Amazon Bedrock API calls using CloudTrail
- Amazon Bedrock User Guide: Data protection
- Amazon Bedrock User Guide: Amazon Bedrock abuse detection
Related
- Can you get an old AI API response back from the provider?
- How to prove which model version, prompt and settings produced an AI output
- How to investigate a complaint that your AI chatbot made something up
- Make an AI agent's audit log append-only
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}}'
