v1
latestOpenAPI 3.0.02026-07-135965404.0 KBGet activity logs
Returns the detailed activity logs for your account. Optional query paramaters will filter the returned results based on a number of options including usernames, activity types, or date ranges.
NOTE: Total Results will always return as 0 to avoid quering data you're not using and stay as performant as possible.
Operation Types Session activity is logged with an operation type that is different from what is visible through the activity log interface in the web file manager. Consult the table below to compare the two:
| File Manager Value | API Value | Notes |
|---|---|---|
| Connect | PASS | |
| Disconnect | EXIT | |
| Upload | STOR | |
| Download | RETR | |
| Delete | DELE | |
| Create Folder | MKD | |
| Rename | RNTO | |
| Move | MOVE | |
| Copy | COPY | |
| Compress | COMPR | |
| Extract | EXTRACT | |
| Shared Folders | SHARE | |
| Send Files | SEND | |
| Receive Files | RECV | |
| N/A | EDIT_SEND | Update send. Not shown in file manager |
| Update Share | EDIT_SHARE | |
| Update Receive | EDIT_RECV | |
| Delete Send | DELE_SEND | |
| Delete Receive | DELE_RECV | |
| Delete Share | DELE_SHARE | |
| Create Notification | NOTIFY | |
| Update Notification | EDIT_NTFY | |
| Delete Notification | DELE_NTFY | |
| Create User | USER | |
| Update User | EDIT_USER | |
| Delete User | DELE_USER | |
| N/A | DFA | Create direct link. Not shown in file manager |
| N/A | EDIT_DFA | Update direct link options. Not shown in file manager |
| N/A | DELE_DFA | Deactivate direct link. Not shown in file manager |
Query parameters
Start date of the filter data range
End date of the filter data range
Used to filter session logs by ip address.
Username used for filtering a list
Path used to filter records
Filter session logs for operation type (see table above for acceptable values)
Offset of the records list
Limit of the records list
Comma separated list sort params
Headers
API Key
Access Token
Response
Successful operation
Example response
{
"responseStatus": 200,
"totalResults": 2,
"returnedResults": 2,
"data": [
{
"id": 12345,
"type": "sessionActivity",
"attributes": {
"bytesTransferred": 10815676,
"created": "2019-10-18T06:48:40Z",
"duration": 5,
"fileName": "/test2/Cassandra2020The20Definitive20Guide.2030947496.pdf",
"ipAddress": "185.223.113.224",
"operation": "PASS",
"protocol": "web",
"sessionId": "5da9b4a8bd961dfa0a56fa0dc15aaffe57069271b389e",
"status": "-",
"username": "ykravchuk"
}
}
]
}