---
title: LogonSessionConnection type | Wartiva GraphQL API
description: Collection payload for LogonSession edges with total count. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/logon-session-connection.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `LogonSessionConnection` type

Collection payload for LogonSession edges with total count.

## Fields

| Field Name | Description |
|---|---|
| `edges` - [`[LogonSessionEdge!]!`](https://wartiva.com/api-docs/types/logon-session-edge.html) | The LogonSession edges. |
| `total` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Total number of LogonSession edges matching the query. |
| `searchInput` - [`GraphSearchQueryInputPayload`](https://wartiva.com/api-docs/types/graph-search-query-input-payload.html) | The graph search query that reproduces this connection. Submit it as the query of a [GraphSearchInput](https://wartiva.com/api-docs/types/graph-search-input.html) to retrieve the same [LogonSession](https://wartiva.com/api-docs/types/logon-session.html) objects as a standalone search, with full filtering, sorting, and pagination. Null when this connection was not produced from a graph relationship traversal. |

## Used by

- [`Endpoint`](https://wartiva.com/api-docs/types/endpoint.html) type: A Windows, macOS, or Linux computer that runs the Wartiva endpoint agent and is enrolled with an organization.
- [`EndpointUser`](https://wartiva.com/api-docs/types/endpoint-user.html) type: An operating system or domain user account observed on an Endpoint.

## Related types

- [`LogonSession`](https://wartiva.com/api-docs/types/logon-session.html) A user logon session observed on an Endpoint, identified by the username and the time the session started.

## Example

### Example

```json
{
  "edges": [LogonSessionEdge],
  "total": 987,
  "searchInput": GraphSearchQueryInputPayload
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
