v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Instance Admin

Get all login events.

Enterprise feature

Returns all login events in the Unleash system. You can optionally get them in CSV format by specifying the Accept header as text/csv.

get/api/admin/logins

Response

loginHistorySchema

Example response

{
  "events": [
    {
      "id": 13,
      "username": "admin",
      "auth_type": "simple",
      "type": "login",
      "created_at": "2023-03-01T12:04:26.061Z",
      "successful": true,
      "ip": "::ffff:127.0.0.1",
      "failure_reason": "No user found"
    }
  ]
}