{
"activity_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"user_email": "dinesh@piedpiper.example",
"activity_type": "billable_metric.created",
"activity_source": "api",
"activity_object": {
"lago_id": "dad68bc7-c01a-4ad8-a87b-13e78693a5bc",
"plan_id": "b9155544-e261-4e92-b54e-f65d7609294c"
},
"activity_object_changes": {
"plan_id": "[null,\"b9155544-e261-4e92-b54e-f65d7609294c\"]"
},
"external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
"external_subscription_id": "external_id",
"resource_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
"resource_type": "BillableMetric",
"logged_at": "2025-03-31T12:31:44Z",
"created_at": "2022-04-29T08:59:51Z"
}The activity log object
This object represents an activity log entry of any actions performed on application resources.
Unique identifier assigned to the activity log within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the activity log record within the Lago system.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
The email of the user who performed the activity. It is null when the action was performed with an API key or by the system.
"dinesh@piedpiper.example"
The action that was performed on the resource.
"billable_metric.created"
The source that triggered the action.
api, front, system "api"
The state of the resource after the action, keyed by top-level attribute name. Nested values are returned JSON-encoded.
{
"lago_id": "dad68bc7-c01a-4ad8-a87b-13e78693a5bc",
"plan_id": "b9155544-e261-4e92-b54e-f65d7609294c"
}
The attributes the action changed, keyed by attribute name. Each value is the JSON-encoded pair of the previous and the new value. It is empty when the activity type is not an update.
{
"plan_id": "[null,\"b9155544-e261-4e92-b54e-f65d7609294c\"]"
}
The customer external unique identifier (provided by your own application).
"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"
Unique identifier assigned to the subscription in your application.
"external_id"
The unique identifier of the resource the action was applied to.
"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"
The type of the resource the action was applied to.
"BillableMetric"
The date when the action happened, presented in the ISO 8601 datetime format, specifically in Coordinated Universal Time (UTC).
"2025-03-31T12:31:44Z"
The creation date of the activity log record in the Lago application, presented in the ISO 8601 datetime format, specifically in Coordinated Universal Time (UTC).
"2022-04-29T08:59:51Z"