Audit log

Read the audit log of your organization, every change made through the API, the dashboard, the CLI or MCP.

The audit log records every change to the organization, whoever made it and through whichever interface. Entries are listed newest first.

OperationEndpoint
List audit logGET /v1/orgs/{org}/audit

List audit log

GET /v1/orgs/{org}/audit

Lists the audit log of the organization, newest first. Page with before set to the id of the last entry received.

Required role: admin or higher. Organization-wide. A tech member or token limited to a client reads the entries of its client's zones.

Parameters

NameInTypeRequiredDescription
orgpathstring (uuid)YesOrganization id. Every route checks that it is the token's organization (otherwise 404).
limitqueryintegerNoMaximum number of items. Default 100. From 1 to 500.
beforequeryintegerNoPagination: id of the last entry seen.

Response

FieldTypeDescription
items[].idintegerId.
items[].org_idstring (uuid)Organization id.
items[].actorstringWho made the change: a token, a user or OpenWAF.
items[].actionstring
items[].targetstringTarget of the action.
items[].dataobjectDetails of the change.
items[].atstring (date-time)Time of the entry.

Example

curl "https://dash.openwaf.dev/v1/orgs/$OPENWAF_ORG/audit?limit=50" \
  -H "Authorization: Bearer $OPENWAF_TOKEN"
200
{
  "items": [
    {
      "id": 48213,
      "org_id": "1e7c9a3b-5d2f-4b8a-9c6e-0f2a4b6c8d1e",
      "actor": "token:11111111-2222-4333-8444-555555555555",
      "action": "record.update",
      "target": "0c9a7e4d-2b1f-4e6a-8d3c-5f7b9a1c3e5d",
      "data": {
        "zone": "example.com",
        "name": "www.example.com",
        "reason": "Point www at the new origin"
      },
      "at": "2026-10-27T09:30:00Z"
    }
  ]
}

Last updated:

↑↓ to navigate↵ to openesc to close