Analytics
Get all sessions for a specific visitor by numeric ID
get/analytics/visitors/{visitor_id}/sessions
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/analytics/visitors/{visitor_id}/sessions
- Auth: HTTP bearer
Path parameters
visitor_idinteger required
Visitor numeric ID
Query parameters
project_idinteger required
Project ID or slug
environment_idinteger
Environment ID (optional)
limitinteger
Maximum number of sessions to return (default: 100)
Response
Successfully retrieved visitor sessions
Example response
{
"sessions": [
{
"ended_at": "2024-01-01T00:00:00",
"started_at": "2024-01-01T00:00:00"
}
]
}Changes
No recorded changes to this operation across all 50 revisions of this API.