---
title: "GET /analytics/sessions/{session_id}/events"
method: GET
path: "/analytics/sessions/{session_id}/events"
tags: ["Analytics"]
---

# GET /analytics/sessions/{session_id}/events

`GET /analytics/sessions/{session_id}/events`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/analytics/sessions/{session_id}/events`
- Auth: HTTP bearer

## Path parameters

- `session_id` integer, required

## Query parameters

- `project_id` integer, required
- `environment_id` integer
- `start_date` string
- `end_date` string
- `limit` integer
- `offset` integer

## Response `200`

Successfully retrieved session events

- SessionEventsResponse
  - `events` SessionEvent[], required
    - `event_data` unknown, required
    - `event_name` string, required
    - `id` integer, required
    - `occurred_at` string, date-time, required
    - `request_path` string, required
    - `request_query` string, nullable
  - `limit` integer, required
  - `offset` integer, required
  - `session_id` integer, required
  - `total_count` integer, required

## Other responses

- `400`: Invalid parameters or project not found
- `404`: Session not found
- `500`: Internal server error

## Changes

- **2026-09-07** `2b95ed4ff1d2`: 1 breaking, 3 warning, 5 info
  - removed the required property `events/items/timestamp` from the response with the `200` status
  - removed the optional property `events/items/event_type` from the response with the `200` status
  - removed the optional property `events/items/page_title` from the response with the `200` status
  - removed the optional property `events/items/page_url` from the response with the `200` status
  - …5 more
- **2026-09-07** `f7404eb7ac98`: 5 breaking, 1 warning, 4 info
  - the response property `events/items/event_name` became nullable for the status `200`
  - the response property `events/items/event_data` became optional for the status `200`
  - the response property `events/items/event_name` became optional for the status `200`
  - removed the required property `events/items/occurred_at` from the response with the `200` status
  - …6 more
- **2026-08-14** `5b69d84f67d1`: 1 breaking, 3 warning, 5 info
  - removed the required property `events/items/timestamp` from the response with the `200` status
  - removed the optional property `events/items/event_type` from the response with the `200` status
  - removed the optional property `events/items/page_title` from the response with the `200` status
  - removed the optional property `events/items/page_url` from the response with the `200` status
  - …5 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/analytics/sessions/:session_id/events/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)
