# list_sessions (/kya/reference/list-sessions)



Send `site` to list one site's sessions. It returns up to 200 sessions and has no paging: use it to look at recent traffic, and [`get_session`](/kya/reference/get-session) to read one.

## GET https://api.finic.ai/v1/kya/sessions

Lists the latest sessions, newest first, each with its [verdict](/kya/verdicts): across your organization's sites, or for one site with `site`.

Authorization: `Bearer <API key>` (see [Authentication](/authentication)).
- Query parameter `limit`: How many sessions to return, 1 to 200. More than 200 returns 200.
- Query parameter `site`: A site's `id`, to list only that site's sessions. An id that isn't one of your sites gives an empty list.
- Query parameter `signals`: `true` adds each session's `signals`.

### Responses

- **200**: The latest sessions.

| Field | Type | Always | Description |
| --- | --- | --- | --- |
| `sessions` | array of object | yes | The sessions, newest first. |
| `request_id` | string | yes | `req_…`, the same as the `X-Request-Id` header. |
| `sessions[].id` | string | yes | The session's id, `ksn_…`. |
| `sessions[].site_id` | string | yes | The site it belongs to, `kst_…`. |
| `sessions[].status` | string | yes | Always `complete`. |
| `sessions[].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](/kya/verdicts). |
| `sessions[].operator` | string or null | yes | Who runs the agent, such as `OpenAI`, or `null`. For an impersonation, the operator it claims. |
| `sessions[].product` | string or null | yes | The agent, such as `ChatGPT-User`, or `null`. |
| `sessions[].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. |
| `sessions[].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](/kya/verdicts#verification). |
| `sessions[].confidence` | `high`, `medium`, `low` | yes | How sure the verdict is. `low` is a hint, not a decision. See [Confidence](/kya/verdicts#confidence). |
| `sessions[].reasons` | array of string | yes | What the verdict rests on, as [reason codes](/kya/verdicts#reason-codes). New codes can be added. |
| `sessions[].network` | object | yes | Where the address is. |
| `sessions[].ip` | string | yes | The visitor's address, from the report the verdict rests on: usually the latest. |
| `sessions[].user_agent` | string | yes | That report's user agent, cut to 400 characters. |
| `sessions[].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 `*`. |
| `sessions[].reports` | integer | yes | The number of reports the session has taken. |
| `sessions[].signals` | object |  | With `signals=true`: the snippet's latest report, as `v`, `sv`, `page`, `env` and `input`. Its fields are listed under [What the snippet collects](/kya/data#what-the-snippet-collects). |
| `sessions[].created_at` | string | yes | When the session started. |
| `sessions[].updated_at` | string | yes | When it last reported. |
| `sessions[].request_id` | string |  | `req_…`, the same as the `X-Request-Id` header. |
| `sessions[].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. |
| `sessions[].network.provider` | string or null | yes | The cloud provider or operator, or `null`. |
| `sessions[].network.range` | string or null | yes | The published range that holds the address, such as `192.0.2.0/24`, or `null`. |

```json
{
  "sessions": [
    {
      "id": "ksn_01M4Z2P4D7H1S8A3F6GY9CJNRV",
      "site_id": "kst_01M4Z1X3G5P8D2F6J0YA4SMQNC",
      "status": "complete",
      "actor": "unknown",
      "operator": null,
      "product": null,
      "category": null,
      "verification": "none",
      "confidence": "low",
      "reasons": [],
      "network": {
        "type": "unknown",
        "provider": null,
        "range": null
      },
      "ip": "198.51.100.61",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0",
      "page": "https://www.example.com/",
      "reports": 2,
      "created_at": "2026-12-01T17:06:40.118302Z",
      "updated_at": "2026-12-01T17:06:40.764915Z"
    },
    {
      "id": "ksn_01M4Z2K8Q0V7C3N5T9XB6RHDWE",
      "site_id": "kst_01M4Z1X3G5P8D2F6J0YA4SMQNC",
      "status": "complete",
      "actor": "human",
      "operator": null,
      "product": null,
      "category": null,
      "verification": "none",
      "confidence": "high",
      "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,
      "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.

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