Skip to main content

Get User Events Log

GET /users/{user_id}/events

Get the raw action history log for the given user.

Request Parameters

Path Parameters

NameTypeDescription
user_id requiredstring

Header Parameters

NameTypeDescription
program-id requiredstring

Responses

200 Successful Response

UserRawHistoryActionList | application/json

NameTypeProperties
history requiredarray

items: {'$ref': '#/components/schemas/UserRawHistoryAction'}

UserRawHistoryAction | application/json

NameTypeProperties
timestamp requiredstring

description: Time of event in ISO 8601 format
format: date-time

event_type requiredstring

description: The behavior logged in the action

asset_id requiredstring
asset_name requiredstring
event_labelsarray

items: {}

asset_labelsarray

items: {}

Response Example

{
"history": [
{
"timestamp": "string",
"event_type": "string",
"asset_id": "string",
"asset_name": "string",
"event_labels": "array",
"asset_labels": "array"
}
]
}

404 User not found

ErrorMessage | application/json

NameTypeProperties
detail requiredstring

422 Validation Error

HTTPValidationError | application/json

NameTypeProperties
detailarray

items: {'$ref': '#/components/schemas/ValidationError'}

ValidationError | application/json

NameTypeProperties
loc requiredarray

items: {'anyOf': [{'type': 'string'}, {'type': 'integer'}]}

msg requiredstring
type requiredstring