Skip to main content
Audit logsGet Logs by event ID
TestMu AI
StatusCommunityBlog
Audit logs

Get Logs by event ID

Get Audit logs

GET
/api/logs/{event_id}
Get Logs by event ID
curl --request GET \
--url "https://audit-logs.lambdatest.com/api/logs/{event_id}" \
--header "Authorization: Basic <encoded-value>"
{
"activity_description": "User updated their email preferenece",
"activity_name": "User - Email Preference Updated",
"changes": {
"marketing": false
},
"email": "[email protected]",
"event": "user.email-preference.updated",
"event_id": "3108990a-9c21-4b7c-b4f2-ca32321b8015",
"event_time": "2023-10-26T08:38:18Z",
"ip": "143.110.182.88",
"metadata": null,
"name": "pawan1235",
"organization_name": "",
"original": {
"marketing": true
},
"target_identifier": {
"email": "[email protected]"
},
"user_agent": "Mozilla/5.0(Macintosh;IntelMacOSX10_15_7)AppleWebKit/537.36(KHTML,likeGecko)Chrome/106.0.0.0Safari/537.36"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

event_idstringrequired

Event id of logs

Response

application/json

success

activity_descriptionstring
activity_namestring
changesobject
changes.marketingboolean
Example: false
emailstring
eventstring
event_idstring
event_timestring
ipstring
metadataobject
namestring
organization_namestring
originalobject
original.marketingboolean
Example: true
target_identifierobject
target_identifier.emailstring
user_agentstring
Get Logs by event ID
curl --request GET \
--url "https://audit-logs.lambdatest.com/api/logs/{event_id}" \
--header "Authorization: Basic <encoded-value>"
{
"activity_description": "User updated their email preferenece",
"activity_name": "User - Email Preference Updated",
"changes": {
"marketing": false
},
"email": "[email protected]",
"event": "user.email-preference.updated",
"event_id": "3108990a-9c21-4b7c-b4f2-ca32321b8015",
"event_time": "2023-10-26T08:38:18Z",
"ip": "143.110.182.88",
"metadata": null,
"name": "pawan1235",
"organization_name": "",
"original": {
"marketing": true
},
"target_identifier": {
"email": "[email protected]"
},
"user_agent": "Mozilla/5.0(Macintosh;IntelMacOSX10_15_7)AppleWebKit/537.36(KHTML,likeGecko)Chrome/106.0.0.0Safari/537.36"
}