knownprintDocs

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 in data (Events API).
  • recent_events of a visitor (Visitor ids over time).
  • The answer to PATCH /v1/events/{request_id}, after you set a linked id or tags.
  • The event.identified webhook (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
curl "$KNOWNPRINT_API/v1/events/$REQUEST_ID" \
  -H "Authorization: Bearer $KNOWNPRINT_SECRET_KEY"
Node
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:

StatusWhen
200The event, as described below.
404 not_foundThe request id is malformed, belongs to another environment, never existed, or the event has passed its retention period.
409 deletion_pendingA deletion of the event's visitor is under way. Once it completes, the event is gone and the read answers 404.
401 unauthorizedThe Authorization header holds no valid secret key. A publishable key (pk_) is refused here too.
403 forbidden_scopeThe key is valid but lacks events:read.
429 rate_limitedRate 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:

GET /v1/events/evt_owg7rw2zrdx7tjpqlikbpsuhfz
{
  "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.

FieldTypeMeaning
request_idstringThe 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_idstringThe environment the event belongs to, env_ and 26 characters. A secret key reads only its own environment's events.
created_atstringWhen knownprint recorded the identification, RFC 3339 in UTC (2026-11-03T14:00:00.412Z).
received_atstringWhen the identification was received, in the same format. Today it always equals created_at.
visitor_idstringThe visitor the browser was identified as, v_ and 26 characters. See Visitor ids over time for how this id behaves after the event.
match_typestringHow the visitor was recognised: token, exact, linked, learned or new. See Match type and confidence.
confidencenumberHow sure knownprint is of visitor_id, from 0 to 1.
anonymity_set_sizeintegerThe 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_idstring, nullableA 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_probabilitynumber, optionalHow 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_idstring, nullableA device cluster, c_ and 26 characters. Null today; see Device clusters.
cluster_confidencestring, nullablelow or medium beside a device_cluster_id, else null.
evidencearrayItems 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_flagsarray of stringsPrivacy protections the browser was found to use, as short codes. Empty for most browsers.
browserobjectThe browser and system. See The browser object.
networkobjectThe network the request came from. See The network object.
signalsobjectThe signals, a map from signal name to a signal or null. See Signals.
integrityobjectChecks on the request itself. See The integrity object.
consentobjectThe consent state the page reported. See The consent object.
profilestringThe script profile that collected the event: full or security. See Profiles.
linked_idstring, nullableYour own id for the account or session, up to 128 characters. Null when you sent none. See Your own data.
tagsobject, nullableYour own key and value pairs. Null when you sent none.
lateobject, nullableA follow-up field for knownprint's own use. See Late fields.
late_completebooleanA follow-up field for knownprint's own use.
timingsobject, nullableHow long the script took. See Timings and build.
billablebooleanTrue when the event counts toward your usage. A replayed request (see integrity.replayed) is not billed.
agent_versionstringThe version of the browser agent.
build_idstringThe script build that collected the event, 12 hexadecimal characters.
url_pathstring, nullableThe 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.

ValueMeaningWhat your code can do
tokenThe 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.
exactRecognised as a returning visitor without that stored identifier.Read confidence.
linkedRecognised as a returning visitor without that stored identifier.Read confidence.
learnedRecognised as a returning visitor without that stored identifier.Read confidence.
newNot 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

FieldTypeMeaning
familystringThe browser: chrome, edge, opera, brave, samsung, chromium, firefox, safari or other.
majorintegerThe browser's major version.
os_familystringThe operating system: windows, macos, linux, android, ios, chromeos or other.
os_versionstring, nullableThe system version where known, else null.
platformstringThe platform string the browser reports, for example Win32, MacIntel or Linux x86_64; empty when the browser reported none.
classstringThe browser class, below.
enginestringThe rendering engine: blink, gecko, webkit or other.

class groups browsers that behave alike:

ClassMeaning
chromiumChrome, Edge, Opera and other Chromium browsers.
chromium_braveBrave.
firefoxFirefox.
firefox_fppFirefox with its fingerprinting protection on.
firefox_rfpFirefox with its strongest anti-fingerprinting setting on.
safariSafari and other WebKit browsers.
safari_privateSafari in a private window.
safari_listedSafari with its advanced fingerprinting protection on.
torTor Browser.
webview_androidReserved for Android web views.
inappReserved for in-app browsers.
otherAnything 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

FieldTypeMeaning
availabilitystringHow the request reached knownprint: ip_only, none, full, tls_only or hashes_only. See below.
reasonsarray of stringsShort codes about the network and how the request reached knownprint.
ipstring, nullableThe 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_prefixstringThe address's network: the /24 for IPv4 (203.0.113.0/24), the /48 for IPv6 (2001:db8:42::/48).
asninteger, nullableThe autonomous system number of the address, null when unknown.
countrystring, nullableThe country of the address as a two-letter code, null when unknown.
tls, h2, http_order, tcp, rttobject, nullableInternal 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:

ValueMeaning
ip_onlyThe request came through your proxy with the standard proxy rule, which authenticated and forwarded the visitor's address. This is the normal value.
noneThe request did not come through an authenticated proxy; the address is the one that connected to knownprint.
full, tls_only, hashes_onlyOther 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:

FieldTypeMeaning
valueboolean, number or stringThe 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.
confidencenumberHow sure the signal is, from 0 to 1.
reasonsarray of stringsWhy the signal fired, as short codes. Empty when it did not fire.
cappedboolean, optionalPresent and true on bot and tampering when their confidence is lowered for this kind of install (any network.availability other than full).
detailobject, optionalExtra fields particular to the signal.

The signals an event can carry:

SignalWhat it tells youPage
suspect_scoreOne number from 0 to 100 that sums the other signals.Suspect score
botWhether the browser is automated.Bots
vpn, proxy, tor, datacenterWhether the visitor hides behind a VPN, a proxy, Tor or a datacenter address.Network
ip_blocklistWhether the address has a recent record of abuse.Network
ip_geolocationThe country and network owner of the address.Network
incognitoWhether the browser is in a private window.Browser
privacy_settingsWhether the browser is set up, or built, to say less about itself.Browser
developer_toolsWhether developer tools or a debugging client are attached.Browser
virtual_machineWhether the browser runs in a virtual machine or an emulator.Browser
tamperingWhether the browser lies about what it is.Browser
high_activityWhether 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.

FieldTypeMeaning
noncestringThe one-time value of the identification, 22 characters.
originstringThe origin of the page that identified (https://www.example.com), never a path or query. null (the string) for an opaque origin.
clock_skew_msnumberHow far the browser's clock was from knownprint's, in milliseconds, positive when the browser is ahead. 0 when within one minute.
replayedbooleanTrue 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_matchboolean, nullableReserved for knownprint's own use. Null on every event today.
nonce_cross_tupleboolean, nullableReserved for knownprint's own use. Null on every event today.
sec_fetch_okboolean, nullablefalse is a sign the request did not come from a normal page load. Null when it could not be told.
client_hash_okboolean, optionalfalse 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.

FieldTypeMeaning
modestringThe consent mode the page passed to the script: security_only (the default) or consented.
gpcbooleanWhether the browser signalled Global Privacy Control, from the page or the Sec-GPC: 1 request header.
tcf_purpose1boolean, nullableThe IAB TCF purpose 1 consent where the page reported one, else null.
effective_modestringThe 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:

Set the account id after login
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.

MemberRules (for PATCH)
linked_id1 to 128 characters, no U+0000 character.
tagsAn 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.

FieldTypeMeaning
lateobject, nullableFor knownprint's own use. When present it holds durability_ratio (a number) and method (a string).
late_completebooleanFor knownprint's own use.

Timings and build

FieldTypeMeaning
timings.total_msnumberHow long the script took to collect, in milliseconds.
timings.per_sourceobjectMilliseconds per internal step of the script. The step names change between builds; use them only when your knownprint contact asks for them.
agent_versionstringThe script version.
build_idstringThe 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

DataKept for
An eventThe 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.ip30 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 sent30 days by default, between 7 and 90 days. The event is unaffected when they go.
Feedback on an eventYour 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.