Markdown
Retention
Plain Markdown for agents, CLIs, MCP clients, and readers who want a copyable text version.
# Retention
Canonical: https://docs.flowrelay.app/operate/retention/
Markdown: https://docs.flowrelay.app/operate/retention.md
FlowRelay keeps receipt evidence for investigation, but retained request material and recovery surfaces have explicit windows.
## What retention affects
Retention determines which recovery actions are still possible after an event arrives.
- Material: Retained request material; After it expires: Replay is unavailable. Ask the sender to send a fresh event if recovery requires the original content.
- Material: Receipt facts; After it expires: Safe facts can remain useful for investigation even when raw request material is gone.
- Material: Diagnostics packages; After it expires: Share a new diagnostics package from current safe facts if support still needs evidence.
- Material: Dedupe keys and action intents; After it expires: Duplicate suppression and preview execution safeguards follow their own bounded windows.
## Replay availability
Replay is available only while FlowRelay still has retained replayable event material and the current operator or agent has authority.
## Do not reconstruct private data
When retained material is gone, do not rebuild raw payloads from screenshots, chats, tickets, or memory. Use a fresh sender-side resend.
## Operating guidance
Apply the concept through the receipt before changing setup, resending, or replaying.
1. Open the receipt and check whether source request material is retained, expired, or was not retained.
2. Use replay only while FlowRelay still has retained replayable event material.
3. When replay is unavailable, ask the source system to resend a fresh event instead of reconstructing raw payloads.
4. Use diagnostics to share redacted receipt and setup facts, not raw retained bodies.
5. Remember that retention is plan-bound and cleanup also expires diagnostics shares, dedupe keys, action intents, support rollups, and expired grants.
## Related
- [Retries, replay, and resend](https://docs.flowrelay.app/recover/retries-replay-and-resend.md)
- [Share diagnostics](https://docs.flowrelay.app/recover/diagnostics.md)
- [Read receipts](https://docs.flowrelay.app/operate/receipts.md)
## Safety Boundary
Do not include raw payloads, endpoint secrets, auth headers, HMAC values, Shopify tokens, Shopify sessions, database URLs, customer data, merchant incidents, or copied private logs in public examples.
FlowRelay