Skip to content

Changelog

Version Date Changes
2.4.0 19 Nov 2026 The API moved to api.behavlabs.com: the default endpoint is https://api.behavlabs.com/v1/collect and server calls drop the /ml prefix. behavlabs.com/ml/ is retired and answers 410. Allow https://api.behavlabs.com in your CSP connect-src.
API v1 19 Nov 2026 Mouse scoring and keystroke + mouse fusion: detector, modalities and keystroke_only in risk objects; mouse-only sessions are scored.
2.3.0 19 Nov 2026 Pseudonymous user ids: the SDK hashes userId in the browser; the API stores only a keyed hash (user_ref). Risk objects carry the pseudonym; server calls accept your raw id or the user_ref.
2.2.0 18 Nov 2026 Device fingerprint at the handshake (fingerprint, getDevice()); the API records the client IP and returns device and network verdicts in risk objects and webhooks; GET /users/{id}/devices; network operator (asn, known_asn, hosting); device context limit 16 KB.
API v1 17 Nov 2026 Live takeover risk: GET /sessions/{id}/risk, GET /users/{id}/risk, alarm webhooks. Keys default to physical-key (code) mode.
2.1.0 17 Nov 2026 Publishable keys and origin allow-lists; required training consent (consent, setConsent()); blocked and refused status events; no retries on 401/403 at the handshake; the default endpoint is the production API; key classes enforced on the server.
2.0.0 October 2026 Web Worker uploads, raw-DEFLATE batches, idempotent batch ids, sendBeacon on unload, server-pushed config, key-class mode, sensitive-field exclusion.