---
title: "GET /user/login/log"
method: GET
path: "/user/login/log"
tags: ["Users"]
---

# GET /user/login/log

`GET /user/login/log`

Fetches the Login logs of all the users of a given date.

## Query parameters

- `date` string
- `pageNo` number, required
- `processName` string

## Response `200`

If the auth token is valid.

- Loginlogs — Schema for users login logs
  - `statusCode` number — Will be 0 in case of success
  - `message` string — Contains the success message or error reason, based on the statusCode
  - `data` object
    - `metadata` object[]
      - `total` number — Total number of login logs for the given date
      - `page` number — Current page no
    - `data` object[]
      - `agentName` string — Name of the user
      - `event` 'login' | 'logout' — event performed by the user
      - `eventTime` number — time of the event performed in epoch (in seconds since 1970)
      - `modelName` string, nullable — model name of the device used to perform the event
      - `osVersion` string, nullable — version of the Os used in the device used to perform the event

## Other responses

- `403` — UnAuthorized.

---

[API](https://skmtc.dev/runo/apis/api-documentation.md) · [All operations](https://skmtc.dev/runo/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runo/api-documentation/revisions/19460dffac44/schema)
