Skip to content
ABTO Guide

Integration guide

Reference

A quick reference for ABTO events, identifiers, and the ingestion API, all in one place.

The names you look up most often, in one place. The background for each concept is in Core concepts and Event design.

HeaderRole
Authorization: Bearer ck-abto-…Identifies the project with your ABTO Calling Key. Required.
x-abto-key-openai etc.The API key for the model provider you contract with directly. Required.
x-abto-feature-idThe feature ID. Required; requests without it are rejected.
x-abto-device-idThe user device identifier. Optional — the call and its call-level analytics still work, but the request is left out of behavior joining, sticky assignment, and user-level metrics.
HeaderRole
x-abto-request-idIdentifies the call you just made and links individual interactions to it — remember this one if you remember only one.
x-abto-attemptA 1-based ordinal for the attempt that produced this response. When the Gateway retries, each attempt leaves its own outcome.
x-abto-providerThe provider actually assigned. The same model ID can span providers, so the response body alone cannot recover it.
x-abto-error-sourceWhere a failure came from — provider, transport, or internal. Absent on admission rejections raised before exposure, so its absence is itself a signal.

Gateway retry rules are in Node / Server JavaScript.

SDK nameAnalytics event_name
$pageviewpageview
$pageleavepageleave
$ai_prompt_submittedllm_prompt_submitted
$ai_response_renderedllm_response_rendered
$ai_response_interactedllm_response_interacted
NameMeaning
uuid / event_idEvent identifier the SDK generates automatically
$device_idBrowser installation identifier. The primary axis joining product behavior to AI usage
$user_idLogged-in user identifier attached via identify (optional)
$session_idLogical session identifier
$pageview_idIdentifier for a page/route observation span
$feature_idFeature ID (a.b.c). The same value the Gateway call carries in x-abto-feature-id
$request_idAI request identifier issued by the gateway. The correlation key joining a call to its response interactions
$response_idIndividual AI response identifier