{
"api_version": "v1",
"client": "Lago Ruby v1.26.0",
"http_method": "post",
"http_status": 200,
"logged_at": "2025-03-31T12:31:44Z",
"request_body": {
"billable_metric": "{\"name\":\"Storage\",\"code\":\"storage\"}"
},
"request_origin": "https://api.getlago.com",
"request_path": "/api/v1/billable_metrics",
"created_at": "2022-04-29T08:59:51Z",
"request_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"request_response": {
"billable_metric": "{\"lago_id\":\"b9155544-e261-4e92-b54e-f65d7609294c\"}"
}
}Audit logs
The API log object
This object represents an API log entry of any actions performed through the API endpoints.
The parameters of the request, keyed by their top-level name. Nested values are returned JSON-encoded. When the log is too large to be stored, this object is replaced by a truncated key set to "true" and an original_bytesize key holding the size of the log before truncation.
Example:
{
"billable_metric": "{\"name\":\"Storage\",\"code\":\"storage\"}"
}
The body Lago returned for the request, keyed by its top-level name. Nested values are returned JSON-encoded. It is null when the response had no body. When the log is too large to be stored, this object is replaced by a truncated key set to "true" and an original_bytesize key holding the size of the log before truncation.
Example:
{
"billable_metric": "{\"lago_id\":\"b9155544-e261-4e92-b54e-f65d7609294c\"}"
}