This page documents the schema for audit log entries in the Build a Doc portal.
Log Entry Structure
| Field | Type | Description |
|---|
| timestamp | DateTime | When the event occurred (UTC) |
| eventType | String | Type of event |
| userId | String | User who performed the action |
| userEmail | String | User’s email address |
| resourceType | String | Type of resource affected |
| action | String | Specific action performed |
| details | Object | Additional event details |
| ip | String | IP address of the actor (IPv4/IPv6) |
| severity | String | Severity level (Info, Warning, Error) |
Event Types
| Event Type | Description |
|---|
| Api Key Created | New API key generated |
| Api Key Revoked | API key deactivated |
| User Invited | New user invited |
| User Removed | User access removed |
| Role Changed | User role modified |
| Subscription Changed | Plan modification |