> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# eventLogs



**query** `eventLogs(filter: EventLogFilter, paging: CursorPaging, sorting: [EventLogSort!]): EventLogConnection!`

## Arguments

**`filter`**: `EventLogFilter` = {}

Specify to filter the records returned.

---

**`paging`**: `CursorPaging` = {first: 10}

Limit or page results.

---

**`sorting`**: `[EventLogSort!]` = [{direction: DESC, field: createdAt}]

Specify to sort results.

## Returns

`EventLogConnection!`

**`edges`**: `[EventLogEdge!]!`

Array of edges.

---

**`pageInfo`**: `PageInfo!`

Paging information

## Examples

```graphql Query
query EventLogs {
  eventLogs {
    edges {
      cursor
      node {
        accountId
        actor {
          __typename
        }
        createdAt
        entityId
        entityType
        environmentId
      }
    }
    pageInfo {
      endCursor
      hasNextPage
      hasPreviousPage
      startCursor
    }
  }
}
```

```json Response
{
  "data": {
    "eventLogs": {
      "edges": [
        {
          "cursor": "value",
          "node": {
            "accountId": "string",
            "actor": {
              "__typename": "EventActorInfo"
            },
            "createdAt": "value",
            "entityId": "string",
            "entityType": "ADDON",
            "environmentId": "value"
          }
        }
      ],
      "pageInfo": {
        "endCursor": "value",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "value"
      }
    }
  }
}
```


## Related topics

- [EventLog](https://docs.stigg.io/graphql-reference/types/EventLog.md)
- [EventLogType](https://docs.stigg.io/graphql-reference/types/EventLogType.md)
- [EventLogEventLogTypeFilterComparison](https://docs.stigg.io/graphql-reference/types/EventLogEventLogTypeFilterComparison.md)
- [EventLogConnection](https://docs.stigg.io/graphql-reference/types/EventLogConnection.md)
- [EventLogEdge](https://docs.stigg.io/graphql-reference/types/EventLogEdge.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.