Lists audit events, newest first.
Every query is bounded in time: without `from` it covers the 90 days before `to` (default: now). `action` takes an exact name or a prefix such as `secret.*`. A workspace whose plan does not include the audit log sees only Fruxon staff access, which is recorded for every workspace. Requires the `audit:read` scope (Admin and Owner).
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The tenant identifier
Query Parameters
Start of the window, Unix ms, inclusive. Defaults to 90 days before Fruxon.Model.AuditLog.AuditEventsFilter.To. Always bounded, so a query only touches the monthly partitions it needs.
int64End of the window, Unix ms, inclusive. Defaults to now.
int64Only events by this person (their user id).
Only calls made with this token.
uuidOnly events by this service account.
uuidAn exact action (secret.delete), or a prefix ending in .* (secret.*) for
every action under it.
Repeat the parameter to match any of several.
Repeat the parameter to match any of several.
"UNSPECIFIED" | "USER" | "SERVICE_ACCOUNT" | "FRUXON_STAFF" | "SYSTEM"The maximum number of items to return per page
int32int32Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/auditEvents"{
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"createdAt": 0,
"principal": {
"type": "UNSPECIFIED",
"userId": "string",
"displayName": "string",
"email": "string",
"tokenId": null,
"tokenName": "string",
"serviceAccountId": null,
"serviceAccountName": "string",
"actor": "string"
},
"clientIp": "string",
"userAgent": "string",
"traceId": "string",
"action": "string",
"category": "WRITE",
"resourceType": "string",
"resourceId": "string",
"parentResourceId": "string",
"changedFields": [
"string"
],
"outcome": "SUCCEEDED",
"statusCode": 0,
"attemptEventId": "00000000-0000-0000-0000-000000000000",
"sourceLedger": "string",
"sourceEventId": "00000000-0000-0000-0000-000000000000"
}
],
"nextPageToken": "string",
"totalCount": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}