Skip to main content
Every change in an org is recorded with who made it: an agent published by someone on your team, a session created with an API key, a task stopped from the console, a procedure the agent wrote after a first run. Admins see the log in the console under Settings → Audit log. Admins and API keys can read it with GET /v1/audit_events:
Response

The event

The log never holds prompts, answers, file contents or secrets. It says that a file was written, and by whom, not what it says. It isn’t deleted by retention: it outlasts the tasks it mentions.

Actors

Objects also say who made and changed them, without a trip to the log: sessions and tasks have created_by, agents have created_by and updated_by, an agent’s draft has saved_by, its versions published_by and its files updated_by.

Actions

task.stopped is your team’s; what the customer stops is in the task’s events. conversation.approval_decided is whoever decided: a person on your team, an API key, the person in the chat (customer), or Eager (a timeout, or a new message that moved on). A request the agent’s guardrails decide as it’s asked (auto, unattended) isn’t logged: it asked nobody. conversation.question_answered is your team’s answers; the person’s are in the conversation and the task’s events. agent.created has data.from when the agent is a duplicate, and agent.draft_saved, file.written and file.deleted have data.via: "coach" when the change came from Coach. More actions may be added, so don’t fail on ones you don’t know.

Filtering and paging

object_id without object_type is a 400. Reading the log needs the admin role or an API key.
With the SDKs, listAll and list_all walk every page: