Developers
Sign inGet API keys
API reference/Intelligence

Audit log

AuditService reads the audit log: every change made through the dashboard, an API key or single sign-on, every refused attempt, and what team members do on registers. People whose role has audit.view.

holygrail.audit.v1.AuditService2 methodsaudit.read · audit.write

ListAuditEvents#

audit.readRead
POST/holygrail.audit.v1.AuditService/ListAuditEvents

Request body

actorIdstringactor_id

Only this person's actions.

actionPrefixstringaction_prefix

Only actions starting with this, such as "identity." or "orders.VoidPayment".

problemsOnlybooleanproblems_only

Only refused or failed attempts.

fromDatestringfrom_date

Local dates, inclusive, in the organization's first location's zone; empty for no bound.

toDatestringto_date
limitinteger

At most 200; 0 for 50.

cursorstring

The next_cursor of the previous page.

sourcestring

"dashboard" or "register"; empty for both.

teamMemberIdstringteam_member_id

Only what this team member did on registers.

Response

nextCursorstringnext_cursor

Empty on the last page.

actorsActor[]

Everyone who appears in the log, for a filter.

Request
curl https://api.buziin.tech/holygrail.audit.v1.AuditService/ListAuditEvents \
  -H "Authorization: Bearer $LUMORA_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "fromDate": "2026-12-05",
  "toDate": "2026-12-05"
}'
Response example
{
  "events": [
    {
      "id": "4f1c2e9a-8b3d-4e57-9a10-2c6f7d8e9b01",
      "at": "",
      "actorId": "",
      "actorName": "Amina Mushi",
      "apiKeyId": "",
      "apiKeyName": "Amina Mushi",
      "action": "",
      "outcome": "",
      "summary": "",
      "details": "",
      "ip": "",
      "source": "",
      "teamMemberId": "",
      "deviceName": "Amina Mushi",
      "locationName": "Amina Mushi"
    }
  ],
  "nextCursor": "",
  "actors": [
    {
      "id": "4f1c2e9a-8b3d-4e57-9a10-2c6f7d8e9b01",
      "name": "Amina Mushi"
    }
  ]
}

VerifyAuditLog#

audit.writeWrite
POST/holygrail.audit.v1.AuditService/VerifyAuditLog

Checks the log's hash chain from the first event: that no line was changed or removed.

Request body

No fields: send {}.

Response

intactboolean
checkedint64 string
brokenSeqint64 stringbroken_seq

The first event that fails, by its number in the log; 0 when intact.

brokenAttimestampbroken_at
Request
curl https://api.buziin.tech/holygrail.audit.v1.AuditService/VerifyAuditLog \
  -H "Authorization: Bearer $LUMORA_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Response example
{
  "intact": false,
  "checked": "0",
  "brokenSeq": "0",
  "brokenAt": ""
}

Types

The messages and enums these methods use. Field names are lowerCamelCase in JSON; the snake_case names work too. Enum values are sent as their names.

ListAuditEventsRequest

holygrail.audit.v1.ListAuditEventsRequest

actorIdstringactor_id

Only this person's actions.

actionPrefixstringaction_prefix

Only actions starting with this, such as "identity." or "orders.VoidPayment".

problemsOnlybooleanproblems_only

Only refused or failed attempts.

fromDatestringfrom_date

Local dates, inclusive, in the organization's first location's zone; empty for no bound.

toDatestringto_date
limitinteger

At most 200; 0 for 50.

cursorstring

The next_cursor of the previous page.

sourcestring

"dashboard" or "register"; empty for both.

teamMemberIdstringteam_member_id

Only what this team member did on registers.

ListAuditEventsResponse

holygrail.audit.v1.ListAuditEventsResponse

nextCursorstringnext_cursor

Empty on the last page.

actorsActor[]

Everyone who appears in the log, for a filter.

VerifyAuditLogRequest

holygrail.audit.v1.VerifyAuditLogRequest

No fields.

VerifyAuditLogResponse

holygrail.audit.v1.VerifyAuditLogResponse

intactboolean
checkedint64 string
brokenSeqint64 stringbroken_seq

The first event that fails, by its number in the log; 0 when intact.

brokenAttimestampbroken_at

AuditEvent

holygrail.audit.v1.AuditEvent

idstring
attimestamp
actorIdstringactor_id

Empty for an action nobody was signed in for.

actorNamestringactor_name
apiKeyIdstringapi_key_id

Set when the action came through an API key.

apiKeyNamestringapi_key_name
actionstring

"identity.InviteMember", "sso.SignIn", ...

outcomestring

"ok", or the error code such as "permission_denied".

summarystring
detailsstring

The request as JSON, with passwords, secrets and tokens removed.

ipstring
sourcestring

"dashboard" (including API keys and sign-ins) or "register".

teamMemberIdstringteam_member_id

On a register: the team member signed in, the register and its location.

deviceNamestringdevice_name
locationNamestringlocation_name

Actor

holygrail.audit.v1.Actor

idstring
namestring

Base URL https://api.buziin.tech. Every method is POST with a JSON body; see Making requests.