Skip to content

Agents & bots ​

Mixed sessions, pages read by AI and crawlers, realtime.

Generated

This page is generated from api/openapi/v1.yaml (OpenAPI 3.1.0, API version 1.0.0).

Who is on the site now — agents, humans and bots ​

GET/v1/properties/{pid}/realtime

Scope: realtime:read. Last N minutes (default 30) by actor family, active users of the last 5 minutes, live agents and top pages.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.
minutesqueryinteger

Responses ​

StatusDescription
200Realtime snapshot.
401Missing, invalid, expired or revoked API key (unauthorized).
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).

Response fields

FieldTypeRequiredDescription
minutesinteger
active_nowobjectUsers active in the last 5 minutes, by actor family.
live_agentsarray of object
timelinearray of object
top_pagesarray of object

Clicked elements catalog ​

GET/v1/properties/{pid}/elements

Scope: reports:read. Every clicked element (CSS selector, data-ah-name, text) with clicks by agents and humans — the building blocks of element funnel steps.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.
qquerystringSearch in selector, name and text.
hostnamequerystring
limitqueryinteger

Responses ​

StatusDescription
200Elements.
401Missing, invalid, expired or revoked API key (unauthorized).
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).

Response fields

FieldTypeRequiredDescription
dataarray of object

Sessions where an agent and a human took turns ​

POST/v1/properties/{pid}/agents/mixed-sessions

Scope: reports:read. Plan feature mixed_sessions (Growth and above). Each session comes with its ordered actor segments (who did what, in which order). Default range: last 7 days.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.

Request body ​

FieldTypeRequiredDescription
date_range"last_7_days" | "last_28_days" | "last_90_days" | "this_month" | "last_month" | "yesterday" | "today" or objectA preset or an explicit range in the property time zone. Default last_28_days.
navigation_modesarray of "agent" | "mixed" | "human" | "bot"
limitinteger

Responses ​

StatusDescription
200Sessions with segments.
401Missing, invalid, expired or revoked API key (unauthorized).
402The plan does not include the feature (plan_required) or a monthly quota is used up (quota_exceeded). required_plan is the cheapest plan that unlocks it.
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).

Response fields

FieldTypeRequiredDescription
sessionsarray of object
metaobject

Agent readiness funnel — where agents stop while humans go on ​

POST/v1/properties/{pid}/agents/friction

Scope: reports:read. Plan feature agent_funnels (Growth and above). Runs the same multi-page funnel for action agents and humans (indexing bots excluded), finds the blocking step (largest gap between the human and the agent pass-through rate), and diagnoses it: elements clicked on that page by agents vs humans, retries, synthetic clicks, time on step, agents most affected, suggested fixes and the upside of a fix. Without steps or funnel_id, uses the default shop journey (home and landing pages, search, product pages, add to cart, shipping, delivery slot, payment, order), measured as the furthest stage each session reached. Custom steps run as an ordered funnel. Default range: last 28 days.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.

Request body ​

FieldTypeRequiredDescription
date_range"last_7_days" | "last_28_days" | "last_90_days" | "this_month" | "last_month" | "yesterday" | "today" or objectA preset or an explicit range in the property time zone. Default last_28_days.
stepsarray of object or object or object
funnel_idstringUse the steps of a saved funnel.
window_secondsinteger
mode"furthest" | "ordered"furthest: a session counts at every stage up to the furthest it reached. ordered: steps in order within window_seconds. Default: furthest for the default journey, ordered for custom steps.

Responses ​

StatusDescription
200Steps per actor, blocking step and diagnosis.
401Missing, invalid, expired or revoked API key (unauthorized).
402The plan does not include the feature (plan_required) or a monthly quota is used up (quota_exceeded). required_plan is the cheapest plan that unlocks it.
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).

Response fields

FieldTypeRequiredDescription
funnelobject
specobject
stepsarray of object
blocking_stepobject | nullNull when no step shows a gap above the threshold with enough sessions.
totalsobject
cachedboolean
metaobject

Pages read by AI assistants and crawlers ​

GET/v1/properties/{pid}/bots/pages

Scope: reports:read. Plan feature server_side_bots (Pro and above). Per page: AI readers (ChatGPT-User, Claude-User, Perplexity-User…), AI crawlers, search crawlers, which bots, and verified vs spoofed hits.

Parameters ​

NameInTypeRequiredDescription
pidpathstringyesProperty id.
date_rangequery"last_7_days" | "last_28_days" | "last_90_days" | "this_month" | "last_month" | "yesterday" | "today"Date preset. Ignored when start and end are given.
startquerystring
endquerystring
path_prefixquerystring
sortquery"ai_reads" | "search_crawls" | "human_pageviews"
limitqueryinteger

Responses ​

StatusDescription
200Pages.
401Missing, invalid, expired or revoked API key (unauthorized).
402The plan does not include the feature (plan_required) or a monthly quota is used up (quota_exceeded). required_plan is the cheapest plan that unlocks it.
403The key lacks the required scope (forbidden_scope).
404Unknown endpoint, or a property / object that does not exist or is not accessible with this key (not_found).

Response fields

FieldTypeRequiredDescription
dataarray of object
metaobject

Agents & humans, every visit counts!