Ask Claude which YouTube videos hold attention
Load YouTube into your data warehouse first, tie every day of every video to its length and publish date, then ask Claude which videos keep viewers watching. Claude reads a Data Mart you published through OWOX, not the YouTube account.
YouTube retention is a percent per video, and nobody reads it against how long each video is.
Paste this into your AI assistant. It loads YouTube into your data warehouse with OWOX Data Marts, ties each video's daily retention to its length and publish date, and connects Claude to that Data Mart.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /connectors/youtube-connector-to-claude.md. The task: connect Claude to our YouTube video retention Data Mart and tell me which videos keep viewers watching longest for their length, over the last 90 days. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
YouTube Endpoints
11 YouTube endpoints you can import. Each lands in its own table in your data warehouse.
Channel
The channel itself, one row, refreshed on every run: title, description, country, creation date, the lifetime view, subscriber and video counts YouTube shows on the channel page, and the uploads playl
15 fieldsChannel daily
One row per day for the whole channel: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost, playlist adds.
14 fieldsTime seriesDemographics daily
Share of watch time per age group and gender, per day.
5 fieldsTime seriesDevices daily
Views and watch time per day, device type and operating system: desktop, mobile, tablet, TV, game console; Android, iOS, Windows, Macintosh, and so on.
6 fieldsTime seriesGeography daily
Views, watch time, average view duration and percentage, likes, comments, shares and subscriber changes per country and day.
13 fieldsTime seriesPlaylist items
Which video sits in which playlist, at which position: the many-to-many bridge between playlists and videos.
9 fieldsPlaylists
The channel's playlists (series, courses, product lines), with item counts and privacy.
8 fieldsRevenue daily
Estimated revenue, ad revenue, YouTube Premium revenue, gross revenue, CPM, playback-based CPM, ad impressions and monetized playbacks per day, for channels in the YouTube Partner Program.
10 fieldsTime seriesTraffic sources daily
Views and watch time per day and traffic source type: YouTube search, suggested videos, browse features (home, subscriptions), external (websites and apps, including your own site and newsletters), pl
5 fieldsTime seriesVideo daily
Per video and day: views, watch time, average view duration and percentage, likes, dislikes, comments, shares, subscribers gained and lost.
13 fieldsTime seriesVideos
Every public upload with its metadata and lifetime counters as of the run: title, description, tags, category, duration, publish time, privacy, and the view, like and comment counts the watch page sho
25 fields
Why Claude needs your data warehouse, not the YouTube account
Retention in YouTube is a percent per video and day. A long tutorial and a short clip with the same percent are not comparable until each is read against its length. That join to Videos is made in a warehouse, where the data analyst defines it.
- average_view_percentage depends on how long the video is
- The data analyst joins each video's days to its duration and publish date once
- Claude answers from a published Data Mart, with the same definition every time
Step 1: Load YouTube into your data warehouse first
Create a Data Mart with YouTube as the source and choose where the data lands. YouTube comes through two custom connectors built in OWOX Data Marts, YouTube Data API and YouTube Analytics, and the data goes into any popular data warehouse.
- Video daily is one of 11 endpoints; Videos holds the length
- Sign in once with the Google account that manages the channel
- Open the YouTube connector for your data warehouse below
Step 2: Link YouTube video daily to the videos
In your data warehouse the model joins Video daily and Videos on video_id, so each day's retention can be read against the video's duration and the date it was published.
- Video daily and Videos share video_id
- duration is an ISO 8601 length, parsed once in the data model
- average_view_percentage means the same in every report
Step 3: Connect Claude to your YouTube data through OWOX
In Claude, open Settings, then Connectors, and add OWOX. Claude then sees the Data Marts you published, and only those.
- Claude sees only the Data Marts you published
- Your data warehouse stays closed to everything else
Step 4: Ask Claude about which videos keep viewers watching
Ask in plain words, for example which videos over ten minutes hold viewers longest. Claude finds the Data Mart that answers it, runs the query and answers from your data warehouse.
- The answer reads Video daily in your data warehouse, not the YouTube API
- Retention can be read next to length and publish date
Step 5: Reuse YouTube retention answers as files
Optional: in one click, export the answer or its source data to Google Sheets, CSV or XLS to check it or share it.
- The export carries the same numbers as the answer
- Share it with a colleague who does not use Claude
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
- 0.39.0Reload a year of history in one backfill, not twelve
- 0.37.0Clearer connector errors, and custom connectors that handle more APIs
Why OWOX for YouTube in Claude
Pointing Claude at the YouTube API returns retention without the length around it. OWOX gives it each video's full picture, defined once.
- Retention with context. Each day of a video carries its duration and publish date.
- You own the data. YouTube lands in your own data warehouse, in tables you control.
- Answers you can trace. You can see which Data Mart an answer came from, and one click exports its source data.
- Versioned, with rollback. The manifest is open in the connector builder, and every change is a saved version you can roll back.
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.



