Documentation Index
Fetch the complete documentation index at: https://docs.fact0.io/llms.txt
Use this file to discover all available pages before exploring further.
Audit event schema
Everyclient.audit.log() call validates against this shape before enqueue.
Top-level fields
| Field | Type | Required | Notes |
|---|---|---|---|
actor | object | yes | Who performed the action |
action | string | yes | Dot-notation: resource.verb |
resource | object | yes | Target of the action |
outcome | enum | yes | success | failure | error |
metadata | object | no | Arbitrary JSON context |
id | string | no | Client UUID for idempotency; server assigns if omitted |
timestamp | datetime | no | ISO 8601 UTC; defaults to now |
tenant_id, prev_hash, hash, sequence_number.
Actor
type: human | agent | system
Resource
resource.id values you can filter on later.
Outcome semantics
| Value | Meaning |
|---|---|
success | Action completed as intended |
failure | Expected business failure (permission denied, invalid input) |
error | Unexpected system error (timeout, exception) |