Skip to main content

Query ActivityEvents for a Participant.

List ActivityEvents produced by a Participant. The deprecated name for this operation is ActivityEvent.all_by_participant.

Path Parameters
id string REQUIRED

The special case "me" parameter can also be used to implicitly refer to the Participant ID of the currently authenticated user (Credential).

Query Parameters
origin string
from int64

The UNIX Epoch date-time representation: number of milliseconds since 1/1/1970 12:00 AM.

to int64

The UNIX Epoch date-time representation: number of milliseconds since 1/1/1970 12:00 AM.

limit int64

The maximum number of events to return in the query. Positive values like +1000 return latest events first, while negative values like -1000 return earliest events first.

Responses
200

Success

Schema OPTIONAL
data object[] OPTIONAL
timestamp int64

The UNIX Epoch date-time representation of when this event was recorded: number of milliseconds since 1/1/1970 12:00 AM.

duration int64

The duration this event lasted before recording ended.

activity string

The activity that produced this activity event.

static_data object

The summary information for the activity event as determined by the activity that created this activity event.

temporal_slices object[]

The specific interaction details of the activity event.

item OPTIONAL

The item that was interacted with; for example, in a Jewels game, the corresponding alphabet, or in a survey, the question index.

value OPTIONAL

The value of the item that was interacted with; in most games, this field is null, but in a survey, this field is the question choice index.

type OPTIONAL

The type of interaction that for this detail; for example, in a Jewels game, none if the tapped jewel was incorrect, or correct if it was correct, or in a survey, this field will be null.

duration OPTIONAL

The time difference from the previous detail or the start of the parent result.

level OPTIONAL

The level of activity for this detail; for example, in games with multiple levels, this field might be 2 or 4, but for surveys and other games this field will be null.

default

Error

Schema OPTIONAL
error string OPTIONAL