Skip to content

Logs List

Properties

NAME TYPE DESCRIPTION
total
integer
Total number of logs documents that matched your query.
logs
array
List of logs. Can be one of:

Log model

Example

JSON
{
    "total": 5,
    "logs": [
        {
            "event": "account.sessions.create",
            "userId": "610fc2f985ee0",
            "userEmail": "john@appwrite.io",
            "userName": "John Doe",
            "mode": "admin",
            "ip": "127.0.0.1",
            "time": "2020-10-15T06:38:00.000+00:00",
            "osCode": "Mac",
            "osName": "Mac",
            "osVersion": "Mac",
            "clientType": "browser",
            "clientCode": "CM",
            "clientName": "Chrome Mobile iOS",
            "clientVersion": "84.0",
            "clientEngine": "WebKit",
            "clientEngineVersion": "605.1.15",
            "deviceName": "smartphone",
            "deviceBrand": "Google",
            "deviceModel": "Nexus 5",
            "countryCode": "US",
            "countryName": "United States"
        }
    ]
}