---
title: "GET /analytics/page-paths-sparklines"
method: GET
path: "/analytics/page-paths-sparklines"
tags: ["Analytics"]
---

# GET /analytics/page-paths-sparklines

`GET /analytics/page-paths-sparklines`

## Request

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

## Query parameters

- `project_id` integer, required
- `environment_id` integer
- `start_time` string, required
- `end_time` string, required
- `page_paths` string, required

## Response `200`

Sparkline data for all requested page paths

- PagePathsSparklineResponse
  - `sparklines` PagePathSparkline[], required
    - `page_path` string, required
    - `points` PagePathSparklinePoint[], required
      - `session_count` integer, required
      - `timestamp` string, required

## 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-paths-sparklines/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)
