> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myeden.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics via BigQuery

> Direct access to your video performance data.

Eden does not offer a REST analytics endpoint. Instead, we provide
**direct BigQuery access** to your video performance data, sourced from
Mux Data.

This is intentionally more powerful than a REST endpoint: you get raw
view events, audience demographics, playback quality, geographic
breakdowns, and full SQL access to slice the data any way you want.

## What's available

Per video:

* View count, unique viewers, total watch time
* Geographic distribution
* Device and platform breakdown
* Playback failures and rebuffering rates
* Engagement (% watched, drop-off points)

Per organization:

* Aggregated metrics across your catalog
* Time-series performance trends
* Top-performing content

## Getting access

1. Email [support@myeden.me](mailto:support@myeden.me) with your organization's Google Cloud
   account or BigQuery dataset where you'd like access
2. Eden grants IAM read access on a per-org authorized view that filters
   to your videos only
3. You query the view from your BigQuery console, Looker, Tableau, or
   any tool that connects to BigQuery

## Example query

```sql theme={null}
SELECT
  external_id AS video_id,
  COUNT(DISTINCT viewer_id) AS unique_viewers,
  SUM(playing_time) / 3600 AS hours_watched,
  AVG(playback_score) AS avg_quality
FROM `eden-analytics.partner_views.your_org_id`
WHERE event_date >= CURRENT_DATE() - 30
GROUP BY video_id
ORDER BY hours_watched DESC
LIMIT 100;
```

## Update frequency

View events stream into BigQuery within 5 minutes of occurring.
Historical data goes back to your organization's first video.

<Note>
  BigQuery access is provisioned manually. If you don't see your dataset
  yet, email [support@myeden.me](mailto:support@myeden.me).
</Note>
