# list_sessions, get_session, update_session (/mcp/sessions)



A session is one visit to a page that carries the snippet, with its [verdict](/identify/verdicts), [visitor](/identify/visitors) and [smart signals](/identify/smart-signals). Reading and linking are free.

## list\_sessions [#list_sessions]

Lists the latest sessions, newest first, as [`GET /v1/identify/sessions`](/reference/identify/list-sessions). Read-only. The filters combine.

| Input       | Description                                                                  |
| ----------- | ---------------------------------------------------------------------------- |
| `site`      | A site's `id`, for only that site's sessions                                 |
| `actor`     | `human`, `ai_agent`, `automation` or `unknown`                               |
| `visitor`   | A visitor's `id` (`kvi_…`), for only that browser's sessions                 |
| `entity_id` | An entity id, for only the sessions linked to it                             |
| `limit`     | 1 to 200; 50 by default                                                      |
| `signals`   | `true` adds each session's `signals`, what the snippet read from the browser |
| `api_key`   | `/mcp/keys` only                                                             |

Returns `sessions`. Each has `id`, `site_id`, `actor`, `confidence_score` (0 to 1), `reasons`, `operator` and `product` for a known AI agent, `visitor_id` and `visitor`, `entity_id` and `entity_source` (`server`, or `browser` for an id the page named itself), `ip`, `user_agent`, `page` and the smart signals, among them `vpn`, `incognito`, `tampering` and `suspect_score`.

## get\_session [#get_session]

Shows one session, as [`GET /v1/identify/sessions/{id}`](/reference/identify/get-session). Read-only. It adds `velocity`: how many sessions, addresses and entities the session's visitor has had lately.

| Input        | Description                                                                                         |
| ------------ | --------------------------------------------------------------------------------------------------- |
| `session_id` | Required. The session's `id` (`ksn_…`): from `list_sessions`, or `window.finic.session` in the page |
| `signals`    | `true` adds `signals`                                                                               |
| `api_key`    | `/mcp/keys` only                                                                                    |

A verdict firms up over a session's first seconds. Read it when the customer does something that matters (signs up, logs in, pays), not the instant the page loads.

## update\_session [#update_session]

Sets or clears a session's `entity_id`, as [`PATCH /v1/identify/sessions/{id}`](/reference/identify/update-session): your own id for the customer the session belongs to. Nothing else about the session changes.

| Input        | Description                                                                                                           |
| ------------ | --------------------------------------------------------------------------------------------------------------------- |
| `session_id` | Required. The session's `id`                                                                                          |
| `entity_id`  | Required. Your id for the customer, up to 128 characters; `null` clears it. Use an id, not an email address or a name |
| `api_key`    | `/mcp/keys` only                                                                                                      |

Returns the session.
