Get User Events Log
GET /users/{user_id}/events
Get the raw action history log for the given user.
Request Parameters
Path Parameters
Name | Type | Description |
---|---|---|
user_id required | string |
Header Parameters
Name | Type | Description |
---|---|---|
program-id required | string |
Responses
200
Successful Response
UserRawHistoryActionList | application/json
Name | Type | Properties |
---|---|---|
history required | array | items: {'$ref': '#/components/schemas/UserRawHistoryAction'} |
UserRawHistoryAction | application/json
Name | Type | Properties |
---|---|---|
timestamp required | string | description: Time of event in ISO 8601 format |
event_type required | string | description: The behavior logged in the action |
asset_id required | string | |
asset_name required | string | |
event_labels | array | items: {} |
asset_labels | array | 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
Name | Type | Properties |
---|---|---|
detail required | string |
422
Validation Error
HTTPValidationError | application/json
Name | Type | Properties |
---|---|---|
detail | array | items: {'$ref': '#/components/schemas/ValidationError'} |
ValidationError | application/json
Name | Type | Properties |
---|---|---|
loc required | array | items: {'anyOf': [{'type': 'string'}, {'type': 'integer'}]} |
msg required | string | |
type required | string |