> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/users/_getactivitylogdaily.md).

# \_getActivityLogDaily

Gathers the Logs of a User's total Activity per day.

### Parameters

#### activity\_type

Sets the type of activity which will be returned:

* 0 = All
* 1 = Reads
* 2 = Writes

#### user\_id

The ID of an exact User who will have their Activity recorded, unless this parameter is set to 0, in which all User Activity regardless of ID is returned.

#### inactive

Sets if Inactive User Activity is also included (0 = No, 1 = Yes).

### Example

```
FM_api('Users_getActivityLogDaily',[
    'activity_type'=>'2',
    'user_id'=>'113763',
    'inactive'=>'1'
    ]
);
```

### Result

#### On Success

```
{"logs":[{"d":"2026-06-10","n":"104"},{"d":"2026-06-23","n":"8"},{"d":"2026-06-16","n":"240"}],"sessions":["1fbc39c3b6d00aa3"]}
```
