Rybbit Sessions API
Session-level analytics and cohort retention.
Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How do I list all the visits to my site between two dates?”
“Can I show only sessions from identified users, not anonymous ones?”
Tell an agent
List sessions on site {site} from {start_date} to {end_date}.
Show page {page} of site {site}'s sessions, {limit} at a time, in time zone {time_zone}.
GET
/api/sites/{site}/sessions/{sessionId}
Replay the pageviews and events of one session · Get a single session
#
Ask an LLM
“What pages did a visitor view, in order, during one specific session?”
“Can I see the ordered events that happened inside a single visit?”
Tell an agent
Get session {sessionId} on site {site}.
Show the pageviews and events of session {sessionId} for site {site}.
GET
/api/sites/{site}/session-locations
Map where a site's sessions come from · List session locations
#
Ask an LLM
“Where in the world are my site's visits coming from?”
“Can I get geographic session data to plot on a map?”
Tell an agent
List session locations for site {site}.
Get the geographic spread of sessions on site {site} with filters {filters}.
Ask an LLM
“How many visitors come back after their first visit, grouped by cohort?”
“What does retention look like for users who first arrived in a given date range?”
Tell an agent
Get cohort retention for site {site}.
Show retention for site {site} between {start_date} and {end_date}.
Documentation
Documentation
https://rybbit.com/docs/api/sending-events
Documentation
https://rybbit.com/docs/script
Documentation
https://rybbit.com/docs/api/getting-started
APIReference
https://rybbit.com/docs/api/getting-started
Documentation
https://rybbit.com/docs/api/sessions/list