System Events Query

Get list of system events.

# get the dashboard news items
curl -s -H "Authorization: $LIOKEY" \
  -XGET "https://api.lytics.io/api/event?query=dashboard_news" | jq '.'

# get list of all segments created in last 2 weeks
curl -s -H "Authorization: $LIOKEY" \
  -XGET "https://api.lytics.io/api/event?type=segment&start=now-2w&limit=100&verb=created" | jq '.'


# get list of all events performed by user X

# 1) first find a user id
curl -s -H "Authorization: $LIOKEY" \
  -XGET "https://api.lytics.io/api/user/user.email@yourdomain.com" | jq '.'

# 2) get the id for that user
curl -s -H "Authorization: $LIOKEY" \
  -XGET "https://api.lytics.io/api/event?type=user&id=USER_ID_FROM_PREVIOUS" | jq '.'


Log in to see full request history
Query Params
string

Your Lytics account ID.

string
Defaults to now-3d

Start fetching items with dates older than: "now-3d" (now-2h, now-1w, "2016-03-03"). Date math, or absolute date.

string
Defaults to now-3d

Start fetching items with dates after: "now-3d" (now-2h, now-1w, "2016-03-03"). Date math, or absolute date.

integer
Defaults to 20

Should segments this user is member of be included?

string
Defaults to ``

Verb (created, updated, deleted, status, clustered)

string
Defaults to ``

Type of Object (entity, segment, work, account, user)

string
Defaults to ``

Id of Object (entity, segment, work, account, user)

Response

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json