📜 Audit Log

Audit Logging for AI Agents

Immutable records. Server timestamps. Compliance-ready.

What it does

Append immutable audit entries that record what your agent did, when, and why. Every entry is server-timestamped and stored append-only.

Why agents need this

Get started in 30 seconds

One API call. No SDK. No configuration.

cURL

curl -X POST https://www.agent-utils.com/v1/audit \
  -H "x-agent-id: support-bot" -H "x-api-key: agutil_agt_…" \
  -H "content-type: application/json" \
  -d '{
    "action": "refund.issued",
    "metadata": { "order_id": "ord_9", "amount": 4999 }
  }'

Python

import requests

resp = requests.post(
    "https://www.agent-utils.com/v1/audit",
    headers={
        "x-agent-id": "support-bot",
        "x-api-key": "agutil_agt_…",
        "content-type": "application/json",
    },
    json={
        "action": "refund.issued",
        "metadata": {"order_id": "ord_9", "amount": 4999},
    },
)
event_id = resp.json()["data"]["id"]

JavaScript

const res = await fetch("https://www.agent-utils.com/v1/audit", {
  method: "POST",
  headers: {
    "x-agent-id": "support-bot",
    "x-api-key": "agutil_agt_…",
    "content-type": "application/json",
  },
  body: JSON.stringify({
    action: "refund.issued",
    metadata: { order_id: "ord_9", amount: 4999 },
  }),
});

Use cases

Decision provenance

Record each agent decision with its rationale so you can explain why an action was taken later

Access logging

Log every time an agent reads or writes sensitive data for compliance evidence

Incident reconstruction

Replay the exact sequence of agent actions during an outage or bad outcome by time range

Cost & usage tracking

Stamp token spend and model calls per agent run for billing and attribution

AgentUtils vs. alternatives

Traditional tools like AWS CloudTrail, Datadog Audit Logs, Splunk require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.

AgentUtilsAlternatives
Setup time30 secondsHours to days
SDK requiredNo (REST API)Yes
Credentials to manage1 API keyMultiple keys/tokens
InfrastructureZero-configProvision + configure

Related tools

All AgentUtils tools

Start building for free

500 free API calls per month. No credit card required.