---
title: "Get Account Logs"
method: GET
path: "/account/logs"
tags: ["account"]
---

# Get Account Logs

`GET /account/logs`

Get currently logged in user list of latest security activity logs. Each log returns user IP address, location and date and time of log.

## Response `200`

Logs List

- LogList — Logs List
  - `logs` Log[], required — List of logs.
    - `clientCode` string, required — Client code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/clients.json).
    - `clientEngine` string, required — Client engine name.
    - `clientEngineVersion` string, required — Client engine name.
    - `clientName` string, required — Client name.
    - `clientType` string, required — Client type.
    - `clientVersion` string, required — Client version.
    - `countryCode` string, required — Country two-character ISO 3166-1 alpha code.
    - `countryName` string, required — Country name.
    - `deviceBrand` string, required — Device brand name.
    - `deviceModel` string, required — Device model name.
    - `deviceName` string, required — Device name.
    - `event` string, required — Event name.
    - `ip` string, required — IP session in use when the session was created.
    - `osCode` string, required — Operating system code name. View list of [available options](https://github.com/appwrite/appwrite/blob/master/docs/lists/os.json).
    - `osName` string, required — Operating system name.
    - `osVersion` string, required — Operating system version.
    - `time` integer, required — Log creation time in Unix timestamp.

---

[API](https://skmtc.net/appwrite/apis/client.md) · [All operations](https://skmtc.net/appwrite/apis/client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appwrite/client/versions/b1c00a0bc3fb/schema)
