get_audit_events
Browse per-event audit rows for the authenticated buyer via GET /buyer-audit (Phase 9.x). Each row carries license_terms + Tempo on-chain attestation (merkle_root + inclusion_proof when blockchain_status='confirmed'). Optional filter by event_type ('content_access', 'bulk_content_access', 'compliance_report_generated'). Window cap 30 days (vs 90-day cap on get_compliance_dossier). Attestation inclusion proof is included on every row by default — no separate flag needed (M6.4 consolidation per founder ratification: tools 4 + 6 merged into one cleaner mental model). Auth: an audit-scoped buyer API key (OPEDD_BUYER_TOKEN — create at opedd.com/buyer, Account → API keys) or OPEDD_BUYER_JWT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 8601 timestamp upper bound (inclusive) | |
| from | No | ISO 8601 timestamp lower bound (inclusive) | |
| limit | No | Max events per response (default: 50, max: 200) | |
| cursor | No | Opaque cursor for pagination | |
| event_type | No | Optional event-class filter |