{result, data} envelope.
Get a Decision’s Lineage
maskedKeys names them:
lineage.unavailableReason says why a layer is null: COMPOSITE_EXECUTION, NOT_LIVE_VERSION, or NOT_RECORDED. It is null when all three layers are present. See When a Layer Is Empty.
PII Reveal — Not an API Surface
Revealing a masked value is console-only (Admin and User roles). A reveal request made with an API key returns403 — an integration or agent can never pull PII plaintext. Every console reveal is audited, and a value is never shown unless its reveal was recorded. 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. Deleting a published version keeps it asARCHIVED instead of removing it, and if an audit record cannot be saved, the operation itself is rejected (AN-029). See the error reference for the full code table.
