Skip to content
AgentOS
DocumentationAudit logs

Platform

Audit logs

The audit event schema, tamper evidence, search and export.

The audit log records what every agent and person did in a workspace. It is append-only: events are added and never edited.

audit eventJSON
{  "id": "evt_01jd8k2m9x4q7f",  "time": "2026-11-24T06:49:00.000Z",  "actor": {    "type": "user",    "id": "priya.natarajan"  },  "action": "approval.grant",  "resource": {    "type": "run",    "id": "run_0xaj4x9817zg"  },  "agent": "incident-responder@33",  "policy": "production-changes",  "outcome": "approved",  "prev_hash": "1e88c0d4…f4a0",  "hash": "7c21aa93…09bd"}

Event fields

FieldDescription
idUnique identifier of the event.
timeWhen it happened, in UTC.
actorWho acted: an agent, a user or the system.
actionWhat happened, written as category.verb.
resourceWhat it happened to.
agentThe agent and version, when the event belongs to a run.
policyThe policy that decided, when one was evaluated.
outcomeThe result of the action.
prev_hash and hashLink the event to the one before it.

What is recorded

CategoryActions
Runsrun.start, run.complete, run.fail, run.cancel
Model callsmodel.call
Tool callstool.call
Memorymemory.read, memory.write, memory.purge
Policypolicy.evaluate
Approvalsapproval.request, approval.grant, approval.reject
Sandboxessandbox.exec
Configurationagent.deploy, policy.update, integration.connect
Accesssession.login, member.invite, apikey.create, audit.export

Tamper evidence

Every event includes the hash of the event before it. Removing or changing an event breaks the chain from that point on, which can be checked by recomputing the hashes over an export.

Filter events by actor, action, resource, outcome, run or time. From any event that belongs to a run, open the run's trace to see the surrounding steps.

Export

  • Download a period as JSON or CSV.
  • Stream events as JSON over HTTPS to a SIEM or a data lake.
  • Deliver batches to object storage.

Exports are themselves recorded, as audit.export events.

Content capture

Prompts and outputs are stored with their events by default. Fields can be redacted, and content capture can be switched off for specific agents. The metadata of each event is always kept.

Retention

Events are kept for the retention period of the workspace and removed when it ends. The period depends on the plan and can be extended. See pricing.

The audit log in the demo console shows the events behind the sample runs.