Analytics
get_visitor_activity
Return one visitor's interaction timeline for a site, newest first. payload_summary is a schema-known scalar projection, never raw payload bytes. Pass the opaque `next_before` back as `before` to page. A visitor_id not belonging to site_id returns E_FORBIDDEN rather than an empty list, so retrying the same id keeps failing. Pro plan required. Read-only.
Behaviour
- Effect
- Read only. Calling it never changes anything in the account.
- Repeat calls
- Idempotent. Repeating the same call produces the same result.
- Plan
- Pro plan required (Visitor timelines).
Parameters
| Name | Type | Required |
|---|---|---|
| site_id | uuid | Yes |
| visitor_id | uuid | Yes |
| limit | integer | Yes |
| before | string | No |
Returns
| Name | Type |
|---|---|
| items | array of object |
| has_more | boolean |
| next_before | string or null |
Using it
get_visitor_activity is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.