Audit
Space history, tenant events and chain verification.
Raw Markdown for agents: audit.md. MCP: read_docs("audit").
The audit log records every operation with actor, channel, request and result. Tenant events are signed and chained, so history cannot be changed afterwards.
Operations:
audit.space_events.summary,audit.space_events.list,audit.space_events.get,audit.space_events.get_manyandaudit.proxy_calls.list: what happened in one Space. Every member can list; request, snapshots and result are only shown to Space managers and tenant admins (others getdetails_hidden).audit.events.list,audit.events.get,audit.change_sets.get,audit.api_requests.listandaudit.chain.verify: tenant-wide history, request metadata and signature checks. Admin only.
Rules:
- All audit operations are read-only; nothing in the log can be edited.
- Use the Space events to explain to a user who changed what; use the tenant
operations only with an admin key and the
audit:readscope.
Who did what in a Space
Two calls answer it, a third explains one event:
audit.space_events.summary(space_id)(default window: last 7 days): people, agents, automations andproxyin separate sections, each actor with event and write counts, last action and the objects touched (labels only).not_includedsays what the log cannot show.audit.space_events.list(space_id, actor_id=...)ororigin_kind+origin_id(one script, skill or workflow run) for the rows.group_by: "origin"collapses each run into one row per page (expand it with the group'sorigin_kindandorigin_id).view: "summary"returns light rows; theiractor.refis the key"<kind>:<id>"of theactorsdictionary, which holds the full actor.audit.space_events.get(event_id)orget_many(event_ids)(up to 50) for request, snapshots and result (managers and admins only). For adata.write,historylinks each row torecords.rows.history(record_id, change_set_id).
Rows and actors:
- Actor:
actor_kind(person, agent, automation),channel,on_behalf_of(the person an agent or automation acted for),guide_slugandsession_idwhen known. summaryis one sentence with objects and field keys, never values.- Filters:
actor_id,actor_kind,is_write(true: writes only),method(HTTP method, e.g.POST),origin_kind,origin_id,session_id,domain.domain: recordsanddomain: documentsalso includedata.writeevents, whose own domain isdata. audit.proxy_calls.list(space_id): requests sent through the api-proxy, with method, path (no query, no body), status andis_write. They are recorded apart and are outside the signed chain.- Not recorded: changes made directly in the providers (Shopify, Alegra, Chatwoot, ...); only what passes through Adlass or its proxy appears.