Acreum Docs
Platform

Audit Log

List audit log entries

GET
/v1/audit-log

Required scope: admin:audit

Pagination: cursor

Error codes: INVALID_CURSOR, VALIDATION_FAILED, FORBIDDEN

Authorization

access-token
headerAuthorizationBearer <token>

Query Parameters

from_date?string

Inclusive lower bound on the audit entry creation date.

Formatdate
to_date?string

Inclusive upper bound on the audit entry creation date.

Formatdate
from?stringDeprecated

Deprecated alias for from_date (inclusive lower bound on the audit entry creation date).

Formatdate
to?stringDeprecated

Deprecated alias for to_date (inclusive upper bound on the audit entry creation date).

Formatdate
actor_principal_id?string
actor_kind?string
Value in"user""api_key""acreum_internal"
action?string

Exact action match, e.g. documents.create

resource_type?string

Exact resource_type match, e.g. documents

resource_id?string

Exact resource_id (uuid) match — scopes to a single resource

via_client?string

Exact via_client match, e.g. mcp:Claude — the changes made through an AI connector client.

cursor?string
limit?number

1..100, default 50

sort?string

Default: -created_at

Value in"-created_at""created_at"

Response Body

application/json
  1. response
data*array<>
meta*
curl -X GET 'https://api.acreum.io/v1/audit-log'
{  "data": [    {      "action": "string",      "actor": {        "display_name": "string",        "email": "string",        "kind": "user",        "principal_id": "string"      },      "changes_summary": {},      "created_at": "string",      "id": "string",      "request_id": "string",      "resource_id": "string",      "resource_type": "string",      "via_client": "string"    }  ],  "meta": {    "api_version": "2026-04-23",    "limit": 50,    "next_cursor": "eyJpZCI6ICJhYmMifQ==",    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f"  }}
GET
/v1/audit-log/facets

Required scope: admin:audit

Error codes: FORBIDDEN

Authorization

access-token
headerAuthorizationBearer <token>

Response Body

application/json
  1. response
data*
meta*
curl -X GET 'https://api.acreum.io/v1/audit-log/facets'
{  "data": {    "actions": [      "string"    ],    "resource_types": [      "string"    ],    "via_clients": [      "string"    ]  },  "meta": {    "api_version": "2026-04-23",    "cursor": {      "has_more": true,      "next": "eyJpZCI6ICJhYmMifQ=="    },    "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f",    "total_count": 1234  }}