---
title: "Session history"
description: "Review completed work sessions in the workspace. See who worked on which servers and how each session ended; view AI risk when available and replay activity."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# Session history

Review work sessions and trace the activity associated with each session.

## What a session records

A work session limits a person, AI agent, or token to specific work on specific servers. Workspace access rules decide whether the request starts automatically, needs approval, or is refused. After the work ends, the session closes. Commands, sudo grants, and file transfers made within the session can be traced to it; some commands run outside work sessions.

Session history is where you review those sessions after the fact. Sessions that are still running are on [Live activity](/use/live-activity/).

## How to get here

Open the sidebar and go to **Audit → Session history**. If your role can see only your own sessions, the page is named **My sessions**.

## Closed and all sessions

Two views sit above the table:

- **Closed** (the default) lists sessions that have ended: completed, expired, revoked, rejected, or cancelled.
- **All** adds the sessions that are still waiting for approval, approved but not started, or running.

## What's in the list

Each row is one session, newest request first.

| Column | What it shows |
|---|---|
| **Purpose** | The session title, or the description when there is no title. When the title differs from the description the requester wrote, hover it to read the description |
| **Assignee** | Who ran the session, as an icon and a name. The icon shows the kind: a person's avatar, a bot for an AI agent, or a key for a token. The name is the person, or the token the session ran on |
| **Server** | Target servers within your read access. `+N` counts additional servers whose names you may read; hover to see those names |
| **Status** | How the session ended, as a word. Only **Revoked** and **Rejected** are colored, as is **Pending** in the **All** view |
| **Risk** | The risk level from the AI analysis, colored from High up. Until the analysis finishes it reads `—`, with **Not analyzed yet** on hover |
| **Requested** | When the session was requested. The header names the time zone. Click it to switch between newest and oldest first |

Hover an assignee's name for a tooltip that states one fact per line: whether a person, an agent, or a token ran the session; who requested it, when someone else opened the session for the assignee; how the request came in; and for an agent, whether the server verified it and the name it reported.

Being able to read a session or its analysis does not mean you can read every target server. Servers outside your read access are not named, even on hover; the session or analysis row can remain visible. In API results, `servers` lists only the servers you may read and `servers_hidden` counts the rest. An empty list with a positive hidden count is not a session with no servers. A reader who can manage the session can see the details of every target. A reader who can decide its pending approval can also see the details of every target to review the request.

On a self-hosted deployment without AI analysis, the Risk column does not appear.

Click a row to open the session detail, which has the full timeline (commands, file transfers, and sudo grants that happened inside), the approval record, and the AI analysis once the session has finished.

## Filtering and search

The filter bar narrows either view by **Status**, **Type** (**User** or **Agent**), **Assignee**, **Server**, and **Date**. The status filter offers only the statuses the current view shows, and the date filter applies to when the session was requested.

The `+` button adds **Scope**, the features a session was approved for (a session matches if it had any of the ones you pick), and **Analysis**, where the AI analysis stands.

The search box matches the session title, the description, and server names. The view, filters, and search stay in the page URL, so you can share a filtered list as a link.

## Who sees what

**Regular users** see only the sessions they requested or were assigned to run, on the page named **My sessions**.

**Administrators** see every session in the workspace, on the page named **Session history**.

**On the Free plan**, the list shows only sessions assigned to you from the last 7 days, for administrators too, and the page says so. There is no assignee filter.

## Questions this page answers

- "Who got into prod-web-01 last Tuesday afternoon, and why was it approved?" → filter by server and date, then open the row.
- "Which sessions did an AI agent run this quarter?" → filter by type `Agent` and a date range.
- "Which sessions with sudo were cut short?" → add the scope filter for `Sudo`, then filter status by revoked.
- "Was this terminated early, or did it expire on its own?" → the status column distinguishes the two.

## Related

- For sessions that are still running, see [Live activity](/use/live-activity/).
- For the individual events inside a session (commands, websh terminals, file transfers, sudo grants), open the session detail or use the corresponding page under [Events](/use/audit/events/).

Source: https://docs.alpacax.com/use/audit/sessions/
