---
title: "Account Sessions"
method: GET
path: "/gtm-internal/accounts/{org_id}/sessions"
tags: ["gtm-internal"]
---

# Account Sessions

`GET /gtm-internal/accounts/{org_id}/sessions`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/gtm-internal/accounts/{org_id}/sessions`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Fetch PostHog session recordings for a specific organization.

Matches recordings by email (from PostHog person properties) OR
by org_id (from PostHog person properties) to handle cases where
one or the other isn't set.

## Path parameters

- `org_id` string, required

## Query parameters

- `limit` integer
- `offset` integer
- `focus` boolean

## Response `200`

Successful Response

- RecentSessionsResponse
  - `sessions` RecentSessionEntry[], required
    - `email` string, required
    - `person_name` string, nullable
    - `duration_seconds` number, required
    - `start_time` string, required
    - `recording_url` string, required
  - `has_next` boolean
  - `next_offset` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
