---
title: "System"
description: "<p>Manage Lytics system users and their access to data and resources.</p>"
url: "https://www.contentstack.com/docs/developers/apis/lytics-api/system"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-20"
---

# System

Manage Lytics system users and their access to data and resources.

## Query system events

### Query system events

**GET** `/v2/event`

Query system events in the account

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.
- **type** (optional)
  Subject Type for the system event
- **id** (optional)
  Subjetc ID of the source type
- **verb** (optional)
  System Event verb
- **priority** (optional)
  System Event priority
- **before** (optional)
  System Events before
- **after** (optional)
  System Events after
- **cursor** (optional)
  Paging cursor: returns events strictly older than this. Echo back \_meta.next\_cursor. Takes precedence over 'before'; cannot be combined with 'start'.
- **relation** (optional)
  Narrows a subject-scoped query to one side of the subject/related union. Requires 'type'.
- **start** (optional)
  Offset to start from
- **limit** (optional)
  Maximum number of results

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": [
    {
      "account_id": "string",
      "aid": 0,
      "context": {},
      "id": "string",
      "notes": "string",
      "related": [
        {
          "id": "string",
          "type": "string"
        }
      ],
      "subject_id": "string",
      "subject_type": "work",
      "timestamp": "2019-08-24T14:15:22Z",
      "user_id": "string",
      "verb": "created"
    }
  ],
  "request_id": "string",
  "status": 0
}
```

## Get system event

### Get system event

**GET** `/v2/event/{id}`

Get a System Event by ID

#### URL Parameters

- **id** (required)
  The system event ID

#### Query Parameters

- **account_id** (optional)
  The account ID. Defaults to the user's default account.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
{
  "_meta": {},
  "data": {
    "account_id": "string",
    "aid": 0,
    "context": {},
    "id": "string",
    "notes": "string",
    "related": [
      {
        "id": "string",
        "type": "string"
      }
    ],
    "subject_id": "string",
    "subject_type": "work",
    "timestamp": "2019-08-24T14:15:22Z",
    "user_id": "string",
    "verb": "created"
  },
  "request_id": "string",
  "status": 0
}
```