activity_logs
Retrieve an activity log
Changed onThis endpoint retrieves an existing activity log that represents an action performed on some resource. The activity log is identified by its unique activity_id.
get/activity_logs/{activity_id}
Request
- Base URLhttps://api.getlago.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Activity log
Example response
{
"activity_log": {
"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"
}
}Changes
- breaking
the
/response's property format changed fromobjectto no format for status - breaking
the
/response's property format changed fromobjectto no format for status - breaking
removed the required property
/from the response with the status - info
added the non-success response with the status
- info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status
- breaking