---
title: "Get individual visitor sessions for a specific page path"
method: GET
path: "/analytics/page-path-visitors"
tags: ["Analytics"]
---

# Get individual visitor sessions for a specific page path

`GET /analytics/page-path-visitors`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/analytics/page-path-visitors`
- Auth: HTTP bearer

## Query parameters

- `page_path` string, required
- `project_id` integer, required
- `environment_id` integer
- `start_date` string, required
- `end_date` string, required
- `page` integer
- `per_page` integer

## Response `200`

Successfully retrieved page path visitors

- PagePathVisitorsResponse: Response for page path visitors endpoint
  - `page` integer, required: Current page number
  - `page_path` string, required: The page path
  - `per_page` integer, required: Items per page
  - `sessions` PageVisitorSession[], required: Individual visitor sessions
    - `browser` string, nullable: Browser name
    - `city` string, nullable: Visitor's city
    - `country` string, nullable: Visitor's country
    - `country_code` string, nullable: Visitor's country code
    - `device_type` string, nullable: Device type (Desktop, Mobile, Tablet)
    - `is_bounce` boolean, required: Whether this was a bounce
    - `is_entry` boolean, required: Whether this was the entry page for the session
    - `is_exit` boolean, required: Whether this was the exit page for the session
    - `operating_system` string, nullable: Operating system
    - `referrer` string, nullable: Referrer URL
    - `session_id` string, nullable: Session ID
    - `session_page_number` integer, nullable: Page number in session flow
    - `time_on_page` integer, nullable: Time spent on this page in seconds
    - `viewed_at` string, date-time, required: When the page was viewed
    - `visitor_id` integer, required: Visitor numeric ID
    - `visitor_uuid` string, required: Visitor UUID
  - `total_count` integer, required: Total number of visitor sessions matching the query

## Other responses

- `400`: Invalid parameters
- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/analytics/page-path-visitors/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
