# get_session (/reference/identify/get-session)



See [Verdicts](/identify/verdicts) for how to read it. Anyone can send a `finic_session` cookie: before you rely on a session, check that its `ip` and `user_agent` match the request in front of you.

## GET https://api.finic.ai/v1/identify/sessions/{id}

Gets one session's [verdict](/identify/verdicts): what the visitor's browser is taken to be, how sure that is and why. The session's id is in the `finic_session` cookie on requests to your site, and in `window.finic.session` on the page. A verdict changes as the page is used, so read it when you need it.

Authorization: `Bearer <API key>` (see [Authentication](/authentication)).
- Path parameter `id`: The session's `id`, `ksn_…`.
- Query parameter `signals`: `true` adds `signals`, the snippet's latest report.

### Responses

- **200**: The session.

| Field | Type | Always | Description |
| --- | --- | --- | --- |
| `id` | string | yes | The session's id, `ksn_…`. |
| `site_id` | string | yes | The site it belongs to, `kst_…`. |
| `entity_id` | string or null | yes | Your own id for the customer or account the session belongs to, or `null` until one is set: by your page ([`data-entity` or `finic.identify()`](/identify/data#the-entity-id)) or by your server ([update_session](/reference/identify/update-session)). |
| `entity_source` | `server`, `browser`, `null` | yes | Who set `entity_id`. `server`: your API key, which you can rely on. `browser`: your page, through the snippet, which is only the page's claim. `null` with no entity id. |
| `status` | string | yes | Always `complete`. |
| `actor` | `human`, `ai_agent`, `automation`, `unknown` | yes | What the visitor is taken to be: `human` (the page was used the way a hand uses it), `ai_agent`, `automation`, or `unknown` (nothing for or against yet, as on a page that has only loaded). See [Verdicts](/identify/verdicts). |
| `operator` | string or null | yes | Who runs the agent, such as `OpenAI`, or `null`. For an impersonation, the operator it claims. |
| `product` | string or null | yes | The agent, such as `ChatGPT-User`, or `null`. |
| `category` | `training_crawler`, `search_fetcher`, `user_triggered_agent`, `other_crawler`, `generic_automation`, `null` | yes | What kind of agent it is: `training_crawler`, `search_fetcher`, `user_triggered_agent` (it acts for a person who asked) or `other_crawler`; `generic_automation` for an HTTP library or automation tool; `null` when unknown. |
| `verification` | `signed`, `network_verified`, `claimed`, `impersonated`, `none` | yes | How far the claim to be an agent was checked: `signed`, `network_verified`, `claimed`, `impersonated` or `none`. See [Verification](/identify/verdicts#verification). |
| `confidence` | `high`, `medium`, `low` | yes | How sure the verdict is. `low` is a hint, not a decision. See [Confidence](/identify/verdicts#confidence). |
| `confidence_score` | number | yes | `confidence` as a number from 0 to 1, to two decimals: `high` is 0.85 to 0.99, `medium` 0.50 to 0.84, `low` 0.01 to 0.49, and `unknown` is 0. It is worked out from the same rules as the verdict and isn't a measured probability. See [Confidence score](/identify/verdicts#confidence-score). |
| `reasons` | array of string | yes | What the verdict rests on, as [reason codes](/identify/verdicts#reason-codes). New codes can be added. |
| `network` | object | yes | Where the address is. |
| `ip` | string | yes | The visitor's address, from the report the verdict rests on: usually the latest. |
| `user_agent` | string | yes | That report's user agent, cut to 400 characters. |
| `page` | string | yes | The page that sent it: its origin and path, without the query. Path segments that look like a token or a name are `*`. |
| `reports` | integer | yes | The number of reports the session has taken. |
| `visitor_id` | string or null | yes | The session's [visitor](/identify/visitors), `kvi_…`: the same id for every session of the same browser. `null` until the browser has been identified, usually within a second of the page loading, and when the tag has `data-visitor="off"`. |
| `visitor` | object or null | yes | The visitor and how this session was matched to it, or `null` with `visitor_id`. |
| `incognito` | boolean or null | yes | Whether the browser is in a private window; `null` where it gives no way to tell. This and the fields down to `suspect_score` are the session's [smart signals](/identify/smart-signals). |
| `vpn` | boolean or null | yes | Whether the visitor seems to be behind a VPN: the browser's clock is in another time zone than its address. `null` without a location for the address or a time zone from the browser. |
| `vpn_confidence` | `high`, `medium` |  | With `vpn: true`: `high` when the address is also a cloud provider's or a Tor exit node, else `medium`. |
| `vpn_origin_timezone` | string |  | With `vpn: true`: the browser's own time zone, such as `America/Toronto`. |
| `vpn_methods` | object |  | With a VPN verdict: what it rests on. |
| `virtual_machine` | boolean | yes | Whether the browser's graphics are a virtual machine's. |
| `tampering` | boolean | yes | Whether the browser contradicts itself about what it is. |
| `tampering_details` | object | yes |  |
| `developer_tools` | boolean | yes | Whether the DevTools protocol is attached: open DevTools, or a tool driving the browser. |
| `privacy_settings` | boolean | yes | Whether the browser hides its fingerprint: Brave, or Firefox resisting fingerprinting. |
| `ip_info` | object | yes | The session's address, under `v4` or `v6`. |
| `ip_blocklist` | object | yes |  |
| `velocity` | object |  | How busy the session's visitor was in the 5 minutes, hour and 24 hours up to the session's start, this session included. Only from [get_session](/reference/identify/get-session), and only when the session has a visitor. |
| `suspect_score` | integer | yes | The smart signals added up, each by a [weight](/identify/smart-signals#suspect-score). 0 is nothing unusual. |
| `signals` | object |  | With `signals=true`: the snippet's latest report, as `v`, `sv`, `page`, `env`, `input` and `fp`. Its fields are listed under [What the snippet collects](/identify/data#what-the-snippet-collects). |
| `created_at` | string | yes | When the session started. |
| `updated_at` | string | yes | When it last reported. |
| `request_id` | string |  | `req_…`, the same as the `X-Request-Id` header. |
| `network.type` | `data_center`, `operator`, `unknown` | yes | `data_center` for a listed cloud provider's address, `operator` for an address in an agent operator's published ranges, `unknown` otherwise. |
| `network.provider` | string or null | yes | The cloud provider or operator, or `null`. |
| `network.range` | string or null | yes | The published range that holds the address, such as `192.0.2.0/24`, or `null`. |
| `visitor.id` | string | yes | The same as `visitor_id`. |
| `visitor.match` | `stored_id`, `fingerprint`, `new` | yes | How the visitor was recognised: `stored_id` (the id the browser kept), `fingerprint` (its fingerprint and network, with no stored id) or `new` (first seen in this session). See [How a visitor is matched](/identify/visitors#how-a-visitor-is-matched). |
| `visitor.confidence` | `high`, `medium`, `low` | yes | How sure it is that this session is this visitor's and nobody else's. See [Confidence](/identify/visitors#confidence). |
| `visitor.found` | boolean | yes | Whether the visitor had been seen before this session: `false` when `match` is `new`. |
| `visitor.confidence_score` | number | yes | `confidence` as a number: how sure it is that the session was given the right visitor and not another browser's. `1` for `stored_id` and `new`; for `fingerprint`, 0.90 to 0.99 when `high`, 0.60 to 0.89 when `medium`, 0.30 to 0.59 when `low`, higher the more of the fingerprint agreed. Not a measured probability. See [Confidence](/identify/visitors#confidence). |
| `visitor.sessions` | integer | yes | The number of sessions the visitor has had. |
| `visitor.first_seen_at` | string | yes | When the visitor was first seen. |
| `visitor.last_seen_at` | string or null | yes | When the visitor's last session before this one started. `null` for a new visitor. |
| `vpn_methods.timezone_mismatch` | boolean |  | The browser's time zone differs from its address's. |
| `tampering_details.anomaly_score` | number | yes | The share of the five consistency checks that failed. |
| `ip_info.v4` | object |  | Where an address is and whose network it is on. |
| `ip_info.v6` | object |  | Where an address is and whose network it is on. |
| `ip_info.v4.address` | string | yes |  |
| `ip_info.v4.geolocation` | object or null | yes | Where the address is, as near as its network says; `null` without a GeoIP database. |
| `ip_info.v4.asn` | string or null | yes | The network's number, such as `64500`. |
| `ip_info.v4.asn_name` | string or null | yes |  |
| `ip_info.v4.asn_network` | string or null | yes | The range the address is in, such as `198.51.100.0/24`. |
| `ip_info.v4.datacenter_result` | boolean | yes | Whether the address is a listed cloud provider's. |
| `ip_info.v4.datacenter_name` | string or null | yes |  |
| `ip_info.v4.geolocation.accuracy_radius` | integer |  | In kilometres. |
| `ip_info.v4.geolocation.latitude` | number |  |  |
| `ip_info.v4.geolocation.longitude` | number |  |  |
| `ip_info.v4.geolocation.postal_code` | string |  |  |
| `ip_info.v4.geolocation.timezone` | string |  |  |
| `ip_info.v4.geolocation.city_name` | string |  |  |
| `ip_info.v4.geolocation.country_code` | string |  |  |
| `ip_info.v4.geolocation.country_name` | string |  |  |
| `ip_info.v4.geolocation.continent_code` | string |  |  |
| `ip_info.v4.geolocation.continent_name` | string |  |  |
| `ip_info.v4.geolocation.subdivisions` | array of object |  |  |
| `ip_info.v4.geolocation.subdivisions[].iso_code` | string |  |  |
| `ip_info.v4.geolocation.subdivisions[].name` | string |  |  |
| `ip_info.v6.address` | string | yes |  |
| `ip_info.v6.geolocation` | object or null | yes | Where the address is, as near as its network says; `null` without a GeoIP database. |
| `ip_info.v6.asn` | string or null | yes | The network's number, such as `64500`. |
| `ip_info.v6.asn_name` | string or null | yes |  |
| `ip_info.v6.asn_network` | string or null | yes | The range the address is in, such as `198.51.100.0/24`. |
| `ip_info.v6.datacenter_result` | boolean | yes | Whether the address is a listed cloud provider's. |
| `ip_info.v6.datacenter_name` | string or null | yes |  |
| `ip_info.v6.geolocation.accuracy_radius` | integer |  | In kilometres. |
| `ip_info.v6.geolocation.latitude` | number |  |  |
| `ip_info.v6.geolocation.longitude` | number |  |  |
| `ip_info.v6.geolocation.postal_code` | string |  |  |
| `ip_info.v6.geolocation.timezone` | string |  |  |
| `ip_info.v6.geolocation.city_name` | string |  |  |
| `ip_info.v6.geolocation.country_code` | string |  |  |
| `ip_info.v6.geolocation.country_name` | string |  |  |
| `ip_info.v6.geolocation.continent_code` | string |  |  |
| `ip_info.v6.geolocation.continent_name` | string |  |  |
| `ip_info.v6.geolocation.subdivisions` | array of object |  |  |
| `ip_info.v6.geolocation.subdivisions[].iso_code` | string |  |  |
| `ip_info.v6.geolocation.subdivisions[].name` | string |  |  |
| `ip_blocklist.tor_node` | boolean | yes | Whether the address is a Tor exit node. |
| `velocity.events` | object |  | One count over three spans of time. |
| `velocity.distinct_ip` | object |  | One count over three spans of time. |
| `velocity.distinct_entity_id` | object |  | One count over three spans of time. |
| `velocity.events.5_minutes` | integer | yes |  |
| `velocity.events.1_hour` | integer | yes |  |
| `velocity.events.24_hours` | integer | yes |  |
| `velocity.distinct_ip.5_minutes` | integer | yes |  |
| `velocity.distinct_ip.1_hour` | integer | yes |  |
| `velocity.distinct_ip.24_hours` | integer | yes |  |
| `velocity.distinct_entity_id.5_minutes` | integer | yes |  |
| `velocity.distinct_entity_id.1_hour` | integer | yes |  |
| `velocity.distinct_entity_id.24_hours` | integer | yes |  |

```json
{
  "id": "ksn_01M4Z2K8Q0V7C3N5T9XB6RHDWE",
  "site_id": "kst_01M4Z1X3G5P8D2F6J0YA4SMQNC",
  "entity_id": null,
  "entity_source": null,
  "status": "complete",
  "actor": "human",
  "operator": null,
  "product": null,
  "category": null,
  "verification": "none",
  "confidence": "high",
  "confidence_score": 0.9,
  "reasons": [
    "human_like_input"
  ],
  "network": {
    "type": "unknown",
    "provider": null,
    "range": null
  },
  "ip": "198.51.100.24",
  "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
  "page": "https://www.example.com/checkout",
  "reports": 4,
  "visitor_id": "kvi_01M4Z2Q7B3X9K5W1E8TN6GHPAD",
  "visitor": {
    "id": "kvi_01M4Z2Q7B3X9K5W1E8TN6GHPAD",
    "match": "stored_id",
    "found": true,
    "confidence": "high",
    "confidence_score": 1,
    "sessions": 7,
    "first_seen_at": "2026-11-18T09:41:07.120443Z",
    "last_seen_at": "2026-11-30T20:15:42.004118Z"
  },
  "created_at": "2026-12-01T17:04:11.482913Z",
  "updated_at": "2026-12-01T17:04:19.905127Z",
  "request_id": "req_01M4Z2M1T6W9E3R7Y5VA8PKGHB"
}
```

- **401**: `authentication_error`: the API key is missing, unknown, revoked or expired.

- **402**: `insufficient_credit`: the organization is out of credit. An admin adds more in the Finic app.

- **404**: `not_found`: no session with this `id` in your organization. Sessions are deleted after 30 days.

- **429**: `rate_limited`: over Identify's [request rate](/reference/identify#limits) for the organization, 50 a second. Retry with backoff.
