---
title: "Get activity logs"
method: GET
path: "/activity/session"
tags: ["Activity"]
---

# Get activity logs

`GET /activity/session`

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](/docs/account/10-activity-logs/00-activity-logs). 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

- `startDate` string, date-time
- `endDate` string, date-time
- `ipAddress` string
- `username` string
- `path` string
- `type` string
- `offset` integer
- `limit` integer
- `sort` string

## Headers

- `ev-api-key` string, required
- `ev-access-token` string, required

## Response `200`

Successful operation

- SessionActivityResponse — Session activity list response
  - `responseStatus` integer
  - `totalResults` integer
  - `returnedResults` integer
  - `data` SessionActivityEntry[]
    - `id` integer
    - `type` 'sessionActivity'
    - `attributes` object
      - `bytesTransferred` integer
      - `created` string
      - `duration` integer
      - `fileName` string
      - `fileSource` string
      - `ipAddress` string
      - `operation` string
      - `protocol` string
      - `sessionId` string
      - `status` string
      - `username` string

---

[API](https://skmtc.net/prismic/apis/exavault-api.md) · [All operations](https://skmtc.net/prismic/apis/exavault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prismic/exavault-api/revisions/a1bd874b5960/schema)
