---
title: "Get app analytics overview"
method: GET
path: "/v1/apps/{app_id}/analytics"
tags: ["Apps"]
---

# Get app analytics overview

`GET /v1/apps/{app_id}/analytics`

Per-app analytics dashboard data: error trend, Web Vitals, recent errors, event counts.

Queries ClickHouse canvas_errors, canvas_vitals, and canvas_app_events tables.

## Path parameters

- `app_id` string, required

## Query parameters

- `hours` integer — Lookback window in hours

## Response `200`

Successful Response

- AppAnalyticsResponse
  - `app_id` string, required
  - `period_hours` integer, required
  - `total_errors` integer, required
  - `error_rate_per_minute` number, required
  - `errors_over_time` ErrorBucket[], required
    - `timestamp` string, required
    - `count` integer, required
  - `vitals` VitalsSummary[], required
    - `metric_name` string, required
    - `p50` number, required
    - `p75` number, required
    - `p95` number, required
    - `sample_count` integer, required
  - `recent_errors` RecentError[], required
    - `timestamp` string, required
    - `error_type` string, required
    - `error_message` string, required
    - `url` string, nullable
  - `total_events` integer, required
  - `total_pageviews` integer, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/versions/04b379bdbb7c/schema)
