Models

AuditLog

object
idid>= 1
Example
42
actionAuditLogActioncreateupdatedelete
entityTypeAuditLogEntityTypevideovideo-importvideo-livevideo-sourcevideo-filevideo-captionvideo-chaptersvideo-passwordvideo-embed-privacyvideo-transcodingvideo-transcriptionvideo-studio-editionvideo-player-settingsownership-changecommentchannelchannel-syncchannel-videos-importchannel-collaboratorchannel-player-settingschannel-playlists-orderplaylistplaylist-elementplaylist-elements-orderuserregistrationpassword-resettoken-sessionfailed-loginscoped-tokenuser-exportuser-importabuseabuse-messagevideo-blockaccount-blockserver-blockblocklist-subscriptionwatched-words-listwatched-words-subscriptionautomatic-tag-policyconfiginstance-imageinstance-homepageinstance-hostpluginfollowserver-redundancyvideo-redundancyjob-queuejobrunnerrunner-registration-tokendebug-commandstorage-prune
entityIdinteger | null

Id of the audited entity, null for the instance configuration

userobject
Show child attributes
idinteger | null

null if the user has been deleted, for remote actors or for entries imported from the legacy audit log files

usernamestring

Username at the time of the action, or the actor handle for remote actors

ipstring | null

IP address of the request, anonymized if log.anonymize_ip is enabled

entityobject

Snapshot of the entity after the action (before the action for deletions)

changesobject | null

Only for updates. Keys are dot-separated paths of the changed entity attributes

Show child attributes
[key: string]object
Show child attributes
oldany
newany
createdAtstring<date-time>
timestampstring<date-time>deprecated

Same as createdAt. Field of the format used before audit logs were stored in the database

levelstringauditdeprecated

Field of the format used before audit logs were stored in the database

messagestringdeprecated

JSON string containing the user, domain (entity type), action, entityId, ip and changes of the entry, and the properties of the audited entity. Field of the format used before audit logs were stored in the database