{result, data} envelope.
Get a Decision’s Lineage
maskedKeys names them:
PII Reveal — Not an API Surface
Revealing a masked value is deliberately console-only (Admin and User roles). API keys callingPOST /provenance/{traceId}/reveal receive 403 — an integration or agent can never pull PII plaintext. Every console reveal writes an audit row before the value is shown, and revealing a fact that is not marked as PII fails with AN-027.
List Reveal Audits
Results are fixed to reverse-chronological order.
SIEM collection — schedule this endpoint with an API key (for example, daily with yesterday’s date range) to automate the periodic access-log inspection that privacy regulations commonly require. The response is already the report.
Retention Guarantees
Lineage stays resolvable because audit retention refuses to delete what it references: a version with recorded executions cannot be removed (AN-028), and if an audit record cannot be sealed, the operation itself is rejected (AN-029). See the error reference for the full code table.
