Skip to main content

Get event stats

Get event stats

Path Parameters
workspaceId cuid2 — REQUIRED

Possible values: Value must match regular expression ^[0-9a-z]+$

applicationId string — REQUIRED
Query Parameters
startAt number — REQUIRED
endAt number — REQUIRED
timezone string
unit string

Possible values: [minute, hour, day, month, year]

Responses
200

Successful response

Schema — OPTIONAL
current object[]
date string
eventCount number
sessionCount number
totalTime number
avgEventsPerSession number
avgScreensPerSession number
previous object[]
date string
eventCount number
sessionCount number
totalTime number
avgEventsPerSession number
avgScreensPerSession number
currentTotalSessionCount number
previousTotalSessionCount number
400

Invalid input data

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
404

Not found

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string