---
title: "GET /analytics/global"
method: GET
path: "/analytics/global"
tags: ["Analytics"]
---

# GET /analytics/global

`GET /analytics/global`

## Request

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

## Query parameters

- `facet` 'summary' | 'traffic' | 'pages' | 'events' | 'breakdown' | 'speed', nullable
- `project_id` integer, nullable
- `environment_id` integer, nullable
- `start_date` string, date-time, required
- `end_date` string, date-time, required
- `search` string, nullable
- `dimension` string, nullable
- `device` string, nullable
- `sort_by` string, nullable
- `sort_order` string, nullable
- `page` integer, nullable
- `per_page` integer, nullable
- `min_views` integer, nullable
- `min_sessions` integer, nullable

## Response `200`

- GlobalAnalyticsResponse
  - `rows` GlobalAnalyticsRow[], required
    - `avg_time_seconds` number, double, nullable
    - `bounce_rate` number, double, nullable
    - `cls_p75` number, double, nullable
    - `fcp_p75` number, double, nullable
    - `inp_p75` number, double, nullable
    - `key` string, required
    - `lcp_p75` number, double, nullable
    - `project_id` integer, required
    - `project_name` string, required
    - `sessions` integer, required
    - `ttfb_p75` number, double, nullable
    - `views` integer, required
    - `visitors` integer, required
  - `total` integer, required
  - `total_views` integer, required

## Other responses

- `400`: Invalid analytics filters
- `403`: Access denied

## Changes

- **2026-09-11** `8b0ca7a1320f`: 1 info
  - endpoint added

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