Metis · Data Guardian — Get Consent Ledger
get_consent_ledgerRetrieve the latest consent events from the audit ledger to review data-handling approvals, classifications, and agent actions for reporting on sensitive data treatment.
Instructions
Retrieve recent consent events from the audit ledger.
Returns the data-handling consent trail — what data was approved or
classified, by which agent, and when — so you can review or report on how
sensitive data has been treated. Reads the consent_ledger that
log_consent_event writes to.
Args:
limit: Number of most recent ledger rows to return, newest first
(default 30).
Returns:
A JSON text block listing the consent events (id, timestamp, action,
data_classification, agent_slug, notes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |