get_session

GET /v1/kya/sessions/{id} returns one session's verdict: its actor, confidence, verification and reasons.

See Verdicts for how to read it. Anyone can send a kya_session cookie: before you rely on a session, check that its ip and user_agent match the request in front of you.

GET
/v1/kya/sessions/{id}

Gets one session's verdict: what the visitor's browser is taken to be, how sure that is and why. The session's id is in the kya_session cookie on requests to your site, and in window.kya.session on the page. A verdict changes as the page is used, so read it when you need it.

Path parameters

FieldTypeDescription
idrequiredstring

The session's id, ksn_….

Query parameters

FieldTypeDescription
signalsboolean

true adds signals, the snippet's latest report.

Responses

The session.

FieldTypeDescription
idstring

The session's id, ksn_….

site_idstring

The site it belongs to, kst_….

statusstring

Always complete.

actorhuman, ai_agent, automation, unknown

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.

operatorstring or null

Who runs the agent, such as OpenAI, or null. For an impersonation, the operator it claims.

productstring or null

The agent, such as ChatGPT-User, or null.

categorytraining_crawler, search_fetcher, user_triggered_agent, other_crawler, generic_automation, null

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.

verificationsigned, network_verified, claimed, impersonated, none

How far the claim to be an agent was checked: signed, network_verified, claimed, impersonated or none. See Verification.

confidencehigh, medium, low

How sure the verdict is. low is a hint, not a decision. See Confidence.

reasonsarray of string

What the verdict rests on, as reason codes. New codes can be added.

networkobject

Where the address is.

ipstring

The visitor's address, from the report the verdict rests on: usually the latest.

user_agentstring

That report's user agent, cut to 400 characters.

pagestring

The page that sent it: its origin and path, without the query. Path segments that look like a token or a name are *.

reportsinteger

The number of reports the session has taken.

signalsobject

With signals=true: the snippet's latest report, as v, sv, page, env and input. Its fields are listed under What the snippet collects.

created_atstring

When the session started.

updated_atstring

When it last reported.

request_idstring

req_…, the same as the X-Request-Id header.

Where the address is.

FieldTypeDescription
typedata_center, operator, unknown

data_center for a listed cloud provider's address, operator for an address in an agent operator's published ranges, unknown otherwise.

providerstring or null

The cloud provider or operator, or null.

rangestring or null

The published range that holds the address, such as 192.0.2.0/24, or null.

Examples

Example Request
curl -X GET 'https://api.finic.ai/v1/kya/sessions/string' \  -H "Authorization: Bearer $FINIC_API_KEY"
Example Response
{  "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"}