Programmable Messaging API · View 10 of 22 · Data
Decisions
- The state projection is a cache of the ledger, so it may lag and must be rebuildable without a maintenance window.
- Route quality is derived from the same receipt stream that answers tenant queries, so routing is driven by observed delivery rather than by contracted promises.
- Rating happens per attempt, because a fallback hop, a re-route and a multi-segment body each cost money independently.
Assumptions
- Ledger and attempts 90 days hot, 13 months archived; receipts 13 months; bodies 30 days default.
- RTO 2 h to rebuild the full projection from the ledger, with status queries degraded but available.
Risks
- If receipts are retained no longer than bodies, a billing dispute arrives after the evidence has gone.