Skip to main content

Body


actor
object
required
The ‘actor’ parameter refers to who performs the action, which can be a user or a system. If the action is performed by the system, there is no need to send the name, email, internal_id and you can send only the description parameter to describe the system (ex: Cron update prices)
action
string
required
The ‘action’ parameter refers to the action performed, such as ‘settings.updated’, ‘email.sending’ or ‘has change admin password’, etc.
metadata
object
required
You can send whatever you need within this object. For example, you can attach an object with the old data and another with the changes made to the data.
external_id
string|number
required
It corresponds to a unique identifier of your application to which the audit event will be associated. For example, if your application manages workspaces, you can send the workspace ID. Then, when you incorporate our log audit table into your application, you will be able to perform specific workspace filtering.
tags
array
tag list ex: [“production, “team-admin”, ”…”]
context
object
required