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 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 principal — a user, a service account or an agent — by its own id.
Only calls made with this token.
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.
Repeat the parameter to match any of several — which is also how a feed leaves one kind out: the console's default view asks for every type but AuditPrincipalType.Agent, and the export, taking the same filter, leaves out what the table does.
The maximum number of items to return per page
int32int32Opaque pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.
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",
"id": "string",
"displayName": "string",
"email": "string",
"tokenId": null,
"tokenName": "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
}