WalletD developers
Ledger and reporting

Tenant audit trail (admin)

The tenant's audit trail, newest first: who changed what, with the before and after of each mutation.

GET/v1/audit_log

The tenant's audit trail, newest first: who changed what, with the before and after of each mutation. Requires audit:read and a machine or staff principal; a user token is refused forbidden (403). Optional action narrows to one kind of change; the cursor is the last sequence number you saw and limit is clamped to 1-100.

Authorization

bearerAuth
AuthorizationBearer <token>

A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.

In: header

Query Parameters

action?string
cursor?integer
Formatint64
limit?integer
Range1 <= value <= 100
Default50

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/audit_log"
[  {    "id": 0,    "actor_type": "string",    "actor_id": "string",    "action": "string",    "object_type": "string",    "object_id": "string",    "before": null,    "after": null,    "created_at": "2019-08-24T14:15:22Z"  }]