Documentation Index
Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
OneCLI connects AI agents to YouTube through Google’s OAuth flow. Agents can search for videos, list channel content, manage playlists, and read analytics data. The gateway injects OAuth credentials into requests to the YouTube Data API automatically. This is useful for agents that manage video content, curate playlists, monitor channel performance, or gather video metadata.Setup
What agents can do
- Search for videos by keyword, topic, or channel
- List videos on a channel with metadata (title, description, publish date, view count)
- Get detailed video information (duration, tags, category, thumbnail URLs)
- Create, update, and delete playlists
- Add and remove videos from playlists
- Read channel analytics (views, watch time, subscribers gained/lost)
- List and read video comments
- Post comments on videos
- Read video captions and transcripts
- List channel subscriptions