Results
The event object
Every field of the event knownprint records for each identification, what it means for your code, and how long it is kept.
Each time the browser agent identifies a visitor, knownprint records one event and hands the
page its request id (evt_ followed by 26 characters). Your backend reads the event with that id
and decides what to do: let the request through, ask for more proof, or stop it.
The same event object appears everywhere the API returns events:
GET /v1/events/{request_id}, the read your backend makes after each identification (Verify a request in your backend).GET /v1/events, the search, one event per entry indata(Events API).recent_eventsof a visitor (Visitor ids over time).- The answer to
PATCH /v1/events/{request_id}, after you set a linked id or tags. - The
event.identifiedwebhook (Webhooks).
This page describes the object field by field. The signals inside it have their own pages under Signals.
Read an event
Read an event with a secret key that holds the events:read scope. The API address comes with
your account; the examples write it as $KNOWNPRINT_API.
curl "$KNOWNPRINT_API/v1/events/$REQUEST_ID" \
-H "Authorization: Bearer $KNOWNPRINT_SECRET_KEY"const res = await fetch(`${process.env.KNOWNPRINT_API}/v1/events/${requestId}`, {
headers: { Authorization: `Bearer ${process.env.KNOWNPRINT_SECRET_KEY}` },
});
if (res.status === 404) throw new Error('unknown request id');
if (!res.ok) throw new Error(`knownprint answered ${res.status}`);
const event = await res.json();The read answers:
| Status | When |
|---|---|
200 | The event, as described below. |
404 not_found | The request id is malformed, belongs to another environment, never existed, or the event has passed its retention period. |
409 deletion_pending | A deletion of the event's visitor is under way. Once it completes, the event is gone and the read answers 404. |
401 unauthorized | The Authorization header holds no valid secret key. A publishable key (pk_) is refused here too. |
403 forbidden_scope | The key is valid but lacks events:read. |
429 rate_limited | Rate limited; retry after the Retry-After header. See Limits. |
Errors are application/problem+json bodies, described in Errors.
Example
A complete event from a returning visitor on a checkout page:
{
"request_id": "evt_owg7rw2zrdx7tjpqlikbpsuhfz",
"environment_id": "env_b5l7rluhuy37x7qxlnu5qtjlsl",
"created_at": "2026-11-03T14:00:00.412Z",
"received_at": "2026-11-03T14:00:00.412Z",
"visitor_id": "v_7oyg7p53qyj3onrfpnfynw72ud",
"match_type": "token",
"confidence": 1,
"anonymity_set_size": 1,
"high_recall_id": null,
"device_cluster_id": null,
"cluster_confidence": null,
"evidence": [],
"protection_flags": [],
"browser": {
"family": "chrome",
"major": 141,
"os_family": "windows",
"os_version": "15.0.0",
"platform": "Win32",
"class": "chromium",
"engine": "blink"
},
"network": {
"availability": "ip_only",
"reasons": [],
"ip": "203.0.113.42",
"ip_prefix": "203.0.113.0/24",
"asn": 64500,
"country": "DE",
"tls": null,
"h2": null,
"http_order": null,
"tcp": null,
"rtt": null
},
"signals": {
"bot": {
"value": "not_detected",
"confidence": 0.7,
"reasons": [],
"capped": true,
"detail": { "version": "v2" }
},
"high_activity": {
"value": false,
"confidence": 1,
"reasons": []
},
"suspect_score": {
"value": 0,
"confidence": 1,
"reasons": [],
"detail": { "version": "v3", "parts": {}, "max": 100 }
}
},
"integrity": {
"nonce": "q3Vw8Zk1Tn5Rb7Yx2Lm4Pa",
"origin": "https://www.example.com",
"clock_skew_ms": 0,
"replayed": false,
"ja4_match": null,
"nonce_cross_tuple": null,
"sec_fetch_ok": true,
"client_hash_ok": true
},
"consent": {
"mode": "security_only",
"gpc": false,
"tcf_purpose1": null,
"effective_mode": "security_only"
},
"profile": "full",
"linked_id": "account-1842",
"tags": { "flow": "checkout", "cart_items": 3, "returning": true },
"late": null,
"late_complete": false,
"timings": { "total_ms": 412, "per_source": {} },
"billable": true,
"agent_version": "0.1.0",
"build_id": "7c1e9a0b2d44",
"url_path": "/checkout"
}To keep it short, the example trims three members: signals shows three of the signals a real
event carries, evidence is empty where a real event lists its items, and timings.per_source
is empty where a real event has one entry per step of the script.
Top-level fields
Every member below is always present unless the table says otherwise. "Nullable" means the member
is present with the value null.
| Field | Type | Meaning |
|---|---|---|
request_id | string | The event's id, evt_ and 26 characters of a to z and 2 to 7. The page receives it from identify(); it is also the id of the request that created the event. |
environment_id | string | The environment the event belongs to, env_ and 26 characters. A secret key reads only its own environment's events. |
created_at | string | When knownprint recorded the identification, RFC 3339 in UTC (2026-11-03T14:00:00.412Z). |
received_at | string | When the identification was received, in the same format. Today it always equals created_at. |
visitor_id | string | The visitor the browser was identified as, v_ and 26 characters. See Visitor ids over time for how this id behaves after the event. |
match_type | string | How the visitor was recognised: token, exact, linked, learned or new. See Match type and confidence. |
confidence | number | How sure knownprint is of visitor_id, from 0 to 1. |
anonymity_set_size | integer | The lookalike count: how many visitors of your environment look like this browser, at least 1. A browser that looks like many others is harder to tell apart. |
high_recall_id | string, nullable | A lead: the earlier visitor this browser most likely is, when knownprint did not give it that visitor's id. Null when there is no lead. See Leads. |
high_recall_probability | number, optional | How likely the high_recall_id visitor is this browser, from 0 to 1. Absent when high_recall_id is null, and absent when no probability was given for the lead. |
device_cluster_id | string, nullable | A device cluster, c_ and 26 characters. Null today; see Device clusters. |
cluster_confidence | string, nullable | low or medium beside a device_cluster_id, else null. |
evidence | array | Items that explain the answer, each { "kind": string, "detail": string, "weight": number }. Show them to your analysts as they are; the kinds and the detail text are descriptive and may change, so do not build rules on them. |
protection_flags | array of strings | Privacy protections the browser was found to use, as short codes. Empty for most browsers. |
browser | object | The browser and system. See The browser object. |
network | object | The network the request came from. See The network object. |
signals | object | The signals, a map from signal name to a signal or null. See Signals. |
integrity | object | Checks on the request itself. See The integrity object. |
consent | object | The consent state the page reported. See The consent object. |
profile | string | The script profile that collected the event: full or security. See Profiles. |
linked_id | string, nullable | Your own id for the account or session, up to 128 characters. Null when you sent none. See Your own data. |
tags | object, nullable | Your own key and value pairs. Null when you sent none. |
late | object, nullable | A follow-up field for knownprint's own use. See Late fields. |
late_complete | boolean | A follow-up field for knownprint's own use. |
timings | object, nullable | How long the script took. See Timings and build. |
billable | boolean | True when the event counts toward your usage. A replayed request (see integrity.replayed) is not billed. |
agent_version | string | The version of the browser agent. |
build_id | string | The script build that collected the event, 12 hexadecimal characters. |
url_path | string, nullable | The path of the page that identified, without query string or fragment (/checkout). Null when the browser did not send the page's address, for example under a no-referrer referrer policy, or sent one of another origin. |
The object has no other members. A new member arrives only with a new version of the event contract, so you can validate strictly if you want to.
Match type and confidence
match_type says how the visitor was recognised. Read it together with confidence.
| Value | Meaning | What your code can do |
|---|---|---|
token | The browser was recognised from the identifier knownprint stored in it on an earlier visit. | The strongest answer. Treat visitor_id as the same browser you saw before. |
exact | Recognised as a returning visitor without that stored identifier. | Read confidence. |
linked | Recognised as a returning visitor without that stored identifier. | Read confidence. |
learned | Recognised as a returning visitor without that stored identifier. | Read confidence. |
new | Not recognised: knownprint gave the browser a new visitor id. | Look at high_recall_id: it names the earlier visitor this browser most likely is, if any. |
exact, linked and learned differ only in how the answer was reached. Treat them alike and
decide on confidence.
anonymity_set_size adds context. A count of 1 means no other visitor of your environment looks
like this browser. A large count is common for phones of one model and for browsers built to look
alike; in that case lean on linked_id, your own session data and the signals rather than on the
visitor id alone.
The browser object
| Field | Type | Meaning |
|---|---|---|
family | string | The browser: chrome, edge, opera, brave, samsung, chromium, firefox, safari or other. |
major | integer | The browser's major version. |
os_family | string | The operating system: windows, macos, linux, android, ios, chromeos or other. |
os_version | string, nullable | The system version where known, else null. |
platform | string | The platform string the browser reports, for example Win32, MacIntel or Linux x86_64; empty when the browser reported none. |
class | string | The browser class, below. |
engine | string | The rendering engine: blink, gecko, webkit or other. |
class groups browsers that behave alike:
| Class | Meaning |
|---|---|
chromium | Chrome, Edge, Opera and other Chromium browsers. |
chromium_brave | Brave. |
firefox | Firefox. |
firefox_fpp | Firefox with its fingerprinting protection on. |
firefox_rfp | Firefox with its strongest anti-fingerprinting setting on. |
safari | Safari and other WebKit browsers. |
safari_private | Safari in a private window. |
safari_listed | Safari with its advanced fingerprinting protection on. |
tor | Tor Browser. |
webview_android | Reserved for Android web views. |
inapp | Reserved for in-app browsers. |
other | Anything else. |
Browsers with protections on are legitimate. A protected class is not a fraud signal by itself;
it explains why anonymity_set_size may be high or confidence lower.
The network object
| Field | Type | Meaning |
|---|---|---|
availability | string | How the request reached knownprint: ip_only, none, full, tls_only or hashes_only. See below. |
reasons | array of strings | Short codes about the network and how the request reached knownprint. |
ip | string, nullable | The visitor's IP address as your proxy forwarded it, or the address that connected to knownprint at availability none. After 30 days it is cut to its network (see How long events are kept). |
ip_prefix | string | The address's network: the /24 for IPv4 (203.0.113.0/24), the /48 for IPv6 (2001:db8:42::/48). |
asn | integer, nullable | The autonomous system number of the address, null when unknown. |
country | string, nullable | The country of the address as a two-letter code, null when unknown. |
tls, h2, http_order, tcp, rtt | object, nullable | Internal fields, for knownprint's own use: do not build rules on them. Null under the standard proxy rule. |
availability says how the request reached knownprint, and so whether your proxy is set up as
intended:
| Value | Meaning |
|---|---|
ip_only | The request came through your proxy with the standard proxy rule, which authenticated and forwarded the visitor's address. This is the normal value. |
none | The request did not come through an authenticated proxy; the address is the one that connected to knownprint. |
full, tls_only, hashes_only | Other kinds of install, for knownprint's own use. |
none on production traffic usually means the proxy secret is missing or wrong; see
Proxy setup. Under any value other than full, the normal ip_only included,
bot and tampering carry a lowered confidence and mark it with capped: true
(Connection availability).
Codes you may see in reasons include client_ip_invalid (your proxy sent no valid client
address, so the connecting address was used), tor, datacenter and relay_egress (the address
is a Tor exit, a datacenter, or the exit of a privacy relay). The list can grow; ignore codes you
do not know.
Signals
signals maps each signal name to a signal object, or to null when the signal could not be
computed for this event (for example when the data it needs was not available). Every signal has
the same shape:
| Field | Type | Meaning |
|---|---|---|
value | boolean, number or string | The answer. Most signals are true or false; bot is bad or not_detected; privacy_settings names a privacy mode; suspect_score is a number from 0 to 100; ip_geolocation is a two-letter country code, or unknown. |
confidence | number | How sure the signal is, from 0 to 1. |
reasons | array of strings | Why the signal fired, as short codes. Empty when it did not fire. |
capped | boolean, optional | Present and true on bot and tampering when their confidence is lowered for this kind of install (any network.availability other than full). |
detail | object, optional | Extra fields particular to the signal. |
The signals an event can carry:
| Signal | What it tells you | Page |
|---|---|---|
suspect_score | One number from 0 to 100 that sums the other signals. | Suspect score |
bot | Whether the browser is automated. | Bots |
vpn, proxy, tor, datacenter | Whether the visitor hides behind a VPN, a proxy, Tor or a datacenter address. | Network |
ip_blocklist | Whether the address has a recent record of abuse. | Network |
ip_geolocation | The country and network owner of the address. | Network |
incognito | Whether the browser is in a private window. | Browser |
privacy_settings | Whether the browser is set up, or built, to say less about itself. | Browser |
developer_tools | Whether developer tools or a debugging client are attached. | Browser |
virtual_machine | Whether the browser runs in a virtual machine or an emulator. | Browser |
tampering | Whether the browser lies about what it is. | Browser |
high_activity | Whether the visitor is among the most active of your environment today. | Activity |
Start with suspect_score and the individual signals your use case cares about. The
Guides show which signals matter for each kind of fraud.
Some signals can change after the event is first recorded. incognito can be refined within
about ten seconds of the identification, and bot can turn to bad for up to 30 minutes after
it; either change also recomputes suspect_score. A read returns the signals as they stand at
that time, so read the event when the visitor acts. The event.identified webhook carries the
event as it was at identification and is not sent again when a signal changes. See
When signals change after the event.
The integrity object
integrity holds checks on the identification request itself. The
Integrity page explains how to act on them.
| Field | Type | Meaning |
|---|---|---|
nonce | string | The one-time value of the identification, 22 characters. |
origin | string | The origin of the page that identified (https://www.example.com), never a path or query. null (the string) for an opaque origin. |
clock_skew_ms | number | How far the browser's clock was from knownprint's, in milliseconds, positive when the browser is ahead. 0 when within one minute. |
replayed | boolean | True when this identification was sent before: refuse it. A replay is not billed, does not change the visitor and sends no event.identified webhook; reading its request id may answer 404. |
ja4_match | boolean, nullable | Reserved for knownprint's own use. Null on every event today. |
nonce_cross_tuple | boolean, nullable | Reserved for knownprint's own use. Null on every event today. |
sec_fetch_ok | boolean, nullable | false is a sign the request did not come from a normal page load. Null when it could not be told. |
client_hash_ok | boolean, optional | false means the request was altered or not sent by the agent. Present on every new event. |
A replayed event deserves attention: this identification was sent before, so refuse it. Do not
accept a request id that your backend has already used for a decision; Verify a request in your
backend shows how.
The consent object
| Field | Type | Meaning |
|---|---|---|
mode | string | The consent mode the page passed to the script: security_only (the default) or consented. |
gpc | boolean | Whether the browser signalled Global Privacy Control, from the page or the Sec-GPC: 1 request header. |
tcf_purpose1 | boolean, nullable | The IAB TCF purpose 1 consent where the page reported one, else null. |
effective_mode | string | The mode knownprint applied: security_only or consented. Today every event is processed as security_only, whatever mode says. |
Privacy explains the modes and how they change what is collected.
Your own data: linked id and tags
linked_id and tags are yours. Set them in the browser at identification, or later from your
backend with PATCH /v1/events/{request_id} and a secret key that holds events:write:
curl -X PATCH "$KNOWNPRINT_API/v1/events/$REQUEST_ID" \
-H "Authorization: Bearer $KNOWNPRINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: login-$REQUEST_ID" \
-d '{"linked_id": "account-1842", "tags": {"flow": "login", "mfa": true}}'The answer is 200 with the updated event. In the body, a value sets the member, null clears
it, and a member you leave out stays as it was. The request id rules of the read apply: 404
not_found for an unknown or malformed request id, 409 deletion_pending while the visitor is
being deleted. A body that breaks the rules below is 422 validation_failed.
| Member | Rules (for PATCH) |
|---|---|
linked_id | 1 to 128 characters, no U+0000 character. |
tags | An object of at most 64 entries. Each name is 1 to 64 characters; each value is a string of at most 256 characters, a number or a boolean; the whole object stays under 4,096 bytes. A new tags object replaces the old one whole. |
The body must hold at least one of the two members. Setting a linked_id relates the visitor to
that account; Accounts and linked ids explains what that gives you. Do not put
personal data such as email addresses or names in either member: use your own opaque ids.
Late fields
late and late_complete are follow-up fields for knownprint's own use. Do not build rules on
them; read the signals instead.
| Field | Type | Meaning |
|---|---|---|
late | object, nullable | For knownprint's own use. When present it holds durability_ratio (a number) and method (a string). |
late_complete | boolean | For knownprint's own use. |
Timings and build
| Field | Type | Meaning |
|---|---|---|
timings.total_ms | number | How long the script took to collect, in milliseconds. |
timings.per_source | object | Milliseconds per internal step of the script. The step names change between builds; use them only when your knownprint contact asks for them. |
agent_version | string | The script version. |
build_id | string | The script build, useful when you report a problem to your knownprint contact. |
Events and visitor ids over time
An event keeps the visitor id it was answered with. If knownprint later finds that two visitors
are one device and merges them, older events still name the id they were given; reading that id
through GET /v1/visitors/{visitor_id} answers the surviving visitor. Only an unmerge or a split
moves an event to another visitor id. Visitor ids over time covers this, and shows how
to keep the ids you store in step.
How long events are kept
| Data | Kept for |
|---|---|
| An event | The event retention period of your account: 90 days unless agreed otherwise, and between 30 and 365 days. After that, reading it answers 404. |
The IP address in network.ip | 30 days in full. After that it is cut to its network (the /24 for IPv4, the /48 for IPv6, written as an address). ip_prefix is unchanged. |
| The raw readings the script sent | 30 days by default, between 7 and 90 days. The event is unaffected when they go. |
| Feedback on an event | Your event retention period, counted from when the feedback was recorded. See Feedback. |
Events also go when their visitor is deleted, either on your request or after the visitor has not been seen for 400 days. See Delete a visitor.
Store what you need for your own records, such as the request id, the visitor id, the decision you made and the signals that drove it, in your own database at the time of the decision.