# LogRocket

> Keep LogRocket's user profiles current and read the project's audit log.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/logrocket

## Actions

### List audit logs

List entries from the project's audit log (who viewed a session or changed a setting, and when). Gets one page; to see more, run it again with the next page it gives.

**Inputs**

- Since (`since`, date and time): Only entries from this time on.
- Page size (`limit`, number): How many entries to return, 1 to 100. From 1 to 100.
- Next page cursor (`cursor`, text): The 'next_cursor' from an earlier page, to get the page after it. Use instead of 'Since'.

**Outputs**

- `count` (number): How many entries this page holds
- `has_next` (true/false): True if there are more entries
- `logs` (list): The audit log entries
- `next_cursor` (text): Pass as 'Next page cursor' to get the next page

**Example output**

```json
{
  "count": 1,
  "has_next": false,
  "logs": [
    {
      "action": "Viewed session",
      "created_date": "2026-10-02T20:48:40.376852Z",
      "description": "1-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/1",
      "time": "10/02/26 08:48PM",
      "user": "jo@example.com"
    }
  ],
  "next_cursor": ""
}
```

### Update user

Create a user in LogRocket, or update their name, email and traits (such as plan or company). Traits you send replace the old values, others stay, and a blank value removes a trait.

**Inputs**

- User ID (`app_user_id`, text, required): The id your app gives the user, the same one it passes to LogRocket.identify().
- Name (`name`, text): The user's name, up to 1024 characters.
- Email (`email`, text): The user's email address.
- Traits (`traits`, object): Facts about the user, such as plan or company. Each value is text, a number or true/false, up to 1024 characters. Leave a value blank to remove that trait.
- Seen at (`seen_at`, date and time): When this was true of the user. LogRocket uses it for the user's first and last seen times. Defaults to now.

**Outputs**

- `user` (object): The user as LogRocket now holds it
- `user_id` (text): The user's id

**Example output**

```json
{
  "user": {
    "email": "jo@example.com",
    "name": "Jo Bloggs",
    "traits": {
      "plan": "free",
      "seats": "3"
    },
    "userID": "user-1234"
  },
  "user_id": "user-1234"
}
```
