{"openapi":"3.0.0","paths":{"\/":{"get":{"description":"Returns `status: ok` plus links to the docs and the OpenAPI spec. No authentication required.","operationId":"AppController_getHello","parameters":[],"responses":{"200":{"description":"API is running","content":{"application\/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"name":{"type":"string","example":"Virlo Public API"},"docs":{"type":"string","example":"https:\/\/dev.virlo.ai\/docs"},"openapi":{"type":"string","example":"https:\/\/api.virlo.ai\/openapi.json"}}}}}}},"summary":"Health check","tags":["Health"]}},"\/v1\/hashtags":{"get":{"description":"Returns hashtag statistics within a specified date range (maximum 3 months).","operationId":"V1HashtagsController_getHashtags","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":true,"in":"query","description":"Start date for filtering (YYYY-MM-DD)","schema":{"example":"2024-01-01","type":"string"}},{"name":"end_date","required":true,"in":"query","description":"End date for filtering (YYYY-MM-DD, max 3 months from start_date)","schema":{"example":"2024-03-31","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"count","example":"count","type":"string","enum":["count","views"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved hashtags","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1HashtagListResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get hashtags with analytics","tags":["Hashtags"]}},"\/v1\/hashtags\/{hashtag}\/performance":{"get":{"description":"Returns aggregated performance metrics (views, likes, comments) for videos containing the specified hashtag.","operationId":"V1HashtagsController_getHashtagPerformance","parameters":[{"name":"hashtag","required":true,"in":"path","description":"The hashtag to analyze (without # symbol)","schema":{"example":"fyp","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date for filtering (YYYY-MM-DD)","schema":{"example":"2024-01-01","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date for filtering (YYYY-MM-DD)","schema":{"example":"2024-03-31","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved hashtag performance","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1HashtagPerformanceResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Not found - no videos found with this hashtag"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get performance metrics for a specific hashtag","tags":["Hashtags"]}},"\/v1\/videos\/digest":{"get":{"description":"Returns the top videos published recently, ordered by view count.","operationId":"V1VideosController_getVideosDigest","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of videos to return","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved top videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1VideoDigestResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top videos from the last 24-48 hours","tags":["Videos"]}},"\/v1\/topic-trends\/regions":{"get":{"description":"Topic Trends are what people are talking about right now, by region: shows, celebrities, memes, sports moments, local events and news, read from curator accounts in each region. Each topic has a `category`. For video formats creators are copying, use Content Trends (`\/v1\/content-trends`). Returns the regions you can pass as `region`. 'global' is the worldwide feed (the default); country regions (today 'us', 'ca', 'br', 'gb', 'fr', 'au' and 'sg') are read from that country's own accounts and videos in its own languages, with topic names in English. More regions will be added over time. Free.","operationId":"V1TopicTrendsController_regions","parameters":[],"responses":{"200":{"description":"Regions","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendRegionsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List Topic Trends regions","tags":["Topic Trends"]}},"\/v1\/topic-trends\/today":{"get":{"description":"Topic Trends are what people are talking about right now, by region: shows, celebrities, memes, sports moments, local events and news, read from curator accounts in each region. Each topic has a `category`. For video formats creators are copying, use Content Trends (`\/v1\/content-trends`). Returns today's topics for one region (default global), in ranking order. \"Today\" is the current date in the region's own timezone; early in the local morning, recent topics from the day before keep the list full. Filter with `category` or `exclude_category` (for example `exclude_category=politics,news` for pop culture without politics).","operationId":"V1TopicTrendsController_today","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed, which preserves the historical behavior of this endpoint. Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; more regions will be added over time \u2014 see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"global","type":"string"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per trend ranking (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}},{"name":"category","required":false,"in":"query","description":"Only topics in these categories (comma-separated, or the parameter repeated). Categories: `entertainment` (TV, film, streaming, music, celebrities, reality shows, creators and influencers); `memes` (internet jokes, memes, viral moments, challenges, funny clips, internet culture); `sports` (games, matches, athletes, teams, sports results and moments); `fashion_beauty` (fashion, runway, style, beauty, makeup, skincare); `gaming_tech` (video games, apps, gadgets, AI, tech launches); `lifestyle` (food, drink, travel, places, local events and festivals, home, wellbeing); `politics` (elections, governments, politicians, parties, policy, protests about policy); `news` (crime, courts and trials, accidents, disasters, business and the economy, world events). Topics not categorised yet are left out whenever a category filter is set.","schema":{"example":"entertainment,memes","type":"string"}},{"name":"exclude_category","required":false,"in":"query","description":"Leave out topics in these categories (comma-separated, or the parameter repeated). Same values as `category`. `exclude_category=politics,news` keeps entertainment, memes, sports, fashion, gaming and lifestyle topics.","schema":{"example":"politics,news","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of topics to return, in ranking order. Values above 100 are read as 100. Defaults to all of today's topics.","schema":{"minimum":1,"maximum":100,"example":20,"type":"number"}}],"responses":{"200":{"description":"Today's topics","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TopicTrendsResponseDto"}}}},"400":{"description":"Unknown region or category value"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get today's Topic Trends","tags":["Topic Trends"]}},"\/v1\/topic-trends\/emerging":{"get":{"description":"Topic Trends are what people are talking about right now, by region: shows, celebrities, memes, sports moments, local events and news, read from curator accounts in each region. Each topic has a `category`. For video formats creators are copying, use Content Trends (`\/v1\/content-trends`). Returns today's topics that are `new` or `rising`, ranked by live momentum (refreshed about every 2 hours). Takes the same category filters.","operationId":"V1TopicTrendsController_emerging","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed. Composable with the emerging signal, e.g. region=gb answers \"what's emerging in the UK right now\". Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"gb","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of emerging trends to return, ranked by momentum heat.","schema":{"minimum":1,"maximum":50,"default":20,"example":20,"type":"number"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per emerging trend (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}},{"name":"category","required":false,"in":"query","description":"Only topics in these categories (comma-separated, or the parameter repeated). Categories: `entertainment` (TV, film, streaming, music, celebrities, reality shows, creators and influencers); `memes` (internet jokes, memes, viral moments, challenges, funny clips, internet culture); `sports` (games, matches, athletes, teams, sports results and moments); `fashion_beauty` (fashion, runway, style, beauty, makeup, skincare); `gaming_tech` (video games, apps, gadgets, AI, tech launches); `lifestyle` (food, drink, travel, places, local events and festivals, home, wellbeing); `politics` (elections, governments, politicians, parties, policy, protests about policy); `news` (crime, courts and trials, accidents, disasters, business and the economy, world events). Topics not categorised yet are left out whenever a category filter is set.","schema":{"example":"entertainment,memes","type":"string"}},{"name":"exclude_category","required":false,"in":"query","description":"Leave out topics in these categories (comma-separated, or the parameter repeated). Same values as `category`. `exclude_category=politics,news` keeps entertainment, memes, sports, fashion, gaming and lifestyle topics.","schema":{"example":"politics,news","type":"string"}}],"responses":{"200":{"description":"Emerging topics","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1EmergingTopicsResponseDto"}}}},"400":{"description":"Unknown region or category value"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get emerging Topic Trends","tags":["Topic Trends"]}},"\/v1\/topic-trends":{"get":{"description":"Topic Trends are what people are talking about right now, by region: shows, celebrities, memes, sports moments, local events and news, read from curator accounts in each region. Each topic has a `category`. For video formats creators are copying, use Content Trends (`\/v1\/content-trends`). Returns topic groups (one per region and day) within a date range, newest first. Defaults to the last 24 hours and the global region. `limit` caps the number of topics returned in total, across all groups. Takes the same category filters.","operationId":"V1TopicTrendsController_range","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed, which preserves the historical behavior of this endpoint. Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; more regions will be added over time \u2014 see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"global","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date for filtering (ISO 8601). Defaults to 24 hours ago.","schema":{"example":"2024-10-15T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date for filtering (ISO 8601). Defaults to now.","schema":{"example":"2024-10-17T23:59:59.999Z","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of trends to return in total, summed across all trend groups in the response (newest group first, trends in ranking order). Groups left empty by the cap are omitted.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per trend ranking (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}},{"name":"category","required":false,"in":"query","description":"Only topics in these categories (comma-separated, or the parameter repeated). Categories: `entertainment` (TV, film, streaming, music, celebrities, reality shows, creators and influencers); `memes` (internet jokes, memes, viral moments, challenges, funny clips, internet culture); `sports` (games, matches, athletes, teams, sports results and moments); `fashion_beauty` (fashion, runway, style, beauty, makeup, skincare); `gaming_tech` (video games, apps, gadgets, AI, tech launches); `lifestyle` (food, drink, travel, places, local events and festivals, home, wellbeing); `politics` (elections, governments, politicians, parties, policy, protests about policy); `news` (crime, courts and trials, accidents, disasters, business and the economy, world events). Topics not categorised yet are left out whenever a category filter is set.","schema":{"example":"entertainment,memes","type":"string"}},{"name":"exclude_category","required":false,"in":"query","description":"Leave out topics in these categories (comma-separated, or the parameter repeated). Same values as `category`. `exclude_category=politics,news` keeps entertainment, memes, sports, fashion, gaming and lifestyle topics.","schema":{"example":"politics,news","type":"string"}}],"responses":{"200":{"description":"Topic groups","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TopicTrendsResponseDto"}}}},"400":{"description":"Unknown region or category value"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get Topic Trends by date range","tags":["Topic Trends"]}},"\/v1\/trends\/regions":{"get":{"description":"Deprecated path, kept working: use `GET \/v1\/topic-trends\/regions` (same response). Returns the regions that can be passed as the `region` query param. More regions will be added over time; poll this endpoint to discover them.","operationId":"V1TrendsController_getTrendRegions","parameters":[],"responses":{"200":{"description":"Successfully retrieved trend regions","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendRegionsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List Topic Trends regions (deprecated path)","tags":["Trends"],"deprecated":true,"x-virlo-replacement":"\/v1\/topic-trends\/regions","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/topic-trends#moving-from-v1-trends"}},"\/v1\/trends":{"get":{"description":"Deprecated path, kept working: use `GET \/v1\/topic-trends`, which returns the same topics with a `category` on each and accepts `category` \/ `exclude_category` filters. Topic Trends are what people are talking about, by region; for video formats creators are copying, use Content Trends (`\/v1\/content-trends`). Defaults to the last 24 hours and the global region. `limit` caps the number of topics returned in total, across all groups.","operationId":"V1TrendsController_getTrends","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed, which preserves the historical behavior of this endpoint. Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; more regions will be added over time \u2014 see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"global","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date for filtering (ISO 8601). Defaults to 24 hours ago.","schema":{"example":"2024-10-15T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date for filtering (ISO 8601). Defaults to now.","schema":{"example":"2024-10-17T23:59:59.999Z","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of trends to return in total, summed across all trend groups in the response (newest group first, trends in ranking order). Groups left empty by the cap are omitted.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per trend ranking (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved trend groups","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get Topic Trends by date range (deprecated path)","tags":["Trends"],"deprecated":true,"x-virlo-replacement":"\/v1\/topic-trends","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/topic-trends#moving-from-v1-trends"}},"\/v1\/trends\/emerging":{"get":{"description":"Deprecated path, kept working: use `GET \/v1\/topic-trends\/emerging`, which adds `category` and the category filters. Returns today's `new` and `rising` topics for a region, ranked by live momentum heat (refreshed about every 2 hours).","operationId":"V1TrendsController_getEmergingTrends","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed. Composable with the emerging signal, e.g. region=gb answers \"what's emerging in the UK right now\". Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"gb","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of emerging trends to return, ranked by momentum heat.","schema":{"minimum":1,"maximum":50,"default":20,"example":20,"type":"number"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per emerging trend (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved emerging trends","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1EmergingTrendsResponseDto"}}}},"400":{"description":"Unknown region code"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get emerging Topic Trends (deprecated path)","tags":["Trends"],"deprecated":true,"x-virlo-replacement":"\/v1\/topic-trends\/emerging","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/topic-trends#moving-from-v1-trends"}},"\/v1\/trends\/digest":{"get":{"description":"Deprecated path, kept working: use `GET \/v1\/topic-trends\/today`, which adds `category`, the category filters and a `limit`. Returns today's topic group for the region (default global), based on the current date in the region's timezone.","operationId":"V1TrendsController_getTrendsDigest","parameters":[{"name":"region","required":false,"in":"query","description":"Trend region to query. Defaults to 'global' \u2014 the worldwide feed, which preserves the historical behavior of this endpoint. Supported today: 'global', 'us', 'ca', 'br', 'gb', 'fr', 'au', 'sg'; more regions will be added over time \u2014 see GET \/v1\/topic-trends\/regions for the current list. Unknown codes return a 400 listing the available regions.","schema":{"default":"global","example":"global","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date for filtering (ISO 8601). Defaults to 24 hours ago.","schema":{"example":"2024-10-15T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date for filtering (ISO 8601). Defaults to now.","schema":{"example":"2024-10-17T23:59:59.999Z","type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of trends to return in total, summed across all trend groups in the response (newest group first, trends in ranking order). Groups left empty by the cap are omitted.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"top_exemplars","required":false,"in":"query","description":"Top N example videos to include per trend ranking (checked against the topic, one per creator, most-viewed first). Use 0 to omit exemplars entirely.","schema":{"minimum":0,"maximum":20,"default":5,"example":5,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved today's trends","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get today's Topic Trends (deprecated path)","tags":["Trends"],"deprecated":true,"x-virlo-replacement":"\/v1\/topic-trends\/today","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/topic-trends#moving-from-v1-trends"}},"\/v1\/youtube\/hashtags":{"get":{"description":"Returns hashtag statistics for YouTube videos only within a specified date range (max 3 months).","operationId":"V1YoutubeHashtagsController_getHashtags","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":true,"in":"query","description":"Start date for filtering (YYYY-MM-DD)","schema":{"example":"2024-01-01","type":"string"}},{"name":"end_date","required":true,"in":"query","description":"End date for filtering (YYYY-MM-DD, max 3 months from start_date)","schema":{"example":"2024-03-31","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"count","example":"count","type":"string","enum":["count","views"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved YouTube hashtags","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1HashtagListResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get YouTube hashtags with analytics","tags":["YouTube"]}},"\/v1\/youtube\/videos\/digest":{"get":{"description":"Returns the top YouTube videos published recently, ordered by view count.","operationId":"V1YoutubeVideosController_getVideosDigest","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of videos to return","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved top YouTube videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1VideoDigestResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top YouTube videos from the last 24-48 hours","tags":["YouTube"]}},"\/v1\/tiktok\/hashtags":{"get":{"description":"Returns hashtag statistics for TikTok videos only within a specified date range (max 3 months).","operationId":"V1TiktokHashtagsController_getHashtags","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":true,"in":"query","description":"Start date for filtering (YYYY-MM-DD)","schema":{"example":"2024-01-01","type":"string"}},{"name":"end_date","required":true,"in":"query","description":"End date for filtering (YYYY-MM-DD, max 3 months from start_date)","schema":{"example":"2024-03-31","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"count","example":"count","type":"string","enum":["count","views"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved TikTok hashtags","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1HashtagListResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get TikTok hashtags with analytics","tags":["TikTok"]}},"\/v1\/tiktok\/videos\/digest":{"get":{"description":"Returns the top TikTok videos published recently, ordered by view count.","operationId":"V1TiktokVideosController_getVideosDigest","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of videos to return","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved top TikTok videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1VideoDigestResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top TikTok videos from the last 24-48 hours","tags":["TikTok"]}},"\/v1\/instagram\/hashtags":{"get":{"description":"Returns hashtag statistics for Instagram videos only within a specified date range (max 3 months).","operationId":"V1InstagramHashtagsController_getHashtags","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":true,"in":"query","description":"Start date for filtering (YYYY-MM-DD)","schema":{"example":"2024-01-01","type":"string"}},{"name":"end_date","required":true,"in":"query","description":"End date for filtering (YYYY-MM-DD, max 3 months from start_date)","schema":{"example":"2024-03-31","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"count","example":"count","type":"string","enum":["count","views"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved Instagram hashtags","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1HashtagListResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get Instagram hashtags with analytics","tags":["Instagram"]}},"\/v1\/instagram\/videos\/digest":{"get":{"description":"Returns the top Instagram videos published recently, ordered by view count.","operationId":"V1InstagramVideosController_getVideosDigest","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of videos to return","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved top Instagram videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1VideoDigestResponseDto"}}}},"400":{"description":"Bad request - invalid parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top Instagram videos from the last 24-48 hours","tags":["Instagram"]}},"\/v1\/orbit":{"post":{"description":"Creates a new keyword search job and queues it for processing.","operationId":"V1OrbitController_queueKeywordSearch","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1QueueKeywordSearchDto"}}}},"responses":{"202":{"description":"Job queued successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/QueueOrbitResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Queue a new keyword search job","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"},"get":{"description":"Retrieve a paginated list of all keyword search jobs for the authenticated customer.","operationId":"V1OrbitController_listSearches","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved list of searches","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List keyword searches","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/creators\/outliers":{"get":{"description":"Retrieves creators who significantly outperform their follower count.","operationId":"V1OrbitController_getCreatorOutliers","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"outlier_ratio","example":"outlier_ratio","type":"string","enum":["outlier_ratio","avg_views","follower_count","weighted_score"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"platform","required":false,"in":"query","description":"Filter by platform","schema":{"type":"string","enum":["youtube","tiktok","instagram"]}}],"responses":{"200":{"description":"Successfully retrieved creator outliers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitOutliersResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get creator outliers for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/slideshows":{"get":{"description":"Retrieves slideshows (image carousels) linked to a keyword search with filtering, pagination, and sorting.","operationId":"V1OrbitController_getSlideshows","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter","schema":{"example":10000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s)","schema":{"example":"youtube","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Filter videos published after this date (ISO date string)","schema":{"example":"2024-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Filter videos published before this date (ISO date string)","schema":{"example":"2024-12-31T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"publish_date","example":"publish_date","type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter videos by intent match result. Only applies when the search used intent + data_intelligence_enabled. Pass true to get only matching videos, false for non-matching.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved slideshows","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitSlideshowsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get slideshows for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/videos":{"get":{"description":"Retrieves videos linked to a keyword search with filtering, pagination, and sorting.","operationId":"V1OrbitController_getVideos","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter","schema":{"example":10000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s)","schema":{"example":"youtube","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Filter videos published after this date (ISO date string)","schema":{"example":"2024-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Filter videos published before this date (ISO date string)","schema":{"example":"2024-12-31T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"publish_date","example":"publish_date","type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter videos by intent match result. Only applies when the search used intent + data_intelligence_enabled. Pass true to get only matching videos, false for non-matching.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitVideosResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get videos for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/ads":{"get":{"description":"Retrieves Meta ads linked to a keyword search with pagination and sorting.","operationId":"V1OrbitController_getAds","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"created_at","example":"created_at","type":"string","enum":["created_at","page_like_count"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved ads","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitAdsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get ads for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/list":{"get":{"description":"Backward-compatible alias for GET \/v1\/orbit.","operationId":"V1OrbitController_listSearchesAlias","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}}],"responses":{"200":{"description":"Successfully retrieved list of searches","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List keyword searches (alias)","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}":{"get":{"description":"Polls the status of a keyword search job and retrieves results once complete.","operationId":"V1OrbitController_getSearchResults","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort videos by","schema":{"example":"views","type":"string","enum":["views","likes","shares","comments","bookmarks","publish_date","author.followers"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved search results","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OrbitDetailResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get keyword search status and results","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/trends\/latest":{"get":{"description":"Returns every trend detected by the AI in the most recent completed analysis cycle for this orbit. Each trend includes evidence videos, aggregate engagement stats, a stable_key for joins, and a new\/rising\/steady\/fading status.","operationId":"V1OrbitController_getOrbitLatestTrends","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest batch of trends (may be empty if analysis has not completed yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendsLatestBatchResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest batch of trends for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/trends":{"get":{"description":"Paginated list of every trend row produced for this orbit, newest first. Use `stable_key` to isolate a specific trend, or `start_date`\/`end_date` to window the results.","operationId":"V1OrbitController_getOrbitTrends","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"stable_key","required":false,"in":"query","description":"Filter to a single recurring trend by its stable key. Stable keys are preserved across cycles so this lets callers build a time series for one specific trend.","schema":{"example":"ai-fitness-coaching","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated trends","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentTrendsHistoryResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query trends for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/analysis\/latest":{"get":{"description":"Returns the full structured analysis produced in the most recent completed cycle. The `analysis` string is a short human-readable highlight; `analysis_data` contains the full object.","operationId":"V1OrbitController_getOrbitLatestAnalysis","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest analysis (data = null when none exists yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1AnalysisLatestResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest AI analysis for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/orbit\/{orbit_id}\/analysis":{"get":{"description":"Paginated list of every completed analysis batch for this orbit, newest first. Use `start_date`\/`end_date` to window the results.","operationId":"V1OrbitController_getOrbitAnalyses","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID) returned when the search was created.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated analyses","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentAnalysisHistoryResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Keyword search not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query AI analyses for a keyword search","tags":["Orbit"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet":{"post":{"description":"Creates a new custom niche configuration with keywords, platforms, and scheduling.","operationId":"V1CometController_create","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1CreateCometDto"}}}},"responses":{"201":{"description":"Comet configuration created successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateCometResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Create a new comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"},"get":{"description":"Retrieves a list of all comet configurations.","operationId":"V1CometController_findAll","parameters":[{"name":"include_inactive","required":false,"in":"query","description":"Include inactive configurations","schema":{"example":"true","type":"string"}}],"responses":{"200":{"description":"Successfully retrieved configurations","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List all comet configurations","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/list":{"get":{"description":"Backward-compatible alias for GET \/v1\/comet.","operationId":"V1CometController_findAllAlias","parameters":[],"responses":{"200":{"description":"Successfully retrieved configurations","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List all comet configurations (alias)","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}":{"get":{"description":"Retrieves a specific comet configuration.","operationId":"V1CometController_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved configuration","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometDetailResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a comet configuration by ID","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"},"put":{"description":"Updates an existing comet configuration. All fields are optional.","operationId":"V1CometController_update","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration to update","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1UpdateCometDto"}}}},"responses":{"200":{"description":"Configuration updated successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateCometResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Update a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"},"delete":{"description":"Soft deletes a comet configuration by setting is_active to false.","operationId":"V1CometController_remove","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration to deactivate","schema":{"type":"string"}}],"responses":{"204":{"description":"Configuration deactivated successfully"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Delete (deactivate) a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/videos":{"get":{"description":"Retrieves videos linked to a specific comet configuration.","operationId":"V1CometController_getVideos","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter","schema":{"example":10000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s)","schema":{"example":"youtube","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Filter videos published after this date (ISO date string)","schema":{"example":"2024-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Filter videos published before this date (ISO date string)","schema":{"example":"2024-12-31T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"example":"views","type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter videos by intent match result. Only applies when the comet used intent + data_intelligence_enabled. Pass true to get only matching videos, false for non-matching.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometVideosResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get videos for a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/slideshows":{"get":{"description":"Retrieves slideshows (image carousels) linked to a specific comet configuration.","operationId":"V1CometController_getSlideshows","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter","schema":{"example":10000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s)","schema":{"example":"youtube","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Filter videos published after this date (ISO date string)","schema":{"example":"2024-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Filter videos published before this date (ISO date string)","schema":{"example":"2024-12-31T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"example":"views","type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter videos by intent match result. Only applies when the comet used intent + data_intelligence_enabled. Pass true to get only matching videos, false for non-matching.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successfully retrieved slideshows","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometSlideshowsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get slideshows for a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/ads":{"get":{"description":"Retrieves Meta ads collected for a specific comet configuration.","operationId":"V1CometController_getAds","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by","schema":{"default":"created_at","example":"created_at","type":"string","enum":["created_at","page_like_count"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}}],"responses":{"200":{"description":"Successfully retrieved ads","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometAdsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get ads for a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/creators\/outliers":{"get":{"description":"Retrieves creators who significantly outperform their follower count. Every row uses one canonical shape (V1OutlierItemDto). With `order_by=rising` (Phase 3) rows are ranked by true run-over-run velocity and carry additive `growth_followers` \/ `growth_views` \/ `growth_video_count` \/ `local_video_count` fields, while the outlier-only metrics (`avg_views`, `outlier_ratio`, `creator_topics`, `identified_at`) come back null\/empty. On a young Comet without two snapshots, `rising` transparently falls back to the weighted-outlier ranking. Because the velocity snapshots carry no topic data, combining `order_by=rising` with `category` uses the topic-aware weighted ranking so the filter is honored (`ranking: \"outlier_fallback\"`). Each row carries an `author_id` \u2014 pass it as `:creator_id` to `GET \/v1\/comet\/:id\/creators\/:creator_id\/similar` to find adjacent creators.","operationId":"V1CometController_getCreatorOutliers","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by. `rising` (Phase 3) ranks creators by true run-over-run velocity (follower\/view growth in the niche) using per-run snapshots; on a young Comet with sparse snapshots it transparently falls back to the weighted outlier ranking.","schema":{"default":"outlier_ratio","example":"outlier_ratio","type":"string","enum":["outlier_ratio","avg_views","follower_count","weighted_score","rising"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"platform","required":false,"in":"query","description":"Filter by platform","schema":{"type":"string","enum":["youtube","tiktok","instagram"]}},{"name":"follower_tier","required":false,"in":"query","description":"Phase 3: filter to creators in a follower tier. nano (<10K), micro (10K\u2013100K), mid (100K\u20131M), macro (>1M).","schema":{"type":"string","enum":["nano","micro","mid","macro"]}},{"name":"category","required":false,"in":"query","description":"Phase 3: case-insensitive substring filter on a creator's matching\/creator topics (e.g. \"house\" within an electronic-music genre Comet).","schema":{"type":"string"}}],"responses":{"200":{"description":"Successfully retrieved creator outliers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometOutliersResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get creator outliers for a comet configuration","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/hashtags":{"get":{"description":"Per-hashtag analytics computed over the videos this niche monitor has collected: volume, total\/average views, average engagement rate, run-over-run growth + lifecycle, and the most active creators per hashtag. Free \u2014 reads on already-paid-for data. Sort by `volume` (default), `growth`, or `avg_views`.","operationId":"V1CometController_getHashtags","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort mode. `volume` (default) ranks by # videos in the niche using the hashtag. `growth` ranks by run-over-run change in that volume (momentum). `avg_views` ranks by average views per tagged video.","schema":{"default":"volume","type":"string","enum":["volume","growth","avg_views"]}}],"responses":{"200":{"description":"Hashtag analytics","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometHashtagsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get hashtag analytics for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/benchmarks":{"get":{"description":"Median engagement rate, follower count, niche video count, and posting frequency across the niche's creators, bucketed by follower tier (nano\/micro\/mid\/macro). Free \u2014 reads on already-paid-for data. Useful for \"how does a creator compare to the genre norm?\".","operationId":"V1CometController_getBenchmarks","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}}],"responses":{"200":{"description":"Benchmarks by follower tier","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometBenchmarksResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get genre benchmarks for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/affinity":{"get":{"description":"**BETA** \u2014 directional signal, methodology may evolve. Genre-adjacency derived from the niche corpus: dominant creator topics, co-occurring hashtags, and co-occurring sounds. This is NOT a follow-graph (\"what else the audience follows\") \u2014 that requires follow-graph sampling outside the current pipeline. Free \u2014 reads on already-paid-for data.","operationId":"V1CometController_getAffinity","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}}],"responses":{"200":{"description":"Audience affinity signals","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometAffinityResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get audience affinity \/ genre adjacency for a comet (BETA)","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/creators\/{creator_id}\/similar":{"get":{"description":"**BETA** \u2014 directional signal, methodology may evolve. Similarity is co-occurrence based: other creators in the niche ranked by shared hashtags and shared sounds with the target creator (no embeddings \/ follow-graph in v1). Free \u2014 reads on already-paid-for data.","operationId":"V1CometController_getSimilarCreators","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"creator_id","required":true,"in":"path","description":"Author UUID of the target creator (as returned by \/creators\/outliers)","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max number of similar creators to return","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}}],"responses":{"200":{"description":"Similar creators","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CometSimilarCreatorsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get creators similar to a given creator within a comet (BETA)","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/trends\/latest":{"get":{"description":"Returns every trend detected by the AI in the most recent completed analysis cycle. Each trend includes evidence videos, aggregate engagement stats, a stable_key for time-series joins, and a new\/rising\/steady\/fading status vs. the previous cycle.","operationId":"V1CometController_getLatestTrends","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest batch of trends (may be empty if no analysis has run yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendsLatestBatchResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest batch of trends for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/trends":{"get":{"description":"Paginated list of every trend row produced for this comet, newest first. Use `stable_key` to isolate a specific recurring trend, or `start_date`\/`end_date` to window the results.","operationId":"V1CometController_getTrends","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"stable_key","required":false,"in":"query","description":"Filter to a single recurring trend by its stable key. Stable keys are preserved across cycles so this lets callers build a time series for one specific trend.","schema":{"example":"ai-fitness-coaching","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated trends","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentTrendsHistoryResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query trends for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/analysis\/latest":{"get":{"description":"Returns the full structured analysis produced in the most recent completed cycle. The `analysis` string is a short human-readable highlight; `analysis_data` contains the full object (themes, connecting_thread, viral_tactics, timing_analysis, top_10_breakdown, \u2026).","operationId":"V1CometController_getLatestAnalysis","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest analysis (data = null when none exists yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1AnalysisLatestResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest AI analysis for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{id}\/analysis":{"get":{"description":"Paginated list of every completed analysis batch for this comet, newest first. Use `start_date`\/`end_date` to window the results.","operationId":"V1CometController_getAnalyses","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the comet configuration","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated analyses","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentAnalysisHistoryResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Comet configuration not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query AI analyses for a comet","tags":["Comet"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/agents\/suggest-keywords":{"post":{"description":"Given an `intent`, returns a quality-graded keyword set you can pass straight to POST \/v1\/agents. Free and synchronous \u2014 no agent is created and no credits are spent, so you can iterate until the quality score looks right.","operationId":"V1ContentResearchAgentController_suggestKeywords","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1SuggestKeywordsDto"}}}},"responses":{"200":{"description":"Suggested keywords","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1SuggestKeywordsResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Suggest keywords for an intent","tags":["Content Research Agents"]}},"\/v1\/agents":{"post":{"description":"Creates a one-shot (is_recurring=false) or recurring (is_recurring=true) agent and dispatches its first run immediately. Collection scope is system-managed \u2014 filter by views\/date at read time.","operationId":"V1ContentResearchAgentController_create","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1CreateAgentDto"}}}},"responses":{"201":{"description":"Agent created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateAgentResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized"},"402":{"description":"Insufficient credits"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Create a content research agent","tags":["Content Research Agents"]},"get":{"description":"Lists your team's agents: every agent any key on the team created through the API, plus agents your email made in the Virlo app. Filter with `is_recurring` and `include_inactive`.","operationId":"V1ContentResearchAgentController_list","parameters":[{"name":"is_recurring","required":false,"in":"query","description":"Only recurring agents (`true`) or only one-time agents (`false`). Omit for both.","schema":{"enum":["true","false"],"type":"string"}},{"name":"include_inactive","required":false,"in":"query","description":"Include paused agents (default `false`).","schema":{"enum":["true","false"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}}],"responses":{"200":{"description":"Agents","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentListResponseDto"}}}},"401":{"description":"Unauthorized"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List content research agents","tags":["Content Research Agents"]}},"\/v1\/agents\/list":{"get":{"operationId":"V1ContentResearchAgentController_listAlias","parameters":[{"name":"is_recurring","required":false,"in":"query","description":"Only recurring agents (`true`) or only one-time agents (`false`). Omit for both.","schema":{"enum":["true","false"],"type":"string"}},{"name":"include_inactive","required":false,"in":"query","description":"Include paused agents (default `false`).","schema":{"enum":["true","false"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}}],"responses":{"200":{"description":"Agents","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentListResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List content research agents (alias)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}":{"get":{"description":"Returns the agent config, autonomy state, latest run, and async status. `finalized: true` means the latest run (scrape + AI analysis) is fully settled.","operationId":"V1ContentResearchAgentController_getOne","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Agent","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentDetailResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a content research agent","tags":["Content Research Agents"]},"put":{"description":"Updates mutable config. Collection scope (min_views\/time_range) is system-managed and cannot be set here.","operationId":"V1ContentResearchAgentController_update","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1UpdateAgentDto"}}}},"responses":{"200":{"description":"Agent updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateAgentResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Update a content research agent","tags":["Content Research Agents"]},"delete":{"operationId":"V1ContentResearchAgentController_remove","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"204":{"description":"Agent deleted"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Delete a content research agent (soft delete)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/summary":{"get":{"description":"One free call that returns an agent\u2019s whole picture: config + finalized\/progress state, the latest run\u2019s headline counts, cheap corpus counts, the top creators and trend themes, and the latest AI-analysis highlight. A convenience digest \u2014 use the dedicated videos\/creators\/trends\/analysis endpoints for full, paginated data. Pieces still processing (analysis \/ trends \/ outliers) come back null\/empty rather than failing the whole summary.","operationId":"V1ContentResearchAgentController_getSummary","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Agent summary","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentSummaryResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a compact, agent-ready summary for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/videos":{"get":{"description":"Videos collected by the agent. Apply read-time filters here (min_views, date window, platform, sort) \u2014 this is the intended place to narrow the broad collection. Every video carries `duration` (seconds, null when unknown). Pass `include_transcript=true` to add each video\u2019s `transcript` (text, plus timed segments when the transcript has timings).","operationId":"V1ContentResearchAgentController_getVideos","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter (read-time).","schema":{"example":100000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s).","schema":{"example":"tiktok","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Only videos published on\/after this date (ISO string).","schema":{"example":"2026-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Only videos published on\/before this date (ISO string).","schema":{"example":"2026-06-30T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by.","schema":{"type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction.","schema":{"default":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter by intent-match result. Only meaningful when the agent used data_intelligence_enabled. true = matching only, false = non-matching.","schema":{"type":"boolean"}},{"name":"region","required":false,"in":"query","description":"Filter by resolved upload region (ISO-3166-1 alpha-2, e.g. US, CA, RU, AU). Case-insensitive; normalized to uppercase.","schema":{"example":"US","type":"string"}},{"name":"include_transcript","required":false,"in":"query","description":"Add a `transcript` object to every video on the page: `{ text, segments, source }`. `source: \"transcribed\"` is Virlo speech-to-text of the audio (run by Data Intelligence) and carries timed `segments` in seconds; `source: \"platform\"` is the transcript TikTok or YouTube published, usually plain text with `segments: null` (a small share carry timings, so check `segments` rather than `source`). `transcript` is null when the video has no speech or has not been transcribed yet. Instagram Reels only get transcripts on agents with `data_intelligence_enabled`. Free. A page with transcripts is several times larger, so keep `limit` small.","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"Videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentVideosResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get an agent\u2019s videos","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/slideshows":{"get":{"operationId":"V1ContentResearchAgentController_getSlideshows","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"min_views","required":false,"in":"query","description":"Minimum view count filter (read-time).","schema":{"example":100000,"type":"number"}},{"name":"platforms","required":false,"in":"query","description":"Filter by platform(s).","schema":{"example":"tiktok","type":"array","items":{"type":"string","enum":["youtube","tiktok","instagram"]}}},{"name":"start_date","required":false,"in":"query","description":"Only videos published on\/after this date (ISO string).","schema":{"example":"2026-01-01T00:00:00Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Only videos published on\/before this date (ISO string).","schema":{"example":"2026-06-30T23:59:59Z","type":"string"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by.","schema":{"type":"string","enum":["publish_date","views","created_at"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction.","schema":{"default":"desc","type":"string","enum":["asc","desc"]}},{"name":"intent_match","required":false,"in":"query","description":"Filter by intent-match result. Only meaningful when the agent used data_intelligence_enabled. true = matching only, false = non-matching.","schema":{"type":"boolean"}},{"name":"region","required":false,"in":"query","description":"Filter by resolved upload region (ISO-3166-1 alpha-2, e.g. US, CA, RU, AU). Case-insensitive; normalized to uppercase.","schema":{"example":"US","type":"string"}}],"responses":{"200":{"description":"Slideshows","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentSlideshowsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get an agent\u2019s slideshows","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/ads":{"get":{"operationId":"V1ContentResearchAgentController_getAds","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Sort field. Omit for the default order.","schema":{"enum":["created_at","page_like_count"],"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Sort direction for `order_by`.","schema":{"enum":["asc","desc"],"type":"string"}}],"responses":{"200":{"description":"Ads","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentAdsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get an agent\u2019s Meta ads","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/creators\/outliers":{"get":{"description":"Creators who significantly outperform their follower count within the agent\u2019s corpus. With `order_by=rising`, rows are ranked by true run-over-run velocity and carry additive `growth_followers` \/ `growth_views` \/ `growth_video_count` \/ `local_video_count` fields; on an agent without two snapshots yet, `rising` transparently falls back to the weighted-outlier ranking. `follower_tier` and `category` filter the rows in-process. Each row carries an `author_id` \u2014 pass it as `:creator_id` to `GET \/v1\/agents\/:id\/creators\/:creator_id\/similar` to find adjacent creators.","operationId":"V1ContentResearchAgentController_getCreatorOutliers","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"order_by","required":false,"in":"query","description":"Field to sort by. `rising` (Phase 3) ranks creators by true run-over-run velocity (follower\/view growth in the niche) using per-run snapshots; on a young Comet with sparse snapshots it transparently falls back to the weighted outlier ranking.","schema":{"default":"outlier_ratio","example":"outlier_ratio","type":"string","enum":["outlier_ratio","avg_views","follower_count","weighted_score","rising"]}},{"name":"sort","required":false,"in":"query","description":"Sort direction","schema":{"default":"desc","example":"desc","type":"string","enum":["asc","desc"]}},{"name":"platform","required":false,"in":"query","description":"Filter by platform","schema":{"type":"string","enum":["youtube","tiktok","instagram"]}},{"name":"follower_tier","required":false,"in":"query","description":"Phase 3: filter to creators in a follower tier. nano (<10K), micro (10K\u2013100K), mid (100K\u20131M), macro (>1M).","schema":{"type":"string","enum":["nano","micro","mid","macro"]}},{"name":"category","required":false,"in":"query","description":"Phase 3: case-insensitive substring filter on a creator's matching\/creator topics (e.g. \"house\" within an electronic-music genre Comet).","schema":{"type":"string"}}],"responses":{"200":{"description":"Creator outliers","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentOutliersResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get an agent\u2019s creator outliers","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/hashtags":{"get":{"description":"Per-hashtag analytics computed over the videos this agent has collected: volume, total\/average views, average engagement rate, run-over-run growth + lifecycle, and the most active creators per hashtag. Free \u2014 reads on already-paid-for data. Sort by `volume` (default), `growth`, or `avg_views`.","operationId":"V1ContentResearchAgentController_getHashtags","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort mode. `volume` (default) ranks by # videos in the niche using the hashtag. `growth` ranks by run-over-run change in that volume (momentum). `avg_views` ranks by average views per tagged video.","schema":{"default":"volume","type":"string","enum":["volume","growth","avg_views"]}}],"responses":{"200":{"description":"Hashtag analytics","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentHashtagsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get hashtag analytics for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/benchmarks":{"get":{"description":"Median engagement rate, follower count, niche video count, and posting frequency across the agent\u2019s creators, bucketed by follower tier (nano\/micro\/mid\/macro). Free \u2014 reads on already-paid-for data.","operationId":"V1ContentResearchAgentController_getBenchmarks","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Benchmarks by follower tier","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentBenchmarksResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get genre benchmarks for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/affinity":{"get":{"description":"**BETA** \u2014 directional signal, methodology may evolve. Genre-adjacency derived from the agent\u2019s corpus: dominant creator topics, co-occurring hashtags, and co-occurring sounds. This is NOT a follow-graph. Free \u2014 reads on already-paid-for data.","operationId":"V1ContentResearchAgentController_getAffinity","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Audience affinity signals","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentAffinityResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get audience affinity \/ genre adjacency for an agent (BETA)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/creators\/{creator_id}\/similar":{"get":{"description":"**BETA** \u2014 directional signal, methodology may evolve. Similarity is co-occurrence based: other creators in the agent\u2019s corpus ranked by shared hashtags and shared sounds with the target creator (no embeddings \/ follow-graph in v1). Free \u2014 reads on already-paid-for data.","operationId":"V1ContentResearchAgentController_getSimilarCreators","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"creator_id","required":true,"in":"path","description":"Author UUID of the target creator (as returned by \/creators\/outliers)","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max number of similar creators to return","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}}],"responses":{"200":{"description":"Similar creators","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentSimilarCreatorsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get creators similar to a given creator within an agent (BETA)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/trends\/latest":{"get":{"description":"Returns every trend detected by the AI in the most recent completed analysis cycle. Each trend includes evidence videos, aggregate engagement stats, a stable_key for time-series joins, and a new\/rising\/steady\/fading status vs. the previous cycle.","operationId":"V1ContentResearchAgentController_getLatestTrends","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest batch of trends (may be empty if no analysis has run yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrendsLatestBatchResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest batch of trends for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/trends":{"get":{"description":"Paginated list of every trend row produced for this agent, newest first. Use `stable_key` to isolate a specific recurring trend, or `start_date`\/`end_date` to window the results.","operationId":"V1ContentResearchAgentController_getTrends","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"stable_key","required":false,"in":"query","description":"Filter to a single recurring trend by its stable key. Stable keys are preserved across cycles so this lets callers build a time series for one specific trend.","schema":{"example":"ai-fitness-coaching","type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated trends","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentTrendsHistoryResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query trends for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/analysis\/latest":{"get":{"description":"Returns the full structured analysis produced in the most recent completed cycle. The `analysis` string is a short human-readable highlight; `analysis_data` contains the full object (themes, connecting_thread, viral_tactics, timing_analysis, top_10_breakdown, \u2026).","operationId":"V1ContentResearchAgentController_getLatestAnalysis","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Latest analysis (data = null when none exists yet)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1AnalysisLatestResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get the latest AI analysis for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/analysis":{"get":{"description":"Paginated list of every completed analysis batch for this agent, newest first. Use `start_date`\/`end_date` to window the results.","operationId":"V1ContentResearchAgentController_getAnalyses","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"start_date","required":false,"in":"query","description":"Earliest batch_end (ISO-8601) to include","schema":{"example":"2026-01-01T00:00:00.000Z","type":"string"}},{"name":"end_date","required":false,"in":"query","description":"Latest batch_end (ISO-8601) to include","schema":{"example":"2026-04-01T00:00:00.000Z","type":"string"}}],"responses":{"200":{"description":"Paginated analyses","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentAnalysisHistoryResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Query AI analyses for an agent","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/runs":{"get":{"operationId":"V1ContentResearchAgentController_listRuns","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}}],"responses":{"200":{"description":"Runs","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentRunsListResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List an agent\u2019s runs","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/runs\/{run_id}":{"get":{"operationId":"V1ContentResearchAgentController_getRun","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"run_id","required":true,"in":"path","description":"Run UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Run","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentRunResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Run not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get one run","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/activity":{"get":{"description":"The agent\u2019s reflections, milestones, and decisions over time \u2014 how it has reasoned about and adjusted its own collection. Free.","operationId":"V1ContentResearchAgentController_getActivity","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 20). Values above 100 are clamped.","schema":{"example":20,"type":"number"}}],"responses":{"200":{"description":"Activity log","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentActivityResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get an agent\u2019s activity \/ decision log","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/events":{"get":{"description":"Breaking stories\/events the agent\u2019s event-awareness engine has detected in its niche \u2014 a death, record, launch, controversy, or moment the space is talking about. Active (confirmed, unexpired) events come first, most salient first. Each event carries a `title`, `summary`, `salience` (0\u201310), lifecycle `status` (candidate \/ confirmed \/ dismissed \/ expired), the timely `keywords` the agent added for it, and `evidence` (top corroborating videos\/results). Only recurring agents with event awareness produce events. Free.","operationId":"V1ContentResearchAgentController_getEvents","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}}],"responses":{"200":{"description":"Detected events","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentEventsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List breaking events detected in an agent\u2019s topic","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/proposals":{"get":{"deprecated":true,"description":"Deprecated: autopilot is on for every agent and applies its changes itself, so there is nothing to review. Read `GET \/v1\/agents\/:id\/activity` for what changed and why. Still works during the deprecation window. Filter by `status` (pending \/ applied \/ auto_applied \/ dismissed \/ reverted). Free.","operationId":"V1ContentResearchAgentController_listProposals","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Only proposals in this status. Omit for all.","schema":{"enum":["pending","applied","auto_applied","dismissed","reverted"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items to return (1-100, default 50). Values above 100 are clamped.","schema":{"example":50,"type":"number"}}],"responses":{"200":{"description":"Proposals","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentProposalsListResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List an agent\u2019s change proposals","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/proposals\/{proposal_id}\/apply":{"post":{"deprecated":true,"description":"Deprecated: autopilot applies changes itself. Applies a pending proposal; the keywords and exclude terms you approve become the ones autopilot always keeps.","operationId":"V1ContentResearchAgentController_applyProposal","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"proposal_id","required":true,"in":"path","description":"Proposal UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Proposal applied","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ApplyProposalResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Proposal not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Approve (apply) a change proposal (deprecated)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/proposals\/{proposal_id}\/dismiss":{"post":{"deprecated":true,"description":"Deprecated: autopilot applies changes itself.","operationId":"V1ContentResearchAgentController_dismissProposal","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"proposal_id","required":true,"in":"path","description":"Proposal UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Proposal dismissed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DismissProposalResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Proposal not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Dismiss a change proposal (deprecated)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/proposals\/{proposal_id}\/revert":{"post":{"deprecated":true,"description":"Deprecated. Restores the agent config to its state before the change. To stop autopilot changing an agent, set `autopilot: false` on `PUT \/v1\/agents\/:id` instead.","operationId":"V1ContentResearchAgentController_revertProposal","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"proposal_id","required":true,"in":"path","description":"Proposal UUID","schema":{"type":"string"}}],"responses":{"200":{"description":"Proposal reverted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RevertProposalResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Proposal not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Revert an applied change proposal (deprecated)","tags":["Content Research Agents"]}},"\/v1\/agents\/{id}\/autonomy":{"put":{"description":"Turn autopilot on or off. Same switch as `autopilot` on `PUT \/v1\/agents\/:id`. Autopilot is on by default and needs no unlock; it never removes a keyword or exclude term you set. `autonomy_level` (\"autopilot\" \/ \"suggest\") is the older spelling and is still accepted. `cognition_enabled=false` pauses self-optimization entirely. Free.","operationId":"V1ContentResearchAgentController_setAutonomy","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1SetAutonomyDto"}}}},"responses":{"200":{"description":"Autonomy updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetAutonomyResponseDto"}}}},"400":{"description":"No field sent, or `autopilot` and `autonomy_level` disagree"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Agent not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Turn autopilot on or off for an agent","tags":["Content Research Agents"]}},"\/v1\/satellite\/creator\/status\/{job_id}":{"get":{"description":"Returns the current status of a creator lookup job. Poll until status is \"completed\" or \"failed\". Results expire after 24 hours.","operationId":"V1SatelliteController_getCreatorStatus","parameters":[{"name":"job_id","required":true,"in":"path","description":"The job ID returned from the creator lookup endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status retrieved. Shape varies by status: processing, completed (with result), or failed (with error).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll creator lookup status","tags":["Satellite"]}},"\/v1\/satellite\/creator\/{platform}\/{username}":{"get":{"description":"Queues a creator lookup for processing. Returns immediately with a job_id. Poll GET \/v1\/satellite\/creator\/status\/:job_id for results. Pricing: 50-credit base. Optional surcharges \u2014 trend_analysis=true (+50 credits); data_intelligence=true (+25 credits) enriches each video with structured content intelligence and a grounded \"what's working\" analysis, retrievable on GET \/v1\/satellite\/runs\/:run_id once intelligence_status is \"ready\"; audience_demographics \/ audience_geography (+50 credits for a fresh snapshot \u2014 the two flags share one snapshot and are never double-charged; a cached snapshot within freshness_days is free). Ceiling with every add-on: up to 175 credits. Refunds: a lookup that fails (for example a handle with no public posts, or a run that stalls and is failed by the recovery sweep) is refunded in full, and a surcharge whose add-on produced nothing is refunded (trend_analysis that yields no trends, an audience snapshot that was already cached or already being built, data_intelligence on a creator with no posts to enrich or whose analysis failed). The amount is reported as credits_refunded on the completed result or the failed status, and on GET \/v1\/satellite\/runs\/:run_id. Cache: a repeat lookup of the same creator within 6 hours returns the earlier run free (cached: true, status \"completed\"), including a run whose audience snapshot or Data Intelligence enrichment is still finishing, but only when that run covers every option this request asks for: each add-on and include flag it turns on, at least as many max_videos, and the same outlier_threshold. Anything else, such as trend_analysis=true after a plain lookup, runs fresh and is charged.","operationId":"V1SatelliteController_lookupCreator","parameters":[{"name":"platform","required":true,"in":"path","description":"The social media platform","schema":{"enum":["youtube","tiktok","instagram"],"type":"string"}},{"name":"username","required":true,"in":"path","description":"Creator's handle (with or without leading @)","schema":{"type":"string"}},{"name":"include","required":false,"in":"query","description":"Comma-separated list of optional fields to include: \"videos\", \"outliers\"","schema":{"example":"videos,outliers","type":"string"}},{"name":"cross_links","required":false,"in":"query","description":"Enable cross-platform link discovery. Finds the same creator on other platforms (YouTube, TikTok, Instagram, Twitter\/X, Spotify).","schema":{"default":false,"example":true,"type":"boolean"}},{"name":"max_videos","required":false,"in":"query","description":"Number of videos to fetch and analyze. More videos = better stats but slower response.","schema":{"minimum":1,"maximum":100,"default":20,"example":20,"type":"number"}},{"name":"outlier_threshold","required":false,"in":"query","description":"Multiplier for outlier detection. A video is an outlier if views > median_views * threshold. Only applies when include=outliers.","schema":{"default":2,"example":2,"type":"number"}},{"name":"audience_demographics","required":false,"in":"query","description":"Include inferred audience demographics (age + gender distributions). Returns a cached snapshot if one exists within freshness_days; otherwise dispatches an async snapshot job and returns { status: \"processing\", job_id } so you can poll via the dedicated audience endpoints, and adds an extra 50-credit surcharge on top of the base 50-credit creator-lookup cost. A cache hit within freshness_days is free. Off by default \u2014 only computed when explicitly requested.","schema":{"default":false,"example":true,"type":"boolean"}},{"name":"audience_geography","required":false,"in":"query","description":"Include inferred audience geography (country + city distributions, with languages). Same caching and 50-credit surcharge behavior as audience_demographics \u2014 a cached snapshot within freshness_days is free. Off by default.","schema":{"default":false,"example":true,"type":"boolean"}},{"name":"freshness_days","required":false,"in":"query","description":"Maximum age (in days) of an acceptable cached audience snapshot. Snapshots older than this trigger a new async job. Only relevant when audience_demographics or audience_geography is set.","schema":{"minimum":0,"maximum":365,"default":30,"example":30,"type":"number"}},{"name":"trend_analysis","required":false,"in":"query","description":"Run AI trend detection over this creator's body of work. Forces a deep fetch (max_videos is bumped to 100) so the model has enough signal, implicitly includes the videos[] payload, and adds an extra 50-credit surcharge on top of the base 50-credit creator-lookup cost. Trends are persisted with the run, so re-reading via GET \/v1\/satellite\/runs\/{run_id} is free. Returns the same trends shape as sound lookups: mechanically-derived time_windows[], resurged flag, and momentum metric.","schema":{"default":false,"example":false,"type":"boolean"}},{"name":"data_intelligence","required":false,"in":"query","description":"Run Data Intelligence on this creator's videos \u2014 the same structured content analysis Virlo runs for Content Research Agents. Each analyzed video is enriched with its hook (opening line + type), content format, and visual treatment, and the run gets a grounded \"what's working\" analysis. Implicitly includes the videos[] payload (like trend_analysis) \u2014 the enrichment hangs off the video list, so you don't need include=videos. Enrichment runs ASYNCHRONOUSLY after the base lookup completes: poll status\/:job_id for the base result, then re-read GET \/v1\/satellite\/runs\/:run_id \u2014 the `analysis` object and `intelligence_status` populate once processing finishes (typically 1-3 min). Adds an extra 25 credits on top of the base 50-credit creator-lookup cost. Off by default. A repeat lookup within 6 hours is served free from a cached run only when that run also had data_intelligence=true; otherwise it runs fresh and is charged.","schema":{"default":false,"example":false,"type":"boolean"}},{"name":"context","required":false,"in":"query","description":"Optional free-text statement of what you're trying to learn from this creator (max 600 chars), e.g. \"which hooks drive their most-viewed videos\". When data_intelligence is enabled it grounds the \"what's working\" analysis on your goal. Ignored without data_intelligence.","schema":{"maxLength":600,"example":"which hooks and formats drive their most-viewed videos","type":"string"}},{"name":"slideshow_sort","required":false,"in":"query","description":"Which carousels get slide-captured + OCR'd when a creator has more slideshows than the per-run cap (100). \"popular\" (default) keeps the highest-engagement carousels; \"recent\" keeps the newest by publish date, so the latest carousels are guaranteed OCR'd even before they accrue engagement. Only meaningful with data_intelligence on carousel-heavy Instagram\/TikTok creators. Note this is the CAPTURE selector; the read-side sort on GET \/v1\/satellite\/runs\/:run_id\/videos only reorders what was already captured.","schema":{"default":"popular","example":"popular","type":"string","enum":["recent","popular"]}}],"responses":{"200":{"description":"Job queued successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform or username"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a creator lookup job","tags":["Satellite"]}},"\/v1\/satellite\/creators\/batch":{"post":{"description":"Submit up to 25 creators for parallel lookup. Returns a batch_id with per-creator job IDs. Poll aggregate status via GET \/v1\/satellite\/creators\/batch\/:batch_id, or individual jobs via GET \/v1\/satellite\/creator\/status\/:job_id. Pricing: 50 credits per creator that starts a lookup, plus the audience surcharge per creator when audience flags are set. A creator answered from the 6-hour cache comes back completed and is free, as on the single lookup. A creator whose lookup fails (for example a handle with no public posts) is refunded; its failed status reports credits_refunded.","operationId":"V1SatelliteController_batchLookupCreators","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchCreatorLookupDto"}}}},"responses":{"202":{"description":"Batch submitted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchLookupResponseDto"}}}},"400":{"description":"Invalid request"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Batch creator lookup","tags":["Satellite"]}},"\/v1\/satellite\/creators\/batch\/{batch_id}":{"get":{"description":"Returns the aggregate status of a batch created via POST \/v1\/satellite\/creators\/batch. Each creator shows its current status (processing, completed, or failed). Batch results expire after 24 hours.","operationId":"V1SatelliteController_getBatchStatus","parameters":[{"name":"batch_id","required":true,"in":"path","description":"The batch_id returned from the batch creator lookup endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Batch status with per-creator progress","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchLookupStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Batch not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll batch lookup status","tags":["Satellite"]}},"\/v1\/satellite\/video-outlier":{"post":{"description":"Queues a video for outlier analysis. 10 credits per check. Returns immediately with a job_id. Poll GET \/v1\/satellite\/video-outlier\/status\/:job_id for results. Supports YouTube, TikTok, and Instagram URLs. The same video again within 6 hours returns the saved check free (cached: true, status \"completed\"), and a check that fails is refunded in full, reported as credits_refunded.","operationId":"V1SatelliteController_analyzeVideoOutlier","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AnalyzeVideoDto"}}}},"responses":{"200":{"description":"Job queued successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Bad request - invalid or unsupported URL, or invalid platform"},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Too many requests - rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a video outlier analysis job","tags":["Satellite"]}},"\/v1\/satellite\/video-outlier\/status\/{job_id}":{"get":{"description":"Returns the current status of a video outlier analysis job. Poll until `finalized` is true (status \"completed\" or \"failed\"). Results expire after 5 minutes.","operationId":"V1SatelliteController_getVideoOutlierStatus","parameters":[{"name":"job_id","required":true,"in":"path","description":"The job ID returned from the video outlier endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status retrieved. Shape varies by status: processing, completed (with result), or failed (with error).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VideoOutlierStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll video outlier analysis status","tags":["Satellite"]}},"\/v1\/satellite\/sounds\/status\/{job_id}":{"get":{"description":"Returns the current status of a sound lookup job. Poll until `finalized` is true (status \"completed\" or \"failed\"). Results expire after 24 hours, but are also persisted as a durable satellite run \u2014 once status reaches \"completed\" you can re-read the result for free via GET \/v1\/satellite\/runs\/:run_id (the run_id is echoed inside the completed result envelope).","operationId":"V1SatelliteController_getSoundStatus","parameters":[{"name":"job_id","required":true,"in":"path","description":"The job ID returned from the sound lookup endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status retrieved. Shape varies by status: processing, completed (with full result), or failed (with error).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SoundStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll sound lookup status","tags":["Satellite"]}},"\/v1\/satellite\/sounds\/{platform}\/{music_id}":{"get":{"description":"Queues a deep-dive lookup for every video\/reel using the given sound. Supported platforms: `tiktok` and `instagram`. (YouTube is not supported \u2014 there is no public \"videos using this sound\" feed for YouTube.) Returns a job_id immediately. Poll GET \/v1\/satellite\/sounds\/status\/:job_id for results. The completed result includes the full normalized video list, aggregated stats, and (when trend_analysis=true) an LLM-derived trends block. Each completed job is also persisted as a durable satellite_run that can be re-read for free indefinitely via \/v1\/satellite\/runs\/:run_id. Pricing: 50-credit base + 50-credit surcharge when trend_analysis=true. Refunds: a lookup that fails is refunded in full, and the trend_analysis surcharge is refunded when no trends come out (fewer than 10 videos, or the analysis step failed). The amount is reported as credits_refunded.","operationId":"V1SatelliteController_lookupSound","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform \u2014 \"tiktok\" or \"instagram\" (YouTube is not supported)","schema":{"enum":["tiktok","instagram"],"type":"string"}},{"name":"music_id","required":true,"in":"path","description":"The sound's platform-native id \u2014 its `external_id` (NOT the `id` UUID). For TikTok this is the music\/clip id; for Instagram it is the audio id (`audio_cluster_id`). Get it from the `external_id` field on any \/v1\/sounds, \/v1\/orbit\/:id\/sounds, or \/v1\/comet\/:id\/sounds result. As a convenience you may also pass a Virlo sound UUID and we will resolve it to the right platform automatically. If the id belongs to an unsupported platform (e.g. YouTube) the request returns 400 and is not charged.","schema":{"type":"string"}},{"name":"trend_analysis","required":false,"in":"query","description":"When true, runs the LLM-based trend analysis. Forces a deeper fetch (~300 videos) and ignores any max_videos value the caller passed. Adds a 50-credit surcharge on top of the 50-credit base. Trends are derived from real publish dates \u2014 no LLM date hallucination is possible. Set false (default) to skip trend analysis and only return stats.","schema":{"default":false,"example":true,"type":"boolean"}},{"name":"max_videos","required":false,"in":"query","description":"Number of videos to fetch and analyze. Ignored when trend_analysis=true (we then target ~300 videos automatically). Default 50.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}}],"responses":{"200":{"description":"Job queued successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform, or the music_id is not a usable TikTok\/Instagram sound id (e.g. a YouTube sound id, or a Virlo UUID for an unsupported platform). Rejected before billing \u2014 no credits are charged."},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a sound lookup job (TikTok or Instagram)","tags":["Satellite"]}},"\/v1\/satellite\/hashtags\/status\/{job_id}":{"get":{"description":"Returns the current status of a hashtag lookup job. Poll until `finalized` is true (status \"completed\" or \"failed\"). Results expire after 24 hours, but are also persisted as a durable satellite run \u2014 once status reaches \"completed\" you can re-read the result for free via GET \/v1\/satellite\/runs\/:run_id (the run_id is echoed inside the completed result envelope).","operationId":"V1SatelliteController_getHashtagStatus","parameters":[{"name":"job_id","required":true,"in":"path","description":"The job ID returned from the hashtag lookup endpoint","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status retrieved. Shape varies by status: processing, completed (with full result), or failed (with error).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HashtagStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll hashtag lookup status","tags":["Satellite"]}},"\/v1\/satellite\/hashtags\/{platform}\/{hashtag}":{"get":{"description":"Queues a deep-dive collection of videos posted under the given hashtag. Supported platforms: `tiktok` (native challenge feed), `youtube` (native hashtag page, Shorts only), and `instagram` (public Reels, best-effort coverage, shallower than the other two). Returns a job_id immediately. Poll GET \/v1\/satellite\/hashtags\/status\/:job_id for results. The completed result includes the full normalized video list in the requested sort order, aggregated stats (weekly posting velocity, top creators, related hashtags, top sounds), and (when trend_analysis=true) an LLM-derived trends block over a ~300-video corpus. Each completed job is also persisted as a durable satellite_run that can be re-read for free indefinitely via \/v1\/satellite\/runs\/:run_id. Pricing: 50-credit base (depth=standard, up to 100 videos). Depth tiers: depth=deep collects ~300 videos (+50 credits), depth=full collects ~500 (+150 credits) \u2014 TikTok and YouTube only. trend_analysis=true adds 50 credits and includes a 300-video fetch, so the deep surcharge is waived with trends (trends alone = 100 credits, full+trends = 250 credits). Repeating the same lookup within 6 hours returns the cached run for free (the cache only satisfies a request with the same sort, an equal-or-deeper depth, and, when trend_analysis=true, trends already analyzed). Refunds: a lookup that fails is refunded in full, and the trend_analysis surcharge is refunded when no trends come out (fewer than 10 videos, or the analysis step failed). The amount is reported as credits_refunded.","operationId":"V1SatelliteController_lookupHashtag","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform \u2014 \"tiktok\", \"instagram\", or \"youtube\"","schema":{"enum":["tiktok","instagram","youtube"],"type":"string"}},{"name":"hashtag","required":true,"in":"path","description":"The hashtag to collect, with or without the leading \"#\" (URL-encode the \"#\" as %23 if you include it). Case-insensitive; normalized to lowercase. Must be a single tag without spaces.","schema":{"type":"string"}},{"name":"trend_analysis","required":false,"in":"query","description":"When true, runs the LLM-based trend analysis over the hashtag corpus. Forces a deeper fetch (~300 videos) and ignores any max_videos value the caller passed. Adds a 50-credit surcharge on top of the 50-credit base. Trends are derived from real publish dates \u2014 no LLM date hallucination is possible. Set false (default) to skip trend analysis and only return stats.","schema":{"default":false,"example":true,"type":"boolean"}},{"name":"max_videos","required":false,"in":"query","description":"Number of videos to collect and analyze. Ignored when trend_analysis=true (we then target ~300 videos automatically). Default 50.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Ordering of the stored videos array: \"top\" ranks by view count (default), \"recent\" ranks by publish date, newest first. Stats and weekly velocity buckets are order-independent. Note: the platforms expose no server-side sort on their hashtag feeds, so the ordering is applied to the collected corpus.","schema":{"default":"top","type":"string","enum":["top","recent"]}},{"name":"depth","required":false,"in":"query","description":"Collection depth tier (same standard\/deep\/full shape as tracking's post collection). \"standard\" (default) collects `max_videos` videos (up to 100) for the 50-credit base. \"deep\" collects ~300 videos (+50 credits \u2014 waived when trend_analysis=true, which already includes a 300-video fetch). \"full\" collects ~500 videos (+150 credits). Overrides max_videos when set to deep\/full. Instagram supports standard only \u2014 its upstream feed caps at ~11 pages, so deep\/full return 400 there (never charged).","schema":{"default":"standard","type":"string","enum":["standard","deep","full"]}}],"responses":{"200":{"description":"Job queued successfully","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform or hashtag (empty after normalization, contains whitespace, or longer than 100 characters). Rejected before billing \u2014 no credits are charged."},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a hashtag lookup job (TikTok, Instagram, or YouTube)","tags":["Satellite"]}},"\/v1\/satellite\/creator":{"post":{"description":"The same lookup as GET \/v1\/satellite\/creator\/:platform\/:username, with the creator and every option in a JSON body. Same price (50-credit base, add-ons as listed there, ceiling 175 credits), same 6-hour cache, same refunds. Poll GET \/v1\/satellite\/creator\/status\/:job_id, or read the run at GET \/v1\/satellite\/runs\/:run_id.","operationId":"V1SatelliteController_startCreatorLookup","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StartCreatorLookupDto"}}}},"responses":{"202":{"description":"Job queued (or a covering run from the last 6 hours, free)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform or handle"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a creator lookup (JSON body)","tags":["Satellite"]}},"\/v1\/satellite\/hashtag":{"post":{"description":"The same lookup as GET \/v1\/satellite\/hashtags\/:platform\/:hashtag, with the tag and every option in a JSON body. Same price (50-credit base, 250-credit ceiling), same 6-hour cache, same refunds. Poll GET \/v1\/satellite\/hashtags\/status\/:job_id.","operationId":"V1SatelliteController_startHashtagLookup","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StartHashtagLookupDto"}}}},"responses":{"202":{"description":"Job queued (or the same lookup from the last 6 hours, free)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform, tag or depth"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a hashtag lookup (JSON body)","tags":["Satellite"]}},"\/v1\/satellite\/sound":{"post":{"description":"The same lookup as GET \/v1\/satellite\/sounds\/:platform\/:music_id, with the sound and every option in a JSON body. TikTok and Instagram. Same price (50-credit base, +50 credits with trend_analysis), same 6-hour cache, same refunds. Poll GET \/v1\/satellite\/sounds\/status\/:job_id.","operationId":"V1SatelliteController_startSoundLookup","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StartSoundLookupDto"}}}},"responses":{"202":{"description":"Job queued (or the same lookup from the last 6 hours, free)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid platform or sound id"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a sound lookup (JSON body)","tags":["Satellite"]}},"\/v1\/satellite\/video":{"post":{"description":"The same analysis as POST \/v1\/satellite\/video-outlier: how one post did against its creator's usual views. 10 credits. Poll GET \/v1\/satellite\/video-outlier\/status\/:job_id.","operationId":"V1SatelliteController_startVideoLookup","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AnalyzeVideoDto"}}}},"responses":{"202":{"description":"Job queued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Invalid or unsupported URL"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a video outlier analysis (JSON body)","tags":["Satellite"]}},"\/v1\/satellite\/place":{"post":{"description":"Beta: place data is still sparse. A place is the location tag a creator chose on a TikTok post. TikTok places only; Instagram places are not available yet. The posts tagged at one TikTok place: read fresh from TikTok on this run, plus the posts Virlo already had tagged there, newest first, with stats like a hashtag lookup. Each lookup also says what changed since your team's previous lookup of the same place (`change`): TikTok's tag count then and now, and the posts not seen before. Name the place with exactly one of `place_id` (Virlo id, from GET \/v1\/places), `poi_id` (TikTok's id) or `query` (a name). A `query` may also be the place\u2019s TikTok link or numeric id. Only a name that picks out one place starts a lookup (one place named exactly that, and no other carrying the name); any other match answers 200 with `status: candidates` and charges nothing. 50 credits per lookup started; the same place within 6 hours, asking for as many posts or fewer (`max_videos`), returns the earlier run free; a lookup that fails is refunded in full. Poll GET \/v1\/satellite\/place\/status\/:job_id, or re-read the run free with GET \/v1\/satellite\/runs\/:run_id.","operationId":"V1SatelliteController_startPlaceLookup","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StartPlaceLookupDto"}}}},"responses":{"200":{"description":"The query matches more than one TikTok place: the candidates, nothing charged.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlaceCandidatesResponseDto"}}}},"202":{"description":"Lookup queued (or the cached run, `status: completed`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"Not exactly one of place_id, poi_id or query; an Instagram place; or a bad value. Not charged."},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"404":{"description":"No such place, or no TikTok place matches the query. Not charged."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start a place lookup (TikTok places, beta)","tags":["Satellite"]}},"\/v1\/satellite\/place\/status\/{job_id}":{"get":{"description":"Status of a place lookup. Poll until `finalized` is true. Results expire after 24 hours here; the run stays readable free at GET \/v1\/satellite\/runs\/:run_id. Free.","operationId":"V1SatelliteController_getPlaceStatus","parameters":[{"name":"job_id","required":true,"in":"path","description":"From POST \/v1\/satellite\/place","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlaceStatusResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll a place lookup (beta)","tags":["Satellite"]}},"\/v1\/satellite\/runs\/{run_id}":{"get":{"description":"Returns the persisted result of any satellite run owned by your team. Free to call; you already paid when the run was created. Use this to access historical lookups without re-spending credits. To get fresh data, start a new lookup \u2014 that will cost credits again.","operationId":"V1SatelliteController_getRun","parameters":[{"name":"run_id","required":true,"in":"path","description":"The satellite_runs UUID returned from the originating lookup.","schema":{"type":"string"}}],"responses":{"200":{"description":"Run found and returned in full","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetSatelliteRunResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Run not found or not owned by your team"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Re-read a satellite run","tags":["Satellite"]}},"\/v1\/satellite\/runs":{"get":{"description":"Paginated history of every satellite run your team has ever performed. Optionally filter by `type` (creator_lookup, sound_lookup, hashtag_lookup, ...) and\/or `platform`. Free to call.","operationId":"V1SatelliteController_listRuns","parameters":[{"name":"type","required":false,"in":"query","description":"Restrict to runs of a single satellite type.","schema":{"type":"string","enum":["creator_lookup","sound_lookup","hashtag_lookup","video_outlier","batch_creator","place_lookup"]}},{"name":"platform","required":false,"in":"query","description":"Restrict to runs targeted at a single platform.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"limit","required":false,"in":"query","description":"Page size (default 25, max 100).","schema":{"minimum":1,"maximum":100,"default":25,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Row offset for pagination (default 0).","schema":{"minimum":0,"default":0,"type":"number"}}],"responses":{"200":{"description":"List returned","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ListSatelliteRunsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List your satellite runs","tags":["Satellite"]}},"\/v1\/satellite\/runs\/{run_id}\/videos":{"get":{"description":"Pages the posts of any satellite run your team owns \u2014 the deliverable way to read a large run without loading the whole (up to ~300-post, multi-hundred-KB) blob from GET \/runs\/:run_id. Each entry carries its `intelligence` (and, for carousels, `slides` + per-slide OCR `panel_texts`) when the run opted into data_intelligence. Each slide is `{ position, image_url }`; `image_url` is a full URL (Virlo storage or a platform CDN link), and some files are HEIC. Optional `sort` (recent | popular) and `content_type` (video | slideshow | all). Free to call.","operationId":"V1SatelliteController_getRunVideosRoute","parameters":[{"name":"run_id","required":true,"in":"path","description":"The satellite_runs UUID.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Page size (default 25, max 200).","schema":{"minimum":1,"maximum":200,"default":25,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Row offset for pagination (default 0).","schema":{"minimum":0,"default":0,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Order the posts before paging: \"recent\" (newest publish_date first) or \"popular\" (highest engagement first \u2014 views + likes + comments + shares + bookmarks). Omit to keep the run's original collection order.","schema":{"type":"string","enum":["recent","popular"]}},{"name":"content_type","required":false,"in":"query","description":"Filter by content type: \"video\" (reels\/videos), \"slideshow\" (photo carousels \u2014 the entries carrying `slides` + per-slide OCR `panel_texts`), or \"all\" (default).","schema":{"default":"all","type":"string","enum":["all","video","slideshow"]}}],"responses":{"200":{"description":"Slice returned","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetRunVideosResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Run not found or not owned by your team"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Paginated posts for a satellite run (sortable + filterable)","tags":["Satellite"]}},"\/v1\/satellite\/runs\/{run_id}\/posts":{"get":{"description":"The same as GET \/v1\/satellite\/runs\/:run_id\/videos (same params, same response). \"posts\" because a run holds videos and carousels. Free to call.","operationId":"V1SatelliteController_getRunPostsRoute","parameters":[{"name":"run_id","required":true,"in":"path","description":"The satellite_runs UUID.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Page size (default 25, max 200).","schema":{"minimum":1,"maximum":200,"default":25,"type":"number"}},{"name":"offset","required":false,"in":"query","description":"Row offset for pagination (default 0).","schema":{"minimum":0,"default":0,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Order the posts before paging: \"recent\" (newest publish_date first) or \"popular\" (highest engagement first \u2014 views + likes + comments + shares + bookmarks). Omit to keep the run's original collection order.","schema":{"type":"string","enum":["recent","popular"]}},{"name":"content_type","required":false,"in":"query","description":"Filter by content type: \"video\" (reels\/videos), \"slideshow\" (photo carousels \u2014 the entries carrying `slides` + per-slide OCR `panel_texts`), or \"all\" (default).","schema":{"default":"all","type":"string","enum":["all","video","slideshow"]}}],"responses":{"200":{"description":"Slice returned","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GetRunVideosResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Run not found or not owned by your team"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Paginated posts for a satellite run","tags":["Satellite"]}},"\/v1\/satellite\/runs\/{run_id}\/compare":{"get":{"description":"Compares a run with your team's previous completed run of the same creator, hashtag, sound or video (same platform): each headline number before and after, posts that are new, posts that left the window, and the posts that gained the most views. Both runs are already paid for, so this is free. 404 `no_previous_run` when this is the first run of that subject. Pass `previous_run_id` to compare with a specific earlier run.","operationId":"V1SatelliteController_compareRuns","parameters":[{"name":"run_id","required":true,"in":"path","description":"The newer run.","schema":{"type":"string"}},{"name":"previous_run_id","required":false,"in":"query","description":"An earlier run of the same type and subject to compare with. Default: the latest one before run_id.","schema":{"type":"string"}}],"responses":{"200":{"description":"Comparison returned","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CompareSatelliteRunsResponseDto"}}}},"400":{"description":"previous_run_id is a different type or subject"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Run not found, not yours, or no previous run to compare"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"What changed since your last lookup of the same subject","tags":["Satellite"]}},"\/v1\/satellite\/runs\/{run_id}\/refresh":{"post":{"description":"Starts a new lookup with exactly the options of an earlier run (same subject, add-ons and depth) at the current price, and returns the new job like the start route does. The earlier run is kept. A covering run from the last 6 hours is returned free, as on every lookup. Then GET \/v1\/satellite\/runs\/:run_id\/compare on the new run shows what changed.","operationId":"V1SatelliteController_refreshRun","parameters":[{"name":"run_id","required":true,"in":"path","description":"The run to repeat.","schema":{"type":"string"}}],"responses":{"202":{"description":"Job queued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedResponseDto"}}}},"400":{"description":"This run type cannot be repeated (batch parent)"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Insufficient balance"},"404":{"description":"Run not found or not owned by your team"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Run the same lookup again","tags":["Satellite"]}},"\/v1\/tracking\/creators":{"post":{"description":"Begin monitoring a creator's metrics over time. Each recurring cycle collects fresh metrics and generates an AI report (charged per cycle).","operationId":"V1TrackingController_trackCreator","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrackCreatorDto"}}}},"responses":{"202":{"description":"Creator tracking enqueued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackCreatorResponseDto"}}}},"400":{"description":"Invalid request parameters, or a creator that can never be tracked: `code` is `creator_login_required` (the profile is only shown to logged-in viewers) or `creator_not_found` (no account under this handle). Nothing is created or charged."},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits"},"409":{"description":"Already tracked by this account. A creator can be tracked once per account, across the web app and the API; the message says where."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start tracking a creator","tags":["Tracking"]},"get":{"operationId":"V1TrackingController_listTrackedCreators","parameters":[{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"example":20,"type":"number"}},{"name":"platform","required":false,"in":"query","description":"Only items from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"search","required":false,"in":"query","description":"Search by handle or display name (case-insensitive partial match)","schema":{"type":"string"}}],"responses":{"200":{"description":"List of tracked creators","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedCreatorsListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List tracked creators","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}":{"get":{"operationId":"V1TrackingController_getTrackedCreator","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}}],"responses":{"200":{"description":"Creator details","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedCreatorResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get tracked creator details","tags":["Tracking"]},"patch":{"operationId":"V1TrackingController_updateTrackedCreator","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator to update","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1UpdateTrackingDto"}}}},"responses":{"200":{"description":"Updated creator","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedCreatorResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Update tracking settings for a creator","tags":["Tracking"]},"delete":{"operationId":"V1TrackingController_deleteTrackedCreator","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator to deactivate","schema":{"type":"string"}}],"responses":{"204":{"description":"Creator tracking stopped"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Stop tracking a creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/report":{"get":{"operationId":"V1TrackingController_getCreatorReport","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}}],"responses":{"200":{"description":"Creator report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorReportResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get latest AI report for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/snapshots":{"get":{"description":"Time-series of follower\/following\/video\/view\/like counts per scrape cycle, each with `delta_*` fields vs the previous snapshot. Also includes an `engagement_rate` per snapshot (total_likes \/ total_views at snapshot time) and `delta_engagement_rate`, giving a true engagement-rate history over time.","operationId":"V1TrackingController_getCreatorSnapshots","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date (ISO 8601). Only return snapshots on or after this date.","schema":{"type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date (ISO 8601). Only return snapshots on or before this date.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max snapshots to return: the most recent ones in the date range, listed oldest first. Default 30, max 365.","schema":{"default":30,"type":"number"}}],"responses":{"200":{"description":"Creator snapshots","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorSnapshotsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get metric snapshots for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/signals":{"get":{"description":"Recent tracking signals for this creator \u2014 outlier videos, meaningful follower spikes\/declines, newly-covered subjects, and unreachable alerts. Each signal has a `type`, `severity` (info | notable | critical), `title`, and a `payload` with the specifics. These are the same events delivered via the tracking.* webhooks.","operationId":"V1TrackingController_getCreatorSignals","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date (ISO 8601). Only return snapshots on or after this date.","schema":{"type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date (ISO 8601). Only return snapshots on or before this date.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max snapshots to return: the most recent ones in the date range, listed oldest first. Default 30, max 365.","schema":{"default":30,"type":"number"}}],"responses":{"200":{"description":"Creator signals","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackingSignalsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get detected signals for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/posts":{"get":{"operationId":"V1TrackingController_listCreatorPosts","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Max posts per page (default 50, max 200)","schema":{"example":50,"type":"number"}},{"name":"start_date","required":false,"in":"query","description":"Start date (ISO 8601). Filter posts published on or after this date.","schema":{"type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date (ISO 8601). Filter posts published on or before this date.","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"Sort order (default: publish_date_desc)","schema":{"type":"string","enum":["publish_date_desc","publish_date_asc","views_desc"]}}],"responses":{"200":{"description":"Creator posts","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorPostsListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List posts for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/posts\/{post_id}":{"get":{"operationId":"V1TrackingController_getCreatorPost","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"post_id","required":true,"in":"path","description":"UUID of the post","schema":{"type":"string"}}],"responses":{"200":{"description":"Creator post","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorPostResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Post not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a single post for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/posts\/collect":{"post":{"description":"Starts an async deep video collection job. Charged per depth tier: standard (up to 50 videos, 50 credits), deep (up to 200 videos, 100 credits), full (up to 500 videos, 200 credits). A collection that finds no posts, or fails, is refunded (credits_refunded on the collection status). Returns 409 when the creator's tracking has failed (the collection would hit the same upstream wall); pass `{ \"force\": true }` to run it anyway.","operationId":"V1TrackingController_collectCreatorPosts","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1CollectCreatorPostsDto"}}}},"responses":{"202":{"description":"Collection job started","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectPostsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits"},"404":{"description":"Tracked creator not found"},"409":{"description":"Collection already in progress, or tracking unhealthy (the most recent tracking cycle failed; pass `force: true` to override)."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Trigger on-demand post collection for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/posts\/collect\/{collection_id}":{"get":{"operationId":"V1TrackingController_getCollectionStatus","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"collection_id","required":true,"in":"path","description":"UUID of the collection job","schema":{"type":"string"}}],"responses":{"200":{"description":"Collection status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CollectPostsStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Collection job not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Check status of a post collection job","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/posting-cadence":{"get":{"description":"Derives posting frequency, day-of-week distribution, and average gaps from collected posts.","operationId":"V1TrackingController_getPostingCadence","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}}],"responses":{"200":{"description":"Posting cadence","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PostingCadenceResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get posting cadence analytics for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/audience-demographics":{"get":{"description":"Returns the latest cached audience snapshot for the tracked creator. Snapshot may be older than freshness_days; check is_stale. Use POST \/v1\/tracking\/creators\/:id\/audience-refresh to trigger regeneration. Returns { snapshot: null } when no snapshot has ever been generated for this creator.","operationId":"V1TrackingController_getAudienceDemographics","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"freshness_days","required":false,"in":"query","description":"Age in days (0-365) after which the snapshot reports `is_stale: true`. Omit to skip the staleness check.","schema":{"type":"number"}}],"responses":{"200":{"description":"Audience demographics snapshot","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudienceSnapshotResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get inferred audience age + gender distributions","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/audience-geography":{"get":{"description":"Returns the latest cached audience snapshot for the tracked creator, projected onto the geography fields. A single snapshot powers both demographics and geography views; if you previously called audience-demographics, the same snapshot is reused for free.","operationId":"V1TrackingController_getAudienceGeography","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"freshness_days","required":false,"in":"query","description":"Age in days (0-365) after which the snapshot reports `is_stale: true`. Omit to skip the staleness check.","schema":{"type":"number"}}],"responses":{"200":{"description":"Audience geography snapshot","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudienceSnapshotResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked creator not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get inferred audience country + city distributions","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/audience-refresh":{"post":{"description":"Cache-first. If a cached snapshot exists within freshness_days, it is returned synchronously and no credits are charged. Otherwise, an async job is enqueued and credits are reserved at the platform-specific rate (audience_snapshot_tiktok \/ youtube \/ instagram). If a snapshot job for this creator is already running, its job_id is returned and nothing is charged (credits_used: 0). Audience inference is currently in private preview \u2014 generation may take 60-120 seconds. Returns 409 Conflict when the creator's most recent tracking cycle failed or has not yet completed (audience reuses the same upstream provider and would be guaranteed to fail). Pass `{ \"force\": true }` to bypass this guard for transient platform-side failures.","operationId":"V1TrackingController_refreshAudience","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}}],"responses":{"202":{"description":"Refresh requested","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudienceRefreshResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits for the platform-specific feature cost"},"404":{"description":"Tracked creator not found"},"409":{"description":"Tracking unhealthy \u2014 the creator has not had a successful scrape cycle yet, or the most recent cycle failed. Pass `force: true` to override."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Trigger or refresh an audience snapshot for a tracked creator","tags":["Tracking"]}},"\/v1\/tracking\/creators\/{id}\/audience-refresh\/{jobId}":{"get":{"description":"Polls a running audience snapshot job by jobId. Returns `{ status: \"processing\" | \"completed\" | \"failed\", snapshot?, error? }`. Free \u2014 no credit cost. Mirrors the post-collection job-polling pattern. Job state is cached in Redis for 24 hours after completion; older job IDs return 404.","operationId":"V1TrackingController_getAudienceRefreshStatus","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked creator","schema":{"type":"string"}},{"name":"jobId","required":true,"in":"path","description":"Job ID returned by POST \/audience-refresh","schema":{"type":"string"}}],"responses":{"200":{"description":"Job status","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudienceRefreshStatusResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Check status of an in-flight audience-refresh job","tags":["Tracking"]}},"\/v1\/tracking\/videos":{"post":{"description":"Begin monitoring a video's metrics over time. Each recurring cycle collects fresh metrics and generates an AI report (charged per cycle).","operationId":"V1TrackingController_trackVideo","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TrackVideoDto"}}}},"responses":{"202":{"description":"Video tracking enqueued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackVideoResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"402":{"description":"Insufficient credits"},"409":{"description":"Already tracked by this account. A video can be tracked once per account, across the web app and the API; the message says where."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Start tracking a video","tags":["Tracking"]},"get":{"operationId":"V1TrackingController_listTrackedVideos","parameters":[{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"example":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"example":20,"type":"number"}},{"name":"platform","required":false,"in":"query","description":"Only items from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"search","required":false,"in":"query","description":"Search by handle or display name (case-insensitive partial match)","schema":{"type":"string"}}],"responses":{"200":{"description":"List of tracked videos","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedVideosListResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List tracked videos","tags":["Tracking"]}},"\/v1\/tracking\/videos\/{id}":{"get":{"operationId":"V1TrackingController_getTrackedVideo","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked video","schema":{"type":"string"}}],"responses":{"200":{"description":"Video details","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedVideoResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked video not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get tracked video details","tags":["Tracking"]},"patch":{"operationId":"V1TrackingController_updateTrackedVideo","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked video to update","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1UpdateTrackingDto"}}}},"responses":{"200":{"description":"Updated video","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrackedVideoResponseDto"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked video not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Update tracking settings for a video","tags":["Tracking"]},"delete":{"operationId":"V1TrackingController_deleteTrackedVideo","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked video to deactivate","schema":{"type":"string"}}],"responses":{"204":{"description":"Video tracking stopped"},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked video not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Stop tracking a video","tags":["Tracking"]}},"\/v1\/tracking\/videos\/{id}\/report":{"get":{"operationId":"V1TrackingController_getVideoReport","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked video","schema":{"type":"string"}}],"responses":{"200":{"description":"Video report","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VideoReportResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked video not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get latest AI report for a tracked video","tags":["Tracking"]}},"\/v1\/tracking\/videos\/{id}\/snapshots":{"get":{"operationId":"V1TrackingController_getVideoSnapshots","parameters":[{"name":"id","required":true,"in":"path","description":"UUID of the tracked video","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date (ISO 8601). Only return snapshots on or after this date.","schema":{"type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date (ISO 8601). Only return snapshots on or before this date.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Max snapshots to return: the most recent ones in the date range, listed oldest first. Default 30, max 365.","schema":{"default":30,"type":"number"}}],"responses":{"200":{"description":"Video snapshots","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VideoSnapshotsResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Tracked video not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get metric snapshots for a tracked video","tags":["Tracking"]}},"\/v1\/account\/balance":{"get":{"description":"Returns the current credit balance for the authenticated API key.","operationId":"V1AccountController_getBalance","parameters":[],"responses":{"200":{"description":"Credit balance retrieved","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountBalanceResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get your credit balance","tags":["Account"]}},"\/v1\/account\/top-up":{"post":{"description":"Returns a Stripe checkout link that adds amount_usd to the key's team balance. Nothing is charged by this call: the person opens checkout_url and pays there, and the balance updates within seconds. For the team owner while auto top-up is off, the checkout page also asks \"Refill automatically when low?\"; auto_top_up true pre-selects Yes (send it only when the user asked for automatic refills). Bigger top-ups add bonus credits, returned as bonus_credits. Free.","operationId":"V1AccountController_topUp","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1TopUpDto"}}}},"responses":{"200":{"description":"Checkout link created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountTopUpResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"409":{"description":"The key has no team to add balance to"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a checkout link to add balance","tags":["Account"]}},"\/v1\/account\/auto-top-up":{"post":{"description":"Turning auto top-up off, or a smaller refill or lower threshold, applies at once. Turning it on or making refills bigger returns confirm_url: the team owner signs in on dev.virlo.ai and confirms, and nothing changes until they do. Team owner only (403 owner_only otherwise). Free.","operationId":"V1AccountController_setAutoTopUp","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1AutoTopUpDto"}}}},"responses":{"200":{"description":"Applied, unchanged, or a confirm link","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountAutoTopUpChangeResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"403":{"description":"Only the team owner can change auto top-up"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Turn auto top-up off, or ask the owner to turn it on","tags":["Account"]}},"\/v1\/webhooks":{"post":{"operationId":"V1WebhooksController_create","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateWebhookDto"}}}},"responses":{"201":{"description":"Webhook endpoint created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookEndpointDto"}}}},"400":{"description":"Invalid request"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"409":{"description":"Active endpoint quota exceeded"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Create a webhook endpoint (team-scoped)","tags":["Webhooks"]},"get":{"operationId":"V1WebhooksController_list","parameters":[],"responses":{"200":{"description":"Webhook endpoints","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WebhookEndpointDto"}}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List webhook endpoints for this team","tags":["Webhooks"]}},"\/v1\/webhooks\/{id}":{"get":{"operationId":"V1WebhooksController_get","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook endpoint","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookEndpointDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get a webhook endpoint by id","tags":["Webhooks"]},"patch":{"operationId":"V1WebhooksController_update","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateWebhookDto"}}}},"responses":{"200":{"description":"Webhook endpoint updated","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookEndpointDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Update a webhook endpoint","tags":["Webhooks"]},"delete":{"operationId":"V1WebhooksController_remove","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}}],"responses":{"204":{"description":"Webhook soft-deleted"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Soft-delete a webhook endpoint (sets is_active=false)","tags":["Webhooks"]}},"\/v1\/webhooks\/{id}\/reenable":{"post":{"operationId":"V1WebhooksController_reenable","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}}],"responses":{"200":{"description":"Webhook endpoint re-enabled","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookEndpointDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Re-enable an auto-disabled endpoint","tags":["Webhooks"]}},"\/v1\/webhooks\/{id}\/test":{"post":{"operationId":"V1WebhooksController_sendTest","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TestWebhookDto"}}}},"responses":{"202":{"description":"Test delivery queued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookTestQueuedDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Queue a synthetic test event to this endpoint","tags":["Webhooks"]}},"\/v1\/webhooks\/{id}\/deliveries":{"get":{"operationId":"V1WebhooksController_listDeliveries","parameters":[{"name":"id","required":true,"in":"path","description":"Webhook endpoint ID (UUID) returned when it was created.","schema":{"type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Pagination cursor: the `next_cursor` from the previous page (an ISO timestamp).","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Deliveries to return (1-100, default 50). Out-of-range values are clamped.","schema":{"example":50,"type":"number"}},{"name":"event_type","required":false,"in":"query","description":"Only deliveries of this event type.","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Only deliveries in this status.","schema":{"enum":["pending","delivering","succeeded","failed","dead"],"type":"string"}}],"responses":{"200":{"description":"Delivery log","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookDeliveriesListDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Webhook not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List recent deliveries for an endpoint","tags":["Webhooks"]}},"\/v1\/webhooks\/deliveries\/{deliveryId}\/retry":{"post":{"operationId":"V1WebhooksController_retryDelivery","parameters":[{"name":"deliveryId","required":true,"in":"path","description":"Delivery ID (UUID) from GET \/v1\/webhooks\/:id\/deliveries.","schema":{"type":"string"}}],"responses":{"202":{"description":"Retry queued","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookRetryQueuedDto"}}}},"400":{"description":"Delivery not retryable"},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Delivery not found"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Manually re-queue a failed\/dead delivery","tags":["Webhooks"]}},"\/v1\/sounds\/trending":{"get":{"description":"Returns sounds currently trending in the Virlo dataset. Default sort `videos_7d` ranks by # videos published using each sound in the last 7 days \u2014 the recency-weighted \"what is rising right now\" signal. `videos_30d` widens that window to 30 days. Legacy sorts `usage_count` and `video_count` return all-time leaders (greatest hits, not \"trending\"). Use the velocity sorts for momentum questions; use the legacy sorts for reach-not-momentum questions. Filter by platform or commerce-safe sounds.","operationId":"V1SoundsController_getTrending","parameters":[{"name":"platform","required":false,"in":"query","description":"Only sounds from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort mode. videos_7d (default) and videos_30d return sounds with the most videos published in the Virlo dataset over that window \u2014 \"currently rising\". usage_count and video_count return all-time leaders, useful for reach-not-momentum questions: usage_count by the platform-reported count, video_count by how many videos in the Virlo dataset use the sound (sounds with none are not ranked). On videos_7d, videos_30d and video_count, `pagination.total` and `total_pages` are null (the match count is not computed; it is not small): page with `has_next_page`. usage_count returns an exact total.","schema":{"default":"videos_7d","type":"string","enum":["videos_7d","videos_30d","usage_count","video_count"]}},{"name":"commerce_only","required":false,"in":"query","description":"Filter to TikTok commerce music only","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrendingSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get trending sounds","tags":["Sounds"]}},"\/v1\/sounds\/breakout":{"get":{"description":"Returns sounds accelerating fastest off a small base. Ranked by `acceleration` = (videos_7d + 1) \/ (prior_weekly + 1), where `prior_weekly` is the average videos\/week over the prior 4 weeks (days 8\u201335). Distinct from `\/sounds\/trending`: trending favours the largest absolute weekly volume (e.g. a mature sound still gaining 100 videos\/week), while breakout favours sounds that jumped from a small baseline to a burst this week (e.g. ~2\/week \u2192 40 this week = 20\u00d7 acceleration). Gated to real breakouts: videos_7d \u2265 `min_recent`, prior 4-week videos in [`min_baseline`, 200], acceleration \u2265 2. Legacy `burst_ratio` and `breakout_score` fields are still returned for backward compatibility.","operationId":"V1SoundsController_getBreakout","parameters":[{"name":"platform","required":false,"in":"query","description":"Only sounds from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"min_recent","required":false,"in":"query","description":"Minimum videos in the last 7 days for a sound to qualify (default 3). Filters out one-hit wonders.","schema":{"minimum":1,"default":3,"type":"number"}},{"name":"min_baseline","required":false,"in":"query","description":"Minimum videos over the prior 4-week baseline window (days 8\u201335) for a sound to qualify (default 3). Ensures the sound has a real-but-small base it is breaking out from, filtering brand-new-to-dataset sounds we just discovered.","schema":{"minimum":1,"default":3,"type":"number"}},{"name":"commerce_only","required":false,"in":"query","description":"Filter to TikTok commerce music only","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BreakoutSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get breakout sounds","tags":["Sounds"]}},"\/v1\/sounds\/search":{"get":{"description":"Case-insensitive substring search across sound titles, ordered by usage_count (not fuzzy: a typo finds nothing). `q` needs at least one word of 3+ letters or digits; shorter queries are a 400 `validation_error`. Coverage grows daily as the dataset expands.","operationId":"V1SoundsController_search","parameters":[{"name":"q","required":true,"in":"query","description":"Text to find in sound titles (case-insensitive substring). Needs at least one word of 3+ letters or digits.","schema":{"minLength":3,"example":"espresso","type":"string"}},{"name":"platform","required":false,"in":"query","description":"Only sounds from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SoundSearchResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search sounds by title","tags":["Sounds"]}},"\/v1\/sounds\/by-creator\/{platform}\/{handle}":{"get":{"description":"Returns all sounds owned by a creator\/artist with per-sound UGC metrics and aggregate totals. Matches the platform handle (exact), the display name (`owner_nickname`, e.g. \"Atomica Music\") and the resolved artist name from sound\u2192artist resolution, so artist catalogs aggregate even when the platform handle is missing on individual sounds. Names match whole and case-insensitively: \"kygo\" finds \"Kygo\", \"Kyg\" finds nothing, and `%` \/ `_` are ordinary characters, not wildcards.","operationId":"V1SoundsController_getByCreator","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform the creator posts on.","schema":{"enum":["tiktok","youtube","instagram"],"type":"string"}},{"name":"handle","required":true,"in":"path","description":"Creator handle (with or without @) or artist display name (URL-encode spaces, e.g. \"Atomica%20Music\")","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Order of the whole creator catalog: by the platform-reported usage count (default) or by how many videos in our dataset use the sound.","schema":{"default":"usage_count","type":"string","enum":["usage_count","video_count"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatorSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get sounds by creator","tags":["Sounds"]}},"\/v1\/sounds\/{sound_id}\/usage-history":{"get":{"description":"Time-series of daily usage_count and local video count snapshots. Includes delta fields for acceleration analysis.","operationId":"V1SoundsController_getUsageHistory","parameters":[{"name":"sound_id","required":true,"in":"path","description":"Virlo sound ID (UUID), the `id` on any sound result.","schema":{"type":"string"}},{"name":"start_date","required":false,"in":"query","description":"Start date (YYYY-MM-DD)","schema":{"type":"string"}},{"name":"end_date","required":false,"in":"query","description":"End date (YYYY-MM-DD)","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of daily snapshots to return (1-365, default 90).","schema":{"minimum":1,"maximum":365,"default":90,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageHistoryResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get sound usage history","tags":["Sounds"]}},"\/v1\/sounds\/{sound_id}\/videos":{"get":{"description":"Returns paginated videos that use a specific sound, sorted by views or publish date.","operationId":"V1SoundsController_getSoundVideos","parameters":[{"name":"sound_id","required":true,"in":"path","description":"Virlo sound ID (UUID), the `id` on any sound result.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Order of the videos: most viewed first (default) or newest first.","schema":{"default":"views_desc","type":"string","enum":["views_desc","publish_date_desc"]}},{"name":"platform","required":false,"in":"query","description":"Only sounds from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SoundVideosResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get videos using a sound","tags":["Sounds"]}},"\/v1\/sounds\/{sound_id}":{"get":{"description":"Full sound metadata with computed aggregate stats (total videos, average views, top video URL). Always returns a `track_resolution` object (sound \u2192 canonical recording: ISRC, DSP IDs, release status, and the recording artist) \u2014 `status: \"unresolved\"` until the sound has been resolved. Resolution runs a tiered fallback chain across multiple sources (so coverage survives Spotify API changes) and also reports `release_status` (`released` \/ `unreleased` \/ `unknown`): a verified ISRC \u21d2 released, while a recording that exists but is absent from every catalogue \u21d2 likely an unreleased \"ID\"\/teaser\/leak. `resolution_source` names the winning tier and `release_date` is included when known. Reads of an already-resolved sound are free. Pass `?resolve=true` to trigger an on-demand resolution which charges the `sound_artist_resolution` feature cost; re-reads of an already-resolved sound stay free even with `resolve=true`.","operationId":"V1SoundsController_getDetails","parameters":[{"name":"sound_id","required":true,"in":"path","description":"Virlo sound ID (UUID), the `id` on any sound result.","schema":{"type":"string"}},{"name":"resolve","required":false,"in":"query","description":"When true, resolve the sound back to its recording artist (ISRC + Spotify) if not already resolved. Charges the `sound_artist_resolution` feature cost only when a fresh lookup runs to completion (`status` becomes `resolved` or `not_found`). You are NOT charged if the sound was already resolved (cached re-read) or if resolution could not run (resolver temporarily unavailable).","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SoundDetailResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get sound details","tags":["Sounds"]}},"\/v1\/orbit\/{orbit_id}\/sounds":{"get":{"description":"Returns sounds ranked by how many videos in the search use them. Free \u2014 reads on already-paid-for data.","operationId":"V1SoundsController_getOrbitSounds","parameters":[{"name":"orbit_id","required":true,"in":"path","description":"Orbit search ID (UUID).","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NicheSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top sounds in a keyword search","tags":["Sounds"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/comet\/{comet_id}\/sounds":{"get":{"description":"Returns sounds ranked by how many videos in the niche use them. Free \u2014 reads on already-paid-for data. Use `sort=rising` (or `growth_7d`) to rank by run-over-run momentum instead of all-time volume; every row carries `growth_video_count`, `growth_views`, and a `new`\/`rising`\/`steady`\/`fading` `lifecycle` label. Pivot to `\/v1\/sounds\/:sound_id\/usage-history` for the full time-series.","operationId":"V1SoundsController_getCometSounds","parameters":[{"name":"comet_id","required":true,"in":"path","description":"Comet ID (UUID).","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort mode. `video_count` (default) ranks by how many videos in the niche use each sound \u2014 identical to the legacy ordering. `usage_count` ranks by platform-wide all-time usage. `rising` \/ `growth_7d` rank by run-over-run growth in niche usage (the momentum signal \u2014 surfaces sounds breaking out inside this genre right now). Every row additionally carries `growth_video_count`, `growth_views`, and a `new`\/`rising`\/`steady`\/`fading` `lifecycle` label.","schema":{"default":"video_count","type":"string","enum":["video_count","usage_count","rising","growth_7d"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NicheSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top sounds in a niche monitor","tags":["Sounds"],"deprecated":true,"x-virlo-replacement":"\/v1\/agents","x-virlo-migration-guide":"https:\/\/dev.virlo.ai\/docs\/agents#migrating-from-orbit-comet"}},"\/v1\/agents\/{id}\/sounds":{"get":{"description":"Unified `\/v1\/agents` equivalent of the Orbit\/Comet sounds reads \u2014 works for one-shot and recurring agents (the ID is interchangeable with a legacy orbit_id\/comet_id). Returns sounds ranked by how many of the agent\u2019s videos use them. Free \u2014 reads on already-paid-for data. Use `sort=rising` (or `growth_7d`) to rank by run-over-run momentum; rows carry `growth_video_count`, `growth_views`, and a `new`\/`rising`\/`steady`\/`fading` `lifecycle` label (growth fields are null until the agent has two run snapshots). Pivot to `\/v1\/sounds\/:sound_id\/usage-history` for the full time-series.","operationId":"V1SoundsController_getAgentSounds","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort mode. `video_count` (default) ranks by how many videos in the niche use each sound \u2014 identical to the legacy ordering. `usage_count` ranks by platform-wide all-time usage. `rising` \/ `growth_7d` rank by run-over-run growth in niche usage (the momentum signal \u2014 surfaces sounds breaking out inside this genre right now). Every row additionally carries `growth_video_count`, `growth_views`, and a `new`\/`rising`\/`steady`\/`fading` `lifecycle` label.","schema":{"default":"video_count","type":"string","enum":["video_count","usage_count","rising","growth_7d"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NicheSoundsResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get top sounds collected by a content research agent","tags":["Sounds"]}},"\/v1\/audience\/snapshot\/{job_id}":{"get":{"description":"Returns the current state of a single audience snapshot job. Free \u2014 no credit cost. Surfaced as the `poll_url` on `pending_jobs[]` entries returned by Satellite and Tracking. Job state is cached in Redis for 24 hours after completion; older job IDs return 404.","operationId":"V1AudienceController_getSnapshotJob","parameters":[{"name":"job_id","required":true,"in":"path","description":"The audience job ID, as returned in `pending_jobs[].job_id` or in the `audience_demographics` \/ `audience_geography` processing pointer on a Satellite lookup result.","schema":{"type":"string"}}],"responses":{"200":{"description":"Job state retrieved","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudienceSnapshotJobResponseDto"}}}},"401":{"description":"Unauthorized - missing or invalid API key"},"404":{"description":"Job not found or expired"},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Poll an audience snapshot job by ID","tags":["Audience"]}},"\/v1\/hooks\/types":{"get":{"description":"The two hook vocabularies with per-value corpus stats: hook_type (spoken\/text opening-line types; Virlo adds new ones over time) and visual_hook_type (12 first-frame visual types). They are orthogonal: every analyzed video has one of each. Stats come from the latest daily snapshot of the ~970k-video hook corpus: count and share, views, and Virality Score (comparable across creator sizes and platforms). To answer \"which hook types work best\", use sort=strong_hit_rate: the share of videos using that type that scored strong or better (>= 18). avg_weighted_score reads negative for most types and is not a ranking signal. Also the place to discover the values the hook_type and visual_hook_type filters accept. Free.","operationId":"V1HooksController_getTypes","parameters":[{"name":"dimension","required":false,"in":"query","description":"Which taxonomy to return: hook_type (the spoken\/text opening-line vocabulary) or visual_hook_type (what fills frame 1, 12 values). The two are orthogonal \u2014 a video has one of each.","schema":{"default":"hook_type","type":"string","enum":["hook_type","visual_hook_type"]}},{"name":"platform","required":false,"in":"query","description":"Restrict stats to one platform. Omit for all platforms combined.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"category","required":false,"in":"query","description":"Restrict stats to one content category. Omit for all categories combined.","schema":{"type":"string","enum":["art_design","automotive","beauty","business_career","crafts_diy","education","entertainment","fashion","finance","fitness","food_beverage","gaming","health_wellness","home_garden","kids_content","lifestyle","music","news_politics","parenting_family","pets","real_estate","relationships_dating","religion_spirituality","science_nature","sports","tech","travel","other"]}},{"name":"sort","required":false,"in":"query","description":"Order of the types array. video_count (default) answers \"which hooks are most common\"; strong_hit_rate answers \"which hooks work best\" (share of videos scoring strong or better). Rank effectiveness by strong_hit_rate or median_weighted_score, never by avg_weighted_score.","schema":{"default":"video_count","type":"string","enum":["video_count","strong_hit_rate","median_weighted_score","p90_weighted_score"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HookTypesResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Hook taxonomy with effectiveness stats","tags":["Hooks"]}},"\/v1\/hooks\/trending":{"get":{"description":"The strongest verbatim hooks across the whole Virlo corpus (~970k video hooks + ~440k slideshow hooks, growing daily), ranked by Virality Score (default) or raw views over a 7\/14\/30-day publish window. Each item carries the exact opening line, both hook classifications, the source post with metrics, and usage_count (how many posts open with the same hook; identical hooks are collapsed to their strongest source). Filter by platform, category, hook_type, visual_hook_type, language, or min_views. Use this for \"what hooks are working right now\"; use \/v1\/hooks\/search to find hooks with a given phrasing and \/v1\/agents\/{id}\/hooks for a niche you already track. Never rank by raw views across platforms: the default Virality Score is the cross-platform signal. Top 1,000 results; pagination.total is null (not computed), so page with has_next_page. 25 credits per call.","operationId":"V1HooksController_getTrending","parameters":[{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"content_type","required":false,"in":"query","description":"Corpus slice: video (default), slideshow (TikTok carousels), or all.","schema":{"default":"video","type":"string","enum":["video","slideshow","all"]}},{"name":"platform","required":false,"in":"query","description":"Only hooks from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"category","required":false,"in":"query","description":"Content category of the source video. One of the listed slugs; anything else is a 400.","schema":{"type":"string","enum":["art_design","automotive","beauty","business_career","crafts_diy","education","entertainment","fashion","finance","fitness","food_beverage","gaming","health_wellness","home_garden","kids_content","lifestyle","music","news_politics","parenting_family","pets","real_estate","relationships_dating","religion_spirituality","science_nature","sports","tech","travel","other"]}},{"name":"hook_type","required":false,"in":"query","description":"Only hooks of this spoken\/text hook type (e.g. tutorial_promise). The list grows over time: GET \/v1\/hooks\/types has the current values. An unknown value is a 400 that lists them.","schema":{"example":"tutorial_promise","type":"string"}},{"name":"visual_hook_type","required":false,"in":"query","description":"Filter to one first-frame visual hook type (e.g. text_hook).","schema":{"type":"string","enum":["text_hook","extreme_closeup","before_state","shocking_image","aesthetic_setup","person_speaking_to_camera","motion_action","crowded_scene","mystery_object","dramatic_zoom","animal_pet","product_reveal"]}},{"name":"language","required":false,"in":"query","description":"ISO language code of the hook text (e.g. en, es, pt). Detected per video.","schema":{"example":"en","type":"string"}},{"name":"min_views","required":false,"in":"query","description":"Only hooks from videos with at least this many views.","schema":{"minimum":0,"type":"number"}},{"name":"days","required":false,"in":"query","description":"Publish-date window in days.","schema":{"default":7,"type":"number","enum":[7,14,30]}},{"name":"sort","required":false,"in":"query","description":"weighted_score (default) ranks by the Virality Score, which measures how far a video outran the audience of its creator and is comparable across creator sizes and platforms. views ranks by raw view count (never compare raw views across platforms).","schema":{"default":"weighted_score","type":"string","enum":["weighted_score","views"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrendingHooksResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Top-performing hooks corpus-wide","tags":["Hooks"]}},"\/v1\/hooks\/search":{"get":{"description":"Phrase and attribute search over every extracted hook, all time. With q, results come in tiers marked by match_type: exact (the hook IS your text; paste a hook you saw to find its source), then contains (hooks using your phrase, strongest Virality Score first, so \"nobody talks about\" returns the best-performing hooks built on it), then similar (near-matches, only when the first two tiers cannot fill the page). Phrase matching is whole-word, case-insensitive and ignores punctuation, emoji and line breaks between words. Without q, browse by hook_type \/ visual_hook_type ranked by Virality Score. At least one of q, hook_type, or visual_hook_type is required. No publish-date window (use \/v1\/hooks\/trending for \"right now\"). Top 1,000 results; pagination.total is null (not computed), so page with has_next_page. 25 credits per call.","operationId":"V1HooksController_search","parameters":[{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"q","required":false,"in":"query","description":"Phrase to find in hook texts (multilingual, case-insensitive). Matches whole words in order and ignores punctuation, emoji and line breaks between them, so a pasted hook finds its on-screen source. Results come back in tiers (see match_type): the exact hook first, then hooks containing the phrase ranked by Virality Score, then near-matches when the first two tiers cannot fill the page. Needs at least one word of 3+ letters or digits. At least one of q, hook_type, or visual_hook_type is required.","schema":{"example":"nobody talks about","type":"string"}},{"name":"content_type","required":false,"in":"query","description":"Hooks from videos (default), slideshows, or both.","schema":{"default":"video","type":"string","enum":["video","slideshow","all"]}},{"name":"platform","required":false,"in":"query","description":"Only hooks from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"category","required":false,"in":"query","description":"Content category of the source video. One of the listed slugs; anything else is a 400.","schema":{"type":"string","enum":["art_design","automotive","beauty","business_career","crafts_diy","education","entertainment","fashion","finance","fitness","food_beverage","gaming","health_wellness","home_garden","kids_content","lifestyle","music","news_politics","parenting_family","pets","real_estate","relationships_dating","religion_spirituality","science_nature","sports","tech","travel","other"]}},{"name":"hook_type","required":false,"in":"query","description":"Only hooks of this spoken\/text hook type (e.g. tutorial_promise). The list grows over time: GET \/v1\/hooks\/types has the current values. An unknown value is a 400 that lists them.","schema":{"example":"tutorial_promise","type":"string"}},{"name":"visual_hook_type","required":false,"in":"query","description":"Only hooks whose first frame is of this visual type. GET \/v1\/hooks\/types lists the values.","schema":{"type":"string","enum":["text_hook","extreme_closeup","before_state","shocking_image","aesthetic_setup","person_speaking_to_camera","motion_action","crowded_scene","mystery_object","dramatic_zoom","animal_pet","product_reveal"]}},{"name":"language","required":false,"in":"query","description":"ISO language code (e.g. en, es, pt).","schema":{"type":"string"}},{"name":"min_views","required":false,"in":"query","description":"Only hooks from videos with at least this many views.","schema":{"minimum":0,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchHooksResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search the hook corpus","tags":["Hooks"]}},"\/v1\/hooks\/library\/categories":{"get":{"description":"The 30+ categories of the curated hook-template library with per-category counts. Use the slugs as the category filter on GET \/v1\/hooks\/library. Free.","operationId":"V1HooksController_getLibraryCategories","parameters":[],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HookLibraryCategoriesResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Hook template library categories","tags":["Hooks"]}},"\/v1\/hooks\/library":{"get":{"description":"4,000+ hand-curated, reusable hook templates across 30+ categories, each with a filled-in example, the psychology behind why it works, and psychology tags (curiosity, fomo, social_proof, \u2026). Complements the corpus endpoints: \/trending and \/search show what IS working in the wild; the library is fill-in-the-blank material for writing your own. Filter by category slug, psychology_tag, or free text. 10 credits per call.","operationId":"V1HooksController_getLibrary","parameters":[{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"category","required":false,"in":"query","description":"Library category slug (see GET \/v1\/hooks\/library\/categories for the list).","schema":{"type":"string"}},{"name":"psychology_tag","required":false,"in":"query","description":"Filter templates by psychology tag (e.g. curiosity, fomo, social_proof).","schema":{"type":"string"}},{"name":"q","required":false,"in":"query","description":"Free-text filter over template text, example, and psychology notes.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HookLibraryResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Curated hook template library","tags":["Hooks"]}},"\/v1\/agents\/{id}\/hooks":{"get":{"description":"The hook library of one content research agent: the distinct hooks from the agent\u2019s collected videos, ranked by Virality Score (default) or views. This is \"the 30 strongest hooks in my niche, with receipts\". Each video appears once, identical hooks are collapsed to their strongest source (usage_count says how many posts share it), and pagination.total is exact. Works for one-shot and recurring agents (the ID is interchangeable with a legacy orbit_id\/comet_id). coverage counts distinct videos: when coverage.videos_with_hooks is 0 the agent has no analyzed hook data yet (young agent or Data Intelligence disabled), so fall back to GET \/v1\/hooks\/trending filtered to your niche instead of concluding the niche has no hooks. Pricing: 25 credits per call, waived (free) when the agent has data_intelligence_enabled, because those customers already funded hook extraction via the Data Intelligence add-on, and free while coverage.videos_with_hooks is 0 (the agent is still collecting or has no analyzed hooks yet).","operationId":"V1HooksController_getAgentHooks","parameters":[{"name":"id","required":true,"in":"path","description":"Agent UUID (or legacy orbit\/comet id)","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Items per page (1-100, default 20). Values above 100 are clamped.","schema":{"minimum":1,"maximum":100,"default":20,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, 1-indexed (default 1).","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"platform","required":false,"in":"query","description":"Only hooks from this platform. Omit for all platforms.","schema":{"type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"hook_type","required":false,"in":"query","description":"Only hooks of this spoken\/text hook type (e.g. tutorial_promise). The list grows over time: GET \/v1\/hooks\/types has the current values. An unknown value is a 400 that lists them.","schema":{"example":"tutorial_promise","type":"string"}},{"name":"min_views","required":false,"in":"query","description":"Only hooks from videos with at least this many views.","schema":{"minimum":0,"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Rank by Virality Score (`weighted_score`, default), comparable across creator sizes, or by raw views.","schema":{"default":"weighted_score","type":"string","enum":["weighted_score","views"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentHooksResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Ranked hooks extracted from an agent\u2019s collected videos","tags":["Hooks"]}},"\/v1\/content-trends":{"get":{"description":"Content Trends (`\/v1\/content-trends`) are repeatable video formats creators are copying right now (a structure, gag or template that many creators remake with their own twist), found by Virlo and reviewed by the Virlo team before they are published. Not the same as Topic Trends (`\/v1\/topic-trends`), which are topics people are talking about, by region. Refreshed hourly. Each trend has its lifecycle stage, creators this week vs last week, a 30-day creators-per-day series (the last 7 days are partial: still being counted), a recipe (what stays the same, what creators swap in), fit per client type, and example videos. Default: live trends in the order the Virlo app shows them. Costs 25 credits per call.","operationId":"V1ContentTrendsController_list","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"lifecycle","required":false,"in":"query","description":"Comma-separated lifecycle stages to include: new, rising, peaking, fading, archived. Defaults to the live stages (new,rising,peaking,fading); add archived to include trends that have died down.","schema":{"example":"new,rising","type":"string"}},{"name":"platform","required":false,"in":"query","description":"Only trends with at least one example video on this platform.","schema":{"type":"string","enum":["tiktok","instagram","youtube"]}},{"name":"made_with_ai_tool","required":false,"in":"query","description":"Only trends made (or not made) with an AI tool.","schema":{"type":"boolean"}},{"name":"is_sound_meme","required":false,"in":"query","description":"Only trends built (or not built) around a sound meme, where the audio is the format.","schema":{"type":"boolean"}},{"name":"brand_safety","required":false,"in":"query","description":"Only trends with this brand-safety rating. Trends not yet rated are excluded when this is set.","schema":{"type":"string","enum":["safe","caution"]}},{"name":"language","required":false,"in":"query","description":"Spoken or on-screen language, ISO 639-1 (e.g. en, es, pt).","schema":{"example":"en","type":"string"}},{"name":"region","required":false,"in":"query","description":"Where the trend is concentrated: ISO 3166-1 alpha-2 country (e.g. US, GB, BR) or `mixed`. Case-insensitive.","schema":{"example":"US","type":"string"}},{"name":"client_fit","required":false,"in":"query","description":"Only trends whose fit for this kind of client is yes or maybe (see `client_fit` on each trend).","schema":{"type":"string","enum":["b2b_saas","clinic_healthcare","consumer_brand","local_business"]}},{"name":"sort","required":false,"in":"query","description":"default: live trends first, most creators in the last 7 days first, then stage (new, rising, peaking, fading); archived last by most recent activity. This is the order the Virlo app shows. newest: most recently spotted first. creators_7d: most creators in the last 7 days. views: most total views.","schema":{"default":"default","type":"string","enum":["default","newest","creators_7d","views"]}},{"name":"examples","required":false,"in":"query","description":"Example videos to include per trend (0-16). Use GET \/v1\/content-trends\/{id} for all of them.","schema":{"minimum":0,"maximum":16,"default":3,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContentTrendsListResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"List Content Trends","tags":["Content Trends"]}},"\/v1\/content-trends\/{id}":{"get":{"description":"Content Trends (`\/v1\/content-trends`) are repeatable video formats creators are copying right now (a structure, gag or template that many creators remake with their own twist), found by Virlo and reviewed by the Virlo team before they are published. Not the same as Topic Trends (`\/v1\/topic-trends`), which are topics people are talking about, by region. Refreshed hourly. One published trend with its full 30-day series and all example videos (up to 16). Unknown or unpublished ids return 404; an id that was merged into another trend returns 404 with merged_into set to the trend to use instead. Costs 5 credits per call.","operationId":"V1ContentTrendsController_getOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"example":26,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContentTrendResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Get one content trend","tags":["Content Trends"]}},"\/v1\/raw\/meta\/ads\/search":{"get":{"description":"Ads whose text or advertiser matches a keyword, in the Ad Library's own order. Filters: `country` (ISO code or `ALL`, default `ALL`), `status` (`active`, `inactive`, `all`; default `active`), `media_type` (`all`, `image`, `video`, `meme`, `none`; default `all`). One Ad Library page per call: about 30 ads on the first page, about 10 on each later page. Follow `pagination.next_cursor` for more. Image and video URLs are Facebook CDN links that expire after a few days. Live data read from the public Meta Ad Library at request time, not stored by Virlo. Typical latency is 2-10 s, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawMetaController_adSearch","parameters":[{"name":"country","required":false,"in":"query","description":"Country where the ads were shown: a 2-letter ISO 3166 code (`US`, `GB`, `DE`, ...) or `ALL`. Default `ALL`. `UK` is read as `GB`.","schema":{"default":"ALL","example":"US","type":"string"}},{"name":"status","required":false,"in":"query","description":"`active` (running now), `inactive` (stopped) or `all`. Default `active`.","schema":{"default":"active","type":"string","enum":["active","inactive","all"]}},{"name":"media_type","required":false,"in":"query","description":"Ads that contain this media: `image`, `video`, `meme`, `none` (text only), or `all`. Default `all`.","schema":{"default":"all","type":"string","enum":["all","image","video","meme","none"]}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query (filters included); any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}},{"name":"q","required":true,"in":"query","description":"Keyword or phrase, 1-200 characters. Matches ad text and advertiser names.","schema":{"minLength":1,"maxLength":200,"example":"running shoes","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawAdPageResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search ads by keyword","tags":["Raw Meta Ads"]}},"\/v1\/raw\/meta\/ads\/{ad_id}":{"get":{"description":"One ad by its Ad Library ID. Ads shown in the EU or UK also carry reach and audience. Image and video URLs are Facebook CDN links that expire after a few days. Live data read from the public Meta Ad Library at request time, not stored by Virlo. Typical latency is 2-10 s, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawMetaController_ad","parameters":[{"name":"ad_id","required":true,"in":"path","description":"Ad Library ID of the ad (the `id` of a `RawAd`, digits only).","schema":{"example":"1035817839464984","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawAdResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"One ad","tags":["Raw Meta Ads"]}},"\/v1\/raw\/meta\/advertisers\/search":{"get":{"description":"Advertisers (Facebook pages) whose name matches, with their page ID for `\/v1\/raw\/meta\/advertisers\/{page_id}\/ads`. `country` (ISO code or `ALL`, default `ALL`) changes which pages the Ad Library suggests. One list, no pagination. Live data read from the public Meta Ad Library at request time, not stored by Virlo. Typical latency is 2-10 s, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawMetaController_advertiserSearch","parameters":[{"name":"country","required":false,"in":"query","description":"Country where the ads were shown: a 2-letter ISO 3166 code (`US`, `GB`, `DE`, ...) or `ALL`. Default `ALL`. `UK` is read as `GB`.","schema":{"default":"ALL","example":"US","type":"string"}},{"name":"q","required":true,"in":"query","description":"Advertiser (Facebook page) name or part of it, 1-200 characters.","schema":{"minLength":1,"maxLength":200,"example":"nike","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawAdvertiserListResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search advertisers","tags":["Raw Meta Ads"]}},"\/v1\/raw\/meta\/advertisers\/ads":{"get":{"description":"The ads of the advertiser a name resolves to: the first live match the Ad Library suggests for it. `advertiser` in the response says which one was used; to choose exactly, call advertiser search and use `\/v1\/raw\/meta\/advertisers\/{page_id}\/ads`. Filters: `country` (ISO code or `ALL`, default `ALL`), `status` (`active`, `inactive`, `all`; default `active`), `media_type` (`all`, `image`, `video`, `meme`, `none`; default `all`). One Ad Library page per call: about 30 ads on the first page, about 10 on each later page. Follow `pagination.next_cursor` for more. Image and video URLs are Facebook CDN links that expire after a few days. Live data read from the public Meta Ad Library at request time, not stored by Virlo. Typical latency is 2-10 s, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawMetaController_advertiserAdsByName","parameters":[{"name":"country","required":false,"in":"query","description":"Country where the ads were shown: a 2-letter ISO 3166 code (`US`, `GB`, `DE`, ...) or `ALL`. Default `ALL`. `UK` is read as `GB`.","schema":{"default":"ALL","example":"US","type":"string"}},{"name":"status","required":false,"in":"query","description":"`active` (running now), `inactive` (stopped) or `all`. Default `active`.","schema":{"default":"active","type":"string","enum":["active","inactive","all"]}},{"name":"media_type","required":false,"in":"query","description":"Ads that contain this media: `image`, `video`, `meme`, `none` (text only), or `all`. Default `all`.","schema":{"default":"all","type":"string","enum":["all","image","video","meme","none"]}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query (filters included); any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}},{"name":"name","required":true,"in":"query","description":"Advertiser name, 1-200 characters. It resolves to the first matching live advertiser the Ad Library suggests for this name; the response names the advertiser it used in `advertiser`. Use `\/v1\/raw\/meta\/advertisers\/{page_id}\/ads` to pick one exactly.","schema":{"minLength":1,"maxLength":200,"example":"gymshark","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawAdvertiserAdsResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"An advertiser's ads, by name","tags":["Raw Meta Ads"]}},"\/v1\/raw\/meta\/advertisers\/{page_id}\/ads":{"get":{"description":"The ads of one advertiser, by Facebook page ID. Filters: `country` (ISO code or `ALL`, default `ALL`), `status` (`active`, `inactive`, `all`; default `active`), `media_type` (`all`, `image`, `video`, `meme`, `none`; default `all`). One Ad Library page per call: about 30 ads on the first page, about 10 on each later page. Follow `pagination.next_cursor` for more. Image and video URLs are Facebook CDN links that expire after a few days. Live data read from the public Meta Ad Library at request time, not stored by Virlo. Typical latency is 2-10 s, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawMetaController_advertiserAds","parameters":[{"name":"page_id","required":true,"in":"path","description":"Facebook page ID of the advertiser (`page_id` from advertiser search or from an ad), digits only.","schema":{"example":"15087023444","type":"string"}},{"name":"country","required":false,"in":"query","description":"Country where the ads were shown: a 2-letter ISO 3166 code (`US`, `GB`, `DE`, ...) or `ALL`. Default `ALL`. `UK` is read as `GB`.","schema":{"default":"ALL","example":"US","type":"string"}},{"name":"status","required":false,"in":"query","description":"`active` (running now), `inactive` (stopped) or `all`. Default `active`.","schema":{"default":"active","type":"string","enum":["active","inactive","all"]}},{"name":"media_type","required":false,"in":"query","description":"Ads that contain this media: `image`, `video`, `meme`, `none` (text only), or `all`. Default `all`.","schema":{"default":"all","type":"string","enum":["all","image","video","meme","none"]}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query (filters included); any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawAdvertiserAdsResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"An advertiser's ads","tags":["Raw Meta Ads"]}},"\/v1\/raw\/{platform}\/search":{"get":{"description":"Keyword search on the platform, in the platform's own ranking order. YouTube returns Shorts only and Instagram returns Reels only. One platform page per call. Follow `pagination.next_cursor` for more; page sizes are set by the platform. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_search","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query; any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}},{"name":"q","required":true,"in":"query","description":"Search keyword or phrase, 1-200 characters.","schema":{"minLength":1,"maxLength":200,"example":"morning routine","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawVideoPageResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search videos by keyword","tags":["Raw"]}},"\/v1\/raw\/{platform}\/hashtag\/{hashtag}":{"get":{"description":"Videos posted with a hashtag. YouTube returns Shorts only and Instagram returns Reels only. One platform page per call. Follow `pagination.next_cursor` for more; page sizes are set by the platform. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_hashtag","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"hashtag","required":true,"in":"path","description":"Hashtag, with or without the leading `#` (URL-encode `#` as `%23`). Matching is case-insensitive.","schema":{"example":"skincare","type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query; any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawVideoPageResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Videos for a hashtag","tags":["Raw"]}},"\/v1\/raw\/{platform}\/video":{"get":{"description":"Details and current counts for one video. Takes a TikTok video, YouTube video or Instagram post by `url` or `id` (exactly one); the format is not checked. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) work too. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_video","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"url","required":false,"in":"query","description":"Video URL as shared on the platform. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) are followed to the video they open; one that opens no video is a 400. Pass exactly one of `url` or `id`.","schema":{"example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7137423965982592302","type":"string"}},{"name":"id","required":false,"in":"query","description":"Platform video ID (TikTok numeric ID, YouTube video ID, Instagram shortcode). Pass exactly one of `url` or `id`.","schema":{"example":"7137423965982592302","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawVideoResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"One video","tags":["Raw"]}},"\/v1\/raw\/{platform}\/video\/comments":{"get":{"description":"Top-level comments on one video (no replies). Takes a TikTok video, YouTube video or Instagram post by `url` or `id` (exactly one); the format is not checked. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) work too. One platform page per call. Follow `pagination.next_cursor` for more; page sizes are set by the platform. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_comments","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"url","required":false,"in":"query","description":"Video URL as shared on the platform. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) are followed to the video they open; one that opens no video is a 400. Pass exactly one of `url` or `id`.","schema":{"example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7137423965982592302","type":"string"}},{"name":"id","required":false,"in":"query","description":"Platform video ID (TikTok numeric ID, YouTube video ID, Instagram shortcode). Pass exactly one of `url` or `id`.","schema":{"example":"7137423965982592302","type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query; any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawCommentPageResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Comments on a video","tags":["Raw"]}},"\/v1\/raw\/{platform}\/video\/transcript":{"get":{"description":"The transcript the platform publishes for one video. TikTok and YouTube only: `instagram` returns 400 `unsupported_platform`. Takes a TikTok video, YouTube video or Instagram post by `url` or `id` (exactly one); the format is not checked. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) work too. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_transcript","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"url","required":false,"in":"query","description":"Video URL as shared on the platform. TikTok short share links (vm.tiktok.com, vt.tiktok.com, tiktok.com\/t\/) are followed to the video they open; one that opens no video is a 400. Pass exactly one of `url` or `id`.","schema":{"example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7137423965982592302","type":"string"}},{"name":"id","required":false,"in":"query","description":"Platform video ID (TikTok numeric ID, YouTube video ID, Instagram shortcode). Pass exactly one of `url` or `id`.","schema":{"example":"7137423965982592302","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawTranscriptResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Transcript of a video","tags":["Raw"]}},"\/v1\/raw\/{platform}\/creator\/{handle}":{"get":{"description":"Profile and current counts for one creator. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_creator","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"handle","required":true,"in":"path","description":"Creator handle, with or without the leading `@`. On YouTube a channel ID (`UC...`) also works.","schema":{"example":"khaby.lame","type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawCreatorResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"One creator profile","tags":["Raw"]}},"\/v1\/raw\/{platform}\/creator\/{handle}\/videos":{"get":{"description":"A creator's recent videos, newest first. YouTube returns Shorts only and Instagram returns Reels only. One platform page per call. Follow `pagination.next_cursor` for more; page sizes are set by the platform. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit per call, including an empty page. Errors (400, 404, 5xx) are not billed.","operationId":"V1RawController_creatorVideos","parameters":[{"name":"platform","required":true,"in":"path","description":"Platform. `youtube` covers YouTube Shorts and `instagram` covers Instagram Reels.","schema":{"example":"tiktok","type":"string","enum":["tiktok","youtube","instagram"]}},{"name":"handle","required":true,"in":"path","description":"Creator handle, with or without the leading `@`. On YouTube a channel ID (`UC...`) also works.","schema":{"example":"khaby.lame","type":"string"}},{"name":"cursor","required":false,"in":"query","description":"Opaque cursor from `pagination.next_cursor` of the previous page. Omit for the first page. Pass it back unchanged with the same path and query; any change returns 400 `invalid_cursor`. A cursor can expire after 6 hours (also 400 `invalid_cursor`); then request the first page again.","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RawVideoPageResponseDto"}}}},"400":{"description":"Invalid input (`validation_error`), operation not offered on this platform (`unsupported_platform`), a bad cursor (`invalid_cursor`), or a cursor too long to read past (`cursor_too_long`, treat it as the end of the list). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"The platform has no public item for this input (`not_found`). Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}},"502":{"description":"The platform did not return data (`upstream_error`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"503":{"description":"Temporarily unavailable (`service_unavailable`). Retry later. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"504":{"description":"The platform took too long to answer (`request_timeout`). Retry. Not billed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"A creator's videos","tags":["Raw"]}},"\/v1\/search\/videos":{"post":{"description":"Find videos by topic, look (`looks_like`: plain words such as \"faceless\" or \"talking head\"), platform, date, creator size, views, engagement, Virality Score, region, language, account type and tagged place (beta, coverage still growing; `places`: the location tag a creator chose on a TikTok or Instagram post, about 7% of those posts; or `near`: \"lat,lng,km\" points, any of them, matching the tagged place\u2019s map point within that radius; combine either with a platform, region, topic or date), ranked by Virality Score (default), views, newest or rising. `scope` picks where: `virlo_library` (every video Virlo has analysed), `my_research` (your team's research agents) or `agent` (one of them, by `agent_id`). The answer says which filters it `applied` and which it could not (`not_applied`), in plain words. Under 10 matches is `thin`, and `next_step` then offers a prefilled research agent with its price (never started for you). 25 videos a page; every video carries `location` (its tagged place, or null). `content_types` (optional, default `[\"video\"]`) adds photo carousels: with `slideshow` the answer also carries `slideshows` (25 a page, its own total, sort and `not_applied`), beside `videos`; leave it out and the answer is exactly as before. Cost (unchanged by `content_types`): `virlo_library` 5 credits per page that holds results (videos or slideshows), free for an empty page; `my_research` and `agent` are free.","operationId":"V1SearchController_videos","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchVideosDto"}}}},"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchVideosResponseDto"}}}},"400":{"description":"Invalid filters, or a library search with nothing to narrow it (add topics, looks_like, a date window or a platform)."},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits for a library page."},"404":{"description":"agent_id is not one of your agents."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`), or `library_quota`: the team pulled an unusually large share of the library in the last 24 hours (a harvesting guard far above normal use). Never charged; `my_research` and `agent` scopes are never counted. See Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search videos","tags":["Search"]}},"\/v1\/search\/creators":{"post":{"description":"Find creators across Virlo's library by what their videos are about (`topics`), a word in their bio, platform, follower range and account type, ranked by top performing (their typical video against their audience size, the default), rising or most followers. A search needs `topics`, `bio_keywords` or `creator_type`. 25 creators a page. Cost: 5 credits per page that holds results, free for an empty page.","operationId":"V1SearchController_creators","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchCreatorsDto"}}}},"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchCreatorsResponseDto"}}}},"400":{"description":"Invalid filters, or nothing to narrow the search."},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"402":{"description":"Not enough credits."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`), or `library_quota`: the team pulled an unusually large share of the library in the last 24 hours (a harvesting guard far above normal use). Never charged. See Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search creators","tags":["Search"]}},"\/v1\/places":{"get":{"description":"Beta: place data is still sparse, and coverage grows daily as Virlo collects more. A place is the location tag a creator chose on a TikTok or Instagram post (a venue such as a shopping centre or beach, or an area such as a suburb or city). It is usually where the video was filmed. About 7% of TikTok and Instagram videos carry a tag; YouTube has none. Places and crowds only: there is no per-person location view. Finds the places Virlo has seen by name (`q`), suburb or city (`locality`), `postcode`, `country` and `kind`, ranked by how many Virlo videos are tagged there (`video_count`). Needs at least one of q, locality, postcode or country. Use a place\u2019s `id` with `GET \/v1\/places\/:id\/videos`, or its name with the `places` filter on `POST \/v1\/search\/videos`. Costs 5 credits per call; a call that finds no place is free.","operationId":"V1PlacesController_search","parameters":[{"name":"limit","required":false,"in":"query","description":"Maximum number of items to return. Values above 100 are clamped to 100 rather than rejected.","schema":{"minimum":1,"maximum":100,"default":50,"example":50,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination","schema":{"minimum":1,"default":1,"example":1,"type":"number"}},{"name":"q","required":false,"in":"query","description":"Place name contains this (case-insensitive): \"chadstone\", \"bondi beach\", \"coles\".","schema":{"example":"chadstone","type":"string"}},{"name":"locality","required":false,"in":"query","description":"Suburb, town or city, matched exactly (case-insensitive) against the parsed suburb (`locality`) or the platform\u2019s area name (`city`, usually the city or local council): \"St Kilda\", \"Melbourne\", \"Brooklyn\".","schema":{"example":"St Kilda","type":"string"}},{"name":"postcode","required":false,"in":"query","description":"Postcode, matched exactly: \"3182\", \"10001\", \"SW1A\".","schema":{"example":"3182","type":"string"}},{"name":"country","required":false,"in":"query","description":"Country, ISO 3166 alpha-2 (AU, US, GB).","schema":{"example":"AU","type":"string"}},{"name":"kind","required":false,"in":"query","description":"`venue` (a business, landmark, beach, station...) or `area` (a suburb, city, state or country). Instagram places carry no type and match neither.","schema":{"type":"string","enum":["venue","area"]}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlacesListResponseDto"}}}},"400":{"description":"No search field, invalid field, or a search that matches more than 5,000 places (narrow it)."},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Search places (beta)","tags":["Places"]}},"\/v1\/places\/{id}\/videos":{"get":{"description":"Beta: place data is still sparse, and coverage grows daily as Virlo collects more. A place is the location tag a creator chose on a TikTok or Instagram post (a venue such as a shopping centre or beach, or an area such as a suburb or city). It is usually where the video was filmed. About 7% of TikTok and Instagram videos carry a tag; YouTube has none. Places and crowds only: there is no per-person location view. The videos in the Virlo library whose creator tagged this place, newest first (or `sort=most_views`), up to 25 a page, in the `\/v1\/search\/videos` item shape. The answer also carries the place itself. Costs 5 credits per call; a page with no videos is free.","operationId":"V1PlacesController_videos","parameters":[{"name":"id","required":true,"in":"path","description":"Place id (from `GET \/v1\/places` or a video\u2019s `location.id`).","schema":{"type":"string"}},{"name":"sort","required":false,"in":"query","description":"newest (posted most recently, the default) or most_views.","schema":{"default":"newest","type":"string","enum":["newest","most_views"]}},{"name":"limit","required":false,"in":"query","description":"Videos per page, up to 25 (values above 25 are clamped to 25). One call is one billed page.","schema":{"minimum":1,"maximum":25,"default":25,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number, up to 40 (values above are clamped), like `\/v1\/search\/videos`.","schema":{"minimum":1,"maximum":40,"default":1,"type":"number"}}],"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlaceVideosResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"404":{"description":"Unknown place id."},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Videos tagged at a place (beta)","tags":["Places"]}},"\/v1\/feedback":{"post":{"description":"Pass along a feature request, bug or data-quality problem on the user's behalf, once per distinct request and only after the user agreed to send it. Free. Limits: 5 an hour and 20 a day per key, 50 a day per team (429 past them; do not retry). The same message from the same team within 24 hours returns `duplicate: true` and is not stored again.","operationId":"V1FeedbackController_submit","parameters":[],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1FeedbackDto"}}}},"responses":{"200":{"description":"","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/V1FeedbackResponseDto"}}}},"401":{"description":"Missing or invalid API key (`missing_api_key` \/ `invalid_api_key`)","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RateLimitErrorResponse"}}}}},"security":[{"api-key":[]}],"summary":"Send feedback to the Virlo team","tags":["Feedback"]}}},"info":{"title":"Virlo Public API","description":"Short-form social intelligence across TikTok, YouTube Shorts, Instagram Reels and Meta ads: Content Research Agents, Topic Trends (`\/v1\/topic-trends`: what people are talking about, by region, each topic with a category), Content Trends (`\/v1\/content-trends`: video formats creators are copying), hashtags, sounds, hooks, creator lookups and tracking. Send your API key as `Authorization: Bearer virlo_tkn_...`. Guides and pricing: https:\/\/dev.virlo.ai\/docs","version":"1.0.0","contact":{}},"tags":[{"name":"Health","description":"Health check endpoints"},{"name":"Hashtags","description":"Hashtag analytics (v1)"},{"name":"Videos","description":"Video analytics (v1)"},{"name":"Topic Trends","description":"Topic Trends: what people are talking about right now, by region (shows, celebrities, memes, sports, local events, news), each topic with a category you can filter on. Daily ranked lists with momentum and example videos. For video formats creators are copying, see Content Trends (`\/v1\/content-trends`). (v1)"},{"name":"Trends","description":"Deprecated paths: use Topic Trends (`\/v1\/topic-trends`). These `\/v1\/trends` routes keep working with their original response. (v1)"},{"name":"YouTube","description":"YouTube-specific analytics (v1)"},{"name":"TikTok","description":"TikTok-specific analytics (v1)"},{"name":"Instagram","description":"Instagram-specific analytics (v1)"},{"name":"Content Research Agents","description":"One-time or recurring research agents over keywords and an intent (v1)"},{"name":"Orbit","description":"Deprecated: use Content Research Agents (v1)"},{"name":"Comet","description":"Deprecated: use Content Research Agents (v1)"},{"name":"Satellite","description":"Creator, sound, hashtag and video lookups (v1)"},{"name":"Sounds","description":"Trending, breakout and searchable sounds (v1)"},{"name":"Tracking","description":"Creator and video metric tracking with time-series snapshots (v1)"},{"name":"Audience","description":"Creator audience demographics and geography (v1)"},{"name":"Hooks","description":"Hook intelligence \u2014 trending\/search over 950k+ extracted hooks, taxonomy stats, curated templates, agent-scoped hook libraries (v1)"},{"name":"Content Trends","description":"Content Trends: video formats creators are copying right now, reviewed by the Virlo team, with lifecycle, creators per day and example videos. For topics people are talking about, see Topic Trends (`\/v1\/topic-trends`). (v1)"},{"name":"Search","description":"Search videos and creators across the Virlo library or your own research, by topic, look, platform, date, size and performance. 5 credits per library page of 25, own research free (v1)"},{"name":"Places","description":"Beta: place data is still sparse, and coverage grows daily as Virlo collects more. Places creators tag on TikTok and Instagram posts (venues and areas), how many videos are tagged at each, and the videos tagged there. A tag is the location a creator chose for a post; about 7% of TikTok and Instagram videos carry one, YouTube none (v1)"},{"name":"Webhooks","description":"Push notifications when runs, lookups and tracking cycles finish (v1)"},{"name":"Raw","description":"Live reads from TikTok, YouTube Shorts and Instagram Reels: search, hashtag, video, comments, transcript, creator and creator videos, in one normalized schema. 1 credit per call (v1)"},{"name":"Raw Meta Ads","description":"Live reads from the Meta Ad Library: ad search, one ad, advertiser search and one advertiser's ads, in one normalized schema. 1 credit per call (v1)"},{"name":"Account","description":"Account balance and credit management (v1)"},{"name":"Feedback","description":"Send the Virlo team a feature request, bug or data problem on the user's behalf. Free (v1)"}],"servers":[{"url":"https:\/\/api.virlo.ai","description":"Production"}],"components":{"securitySchemes":{"api-key":{"scheme":"bearer","bearerFormat":"API Key","type":"http","name":"Authorization","description":"Enter your customer API key (format: virlo_tkn_xxxxx)","in":"header"}},"schemas":{"V1HashtagItemDto":{"type":"object","properties":{"hashtag":{"type":"string","example":"fyp"},"count":{"type":"number","example":15234},"total_views":{"type":"number","example":45678900}},"required":["hashtag","count","total_views"]},"V1HashtagListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1HashtagItemDto"}}},"required":["data"]},"V1HashtagPerformanceDataDto":{"type":"object","properties":{"hashtag":{"type":"string","example":"fyp"},"video_count":{"type":"number","example":500},"total_views":{"type":"number","example":45678900},"avg_views":{"type":"number","example":91357},"total_likes":{"type":"number","example":5000000},"avg_likes":{"type":"number","example":10000},"total_comments":{"type":"number","example":250000},"avg_comments":{"type":"number","example":500}},"required":["hashtag","video_count","total_views","avg_views","total_likes","avg_likes","total_comments","avg_comments"]},"V1HashtagPerformanceResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/V1HashtagPerformanceDataDto"}},"required":["data"]},"VideoLocationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Virlo place id. Pass it to `GET \/v1\/places\/:id\/videos` for other videos tagged there."},"name":{"type":"string","description":"Place name as the platform shows it.","example":"Chadstone Shopping Centre"},"kind":{"type":"string","nullable":true,"enum":["venue","area"],"description":"`venue` (a business, landmark, beach, station...) or `area` (a suburb, city, state or country). Null when the platform sent no type (Instagram)."},"category":{"type":"string","nullable":true,"description":"TikTok\u2019s top-level place category (\"Food and Drink\", \"Shopping and Retail\", \"Outdoors and Attractions\"...). Null on Instagram.","example":"Shopping and Retail"},"locality":{"type":"string","nullable":true,"description":"Suburb or town read from the place\u2019s street address (AU, NZ, US and CA formats). Null when the address does not parse; never guessed.","example":"Malvern East"},"postcode":{"type":"string","nullable":true,"description":"Postcode from the place\u2019s street address.","example":"3145"},"city":{"type":"string","nullable":true,"description":"The platform\u2019s own area name for the place. On TikTok this is usually the city or local council (St Kilda sits in \"Port Phillip\").","example":"Stonnington"},"region":{"type":"string","nullable":true,"description":"State or province code read from the place\u2019s street address (VIC, NSW, NY, ON). Null when the address does not parse.","example":"VIC"},"country":{"type":"string","nullable":true,"description":"Country, ISO 3166 alpha-2.","example":"AU"},"lat":{"type":"number","nullable":true,"description":"Latitude of the place.","example":-37.8862},"lng":{"type":"number","nullable":true,"description":"Longitude of the place.","example":145.0835}},"required":["id","name","kind","category","locality","postcode","city","region","country","lat","lng"]},"V1VideoDigestSoundDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true},"cover_url":{"type":"string","nullable":true,"description":"Sound cover image URL. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","nullable":true},"owner_nickname":{"type":"string","nullable":true},"is_original":{"type":"boolean","nullable":true},"is_commerce_music":{"type":"boolean","nullable":true},"usage_count":{"type":"number","nullable":true},"platform":{"type":"string","nullable":true}},"required":["id"]},"V1VideoDigestItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/video\/123"},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok","description":"Platform the video was published on."},"type":{"type":"string","example":"tiktok","deprecated":true,"description":"Deprecated alias of `platform` (same value). Read `platform`."},"description":{"type":"string","nullable":true},"publish_date":{"type":"string","nullable":true},"views":{"type":"number","example":250000},"number_of_likes":{"type":"number"},"number_of_comments":{"type":"number"},"number_of_shares":{"type":"number"},"bookmarks":{"type":"number","example":22108,"description":"Save\/bookmark count."},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true,"description":"Duration in seconds."},"external_id":{"type":"string","description":"Platform-native video id."},"author_id":{"type":"string","nullable":true,"description":"Author id; null when the author row is not linked yet."},"niche":{"type":"string","nullable":true,"description":"AI-inferred niche slug."},"region":{"type":"string","nullable":true,"description":"Resolved upload region (ISO 3166-1 alpha-2), when available."},"upload_region":{"type":"string","nullable":true},"upload_region_source":{"type":"string","nullable":true,"description":"How upload_region was resolved."},"location":{"nullable":true,"description":"Beta. The place the creator tagged on the post (a TikTok or Instagram location tag), or null when the post carries no tag. A tag is the location the creator chose, usually where the video was filmed. About 7% of TikTok and Instagram videos carry one; YouTube has no place tag, so YouTube videos are always null.","allOf":[{"$ref":"#\/components\/schemas\/VideoLocationDto"}]},"transcript_raw":{"type":"string","nullable":true,"description":"Raw transcript when available."},"is_eligible_for_commission":{"type":"boolean","nullable":true,"description":"TikTok commission eligibility."},"is_duet":{"type":"boolean","description":"Whether this video is a TikTok duet. Always false for YouTube\/Instagram."},"is_stitch":{"type":"boolean","description":"Whether this video is a TikTok stitch. Always false for YouTube\/Instagram."},"sound":{"nullable":true,"description":"Nested sound metadata, or null.","allOf":[{"$ref":"#\/components\/schemas\/V1VideoDigestSoundDto"}]}},"required":["id","url","platform","type","views","location"]},"V1VideoDigestResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1VideoDigestItemDto"}}},"required":["data"]},"V1TrendRegionDto":{"type":"object","properties":{"code":{"type":"string","example":"global"},"name":{"type":"string","example":"Global"},"timezone":{"type":"string","example":"America\/New_York"}},"required":["code","name","timezone"]},"V1TrendRegionsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendRegionDto"}}},"required":["data"]},"V1TrendExemplarAuthorDto":{"type":"object","properties":{"username":{"type":"string","nullable":true,"example":"jane.creator"},"avatar_url":{"type":"string","nullable":true,"example":"https:\/\/cdn.virlo.dev\/avatars\/abc.jpg"},"verified":{"type":"boolean","nullable":true,"example":true}}},"V1TrendExemplarVideoDto":{"type":"object","properties":{"video_id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"url":{"type":"string","nullable":true,"example":"https:\/\/www.tiktok.com\/@example\/video\/12345"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"views":{"type":"number","example":1240000},"thumbnail_url":{"type":"string","nullable":true,"example":"https:\/\/cdn.virlo.dev\/thumbnails\/abc.jpg"},"publish_date":{"type":"string","nullable":true,"example":"2026-05-14T17:11:59Z"},"author":{"$ref":"#\/components\/schemas\/V1TrendExemplarAuthorDto"},"is_paid":{"type":"boolean","example":false,"description":"True when the post is paid distribution rather than organic reach: TikTok marked it boosted (ad spend) or a Paid partnership \/ Promotional content, Instagram marked it a paid partnership, or the caption discloses it (#ad, #sponsored, #<brand>partner, gifted). Its views reflect ad budget, so treat it as an ad, not an organic viral win. Paid exemplars are listed after organic ones."}},"required":["video_id","views","is_paid"]},"V1MomentumDto":{"type":"object","properties":{"score":{"type":"number","example":0.62,"description":"Normalized 0-1 heat derived from the current views\/hour of the trend\u2019s exemplars. Higher = hotter right now."},"status":{"type":"string","example":"rising","enum":["new","rising","steady","fading"],"description":"Lifecycle status. `new` = just detected, `rising` = accelerating, `steady` = flat, `fading` = decelerating."},"views_per_hour":{"type":"number","example":4200,"description":"Hourly view growth of the example videos between the last two snapshots, counting only videos measured at both."},"updated_at":{"type":"string","example":"2026-07-07T14:00:00.000Z","description":"When momentum was last recomputed (snapshot loop, ~2h cadence)."}},"required":["score","status","views_per_hour"]},"V1TopicDto":{"type":"object","properties":{"id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"name":{"type":"string","example":"Love Island Australia week 2 breakdowns"},"description":{"type":"string","nullable":true,"example":"Episodes five and six of Love Island Australia's eighth season aired this week..."},"category":{"type":"string","nullable":true,"enum":["entertainment","memes","sports","fashion_beauty","gaming_tech","lifestyle","politics","news"],"example":"entertainment","description":"What the topic is about. Null for a topic not categorised yet (usually minutes old). Values may be added over time; treat an unknown value as \"other\"."}},"required":["id","name","description","category"]},"V1TopicRankingDto":{"type":"object","properties":{"id":{"type":"string"},"trend_id":{"type":"string"},"trend_group_id":{"type":"string"},"ranking":{"type":"number","example":1},"scrape_status":{"type":"string","example":"success","enum":["pending","success","failed"],"description":"Status of the scrape job that links exemplar videos to this trend. `pending` while children are running, `success` when complete, `failed` if the scrape errored."},"exemplar_count":{"type":"number","example":141,"description":"Example videos the topic shows after the check against the topic, one per creator (not capped by top_exemplars)."},"top_exemplars":{"description":"Example videos that passed the check against the topic, one per creator, most-viewed first (checked before unchecked). Capped per request by the `top_exemplars` query param.","type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendExemplarVideoDto"}},"detected_at":{"type":"string","nullable":true,"example":"2026-07-06T11:12:03Z","description":"When this trend was first detected and entered its day container."},"last_seen_at":{"type":"string","nullable":true,"example":"2026-07-06T23:04:41Z","description":"Last intra-day analysis run that re-confirmed this trend. Null when the trend was only seen once."},"origin_region_codes":{"nullable":true,"example":["gb","us"],"description":"Provenance for cross-regional (e.g. 'global') trends: the regions whose independent detections evidenced this trend. Null for plain regional trends.","type":"array","items":{"type":"string"}},"global_confidence":{"type":"number","nullable":true,"example":0.92,"description":"Confidence (0-1) that this is genuinely the same cross-regional trend. Only set on synthesis-promoted global trends."},"velocity_today_count":{"type":"number","nullable":true,"example":87,"description":"Videos matching this trend in the last 24h at discovery time."},"velocity_median_views":{"type":"number","nullable":true,"example":240000,"description":"Median exemplar views at discovery time."},"momentum":{"description":"Live momentum signal, refreshed every ~2h by a stats-only loop. Null until the first snapshot runs for this trend, or while the topic has fewer than 3 example videos. Null means not measured, not zero growth.","allOf":[{"$ref":"#\/components\/schemas\/V1MomentumDto"}]},"trend":{"$ref":"#\/components\/schemas\/V1TopicDto"}},"required":["id","trend_id","trend_group_id","ranking","scrape_status","exemplar_count","top_exemplars","trend"]},"V1TopicGroupDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"region":{"type":"string","example":"global","description":"Region this trend group belongs to. 'global' is the default worldwide feed."},"local_date":{"type":"string","nullable":true,"example":"2026-07-06","description":"Calendar day of this group in the region's local timezone. Null only for legacy groups predating regionalization."},"title":{"type":"string","example":"Topic Trends for Nov 7"},"trends":{"description":"Topics in ranking order. `ranking` is the position in the full feed, so it can skip numbers when a category filter is set.","type":"array","items":{"$ref":"#\/components\/schemas\/V1TopicRankingDto"}}},"required":["id","region","title","trends"]},"V1TopicTrendsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TopicGroupDto"}}},"required":["data"]},"V1EmergingTopicDto":{"type":"object","properties":{"id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"name":{"type":"string","example":"Love Island Australia week 2 breakdowns"},"description":{"type":"string","nullable":true,"example":"Episodes five and six of Love Island Australia's eighth season aired this week..."},"category":{"type":"string","nullable":true,"enum":["entertainment","memes","sports","fashion_beauty","gaming_tech","lifestyle","politics","news"],"example":"entertainment","description":"What the topic is about. Null for a topic not categorised yet (usually minutes old). Values may be added over time; treat an unknown value as \"other\"."},"created_at":{"type":"string","example":"2026-11-07T09:12:03Z"}},"required":["id","name","description","category","created_at"]},"V1EmergingTopicItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"trend_id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"ranking":{"type":"number","example":3,"description":"Position of the trend in its daily container."},"region":{"type":"string","example":"gb","description":"Region this emerging trend belongs to."},"status":{"type":"string","example":"rising","enum":["new","rising"],"description":"Lifecycle status. The emerging feed only returns `new` (just detected) and `rising` (accelerating) trends."},"momentum_score":{"type":"number","example":0.71,"description":"Normalized 0-1 heat used to rank the emerging list. Uses live momentum when available, otherwise a velocity-band fallback until the first snapshot runs."},"views_per_hour":{"type":"number","nullable":true,"example":5200,"description":"Hourly view growth of the example videos between the last two snapshots, counting only videos measured at both. Null before the first snapshot."},"detected_at":{"type":"string","nullable":true,"example":"2026-07-07T09:12:03Z","description":"When this trend was first detected."},"last_seen_at":{"type":"string","nullable":true,"example":"2026-07-07T13:04:41Z","description":"Last intra-day analysis run that re-confirmed this trend."},"exemplar_count":{"type":"number","example":42,"description":"Example videos the topic shows after the check against the topic, one per creator."},"top_exemplars":{"description":"Example videos that passed the check against the topic, one per creator, most-viewed first (checked before unchecked). Capped by the `top_exemplars` query param.","type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendExemplarVideoDto"}},"trend":{"$ref":"#\/components\/schemas\/V1EmergingTopicDto"}},"required":["id","trend_id","ranking","region","status","momentum_score","exemplar_count","top_exemplars","trend"]},"V1EmergingTopicsResponseDto":{"type":"object","properties":{"region":{"type":"string","example":"au","description":"Region the emerging topics were pulled from."},"generated_at":{"type":"string","example":"2026-11-07T14:22:11.000Z","description":"When this response was generated (UTC)."},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1EmergingTopicItemDto"}}},"required":["region","generated_at","data"]},"V1TrendDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"name":{"type":"string","example":"AI-powered fitness coaching"},"description":{"type":"string","example":"Creators are using AI tools to create personalized workout plans"},"trend_type":{"type":"string","example":"content_format"}},"required":["id","name","description","trend_type"]},"V1TrendRankingDto":{"type":"object","properties":{"id":{"type":"string"},"trend_id":{"type":"string"},"trend_group_id":{"type":"string"},"ranking":{"type":"number","example":1},"scrape_status":{"type":"string","example":"success","enum":["pending","success","failed"],"description":"Status of the scrape job that links exemplar videos to this trend. `pending` while children are running, `success` when complete, `failed` if the scrape errored."},"exemplar_count":{"type":"number","example":141,"description":"Example videos the topic shows after the check against the topic, one per creator (not capped by top_exemplars)."},"top_exemplars":{"description":"Example videos that passed the check against the topic, one per creator, most-viewed first (checked before unchecked). Capped per request by the `top_exemplars` query param.","type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendExemplarVideoDto"}},"detected_at":{"type":"string","nullable":true,"example":"2026-07-06T11:12:03Z","description":"When this trend was first detected and entered its day container."},"last_seen_at":{"type":"string","nullable":true,"example":"2026-07-06T23:04:41Z","description":"Last intra-day analysis run that re-confirmed this trend. Null when the trend was only seen once."},"origin_region_codes":{"nullable":true,"example":["gb","us"],"description":"Provenance for cross-regional (e.g. 'global') trends: the regions whose independent detections evidenced this trend. Null for plain regional trends.","type":"array","items":{"type":"string"}},"global_confidence":{"type":"number","nullable":true,"example":0.92,"description":"Confidence (0-1) that this is genuinely the same cross-regional trend. Only set on synthesis-promoted global trends."},"velocity_today_count":{"type":"number","nullable":true,"example":87,"description":"Videos matching this trend in the last 24h at discovery time."},"velocity_median_views":{"type":"number","nullable":true,"example":240000,"description":"Median exemplar views at discovery time."},"momentum":{"description":"Live momentum signal, refreshed every ~2h by a stats-only loop. Null until the first snapshot runs for this trend, or while the topic has fewer than 3 example videos. Null means not measured, not zero growth.","allOf":[{"$ref":"#\/components\/schemas\/V1MomentumDto"}]},"trend":{"$ref":"#\/components\/schemas\/V1TrendDto"}},"required":["id","trend_id","trend_group_id","ranking","scrape_status","exemplar_count","top_exemplars","trend"]},"V1TrendGroupDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"title":{"type":"string","example":"Trends for Mar 18"},"region":{"type":"string","example":"global","description":"Region this trend group belongs to. 'global' is the default worldwide feed."},"local_date":{"type":"string","nullable":true,"example":"2026-07-06","description":"Calendar day of this group in the region's local timezone. Null only for legacy groups predating regionalization."},"trends":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendRankingDto"}}},"required":["id","title","region","trends"]},"V1TrendsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendGroupDto"}}},"required":["data"]},"V1EmergingTrendDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"trend_id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"ranking":{"type":"number","example":3,"description":"Position of the trend in its daily container."},"region":{"type":"string","example":"gb","description":"Region this emerging trend belongs to."},"status":{"type":"string","example":"rising","enum":["new","rising"],"description":"Lifecycle status. The emerging feed only returns `new` (just detected) and `rising` (accelerating) trends."},"momentum_score":{"type":"number","example":0.71,"description":"Normalized 0-1 heat used to rank the emerging list. Uses live momentum when available, otherwise a velocity-band fallback until the first snapshot runs."},"views_per_hour":{"type":"number","nullable":true,"example":5200,"description":"Hourly view growth of the example videos between the last two snapshots, counting only videos measured at both. Null before the first snapshot."},"detected_at":{"type":"string","nullable":true,"example":"2026-07-07T09:12:03Z","description":"When this trend was first detected."},"last_seen_at":{"type":"string","nullable":true,"example":"2026-07-07T13:04:41Z","description":"Last intra-day analysis run that re-confirmed this trend."},"exemplar_count":{"type":"number","example":42,"description":"Example videos the topic shows after the check against the topic, one per creator."},"top_exemplars":{"description":"Example videos that passed the check against the topic, one per creator, most-viewed first (checked before unchecked). Capped by the `top_exemplars` query param.","type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendExemplarVideoDto"}},"trend":{"$ref":"#\/components\/schemas\/V1TrendDto"}},"required":["id","trend_id","ranking","region","status","momentum_score","exemplar_count","top_exemplars","trend"]},"V1EmergingTrendsResponseDto":{"type":"object","properties":{"region":{"type":"string","example":"gb","description":"Region the emerging trends were pulled from."},"generated_at":{"type":"string","example":"2026-07-07T14:22:11.000Z","description":"When this response was generated (UTC)."},"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1EmergingTrendDto"}}},"required":["region","generated_at","data"]},"V1QueueKeywordSearchDto":{"type":"object","properties":{"name":{"type":"string","description":"Name for this keyword search","example":"Brainrot Content Analysis"},"keywords":{"description":"Array of keywords to search for (max 10)","example":["Brainrot","Brainrot Content"],"type":"array","items":{"type":"string"}},"platforms":{"type":"array","description":"Platforms to scrape from","example":["youtube","tiktok","instagram"],"items":{"type":"string","enum":["youtube","tiktok","instagram"]}},"min_views":{"type":"number","description":"[Deprecated] Previously set the scrape-time minimum view threshold. Collection scope is now system-managed \u2014 agents collect the widest relevant net so no content is missed, and you filter by views at READ time on GET \/v1\/orbit\/:orbit_id\/videos (`min_views`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":30000,"deprecated":true},"time_period":{"type":"string","description":"[Deprecated] Previously set the scrape-time publish-date window. Collection scope is now system-managed \u2014 agents collect broadly, and you filter by date at READ time on GET \/v1\/orbit\/:orbit_id\/videos (`start_date` \/ `end_date`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":"this_week","enum":["today","this_week","this_month","this_year"],"deprecated":true},"run_analysis":{"type":"boolean","description":"[Deprecated] Previously controlled whether the scraper produced an inline text analysis for this orbit. AI analysis is now generated automatically for every completed orbit via the unified viral_insights pipeline, and is exposed through GET \/v1\/orbit\/:orbit_id\/analysis and \/trends. This flag is still accepted for backward compatibility but has no effect \u2014 it will never be removed.","example":true,"default":false,"deprecated":true},"enable_meta_ads":{"type":"boolean","description":"Enable Meta ads collection for this search","example":true,"default":false},"exclude_keywords":{"description":"Noise terms to filter out \u2014 matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.","example":["recipe","fruit","orchard"],"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean","description":"If true, also match exclude_keywords against the video transcript (speech), not just the caption\/hashtags \u2014 use when the noise word is spoken but rarely written. Default false.","example":false,"default":false},"intent":{"type":"string","description":"Intent or purpose for this keyword search","example":"Find viral brainrot content for trend analysis"},"data_intelligence_enabled":{"type":"boolean","description":"Enable per-video AI intelligence: 79 structured fields per analyzed video and 70 per analyzed slideshow, covering topics, hooks, sentiment, brand safety, on-screen people and AI provenance. Not every item is analyzed: content that is off-intent, more than a year old (unless among the run's top performers), or that got no more views than its creator has followers is skipped and returns `intelligence_status: \"skipped\"`. Adds 100 credits to the 50-credit base, so 150 credits per run in total.","example":false,"default":false},"english_only":{"type":"boolean","description":"When true (default), only English-language content is collected. Set false to collect content in any language.","default":true}},"required":["name","keywords"]},"QueueOrbitDataDto":{"type":"object","properties":{"orbit_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"status":{"type":"string","example":"queued"},"message":{"type":"string","example":"Keyword search job queued with max priority."}},"required":["orbit_id","status","message"]},"QueueOrbitResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/QueueOrbitDataDto"}},"required":["data"]},"V1OutlierVideoDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"title":{"type":"string","example":"How I grew to 100k followers"},"description":{"type":"string","example":"Full description of the video"},"views":{"type":"number","example":250000},"likes":{"type":"number","example":12000},"comments":{"type":"number","example":340},"publish_date":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true,"description":"ISO publish timestamp."},"publishDate":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true,"deprecated":true,"description":"Deprecated camelCase alias for `publish_date`. Removed Aug 3, 2026."},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/video\/123"},"hashtags":{"example":["fyp","viral"],"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","example":"https:\/\/storage.example.com\/thumbnails\/abc.jpg"},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok","description":"Platform the video was published on."},"type":{"type":"string","example":"tiktok","deprecated":true,"description":"Deprecated alias of `platform` (same value). Read `platform`."}},"required":["id","title","description","views","likes","comments","url","hashtags","thumbnail_url","platform","type"]},"V1OutlierItemDto":{"type":"object","properties":{"author_id":{"type":"string","format":"uuid","example":"a1b2c3d4-5e6f-7890-abcd-ef1234567890","nullable":true,"description":"Stable creator identifier. Pass this as `:creator_id` to `GET \/v1\/comet\/:id\/creators\/:creator_id\/similar`. Null only when the upstream record has no linked author."},"creator_url":{"type":"string","example":"https:\/\/www.tiktok.com\/@creator","nullable":true},"creator_avatar_url":{"type":"string","example":"https:\/\/storage.example.com\/avatars\/abc.jpg","nullable":true},"follower_count":{"type":"number","example":50000,"nullable":true},"avg_views":{"type":"number","example":250000,"nullable":true,"description":"Average views across the creator's analyzed videos. Null when `order_by=rising` \u2014 the velocity ranking exposes `growth_*` instead of outlier metrics."},"outlier_ratio":{"type":"number","example":5,"nullable":true,"description":"How far the creator outperforms its follower count. Null when `order_by=rising` (not applicable to a velocity ranking)."},"weighted_score":{"type":"number","example":26.9,"description":"Size-weighted outlier score (Virality Score)"},"videos_analyzed":{"type":"number","example":20},"creator_topics":{"example":["fitness","health"],"description":"Empty on `order_by=rising` (velocity snapshots carry no topic data \u2014 pass `category` to use the topic-aware weighted ranking instead).","type":"array","items":{"type":"string"}},"matching_topics":{"example":["fitness"],"description":"Empty on `order_by=rising` (see `creator_topics`).","type":"array","items":{"type":"string"}},"platform":{"type":"string","example":"tiktok","nullable":true},"identified_at":{"type":"string","example":"2026-01-20T15:00:00.000Z","nullable":true,"description":"Null when `order_by=rising`."},"median_views":{"type":"number","example":180000,"nullable":true,"description":"Median views across the creator's analyzed videos \u2014 a robust \"typical reach\" that a single viral spike cannot inflate. Null when `order_by=rising`."},"top_video_views":{"type":"number","example":990000,"nullable":true,"description":"Views of the creator's best analyzed video (the breakout headline). Null when `order_by=rising`."},"breakout_video_count":{"type":"number","example":7,"description":"How many analyzed videos individually overperformed (consistency signal). Pairs with `videos_analyzed` as \"N of M videos overperformed\"."},"avg_engagement_rate":{"type":"number","example":0.0842,"nullable":true,"description":"Mean engagement rate = (likes+comments+shares+bookmarks)\/views across analyzed videos. Null when the platform does not expose the underlying counts."},"posts_per_week":{"type":"number","example":4.5,"nullable":true,"description":"Posting cadence (posts per week) derived from the publish-date spread of analyzed videos. Null when there are too few dated videos."},"content_angle":{"type":"string","example":"Turns dry insurance topics into fast, myth-busting explainers with a strong first-line hook.","nullable":true,"description":"One-sentence AI rationale describing what this creator does that makes them stand out. Null when unavailable."},"growth_followers":{"type":"number","example":1200,"nullable":true,"description":"Phase 3 (`order_by=rising` only): change in follower count vs the previous run. Null otherwise."},"growth_views":{"type":"number","example":450000,"nullable":true,"description":"Phase 3 (`order_by=rising` only): change in total niche views vs the previous run. Null otherwise."},"growth_video_count":{"type":"number","example":4,"nullable":true,"description":"Phase 3 (`order_by=rising` only): change in the creator's niche video count vs the previous run. Null otherwise."},"local_video_count":{"type":"number","example":12,"description":"Phase 3 (`order_by=rising` only): number of this creator's videos in the niche."},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1OutlierVideoDto"}}},"required":["author_id","creator_url","creator_avatar_url","follower_count","avg_views","outlier_ratio","videos_analyzed","creator_topics","matching_topics","platform","identified_at"]},"OrbitOutliersDataDto":{"type":"object","properties":{"orbit_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"orbit_name":{"type":"string","nullable":true},"total":{"type":"number","example":15},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"hasMore":{"type":"boolean","example":false},"outliers":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1OutlierItemDto"}}},"required":["orbit_id","total","limit","offset","hasMore","outliers"]},"OrbitOutliersResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitOutliersDataDto"}},"required":["data"]},"SlideshowImageDto":{"type":"object","properties":{"image_url":{"type":"string","example":"https:\/\/storage.example.com\/slideshow-images\/abc.webp"},"position":{"type":"number","example":0}},"required":["image_url","position"]},"V1AuthorDto":{"type":"object","properties":{"username":{"type":"string","example":"creator_handle"},"avatar_url":{"type":"string","example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/avatars\/abc.jpg","nullable":true,"description":"Creator avatar URL. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"followers":{"type":"number","example":160726},"verified":{"type":"boolean","example":false},"country":{"type":"string","nullable":true,"example":"US","description":"Creator's country (ISO-3166-1 alpha-2), when the platform exposes it. Distinct from a video's `upload_region`."}},"required":["username","avatar_url","followers","verified"]},"OrbitSlideshowItemDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/photo\/123"},"description":{"type":"string","nullable":true},"platform":{"type":"string","example":"tiktok"},"views":{"type":"number","example":250000},"likes":{"type":"number","example":12000},"shares":{"type":"number","example":500},"comments":{"type":"number","example":340},"bookmarks":{"type":"number","example":1200,"nullable":true},"publish_date":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"hashtags":{"example":["fyp","viral"],"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"images":{"type":"array","items":{"$ref":"#\/components\/schemas\/SlideshowImageDto"}},"author":{"$ref":"#\/components\/schemas\/V1AuthorDto"},"keyword_found_by":{"type":"string","example":"fitness tips"},"is_eligible_for_commission":{"type":"boolean","example":false},"region":{"type":"string","example":"US","nullable":true},"intelligence":{"type":"object","nullable":true,"description":"Per-slideshow AI intelligence payload (panel-text analysis, hook, brand safety, etc.). Slideshow intelligence is a separate schema from video intelligence \u2014 see the Data Intelligence docs. null when not ready or not requested \u2014 see `intelligence_status` for why.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"],"example":"pending","description":"Disambiguates a null `intelligence` field: `ready` (use it), `pending` (still being generated \u2014 poll later or wait for webhook), `disabled` (parent orbit didn't enable data_intelligence_enabled, so it will never arrive), `skipped` (deliberately not analyzed, so it will never arrive; see `intelligence_skip_reason`), `failed` (reserved for future use). Optional for backwards compatibility."},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."}},"required":["url","platform","views","likes","shares","comments","hashtags","images"]},"OrbitSlideshowsDataDto":{"type":"object","properties":{"orbit_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"orbit_name":{"type":"string","nullable":true},"total":{"type":"number","example":210},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"slideshows":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitSlideshowItemDto"}}},"required":["orbit_id","total","limit","offset","slideshows"]},"OrbitSlideshowsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitSlideshowsDataDto"}},"required":["data"]},"V1SoundDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"Virlo's internal sound ID (UUID). Use this for the \/v1\/sounds\/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works \u2014 it is auto-resolved to the sound's platform + external_id."},"external_id":{"type":"string","example":"7559312683885201425","nullable":true,"description":"Platform-native sound identifier (TikTok music\/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup \u2014 call GET \/v1\/satellite\/sounds\/{platform}\/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id."},"title":{"type":"string","example":"Chopin Nocturne No. 2 Piano Mono"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"duration":{"type":"number","example":246,"nullable":true,"description":"Duration in seconds. Available on TikTok only."},"cover_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/sound-covers\/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg","description":"Sound cover image URL. Available on TikTok and YouTube. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","example":"@someone","nullable":true,"description":"Sound owner handle. Partially available on TikTok (~12%)."},"owner_nickname":{"type":"string","example":"Someone","nullable":true,"description":"Sound owner display name. Available on TikTok, YouTube, Instagram."},"is_original":{"type":"boolean","nullable":true,"description":"Whether the sound is an original creation. TikTok only."},"is_commerce_music":{"type":"boolean","nullable":true,"description":"Whether the sound is cleared for commercial use. TikTok only."},"usage_count":{"type":"number","example":5999231,"nullable":true,"description":"Platform-wide usage count. TikTok only."}},"required":["id","title","platform"]},"OrbitVideoItemDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/video\/123"},"description":{"type":"string","nullable":true},"platform":{"type":"string","example":"tiktok"},"views":{"type":"number","example":250000},"likes":{"type":"number","example":12000},"shares":{"type":"number","example":500},"comments":{"type":"number","example":340},"bookmarks":{"type":"number","example":1200,"nullable":true},"publish_date":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"hashtags":{"example":["fyp","viral"],"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"author":{"$ref":"#\/components\/schemas\/V1AuthorDto"},"keyword_found_by":{"type":"string","example":"fitness tips"},"sound":{"nullable":true,"description":"Sound\/audio metadata associated with this video. null if no sound data is available.","allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]},"intelligence":{"type":"object","nullable":true,"description":"Per-video AI intelligence payload (themes, hook analysis, etc.). null when not ready or not requested \u2014 see `intelligence_status` for why.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"],"example":"pending","description":"Disambiguates a null `intelligence` field: `ready` (use it), `pending` (still being generated \u2014 poll later or wait for webhook), `disabled` (parent orbit didn't enable data_intelligence_enabled, so it will never arrive), `skipped` (deliberately not analyzed, so it will never arrive; see `intelligence_skip_reason`), `failed` (reserved for future use). Optional for backwards compatibility."},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."}},"required":["url","platform","views","likes","shares","comments","hashtags"]},"OrbitVideosDataDto":{"type":"object","properties":{"orbit_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"orbit_name":{"type":"string","nullable":true},"total":{"type":"number","example":150},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitVideoItemDto"}}},"required":["orbit_id","total","limit","offset","videos"]},"OrbitVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitVideosDataDto"}},"required":["data"]},"OrbitAdItemDto":{"type":"object","properties":{"id":{"type":"number","example":1234},"ad_archive_id":{"type":"string","example":"987654321","nullable":true},"page_id":{"type":"string","example":"111222333","nullable":true},"page_profile_url":{"type":"string","nullable":true},"page_profile_picture_url":{"type":"string","nullable":true},"is_active":{"type":"boolean","example":true,"nullable":true},"start_date":{"type":"string","example":"2026-01-01T00:00:00.000Z","nullable":true},"end_date":{"type":"string","example":"2026-02-01T00:00:00.000Z","nullable":true},"url":{"type":"string","example":"https:\/\/example.com\/ad","nullable":true},"caption":{"type":"string","nullable":true},"body":{"type":"string","nullable":true},"cta_type":{"type":"string","example":"SHOP_NOW","nullable":true},"page_like_count":{"type":"number","example":50000,"nullable":true},"title":{"type":"string","nullable":true},"video_url":{"type":"string","nullable":true,"description":"Playable video link. Facebook video links expire after a few days; on `GET \/v1\/agents\/:id\/ads` an expired link is refreshed from the Ad Library when possible, otherwise null."},"poster_url":{"type":"string","nullable":true,"description":"Still image for the ad: the video preview frame, or the first image of an image ad. `GET \/v1\/agents\/:id\/ads` only; links expire after a few days."},"image_urls":{"description":"Images of an image or carousel ad (up to 10). `GET \/v1\/agents\/:id\/ads` only; links expire after a few days.","type":"array","items":{"type":"string"}},"display_format":{"type":"string","nullable":true,"example":"VIDEO","description":"Creative format as the Ad Library reports it: VIDEO, IMAGE, CAROUSEL, DCO and others. `GET \/v1\/agents\/:id\/ads` only."},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"keyword_found_by":{"type":"string","example":"fitness tips"}},"required":["id","ad_archive_id","page_id","created_at"]},"OrbitAdsDataDto":{"type":"object","properties":{"orbit_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"orbit_name":{"type":"string","nullable":true},"total":{"type":"number","example":30},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"ads":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitAdItemDto"}}},"required":["orbit_id","total","limit","offset","ads"]},"OrbitAdsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitAdsDataDto"}},"required":["data"]},"OrbitListItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"name":{"type":"string","example":"My keyword search","nullable":true},"keywords":{"example":["fitness","workout"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube"],"type":"array","items":{"type":"string"}},"status":{"type":"string","example":"completed"},"totalVideos":{"type":"number","description":"Total videos found","example":150},"createdAt":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"executionTimeMs":{"type":"number","example":45000,"nullable":true}},"required":["id","keywords","platforms","status","totalVideos","createdAt"]},"OrbitListDataDto":{"type":"object","properties":{"total":{"type":"number","example":25},"limit":{"type":"number","example":10},"offset":{"type":"number","example":0},"orbits":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitListItemDto"}}},"required":["total","limit","offset","orbits"]},"OrbitListResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitListDataDto"}},"required":["data"]},"PendingJobDto":{"type":"object","properties":{"type":{"type":"string","description":"Stable identifier for the kind of secondary job. Use this to switch on the field where the result will appear (see `result_path`).","enum":["viral_analysis","audience_demographics","audience_geography","tracking_report","data_intelligence"],"example":"viral_analysis"},"status":{"type":"string","description":"Current non-terminal state of the job. Once the job reaches a terminal state (ready \/ failed \/ skipped) the entry is removed from `pending_jobs[]`.","enum":["pending","processing"],"example":"processing"},"job_id":{"type":"string","description":"Optional opaque identifier for the underlying job, when one exists. Useful with `poll_url` to fetch the result directly.","example":"aud_01HXYZ"},"poll_url":{"type":"string","description":"Path (relative to api.virlo.ai) you can GET to fetch the result of this job once it is ready. Free to call.","example":"\/v1\/orbit\/orb_01HXYZ\/analysis\/latest"},"result_path":{"type":"string","description":"Dot-path inside the parent resource's response body where the completed result will appear. Useful for clients that re-fetch the resource instead of using `poll_url`.","example":"data.analysis_data"},"webhook_event":{"type":"string","description":"Name of an event from the existing `SUPPORTED_EVENTS` list that fires when this job reaches a terminal state. Subscribe to it via POST \/v1\/webhooks to avoid polling. Guaranteed to be one of the already-supported event names so existing webhook subscriptions keep working \u2014 no new event types were introduced.","example":"orbit.run.completed"},"started_at":{"type":"string","description":"When the job entered its current state (ISO 8601 UTC).","example":"2026-05-22T05:00:00.000Z"},"retry_after_seconds":{"type":"number","description":"Suggested minimum delay (seconds) before polling again. Respect this to avoid hitting rate limits.","example":15}},"required":["type","status"]},"OrbitTrendItemDto":{"type":"object","properties":{"name":{"type":"string","example":"AI-powered fitness coaching"},"description":{"type":"string","example":"Creators using AI tools for personalized plans"},"videoCount":{"type":"number","example":12},"confidence":{"type":"number","example":0.85}},"required":["name","description","videoCount","confidence"]},"V1MetaAdDto":{"type":"object","properties":{"id":{"type":"number","example":1234},"ad_archive_id":{"type":"string","example":"987654321","nullable":true},"page_id":{"type":"string","example":"111222333","nullable":true},"page_profile_url":{"type":"string","nullable":true},"page_profile_picture_url":{"type":"string","nullable":true},"is_active":{"type":"boolean","example":true,"nullable":true},"start_date":{"type":"string","example":"2026-01-01T00:00:00.000Z","nullable":true},"end_date":{"type":"string","example":"2026-02-01T00:00:00.000Z","nullable":true},"url":{"type":"string","example":"https:\/\/example.com\/ad","nullable":true},"caption":{"type":"string","nullable":true},"body":{"type":"string","nullable":true},"cta_type":{"type":"string","example":"SHOP_NOW","nullable":true},"page_like_count":{"type":"number","example":50000,"nullable":true},"title":{"type":"string","nullable":true},"video_url":{"type":"string","nullable":true,"description":"Playable video link. Facebook video links expire after a few days; on `GET \/v1\/agents\/:id\/ads` an expired link is refreshed from the Ad Library when possible, otherwise null."},"poster_url":{"type":"string","nullable":true,"description":"Still image for the ad: the video preview frame, or the first image of an image ad. `GET \/v1\/agents\/:id\/ads` only; links expire after a few days."},"image_urls":{"description":"Images of an image or carousel ad (up to 10). `GET \/v1\/agents\/:id\/ads` only; links expire after a few days.","type":"array","items":{"type":"string"}},"display_format":{"type":"string","nullable":true,"example":"VIDEO","description":"Creative format as the Ad Library reports it: VIDEO, IMAGE, CAROUSEL, DCO and others. `GET \/v1\/agents\/:id\/ads` only."},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"}},"required":["id","ad_archive_id","page_id","created_at"]},"KeywordBreakdownItemDto":{"type":"object","properties":{"keyword":{"type":"string","example":"matcha routine"},"video_count":{"type":"number","example":42}},"required":["keyword","video_count"]},"OrbitResultsDto":{"type":"object","properties":{"total_videos":{"type":"number","example":150},"total_slideshows":{"type":"number","example":210},"youtube_count":{"type":"number","example":50},"tiktok_count":{"type":"number","example":80},"instagram_count":{"type":"number","example":20},"trends":{"description":"AI-identified narrative trends (may be empty)","type":"array","items":{"$ref":"#\/components\/schemas\/OrbitTrendItemDto"}},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitVideoItemDto"}},"slideshows":{"type":"array","items":{"$ref":"#\/components\/schemas\/OrbitSlideshowItemDto"}},"ads":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1MetaAdDto"}},"execution_time_ms":{"type":"number","example":45000,"nullable":true},"keyword_breakdown":{"description":"Keyword breakdown data","type":"array","items":{"$ref":"#\/components\/schemas\/KeywordBreakdownItemDto"}}},"required":["total_videos","total_slideshows","youtube_count","tiktok_count","instagram_count","trends","videos","slideshows","ads"]},"OrbitDetailDataDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"status":{"type":"string","example":"completed","description":"pending | processing | completed | partial_failure | failed"},"finalized":{"type":"boolean","example":false,"description":"True when this resource will not change anymore: its main job is in a terminal state AND `pending_jobs` is empty. Optional for backwards compatibility; absent on responses where the field was not yet emitted."},"pending_jobs":{"description":"Secondary jobs (e.g. viral analysis, trends) still running after the main scrape completed. Always an array, never null. Empty when nothing is pending. Each entry tells you where the result will land (`result_path`), how to poll (`poll_url`), and which webhook fires (`webhook_event`).","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}},"name":{"type":"string","example":"My keyword search","nullable":true},"keywords":{"example":["fitness","workout"],"type":"array","items":{"type":"string"}},"intent":{"type":"string","nullable":true},"data_intelligence_enabled":{"type":"boolean","example":false,"description":"Whether per-video AI intelligence is enabled. When true, each run costs 150 credits (base 50 credits + intelligence 100 credits)."},"analysis":{"type":"string","nullable":true,"description":"Short human-readable highlight from the latest AI analysis, sourced from analysis_data.key_highlight. null until the analysis pipeline completes. For the full structured object use `analysis_data` or GET \/v1\/orbit\/:orbit_id\/analysis."},"analysis_data":{"type":"object","nullable":true,"description":"Full structured AI analysis object (themes, connecting_thread, viral_tactics, timing_analysis, top_10_breakdown, \u2026). null until the analysis pipeline completes.","additionalProperties":true},"analysis_batch_start":{"type":"string","nullable":true,"description":"Start of the batch window for the latest analysis (ISO-8601)","example":"2026-04-14T00:00:00.000Z"},"analysis_batch_end":{"type":"string","nullable":true,"description":"End of the batch window for the latest analysis (ISO-8601)","example":"2026-04-21T00:00:00.000Z"},"started_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"order_by":{"type":"string","example":"views"},"sort":{"type":"string","example":"desc"},"results":{"nullable":true,"description":"null until status is completed","allOf":[{"$ref":"#\/components\/schemas\/OrbitResultsDto"}]}},"required":["id","status","keywords","data_intelligence_enabled","started_at"]},"OrbitDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/OrbitDetailDataDto"}},"required":["data"]},"V1TrendTopCreatorDto":{"type":"object","properties":{"username":{"type":"string","example":"@creator_handle","nullable":true},"platform":{"type":"string","example":"tiktok","nullable":true},"followers":{"type":"number","example":120000,"nullable":true},"video_count":{"type":"number","example":3,"nullable":true},"total_views":{"type":"number","example":850000,"nullable":true}}},"V1TrendItemDto":{"type":"object","properties":{"id":{"type":"string","example":"7f4a7c01-2a08-4ef1-9a12-4f8e3a44d65e","description":"Unique ID of this trend row in viral_insight_trends"},"viral_insight_id":{"type":"string","example":"95f2a50b-8e9f-4a8f-a0d0-14c31d3e82c2","description":"UUID of the viral_insights row (AI analysis batch) that produced this trend"},"insight_type":{"type":"string","enum":["custom_niche","orbit"],"example":"custom_niche"},"reference_id":{"type":"string","description":"ID of the parent comet (custom_niche_configurations.id) or orbit (scraper_runs.id) this trend belongs to","example":"550e8400-e29b-41d4-a716-446655440000"},"batch_start":{"type":"string","description":"Start of the collection window this trend was detected in (ISO-8601)","example":"2026-04-14T00:00:00.000Z"},"batch_end":{"type":"string","description":"End of the collection window (ISO-8601)","example":"2026-04-21T00:00:00.000Z"},"rank":{"type":"number","description":"Position of this trend within its batch (1 = strongest). Stable across requests for the same batch.","example":1},"stable_key":{"type":"string","description":"Stable identifier preserved across cycles when the same trend reappears. Use this to build a time series for a single trend.","example":"ai-fitness-coaching"},"name":{"type":"string","example":"AI-powered fitness coaching"},"why_it_works":{"type":"string","example":"Creators are pairing AI-generated plans with relatable before\/after content, driving 3x higher completion rates.","nullable":true},"tactics":{"example":["AI-personalized workout plans","Before\/after transformation overlays"],"description":"Specific creative tactics the LLM identified inside this trend","type":"array","items":{"type":"string"}},"confidence":{"type":"number","example":0.82,"description":"0\u20131 model confidence that this is a real, repeatable trend","nullable":true},"evidence_video_ids":{"description":"IDs of videos from the batch that exemplify this trend. Guaranteed to be a subset of the analyzed batch.","type":"array","items":{"type":"string"}},"evidence_videos":{"description":"Enriched evidence video objects with id, url, and platform. NULL for trends created before this field was introduced. Use this to resolve video URLs directly without paginating orbit\/comet videos.","example":[{"id":"37e50cea-3b30-4440-b183-aa37aeddaf32","url":"https:\/\/www.tiktok.com\/@creator\/video\/7629442666748513549","platform":"tiktok"}],"nullable":true,"type":"array","items":{"type":"object","additionalProperties":true}},"video_count":{"type":"number","example":12,"nullable":true},"total_views":{"type":"number","example":4250000,"nullable":true},"total_likes":{"type":"number","example":320000,"nullable":true},"total_comments":{"type":"number","example":18500,"nullable":true},"total_shares":{"type":"number","example":24000,"nullable":true},"avg_virality_score":{"type":"number","example":0.73,"nullable":true},"platform_breakdown":{"type":"object","description":"Video counts keyed by platform (e.g. { \"tiktok\": 7, \"youtube\": 3, \"instagram\": 2 })","example":{"tiktok":7,"youtube":3,"instagram":2},"nullable":true,"additionalProperties":true},"top_creators":{"description":"Top creators driving this trend in the current batch","nullable":true,"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendTopCreatorDto"}},"peak_hour_utc":{"type":"number","description":"Hour of day (UTC, 0-23) with the most evidence videos","example":19,"nullable":true},"status":{"type":"string","enum":["new","rising","steady","fading"],"description":"Classification vs. the previous cycle. `new` = not seen before, `rising`\/`fading` = >=25% change in volume, `steady` otherwise.","example":"rising","nullable":true},"first_seen_at":{"type":"string","description":"Timestamp (ISO-8601) of the first cycle this trend was detected. Lets you compute how long a trend has been around.","example":"2026-03-10T00:00:00.000Z","nullable":true},"prev_video_count":{"type":"number","example":8,"nullable":true},"prev_total_views":{"type":"number","example":2800000,"nullable":true},"created_at":{"type":"string","example":"2026-04-21T00:15:22.000Z"}},"required":["id","viral_insight_id","insight_type","reference_id","batch_start","batch_end","rank","stable_key","name","created_at"]},"V1TrendsLatestBatchDataDto":{"type":"object","properties":{"reference_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"insight_type":{"type":"string","enum":["custom_niche","orbit"]},"viral_insight_id":{"type":"string","description":"UUID of the viral_insights batch these trends came from","example":"95f2a50b-8e9f-4a8f-a0d0-14c31d3e82c2","nullable":true},"batch_start":{"type":"string","description":"Start of the collection window (ISO-8601)","example":"2026-04-14T00:00:00.000Z","nullable":true},"batch_end":{"type":"string","description":"End of the collection window (ISO-8601)","example":"2026-04-21T00:00:00.000Z","nullable":true},"total":{"type":"number","example":5},"trends":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendItemDto"}}},"required":["reference_id","insight_type","total","trends"]},"V1TrendsLatestBatchResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/V1TrendsLatestBatchDataDto"}},"required":["data"]},"PaginationMetaDto":{"type":"object","properties":{"page":{"type":"number","example":1},"limit":{"type":"number","example":20},"total":{"type":"number","example":42},"total_pages":{"type":"number","example":3},"has_next_page":{"type":"boolean","example":true},"has_prev_page":{"type":"boolean","example":false}},"required":["page","limit","total","total_pages","has_next_page","has_prev_page"]},"AgentTrendsHistoryResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1TrendItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"V1AnalysisItemDto":{"type":"object","properties":{"id":{"type":"string","example":"95f2a50b-8e9f-4a8f-a0d0-14c31d3e82c2"},"insight_type":{"type":"string","enum":["custom_niche","orbit"]},"reference_id":{"type":"string"},"batch_start":{"type":"string","example":"2026-04-14T00:00:00.000Z"},"batch_end":{"type":"string","example":"2026-04-21T00:00:00.000Z"},"analysis":{"type":"string","description":"Short human-readable highlight (\"analysis\" string shown in the web app). Sourced from analysis_data.key_highlight.","example":"TikTok creators are leading the week on AI fitness.","nullable":true},"analysis_data":{"type":"object","description":"Full structured analysis object produced by the LLM. Includes themes (trends), connecting_thread, viral_tactics, timing_analysis, top_10_breakdown, etc. Additive fields may appear over time \u2014 callers should treat unknown keys as optional.","additionalProperties":true},"video_count":{"type":"number","example":75,"nullable":true},"analyzed_video_ids":{"description":"IDs of videos analyzed","type":"array","items":{"type":"string"}},"created_at":{"type":"string","example":"2026-04-21T00:15:22.000Z"}},"required":["id","insight_type","reference_id","batch_start","batch_end","analysis_data","created_at"]},"V1AnalysisLatestResponseDto":{"type":"object","properties":{"data":{"description":"Latest completed analysis, or null if none exists yet","nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AnalysisItemDto"}]}},"required":["data"]},"AgentAnalysisHistoryResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1AnalysisItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"V1CreateCometDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the custom niche configuration","example":"Tech Reviews"},"keywords":{"description":"Array of keywords to search for (1-20 keywords). Hashtag-style tokens are normalised: a leading \"#\" is stripped and whitespace collapsed, so \"#progressivehouse\" and \"progressivehouse\" are equivalent.","example":["progressive house","#melodictechno"],"type":"array","items":{"type":"string"}},"platforms":{"type":"array","description":"Platforms to scrape from","example":["youtube","tiktok"],"items":{"type":"string","enum":["youtube","tiktok","instagram"]}},"cadence":{"type":"string","description":"Schedule cadence: \"daily\", \"weekly\", \"monthly\", or a cron expression (minimum daily)","example":"daily"},"min_views":{"type":"number","description":"[Deprecated] Previously set the scrape-time minimum view threshold. Collection scope is now system-managed \u2014 recurring agents collect the widest relevant net each cycle so no content is missed, and you filter by views at READ time on GET \/v1\/comet\/:comet_id\/videos (`min_views`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":10000,"deprecated":true},"time_range":{"type":"string","description":"[Deprecated] Previously set the scrape-time publish-date window. Collection scope is now system-managed and cadence-aware (a weekly agent scans the past week, a monthly agent the past month, etc.), and you filter by date at READ time on GET \/v1\/comet\/:comet_id\/videos (`start_date` \/ `end_date`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":"this_week","enum":["today","this_week","this_month","this_year"],"deprecated":true},"is_active":{"type":"boolean","description":"Whether the configuration is active","example":true,"default":true},"meta_ads_enabled":{"type":"boolean","description":"Enable Meta ads collection","example":true,"default":false},"exclude_keywords":{"description":"Noise terms to filter out \u2014 matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.","example":["recipe","fruit","orchard"],"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean","description":"If true, also match exclude_keywords against the video transcript (speech), not just the caption\/hashtags \u2014 use when the noise word is spoken but rarely written. Default false.","example":false,"default":false},"intent":{"type":"string","description":"Intent or purpose for this comet configuration","example":"Find trending tech review content for Q1 campaign"},"data_intelligence_enabled":{"type":"boolean","description":"Enable per-video AI intelligence: 79 structured fields per analyzed video and 70 per analyzed slideshow, covering topics, hooks, sentiment, brand safety, on-screen people and AI provenance. Not every item is analyzed: content that is off-intent, more than a year old (unless among the run's top performers), or that got no more views than its creator has followers is skipped and returns `intelligence_status: \"skipped\"`. Adds 100 credits to the 50-credit base, so 150 credits per run in total.","example":false,"default":false},"english_only":{"type":"boolean","description":"When true (default), only English-language content is collected. Set false to collect content in any language.","default":true}},"required":["name","keywords","platforms","cadence"]},"CometConfigWithJobDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"name":{"type":"string","example":"Fitness Niche Monitor"},"keywords":{"example":["fitness","workout"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube"],"type":"array","items":{"type":"string"}},"cadence":{"type":"string","example":"0 *\/6 * * *","description":"Cron expression for scheduling"},"min_views":{"type":"number","example":1000},"time_range":{"type":"string","example":"this_week","description":"today | this_week | this_month | this_year"},"is_active":{"type":"boolean","example":true},"is_processing":{"type":"boolean","example":false},"meta_ads_enabled":{"type":"boolean","example":true},"data_intelligence_enabled":{"type":"boolean","example":false,"description":"Whether per-video AI intelligence is enabled. When true, each scheduled run costs 150 credits (base 50 credits + intelligence 100 credits)."},"last_run_at":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"next_run_at":{"type":"string","example":"2026-01-16T04:00:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-01-10T08:00:00.000Z"},"updated_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"initial_job_id":{"type":"string","nullable":true,"description":"Initial processing job ID"}},"required":["id","name","keywords","platforms","cadence","min_views","time_range","is_active","is_processing","meta_ads_enabled","data_intelligence_enabled","created_at","updated_at"]},"CreateCometResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometConfigWithJobDto"},"message":{"type":"string","example":"Comet configuration created successfully"}},"required":["data","message"]},"CometConfigDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"name":{"type":"string","example":"Fitness Niche Monitor"},"keywords":{"example":["fitness","workout"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube"],"type":"array","items":{"type":"string"}},"cadence":{"type":"string","example":"0 *\/6 * * *","description":"Cron expression for scheduling"},"min_views":{"type":"number","example":1000},"time_range":{"type":"string","example":"this_week","description":"today | this_week | this_month | this_year"},"is_active":{"type":"boolean","example":true},"is_processing":{"type":"boolean","example":false},"meta_ads_enabled":{"type":"boolean","example":true},"data_intelligence_enabled":{"type":"boolean","example":false,"description":"Whether per-video AI intelligence is enabled. When true, each scheduled run costs 150 credits (base 50 credits + intelligence 100 credits)."},"last_run_at":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"next_run_at":{"type":"string","example":"2026-01-16T04:00:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-01-10T08:00:00.000Z"},"updated_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"}},"required":["id","name","keywords","platforms","cadence","min_views","time_range","is_active","is_processing","meta_ads_enabled","data_intelligence_enabled","created_at","updated_at"]},"CometListDataDto":{"type":"object","properties":{"total":{"type":"number","example":5},"configurations":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometConfigDto"}}},"required":["total","configurations"]},"CometListResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometListDataDto"}},"required":["data"]},"CometConfigWithAnalysisDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"name":{"type":"string","example":"Fitness Niche Monitor"},"keywords":{"example":["fitness","workout"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube"],"type":"array","items":{"type":"string"}},"cadence":{"type":"string","example":"0 *\/6 * * *","description":"Cron expression for scheduling"},"min_views":{"type":"number","example":1000},"time_range":{"type":"string","example":"this_week","description":"today | this_week | this_month | this_year"},"is_active":{"type":"boolean","example":true},"is_processing":{"type":"boolean","example":false},"meta_ads_enabled":{"type":"boolean","example":true},"data_intelligence_enabled":{"type":"boolean","example":false,"description":"Whether per-video AI intelligence is enabled. When true, each scheduled run costs 150 credits (base 50 credits + intelligence 100 credits)."},"last_run_at":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"next_run_at":{"type":"string","example":"2026-01-16T04:00:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-01-10T08:00:00.000Z"},"updated_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"intent":{"type":"string","nullable":true,"description":"User-specified search intent"},"analysis":{"type":"string","nullable":true,"description":"Short human-readable highlight from the latest AI analysis (sourced from analysis_data.key_highlight). null if no analysis has run yet."},"analysis_data":{"type":"object","nullable":true,"description":"Full structured AI analysis object (themes, connecting_thread, viral_tactics, timing_analysis, top_10_breakdown, \u2026). null if no analysis has run yet. See GET \/v1\/comet\/:id\/analysis and \/trends for dedicated endpoints.","additionalProperties":true},"analysis_batch_start":{"type":"string","nullable":true,"description":"Start of the batch window for the latest analysis (ISO-8601)","example":"2026-04-14T00:00:00.000Z"},"analysis_batch_end":{"type":"string","nullable":true,"description":"End of the batch window for the latest analysis (ISO-8601)","example":"2026-04-21T00:00:00.000Z"},"finalized":{"type":"boolean","example":false,"description":"True when this comet has nothing in flight: `is_processing` is false AND `pending_jobs` is empty. Optional for backwards compatibility; absent on responses where the field was not yet emitted."},"pending_jobs":{"description":"Secondary jobs still running after the latest scheduled scrape completed (e.g. AI viral analysis). Always an array, never null. Empty when nothing is pending.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["id","name","keywords","platforms","cadence","min_views","time_range","is_active","is_processing","meta_ads_enabled","data_intelligence_enabled","created_at","updated_at"]},"CometDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometConfigWithAnalysisDto"}},"required":["data"]},"V1UpdateCometDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the custom niche configuration","example":"Tech Reviews"},"keywords":{"description":"Array of keywords to search for (1-20 keywords). Hashtag-style tokens are normalised: a leading \"#\" is stripped and whitespace collapsed, so \"#progressivehouse\" and \"progressivehouse\" are equivalent.","example":["progressive house","#melodictechno"],"type":"array","items":{"type":"string"}},"platforms":{"type":"array","description":"Platforms to scrape from","example":["youtube","tiktok"],"items":{"type":"string","enum":["youtube","tiktok","instagram"]}},"cadence":{"type":"string","description":"Schedule cadence: \"daily\", \"weekly\", \"monthly\", or a cron expression (minimum daily)","example":"daily"},"min_views":{"type":"number","description":"[Deprecated] Previously set the scrape-time minimum view threshold. Collection scope is now system-managed \u2014 recurring agents collect the widest relevant net each cycle so no content is missed, and you filter by views at READ time on GET \/v1\/comet\/:comet_id\/videos (`min_views`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":10000,"deprecated":true},"time_range":{"type":"string","description":"[Deprecated] Previously set the scrape-time publish-date window. Collection scope is now system-managed and cadence-aware (a weekly agent scans the past week, a monthly agent the past month, etc.), and you filter by date at READ time on GET \/v1\/comet\/:comet_id\/videos (`start_date` \/ `end_date`). Still accepted for backward compatibility but has NO effect on what gets collected.","example":"this_week","enum":["today","this_week","this_month","this_year"],"deprecated":true},"is_active":{"type":"boolean","description":"Whether the configuration is active","example":true,"default":true},"meta_ads_enabled":{"type":"boolean","description":"Enable Meta ads collection","example":true,"default":false},"exclude_keywords":{"description":"Noise terms to filter out \u2014 matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.","example":["recipe","fruit","orchard"],"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean","description":"If true, also match exclude_keywords against the video transcript (speech), not just the caption\/hashtags \u2014 use when the noise word is spoken but rarely written. Default false.","example":false,"default":false},"intent":{"type":"string","description":"Intent or purpose for this comet configuration","example":"Find trending tech review content for Q1 campaign"},"data_intelligence_enabled":{"type":"boolean","description":"Enable per-video AI intelligence: 79 structured fields per analyzed video and 70 per analyzed slideshow, covering topics, hooks, sentiment, brand safety, on-screen people and AI provenance. Not every item is analyzed: content that is off-intent, more than a year old (unless among the run's top performers), or that got no more views than its creator has followers is skipped and returns `intelligence_status: \"skipped\"`. Adds 100 credits to the 50-credit base, so 150 credits per run in total.","example":false,"default":false},"english_only":{"type":"boolean","description":"When true (default), only English-language content is collected. Set false to collect content in any language.","default":true}}},"UpdateCometResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometConfigDto"},"message":{"type":"string","example":"Comet configuration updated successfully"}},"required":["data","message"]},"CometVideoItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/video\/123"},"description":{"type":"string","nullable":true},"hashtags":{"description":"Hashtags array","type":"array","items":{"type":"string"}},"publish_date":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"views":{"type":"number","example":250000},"number_of_comments":{"type":"number","example":340},"number_of_likes":{"type":"number","example":12000},"number_of_shares":{"type":"number","example":500},"thumbnail_url":{"type":"string","nullable":true},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok","description":"Platform the item was published on."},"type":{"type":"string","example":"tiktok","deprecated":true,"description":"Deprecated alias of `platform` (same value). Read `platform`."},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"sound":{"nullable":true,"description":"Sound\/audio metadata associated with this video. null if no sound data is available.","allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]},"linked_at":{"type":"string","example":"2026-01-15T12:00:00.000Z"},"intelligence":{"type":"object","nullable":true,"description":"Per-video AI intelligence payload (themes, hook analysis, etc.). null when not ready or not requested \u2014 see `intelligence_status` for why.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"],"example":"pending","description":"Disambiguates a null `intelligence` field: `ready` (use it), `pending` (still being generated \u2014 poll later or wait for webhook), `disabled` (parent comet didn't enable data_intelligence_enabled, so it will never arrive), `skipped` (deliberately not analyzed, so it will never arrive; see `intelligence_skip_reason`), `failed` (reserved for future use). Optional for backwards compatibility."},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."}},"required":["id","url","created_at","views","number_of_comments","number_of_likes","number_of_shares","platform","type","linked_at"]},"CometVideosDataDto":{"type":"object","properties":{"custom_niche_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"custom_niche_name":{"type":"string"},"total":{"type":"number","example":150},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometVideoItemDto"}}},"required":["custom_niche_id","total","limit","offset","videos"]},"CometVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometVideosDataDto"}},"required":["data"]},"CometSlideshowImageDto":{"type":"object","properties":{"image_url":{"type":"string","example":"https:\/\/storage.example.com\/slideshow-images\/abc.webp"},"position":{"type":"number","example":0}},"required":["image_url","position"]},"CometSlideshowItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/photo\/123"},"description":{"type":"string","nullable":true},"hashtags":{"description":"Hashtags array","type":"array","items":{"type":"string"}},"publish_date":{"type":"string","example":"2026-01-15T10:30:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"views":{"type":"number","example":250000},"comments":{"type":"number","example":340},"likes":{"type":"number","example":12000},"shares":{"type":"number","example":500},"bookmarks":{"type":"number","example":1200,"nullable":true},"thumbnail_url":{"type":"string","nullable":true},"images":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometSlideshowImageDto"}},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok","description":"Platform the item was published on."},"type":{"type":"string","example":"tiktok","deprecated":true,"description":"Deprecated alias of `platform` (same value). Read `platform`."},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"linked_at":{"type":"string","example":"2026-01-15T12:00:00.000Z"},"intelligence":{"type":"object","nullable":true,"description":"Per-slideshow AI intelligence payload (panel-text analysis, hook, brand safety, etc.). Slideshow intelligence is a separate schema from video intelligence \u2014 see the Data Intelligence docs. null when not ready or not requested \u2014 see `intelligence_status` for why.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"],"example":"pending","description":"Disambiguates a null `intelligence` field: `ready` (use it), `pending` (still being generated \u2014 poll later or wait for webhook), `disabled` (parent comet didn't enable data_intelligence_enabled, so it will never arrive), `skipped` (deliberately not analyzed, so it will never arrive; see `intelligence_skip_reason`), `failed` (reserved for future use). Optional for backwards compatibility."},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."}},"required":["id","url","created_at","views","comments","likes","shares","images","platform","type","linked_at"]},"CometSlideshowsDataDto":{"type":"object","properties":{"custom_niche_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"custom_niche_name":{"type":"string"},"total":{"type":"number","example":210},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"slideshows":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometSlideshowItemDto"}}},"required":["custom_niche_id","total","limit","offset","slideshows"]},"CometSlideshowsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometSlideshowsDataDto"}},"required":["data"]},"CometAdItemDto":{"type":"object","properties":{"id":{"type":"number","example":1234},"ad_archive_id":{"type":"string","example":"987654321","nullable":true},"page_id":{"type":"string","example":"111222333","nullable":true},"page_profile_url":{"type":"string","nullable":true},"page_profile_picture_url":{"type":"string","nullable":true},"is_active":{"type":"boolean","example":true,"nullable":true},"start_date":{"type":"string","example":"2026-01-01T00:00:00.000Z","nullable":true},"end_date":{"type":"string","example":"2026-02-01T00:00:00.000Z","nullable":true},"url":{"type":"string","example":"https:\/\/example.com\/ad","nullable":true},"caption":{"type":"string","nullable":true},"body":{"type":"string","nullable":true},"cta_type":{"type":"string","example":"SHOP_NOW","nullable":true},"page_like_count":{"type":"number","example":50000,"nullable":true},"title":{"type":"string","nullable":true},"video_url":{"type":"string","nullable":true,"description":"Playable video link. Facebook video links expire after a few days; on `GET \/v1\/agents\/:id\/ads` an expired link is refreshed from the Ad Library when possible, otherwise null."},"poster_url":{"type":"string","nullable":true,"description":"Still image for the ad: the video preview frame, or the first image of an image ad. `GET \/v1\/agents\/:id\/ads` only; links expire after a few days."},"image_urls":{"description":"Images of an image or carousel ad (up to 10). `GET \/v1\/agents\/:id\/ads` only; links expire after a few days.","type":"array","items":{"type":"string"}},"display_format":{"type":"string","nullable":true,"example":"VIDEO","description":"Creative format as the Ad Library reports it: VIDEO, IMAGE, CAROUSEL, DCO and others. `GET \/v1\/agents\/:id\/ads` only."},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"linked_at":{"type":"string","example":"2026-01-15T12:00:00.000Z"}},"required":["id","ad_archive_id","page_id","created_at","linked_at"]},"CometAdsDataDto":{"type":"object","properties":{"custom_niche_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"custom_niche_name":{"type":"string"},"total":{"type":"number","example":30},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"ads":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometAdItemDto"}}},"required":["custom_niche_id","total","limit","offset","ads"]},"CometAdsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometAdsDataDto"}},"required":["data"]},"CometOutliersDataDto":{"type":"object","properties":{"comet_id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000"},"comet_name":{"type":"string"},"total":{"type":"number","example":15},"limit":{"type":"number","example":50},"offset":{"type":"number","example":0},"hasMore":{"type":"boolean","example":false},"outliers":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1OutlierItemDto"}}},"required":["comet_id","total","limit","offset","hasMore","outliers"]},"CometOutliersResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CometOutliersDataDto"}},"required":["data"]},"HashtagTopCreatorDto":{"type":"object","properties":{"username":{"type":"string"},"avatar_url":{"type":"string","nullable":true},"video_count":{"type":"number"}},"required":["username","video_count"]},"CometHashtagItemDto":{"type":"object","properties":{"hashtag":{"type":"string","example":"progressivehouse","description":"Normalised hashtag (lower-case, no leading #)"},"video_count":{"type":"number","description":"Distinct videos in the niche using this hashtag"},"total_views":{"type":"number","description":"Sum of views across those videos"},"avg_views":{"type":"number","description":"Average views per tagged video"},"avg_engagement":{"type":"number","description":"Average engagement rate ((likes+comments+shares)\/views) across tagged videos"},"growth_video_count":{"type":"number","nullable":true,"description":"Change in video_count since the previous run. null on first observation."},"lifecycle":{"type":"string","enum":["new","rising","steady","fading"],"description":"Run-over-run momentum label (same thresholds as Virlo trends)."},"top_creators":{"description":"Up to 5 most active creators using this hashtag in the niche","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagTopCreatorDto"}}},"required":["hashtag","video_count","total_views","avg_views","avg_engagement","lifecycle","top_creators"]},"CometHashtagsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometHashtagItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"CometBenchmarkTierDto":{"type":"object","properties":{"follower_tier":{"type":"string","enum":["macro","mid","micro","nano","unknown"]},"creator_count":{"type":"number"},"median_engagement_rate":{"type":"number","nullable":true,"description":"Median engagement rate across creators in this tier"},"median_followers":{"type":"number","nullable":true},"median_videos_in_niche":{"type":"number","nullable":true,"description":"Median # of niche videos per creator"},"median_posting_frequency_days":{"type":"number","nullable":true,"description":"Median days between posts (within the niche window)"}},"required":["follower_tier","creator_count"]},"CometBenchmarksResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometBenchmarkTierDto"}}},"required":["data"]},"CometAffinityResponseDto":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true,"description":"Genre adjacency derived from the niche corpus (exploratory). `creator_topics` = dominant topics from curated outlier creators; `related_hashtags` = co-occurring hashtags; `related_sounds` = co-occurring sounds. NOT a follow-graph."}},"required":["data"]},"CometSimilarCreatorItemDto":{"type":"object","properties":{"author_id":{"type":"string"},"username":{"type":"string"},"avatar_url":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"verified":{"type":"boolean"},"followers":{"type":"number","nullable":true},"shared_hashtag_count":{"type":"number","description":"Distinct hashtags shared with the target creator within the niche"},"shared_sound_count":{"type":"number","description":"Distinct sounds shared with the target creator within the niche"},"similarity_score":{"type":"number","description":"shared_hashtag_count + 2\u00d7shared_sound_count"}},"required":["author_id","username","verified","shared_hashtag_count","shared_sound_count","similarity_score"]},"CometSimilarCreatorsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometSimilarCreatorItemDto"}}},"required":["data"]},"V1SuggestKeywordsDto":{"type":"object","properties":{"intent":{"type":"string","description":"What the agent should research, in plain language. Same field you will pass to POST \/v1\/agents.","example":"Track viral protein-recipe content for a fitness brand","maxLength":500},"topic_hint":{"type":"string","description":"Short topic or agent-name hint to steer generation.","example":"Protein Recipes"},"platforms":{"type":"array","description":"Platforms the agent will collect from.","example":["tiktok","instagram"],"items":{"type":"string","enum":["youtube","tiktok","instagram"]}},"existing_keywords":{"description":"The agent\u2019s current keywords. Required in practice for `refresh` and `opportunity` modes so the engine can avoid repeating them.","example":["high protein recipe"],"type":"array","items":{"type":"string"}},"mode":{"type":"string","description":"`create` (default) builds a fresh set from the intent. `refresh` replaces stale keywords on an existing agent. `opportunity` looks for under-covered angles adjacent to the current set.","enum":["create","refresh","opportunity"],"default":"create"},"desired_count":{"type":"number","description":"How many keywords to aim for. Clamped by the engine to the data-backed 7-12 sweet spot \u2014 beyond ~15 keywords the off-target ratio climbs sharply.","example":7,"minimum":1,"maximum":50},"use_web_grounding":{"type":"boolean","description":"Ground generation in current web results so timely phrasing is picked up. Slower; leave off for evergreen niches.","default":false}},"required":["intent"]},"SuggestKeywordsQualityIssueDto":{"type":"object","properties":{"code":{"type":"string","enum":["too_few_keywords","too_many_keywords","single_word_keywords","overly_long_keywords","duplicate_keywords","low_cluster_cohesion","empty_set"]},"severity":{"type":"string","enum":["critical","warning","info"]},"message":{"type":"string"},"offenders":{"description":"The keywords that triggered this issue, when applicable.","type":"array","items":{"type":"string"}}},"required":["code","severity","message"]},"SuggestKeywordsQualityStatsDto":{"type":"object","properties":{"count":{"type":"number","nullable":true},"avg_words_per_keyword":{"type":"number","nullable":true},"single_word_count":{"type":"number","nullable":true},"long_keyword_count":{"type":"number","nullable":true},"duplicate_count":{"type":"number","nullable":true},"core_token_coverage":{"type":"number","nullable":true,"description":"Fraction (0-1) of keywords sharing the dominant core token in `core_token`."},"core_token":{"type":"string","nullable":true}},"required":["count","avg_words_per_keyword","single_word_count","long_keyword_count","duplicate_count","core_token_coverage","core_token"]},"SuggestKeywordsQualityDto":{"type":"object","properties":{"score":{"type":"number","nullable":true,"description":"0-100."},"passes":{"type":"boolean","nullable":true,"description":"True when the score clears the threshold and there are no critical issues."},"issues":{"type":"array","items":{"$ref":"#\/components\/schemas\/SuggestKeywordsQualityIssueDto"}},"stats":{"$ref":"#\/components\/schemas\/SuggestKeywordsQualityStatsDto"}},"required":["score","passes","issues","stats"]},"SuggestKeywordsDataDto":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"}},"exclude_keywords":{"description":"Ready-to-use noise terms \u2014 pass this array straight into an agent as exclude_keywords.","type":"array","items":{"type":"string"}},"reasoning":{"type":"string","nullable":true},"quality":{"$ref":"#\/components\/schemas\/SuggestKeywordsQualityDto"},"timely_context_used":{"type":"boolean","description":"Whether web grounding contributed timely context."}},"required":["keywords","exclude_keywords","reasoning","quality","timely_context_used"]},"V1SuggestKeywordsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SuggestKeywordsDataDto"}},"required":["data"]},"V1CreateAgentDto":{"type":"object","properties":{"is_recurring":{"type":"boolean","description":"Whether the agent runs on a schedule (true) or once (false). Recurring agents require `cadence`.","example":true},"intent":{"type":"string","description":"What you want this agent to research, in plain language. Drives keyword quality, on-topic filtering, and the agent\u2019s self-optimization. Required.","example":"Track viral protein-recipe content for a fitness brand"},"keywords":{"description":"Keywords to search for (1-50). Hashtag-style tokens are normalised (a leading \"#\" is stripped, whitespace collapsed). Autopilot always keeps every keyword you send and only adds around them.","example":["protein recipe","#highprotein"],"type":"array","items":{"type":"string"}},"name":{"type":"string","description":"Human-friendly name for the agent.","example":"Protein Recipes"},"platforms":{"type":"array","description":"Platforms to collect from.","example":["youtube","tiktok","instagram"],"default":["youtube","tiktok","instagram"],"items":{"type":"string","enum":["youtube","tiktok","instagram","meta_ads"]}},"cadence":{"type":"string","description":"Schedule cadence for recurring agents: \"daily\", \"weekly\", \"monthly\", or a cron expression (minimum daily). Required when is_recurring=true. On a one-time agent (is_recurring=false) it is ignored without being validated, and the agent comes back with cadence null.","example":"weekly"},"exclude_keywords":{"description":"Noise terms to filter out \u2014 matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.","example":["recipe","fruit","orchard"],"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean","description":"If true, also match exclude_keywords against the video transcript (speech), not just the caption\/hashtags \u2014 use when the noise word is spoken but rarely written. Default false.","example":false,"default":false},"meta_ads_enabled":{"type":"boolean","description":"Enable Meta ads collection (adds the meta_ads platform).","example":false,"default":false},"data_intelligence_enabled":{"type":"boolean","description":"Enable per-video AI intelligence: 79 structured fields per analyzed video and 70 per analyzed slideshow, covering topics, hooks, sentiment, brand safety, on-screen people and AI provenance. Not every item is analyzed: content that is off-intent, more than a year old (unless among the run's top performers), or that got no more views than its creator has followers is skipped and returns `intelligence_status: \"skipped\"`. Adds 100 credits per run on top of the 50-credit base, so 150 credits per run in total. Recurring agents (is_recurring: true) pay it on every run, not at creation.","example":false,"default":false},"english_only":{"type":"boolean","description":"When true (default), only English-language content is collected. Set false to collect content in any language \u2014 keywords are generated in the language of your agent name and intent.","default":true},"autopilot":{"type":"boolean","description":"Autopilot keeps a recurring agent finding new videos after each run: it rewords searches, adds keywords and follows breaking stories in your niche. On by default. It never removes a keyword or exclude term you set and never adds charges. Set false to keep the configuration exactly as you send it. One-time agents are unaffected.","default":true}},"required":["is_recurring","intent","keywords"]},"AgentRunDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"agent_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["pending","processing","completed","partial_failure","failed"],"description":"`pending` and `processing` are in flight. `completed`, `partial_failure` and `failed` are final. `partial_failure` means one platform or keyword failed and the rest of the data is usable."},"total_videos_inserted":{"type":"number"},"total_videos_updated":{"type":"number"},"total_videos_failed":{"type":"number"},"videos_linked":{"type":"number"},"meta_ads_linked":{"type":"number"},"slideshows_linked":{"type":"number"},"youtube_count":{"type":"number"},"tiktok_count":{"type":"number"},"instagram_count":{"type":"number"},"exclude_keywords_filtered":{"type":"number"},"intent_filtered":{"type":"number"},"language_filtered_count":{"type":"number"},"duplicates_dropped":{"type":"number"},"outliers_identified":{"type":"number"},"trends_detected":{"nullable":true,"type":"array","items":{"type":"string"}},"keyword_breakdown":{"nullable":true,"description":"Per-keyword collection breakdown. One entry per keyword with `keyword`, `videos_inserted`, `videos_updated`, and per-platform counts (`tiktok_count`, `youtube_count`, `instagram_count`). The fastest way to see which keywords are actually producing content.","example":[{"keyword":"high protein recipe","videos_inserted":41,"videos_updated":12,"tiktok_count":27,"youtube_count":12,"instagram_count":2}],"type":"array","items":{"type":"object","additionalProperties":true}},"execution_time_ms":{"type":"number"},"created_at":{"type":"string"},"started_at":{"type":"string","nullable":true},"completed_at":{"type":"string","nullable":true}},"required":["id","agent_id","status","total_videos_inserted","total_videos_updated","total_videos_failed","videos_linked","meta_ads_linked","slideshows_linked","youtube_count","tiktok_count","instagram_count","exclude_keywords_filtered","intent_filtered","language_filtered_count","duplicates_dropped","outliers_identified","execution_time_ms","created_at"]},"AgentConfigDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"is_recurring":{"type":"boolean","description":"false = one-shot (formerly Orbit); true = recurring + cadence (formerly Comet)"},"active":{"type":"boolean"},"team_id":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"keywords":{"example":["protein recipes","meal prep"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube","instagram"],"type":"array","items":{"type":"string"}},"exclude_keywords":{"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean"},"meta_ads_enabled":{"type":"boolean","description":"The Meta ads setting. On means the agent searches the Meta Ad Library on each run; it does not mean ads were found. Read `meta_ads_count` for that."},"meta_ads_count":{"type":"number","example":0,"description":"Meta ads linked to this agent, read them with `GET \/v1\/agents\/:id\/ads`. Can be 0 with `meta_ads_enabled` on: ads can arrive up to about 45 minutes after a run, and some keyword sets match no ads. Exact on `GET \/v1\/agents\/:id`; on the list it can trail by a few ads."},"data_intelligence_enabled":{"type":"boolean"},"english_only":{"type":"boolean"},"intent":{"type":"string","nullable":true},"intent_keywords":{"nullable":true,"description":"The expanded keyword set the agent actually searched, derived from your `intent` + `keywords`. Null until the first run resolves it. Useful for seeing how the agent interpreted your intent.","example":["high protein recipe","protein meal prep","protein dessert"],"type":"array","items":{"type":"string"}},"autopilot":{"type":"boolean","description":"Whether autopilot is on. On by default: after each run a recurring agent rewords its searches, adds keywords and follows breaking stories so it keeps finding new videos. It never removes a keyword or exclude term you set. Turn it off with `autopilot: false` on `PUT \/v1\/agents\/:id`."},"pinned_keywords":{"nullable":true,"description":"The keywords you set. Autopilot always keeps these and only adds around them, so `keywords` holds these plus any autopilot added. Replaced whenever you send `keywords`. Null for agents created in the Virlo app.","example":["protein recipe","highprotein"],"type":"array","items":{"type":"string"}},"autonomy_level":{"type":"string","enum":["suggest","autopilot"],"deprecated":true,"description":"Older two-field spelling of `autopilot`: \"autopilot\" = on, \"suggest\" = off. Read `autopilot` instead."},"autopilot_unlocked":{"type":"boolean","deprecated":true,"description":"Legacy field from when autopilot had to be unlocked first; it no longer gates anything. Read `autopilot` instead."},"cognition_enabled":{"type":"boolean"},"cadence":{"type":"string","nullable":true,"description":"Cron cadence. Null for one-shot agents."},"next_run_at":{"type":"string","nullable":true},"last_run_at":{"type":"string","nullable":true},"is_processing":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"latest_run":{"nullable":true,"description":"Inlined on create and GET \/:id when available.","allOf":[{"$ref":"#\/components\/schemas\/AgentRunDto"}]}},"required":["id","is_recurring","active","keywords","platforms","exclude_keywords","exclude_keywords_strict","meta_ads_enabled","meta_ads_count","data_intelligence_enabled","english_only","autopilot","autonomy_level","autopilot_unlocked","cognition_enabled","is_processing","created_at","updated_at"]},"CreateAgentResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentConfigDto"},"message":{"type":"string","example":"Agent created"}},"required":["data","message"]},"AgentListDataDto":{"type":"object","properties":{"limit":{"type":"number","example":50},"page":{"type":"number","example":1},"count":{"type":"number","example":12,"description":"Number of agents in this page (not a grand total)."},"agents":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentConfigDto"}}},"required":["limit","page","count","agents"]},"AgentListResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentListDataDto"}},"required":["data"]},"AgentDetailDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","nullable":true},"is_recurring":{"type":"boolean","description":"false = one-shot (formerly Orbit); true = recurring + cadence (formerly Comet)"},"active":{"type":"boolean"},"team_id":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"keywords":{"example":["protein recipes","meal prep"],"type":"array","items":{"type":"string"}},"platforms":{"example":["tiktok","youtube","instagram"],"type":"array","items":{"type":"string"}},"exclude_keywords":{"type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean"},"meta_ads_enabled":{"type":"boolean","description":"The Meta ads setting. On means the agent searches the Meta Ad Library on each run; it does not mean ads were found. Read `meta_ads_count` for that."},"meta_ads_count":{"type":"number","example":0,"description":"Meta ads linked to this agent, read them with `GET \/v1\/agents\/:id\/ads`. Can be 0 with `meta_ads_enabled` on: ads can arrive up to about 45 minutes after a run, and some keyword sets match no ads. Exact on `GET \/v1\/agents\/:id`; on the list it can trail by a few ads."},"data_intelligence_enabled":{"type":"boolean"},"english_only":{"type":"boolean"},"intent":{"type":"string","nullable":true},"intent_keywords":{"nullable":true,"description":"The expanded keyword set the agent actually searched, derived from your `intent` + `keywords`. Null until the first run resolves it. Useful for seeing how the agent interpreted your intent.","example":["high protein recipe","protein meal prep","protein dessert"],"type":"array","items":{"type":"string"}},"autopilot":{"type":"boolean","description":"Whether autopilot is on. On by default: after each run a recurring agent rewords its searches, adds keywords and follows breaking stories so it keeps finding new videos. It never removes a keyword or exclude term you set. Turn it off with `autopilot: false` on `PUT \/v1\/agents\/:id`."},"pinned_keywords":{"nullable":true,"description":"The keywords you set. Autopilot always keeps these and only adds around them, so `keywords` holds these plus any autopilot added. Replaced whenever you send `keywords`. Null for agents created in the Virlo app.","example":["protein recipe","highprotein"],"type":"array","items":{"type":"string"}},"autonomy_level":{"type":"string","enum":["suggest","autopilot"],"deprecated":true,"description":"Older two-field spelling of `autopilot`: \"autopilot\" = on, \"suggest\" = off. Read `autopilot` instead."},"autopilot_unlocked":{"type":"boolean","deprecated":true,"description":"Legacy field from when autopilot had to be unlocked first; it no longer gates anything. Read `autopilot` instead."},"cognition_enabled":{"type":"boolean"},"cadence":{"type":"string","nullable":true,"description":"Cron cadence. Null for one-shot agents."},"next_run_at":{"type":"string","nullable":true},"last_run_at":{"type":"string","nullable":true},"is_processing":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"latest_run":{"nullable":true,"description":"Inlined on create and GET \/:id when available.","allOf":[{"$ref":"#\/components\/schemas\/AgentRunDto"}]},"analysis":{"type":"string","nullable":true,"description":"Short human-readable highlight from the latest AI analysis. null if none yet."},"analysis_data":{"type":"object","nullable":true,"description":"Full structured AI analysis object, or null if none yet.","additionalProperties":true},"analysis_batch_start":{"type":"string","nullable":true},"analysis_batch_end":{"type":"string","nullable":true},"finalized":{"type":"boolean","description":"True when the latest run (scrape + AI analysis) is fully settled."},"pending_jobs":{"description":"Secondary jobs still running after the latest scrape. Empty when nothing is pending.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}},"progress_pct":{"type":"number","nullable":true,"example":75,"description":"Coarse completion percentage (0\u2013100) of the latest run, derived from `stage`. 100 once `finalized`. Null when it cannot be determined."},"stage":{"type":"string","nullable":true,"enum":["collecting","analyzing","finalizing","completed"],"description":"Lifecycle stage of the latest run: `collecting` (scrape in flight), `analyzing` (AI viral-analysis running), `finalizing` (settling), `completed` (`finalized: true`)."},"eta_seconds":{"type":"number","nullable":true,"example":540,"description":"Best-effort seconds until the latest run finalizes. 0 once `finalized`; a bounded estimate while `analyzing`; null when not estimable."}},"required":["id","is_recurring","active","keywords","platforms","exclude_keywords","exclude_keywords_strict","meta_ads_enabled","meta_ads_count","data_intelligence_enabled","english_only","autopilot","autonomy_level","autopilot_unlocked","cognition_enabled","is_processing","created_at","updated_at"]},"AgentDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentDetailDto"}},"required":["data"]},"AgentSummaryPlatformCountsDto":{"type":"object","properties":{"youtube":{"type":"number","nullable":true},"tiktok":{"type":"number","nullable":true},"instagram":{"type":"number","nullable":true}}},"AgentSummaryRunDto":{"type":"object","properties":{"status":{"type":"string","nullable":true,"enum":["pending","processing","completed","partial_failure","failed"]},"started_at":{"type":"string","nullable":true},"completed_at":{"type":"string","nullable":true},"total_videos":{"type":"number","nullable":true,"description":"Videos the latest run saved after every filter (inserted + updated). Null when the run reports neither."},"videos_linked":{"type":"number","nullable":true,"description":"New (video, keyword) links the latest run added. A video found by two keywords counts twice, so this is not a video count; use `counts.videos` for that."},"platform_counts":{"description":"Raw search results per platform in the latest run, BEFORE de-duplication and filtering (a video found by two keywords counts twice). Larger than `total_videos`; for the corpus split by platform use `counts.platform_counts`.","allOf":[{"$ref":"#\/components\/schemas\/AgentSummaryPlatformCountsDto"}]},"outliers_identified":{"type":"number","nullable":true,"description":"Outlier creators the latest run identified. Null while the run is still identifying outliers (they finish shortly after the run completes), never a provisional 0."}},"required":["platform_counts"]},"AgentSummaryCountsDto":{"type":"object","properties":{"videos":{"type":"number","nullable":true,"description":"Distinct videos in the agent's corpus (all runs). The same set GET \/v1\/agents\/:id\/videos pages through; that endpoint's `pagination.total` can be slightly lower because it withholds minor-safety-flagged videos and, on English-only agents, videos analysed as non-English. Counted when a run finishes, so it can trail `\/videos` while a run is collecting (`finalized: false`). Null before the first run finishes."},"platform_counts":{"nullable":true,"description":"`videos` split by platform; the three values sum to `videos`. Null when `videos` is null.","allOf":[{"$ref":"#\/components\/schemas\/AgentSummaryPlatformCountsDto"}]},"slideshows":{"type":"number","nullable":true},"sounds":{"type":"number","nullable":true,"description":"Not cheaply available on this digest \u2014 always null for now."},"creators":{"type":"number","nullable":true,"description":"Outlier creators for the agent: the `pagination.total` of GET \/v1\/agents\/:id\/creators\/outliers, read in the same call as `top_creators`."}}},"AgentSummaryTopCreatorDto":{"type":"object","properties":{"username":{"type":"string","nullable":true,"description":"Creator handle, derived from the creator's profile URL."},"platform":{"type":"string","nullable":true,"example":"tiktok"},"followers":{"type":"number","nullable":true},"weighted_score":{"type":"number","nullable":true,"description":"Size-weighted outlier score (Virality Score)."}}},"AgentSummaryTopTrendDto":{"type":"object","properties":{"name":{"type":"string","example":"POV cooking with trending audio"},"stable_key":{"type":"string","nullable":true},"status":{"type":"string","nullable":true,"enum":["new","rising","steady","fading"]}},"required":["name"]},"AgentSummaryDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"agent_name":{"type":"string","nullable":true},"is_recurring":{"type":"boolean"},"finalized":{"type":"boolean","description":"True when the latest run (scrape + AI analysis) is fully settled."},"progress_pct":{"type":"number","nullable":true,"example":75},"stage":{"type":"string","nullable":true,"enum":["collecting","analyzing","finalizing","completed"]},"eta_seconds":{"type":"number","nullable":true,"example":540},"run":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/AgentSummaryRunDto"}]},"counts":{"$ref":"#\/components\/schemas\/AgentSummaryCountsDto"},"top_creators":{"description":"Up to 5 top creators by weighted outlier score. Empty if none.","type":"array","items":{"$ref":"#\/components\/schemas\/AgentSummaryTopCreatorDto"}},"top_trends":{"description":"Up to 5 trend themes from the latest completed analysis. Empty if not ready.","type":"array","items":{"$ref":"#\/components\/schemas\/AgentSummaryTopTrendDto"}},"analysis_summary":{"type":"string","nullable":true,"description":"Short human-readable highlight from the latest AI analysis. Null if none yet."},"generated_at":{"type":"string","description":"ISO timestamp this digest was built."}},"required":["agent_id","is_recurring","finalized","counts","top_creators","top_trends","generated_at"]},"AgentSummaryResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentSummaryDataDto"}},"required":["data"]},"V1UpdateAgentDto":{"type":"object","properties":{"name":{"type":"string","description":"Human-friendly name."},"active":{"type":"boolean","description":"Whether the agent is active (recurring runs will be scheduled)."},"keywords":{"description":"Keywords (1-50). Hashtag tokens normalised. Replaces the whole list; autopilot keeps every keyword you set and only adds around them.","type":"array","items":{"type":"string"}},"platforms":{"type":"array","description":"Platforms to collect from.","items":{"type":"string","enum":["youtube","tiktok","instagram","meta_ads"]}},"cadence":{"type":"string","description":"Schedule cadence (recurring agents only): \"daily\", \"weekly\", \"monthly\", or a cron expression (minimum daily)."},"exclude_keywords":{"description":"Noise terms to filter out \u2014 matched as WHOLE WORDS against captions + hashtags, so use the single word people actually type for the OTHER meaning (researching Apple the company, not the fruit? exclude `recipe`, `fruit`, `orchard`), not multi-word phrases like `apple the fruit` (which never match). Never exclude a word that is part of your own topic. Tip: suggest-keywords returns a ready exclude_keywords list you can pass straight in.","type":"array","items":{"type":"string"}},"exclude_keywords_strict":{"type":"boolean","description":"If true, also match exclude_keywords against the video transcript (speech), not just the caption\/hashtags \u2014 use when the noise word is spoken but rarely written. Default false."},"meta_ads_enabled":{"type":"boolean","description":"Enable Meta ads collection."},"intent":{"type":"string","description":"Research intent (plain language)."},"data_intelligence_enabled":{"type":"boolean","description":"Enable per-video AI intelligence."},"english_only":{"type":"boolean","description":"When true, only English-language content is collected. Set false to collect any language."},"autopilot":{"type":"boolean","description":"Turn autopilot on (true) or off (false). Off keeps the configuration exactly as you set it."}}},"UpdateAgentResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentConfigDto"},"message":{"type":"string","example":"Agent updated"}},"required":["data","message"]},"AgentIntentMatchDto":{"type":"object","properties":{"matches":{"type":"boolean"},"reasoning":{"type":"string","nullable":true,"description":"Written explanation of the verdict when the language model judged this item. Null when the verdict came from the relevance scorer, which gives no explanation (most items)."}},"required":["matches"]},"AgentTranscriptSegmentDto":{"type":"object","properties":{"start":{"type":"number","example":0.64,"description":"Seconds from the start of the video."},"end":{"type":"number","example":3.52},"text":{"type":"string"}},"required":["start","end","text"]},"AgentVideoTranscriptDto":{"type":"object","properties":{"text":{"type":"string","description":"The full transcript."},"segments":{"nullable":true,"description":"Timed segments, or null when the transcript has no timings. Always present when `source` is `transcribed`. Usually null for `platform` transcripts, which are mostly published as plain text; a small share carry timings. Check this field rather than inferring it from `source`.","type":"array","items":{"$ref":"#\/components\/schemas\/AgentTranscriptSegmentDto"}},"source":{"type":"string","enum":["transcribed","platform"],"description":"`transcribed`: Virlo speech-to-text of the audio (run by Data Intelligence; the only source for Instagram Reels). `platform`: the transcript TikTok or YouTube published. When both exist, `transcribed` is returned."}},"required":["text","source"]},"AgentVideoItemDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string"},"description":{"type":"string","nullable":true},"platform":{"type":"string","example":"tiktok","description":"Platform identifier (tiktok | youtube | instagram)"},"views":{"type":"number"},"likes":{"type":"number"},"shares":{"type":"number"},"comments":{"type":"number"},"bookmarks":{"type":"number","nullable":true},"publish_date":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true,"example":34,"description":"Video length in whole seconds. Null when the platform did not report one. Not the same as `sound.duration`, which is the length of the audio track."},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"keyword_found_by":{"type":"string","nullable":true},"is_duet":{"type":"boolean","nullable":true},"is_stitch":{"type":"boolean","nullable":true},"is_paid":{"type":"boolean","example":false,"description":"True when the post is paid distribution rather than organic reach: TikTok marked it boosted (ad spend) or a Paid partnership \/ Promotional content, Instagram marked it a paid partnership, or the caption discloses it (#ad, #sponsored, #<brand>partner, gifted). Its views reflect ad budget, so treat it as an ad, not an organic viral win."},"paid_signals":{"example":[],"description":"Which paid signals fired: `boosted`, `paid_partnership`, `promotional_content`, `caption_disclosure`. Empty when `is_paid` is false.","type":"array","items":{"type":"string"}},"upload_region":{"type":"string","nullable":true},"upload_region_source":{"type":"string","nullable":true},"location":{"nullable":true,"description":"Beta. The place the creator tagged on the post (a TikTok or Instagram location tag), or null when the post carries no tag. A tag is the location the creator chose, usually where the video was filmed. About 7% of TikTok and Instagram videos carry one; YouTube has no place tag, so YouTube videos are always null.","allOf":[{"$ref":"#\/components\/schemas\/VideoLocationDto"}]},"intelligence":{"type":"object","nullable":true,"additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"],"description":"Disambiguates a null `intelligence` field: `ready`, `pending`, `disabled` (data_intelligence_enabled was off), `skipped` (deliberately not analyzed, so it will never arrive; see `intelligence_skip_reason`), `failed` (reserved)."},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."},"intent_match":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/AgentIntentMatchDto"}]},"sound":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]},"transcript":{"nullable":true,"description":"Only present with `include_transcript=true`. Null when the video has no speech or has not been transcribed yet (an Instagram Reel on an agent without Data Intelligence, or one whose analysis is still pending).","allOf":[{"$ref":"#\/components\/schemas\/AgentVideoTranscriptDto"}]}},"required":["id","url","platform","views","likes","shares","comments"]},"AgentVideosDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"agent_name":{"type":"string","nullable":true},"total":{"type":"number"},"limit":{"type":"number"},"offset":{"type":"number"},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentVideoItemDto"}}},"required":["agent_id","total","limit","offset","videos"]},"AgentVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentVideosDataDto"}},"required":["data"]},"AgentSlideshowImageDto":{"type":"object","properties":{"image_url":{"type":"string"},"position":{"type":"number"}},"required":["image_url","position"]},"AgentSlideshowItemDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string"},"description":{"type":"string","nullable":true},"hashtags":{"type":"array","items":{"type":"string"}},"publish_date":{"type":"string","nullable":true},"views":{"type":"number"},"comments":{"type":"number"},"likes":{"type":"number"},"shares":{"type":"number"},"bookmarks":{"type":"number","nullable":true},"thumbnail_url":{"type":"string","nullable":true},"images":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentSlideshowImageDto"}},"platform":{"type":"string","description":"Platform identifier (usually tiktok)"},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"intelligence":{"type":"object","nullable":true,"additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","pending","disabled","failed","skipped"]},"intelligence_skip_reason":{"type":"string","nullable":true,"enum":["intent_mismatch","too_old","under_followers"],"example":null,"description":"Set only when `intelligence_status` is `skipped`: why Data Intelligence deliberately did not analyze this item, so its `intelligence` will never arrive. `intent_mismatch` (it does not match the agent's intent), `too_old` (published more than a year ago and not among the run's top performers), `under_followers` (more than two days old with no more views than its creator has followers). null otherwise."},"keyword_found_by":{"type":"string","nullable":true,"description":"The agent keyword that surfaced this slideshow."},"region":{"type":"string","nullable":true,"example":"US","description":"Upload region (ISO-3166-1 alpha-2) straight from TikTok \u2014 the highest-coverage region signal. Null when unresolved. Filter with the `region` query param."},"is_paid":{"type":"boolean","example":false,"description":"True when the post is paid distribution rather than organic reach: TikTok marked it boosted (ad spend) or a Paid partnership \/ Promotional content, Instagram marked it a paid partnership, or the caption discloses it (#ad, #sponsored, #<brand>partner, gifted). Its views reflect ad budget, so treat it as an ad, not an organic viral win."},"paid_signals":{"example":[],"description":"Which paid signals fired: `boosted`, `paid_partnership`, `promotional_content`, `caption_disclosure`. Empty when `is_paid` is false.","type":"array","items":{"type":"string"}},"is_eligible_for_commission":{"type":"boolean","nullable":true,"description":"Whether the slideshow is eligible for commission (e.g. TikTok Shop), when known."}},"required":["id","url","views"]},"AgentSlideshowsDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"agent_name":{"type":"string","nullable":true},"total":{"type":"number"},"limit":{"type":"number"},"offset":{"type":"number"},"slideshows":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentSlideshowItemDto"}}},"required":["agent_id","total","limit","offset","slideshows"]},"AgentSlideshowsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentSlideshowsDataDto"}},"required":["data"]},"AgentAdItemDto":{"type":"object","properties":{"id":{"type":"number","example":1234},"ad_archive_id":{"type":"string","example":"987654321","nullable":true},"page_id":{"type":"string","example":"111222333","nullable":true},"page_profile_url":{"type":"string","nullable":true},"page_profile_picture_url":{"type":"string","nullable":true},"is_active":{"type":"boolean","example":true,"nullable":true},"start_date":{"type":"string","example":"2026-01-01T00:00:00.000Z","nullable":true},"end_date":{"type":"string","example":"2026-02-01T00:00:00.000Z","nullable":true},"url":{"type":"string","example":"https:\/\/example.com\/ad","nullable":true},"caption":{"type":"string","nullable":true},"body":{"type":"string","nullable":true},"cta_type":{"type":"string","example":"SHOP_NOW","nullable":true},"page_like_count":{"type":"number","example":50000,"nullable":true},"title":{"type":"string","nullable":true},"video_url":{"type":"string","nullable":true,"description":"Playable video link. Facebook video links expire after a few days; on `GET \/v1\/agents\/:id\/ads` an expired link is refreshed from the Ad Library when possible, otherwise null."},"poster_url":{"type":"string","nullable":true,"description":"Still image for the ad: the video preview frame, or the first image of an image ad. `GET \/v1\/agents\/:id\/ads` only; links expire after a few days."},"image_urls":{"description":"Images of an image or carousel ad (up to 10). `GET \/v1\/agents\/:id\/ads` only; links expire after a few days.","type":"array","items":{"type":"string"}},"display_format":{"type":"string","nullable":true,"example":"VIDEO","description":"Creative format as the Ad Library reports it: VIDEO, IMAGE, CAROUSEL, DCO and others. `GET \/v1\/agents\/:id\/ads` only."},"created_at":{"type":"string","example":"2026-01-15T10:30:00.000Z"},"linked_at":{"type":"string"}},"required":["id","ad_archive_id","page_id","created_at"]},"AgentAdsDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"agent_name":{"type":"string","nullable":true},"total":{"type":"number"},"limit":{"type":"number"},"offset":{"type":"number"},"ads":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentAdItemDto"}}},"required":["agent_id","total","limit","offset","ads"]},"AgentAdsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentAdsDataDto"}},"required":["data"]},"AgentOutliersDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"agent_name":{"type":"string","nullable":true},"total":{"type":"number"},"limit":{"type":"number"},"offset":{"type":"number"},"has_more":{"type":"boolean","description":"Whether more outliers exist beyond this page."},"hasMore":{"type":"boolean","deprecated":true,"description":"Deprecated camelCase alias for `has_more`, kept for backward compatibility. Removed Aug 3, 2026 \u2014 migrate to `has_more`."},"ranking":{"type":"string","enum":["velocity","outlier_fallback"],"description":"Present when `order_by=rising`: `velocity` for run-over-run ranking, `outlier_fallback` when the agent lacks two snapshots."},"sort":{"type":"string","example":"rising","description":"Echo of the requested sort when `order_by=rising`."},"outliers":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1OutlierItemDto"}}},"required":["agent_id","outliers"]},"AgentOutliersResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentOutliersDataDto"}},"required":["data"]},"AgentHashtagsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometHashtagItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"AgentBenchmarksResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometBenchmarkTierDto"}}},"required":["data"]},"AgentAffinityResponseDto":{"type":"object","properties":{"data":{"type":"object","additionalProperties":true,"description":"Genre adjacency derived from the niche corpus (exploratory). `creator_topics` = dominant topics from curated outlier creators; `related_hashtags` = co-occurring hashtags; `related_sounds` = co-occurring sounds. NOT a follow-graph."}},"required":["data"]},"AgentSimilarCreatorsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CometSimilarCreatorItemDto"}}},"required":["data"]},"AgentRunsListDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"limit":{"type":"number"},"offset":{"type":"number"},"count":{"type":"number"},"runs":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentRunDto"}}},"required":["agent_id","limit","offset","count","runs"]},"AgentRunsListResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentRunsListDataDto"}},"required":["data"]},"AgentRunResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentRunDto"}},"required":["data"]},"AgentActivityItemDto":{"type":"object","properties":{"content":{"type":"string"},"category":{"type":"string","enum":["observation","decision","milestone","user_pref"]},"created_at":{"type":"string"}},"required":["content","category","created_at"]},"AgentActivityDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"count":{"type":"number"},"activity":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentActivityItemDto"}}},"required":["agent_id","count","activity"]},"AgentActivityResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentActivityDataDto"}},"required":["data"]},"AgentEventEvidenceItemDto":{"type":"object","properties":{"url":{"type":"string","nullable":true,"description":"Source URL for this piece of evidence (a corroborating video\/article), when the detection source carries one. Null for corpus-derived evidence."},"views":{"type":"number","nullable":true,"description":"View count for the evidence video, when known."},"description":{"type":"string","nullable":true,"description":"Short description \/ title of the evidence item."}}},"AgentEventDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string","description":"Short headline naming the event and its subject.","example":"Broad Peak avalanche \u2014 Nimsdai Purja rescue effort"},"summary":{"type":"string","nullable":true,"description":"One-line summary of what happened and roughly when."},"source":{"type":"string","enum":["corpus_burst","news_scan"],"description":"How the event was detected: `corpus_burst` (a spike in the agent\u2019s own collected videos) or `news_scan` (a news probe confirmed by fresh platform content)."},"salience":{"type":"number","description":"Importance 0\u201310 (10 = defines the niche this week). Events below the reporting threshold are not surfaced.","example":9},"status":{"type":"string","enum":["candidate","confirmed","dismissed","expired"],"description":"Lifecycle: `candidate` (detected, awaiting corroboration), `confirmed` (active), `dismissed` (rejected), `expired` (past its TTL)."},"keywords":{"description":"The timely search keywords the agent derived for this event (proper-noun phrases a creator would search).","example":["broad peak avalanche","nimsdai tribute"],"type":"array","items":{"type":"string"}},"evidence":{"description":"Top corroborating evidence \u2014 videos\/results that back the event, each with `url`, `views`, and `description` when available.","type":"array","items":{"$ref":"#\/components\/schemas\/AgentEventEvidenceItemDto"}},"detected_at":{"type":"string","description":"When the event was first detected."},"confirmed_at":{"type":"string","nullable":true,"description":"When the event was confirmed active. Null while a candidate."},"expires_at":{"type":"string","nullable":true,"description":"When the event expires (TTL). Null if open-ended."}},"required":["id","title","source","salience","status","keywords","evidence","detected_at"]},"AgentEventsDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"count":{"type":"number"},"events":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentEventDto"}}},"required":["agent_id","count","events"]},"AgentEventsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentEventsDataDto"}},"required":["data"]},"AgentProposalDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"content_research_agent_id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["keyword_refresh","filter_change","cadence_change","pause"]},"source":{"type":"string","enum":["drift","opportunity","net_new","user"]},"rationale":{"type":"string"},"diff":{"type":"object","description":"{ before, after } snapshot used for preview + revert. `quality.stats` carries snake_case keys (`avg_words_per_keyword`, `single_word_count`, `long_keyword_count`, `duplicate_count`, `core_token_coverage`, `core_token`); the same values under camelCase names are deprecated aliases.","additionalProperties":true},"status":{"type":"string","enum":["pending","auto_applied","applied","dismissed","reverted"]},"created_at":{"type":"string"},"decided_at":{"type":"string","nullable":true}},"required":["id","content_research_agent_id","type","source","rationale","diff","status","created_at"]},"AgentProposalsListDataDto":{"type":"object","properties":{"agent_id":{"type":"string","format":"uuid"},"count":{"type":"number"},"proposals":{"type":"array","items":{"$ref":"#\/components\/schemas\/AgentProposalDto"}}},"required":["agent_id","count","proposals"]},"AgentProposalsListResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentProposalsListDataDto"}},"required":["data"]},"ApplyProposalDataDto":{"type":"object","properties":{"applied":{"type":"boolean"},"proposal_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"autopilot_unlocked":{"type":"boolean"},"agent":{"$ref":"#\/components\/schemas\/AgentConfigDto"}},"required":["applied","proposal_id","status","autopilot_unlocked","agent"]},"ApplyProposalResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/ApplyProposalDataDto"}},"required":["data"]},"DismissProposalDataDto":{"type":"object","properties":{"dismissed":{"type":"boolean","example":true},"proposal_id":{"type":"string","format":"uuid"}},"required":["dismissed","proposal_id"]},"DismissProposalResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/DismissProposalDataDto"}},"required":["data"]},"RevertProposalDataDto":{"type":"object","properties":{"reverted":{"type":"boolean","example":true},"proposal_id":{"type":"string","format":"uuid"},"agent":{"$ref":"#\/components\/schemas\/AgentConfigDto"}},"required":["reverted","proposal_id","agent"]},"RevertProposalResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/RevertProposalDataDto"}},"required":["data"]},"V1SetAutonomyDto":{"type":"object","properties":{"autopilot":{"type":"boolean","description":"true turns autopilot on (the default for every agent); false keeps the configuration exactly as you set it."},"autonomy_level":{"type":"string","description":"Older spelling of `autopilot`: \"autopilot\" = on, \"suggest\" = off. Send one of the two, not both.","enum":["suggest","autopilot"],"deprecated":true},"cognition_enabled":{"type":"boolean","description":"Master switch for self-optimization. false pauses all reflection and changes; true resumes."}}},"SetAutonomyResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentConfigDto"},"message":{"type":"string","example":"Autonomy updated"}},"required":["data","message"]},"CreatorStatusProcessingDto":{"type":"object","properties":{"status":{"type":"string","example":"processing"},"finalized":{"type":"boolean","example":false,"description":"Always false while the main lookup is still processing. Included for shape uniformity with the completed variant."},"pending_jobs":{"description":"Always an empty array while the main lookup is processing.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["status"]},"CreatorProfileDto":{"type":"object","properties":{"followers":{"type":"number","example":160726},"following":{"type":"number","example":12},"avatar_url":{"type":"string","nullable":true},"url":{"type":"string","example":"https:\/\/www.youtube.com\/@creator_name"},"description":{"type":"string","nullable":true},"is_verified":{"type":"boolean","nullable":true},"total_videos":{"type":"number","nullable":true},"total_likes":{"type":"number","nullable":true},"total_views":{"type":"number","nullable":true},"total_posts":{"type":"number","nullable":true},"category":{"type":"string","nullable":true,"description":"Content category slug from the Virlo category registry (e.g. \"comedy\", \"fitness\", \"basketball\"). AI-classified."},"account_created_at":{"type":"string","format":"date-time","nullable":true,"example":"2016-08-10T22:02:34.000Z","description":"When the account was opened (ISO-8601 UTC). TikTok gives the exact time; YouTube gives the day of the channel's \"Joined\" date. Null when the platform does not show it, including every Instagram account."}},"required":["followers","following","url"]},"CreatorStatsDto":{"type":"object","properties":{"videos_analyzed":{"type":"number","example":20},"avg_views":{"type":"number","example":26935},"median_views":{"type":"number","example":10320},"avg_likes":{"type":"number","example":1500},"avg_comments":{"type":"number","example":84},"engagement_rate":{"type":"number","example":0.05},"top_performing_views":{"type":"number","example":250000},"lowest_performing_views":{"type":"number","example":500},"posting_frequency_days":{"type":"number","example":3.5,"description":"Only present when >= 2 videos have dates"}},"required":["videos_analyzed","avg_views","median_views","avg_likes","avg_comments","engagement_rate","top_performing_views","lowest_performing_views"]},"CreatorHashtagDto":{"type":"object","properties":{"hashtag":{"type":"string","example":"fyp"},"total_views":{"type":"number","example":5000000},"avg_views":{"type":"number","example":250000},"avg_likes":{"type":"number","example":12000},"avg_comments":{"type":"number","example":340},"used_count":{"type":"number","example":5}},"required":["hashtag","total_views","avg_views","avg_likes","avg_comments","used_count"]},"CreatorVideoDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"views":{"type":"number","example":250000},"likes":{"type":"number","example":12000},"comments":{"type":"number","example":340},"shares":{"type":"number","example":500,"nullable":true},"bookmarks":{"type":"number","example":1200,"nullable":true},"is_duet":{"type":"boolean","description":"Whether this video is a TikTok duet. Always false for YouTube\/Instagram."},"is_stitch":{"type":"boolean","description":"Whether this video is a TikTok stitch. Always false for YouTube\/Instagram."},"publish_date":{"type":"string","nullable":true,"description":"ISO publish timestamp."},"publishDate":{"type":"string","nullable":true,"deprecated":true,"description":"Deprecated camelCase alias for `publish_date`. Removed Aug 3, 2026."},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true,"description":"Video thumbnail URL. Null when the platform did not supply one."},"duration":{"type":"number","nullable":true,"example":34,"description":"Video length in seconds. Null when unavailable."},"is_pinned":{"type":"boolean","description":"Whether the video is pinned to the top of the creator profile. TikTok only; absent\/false elsewhere."},"isPinned":{"type":"boolean","deprecated":true,"description":"Deprecated camelCase alias for `is_pinned`. Removed Aug 3, 2026."},"sound":{"nullable":true,"description":"Sound\/audio metadata associated with this video. null if no sound data is available.","allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]}},"required":["id","title","description","url","views","likes","comments","is_duet","is_stitch","hashtags"]},"CreatorOutlierVideoDto":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"},"views":{"type":"number","example":250000},"likes":{"type":"number","example":12000},"comments":{"type":"number","example":340},"shares":{"type":"number","example":500,"nullable":true},"bookmarks":{"type":"number","example":1200,"nullable":true},"is_duet":{"type":"boolean","description":"Whether this video is a TikTok duet. Always false for YouTube\/Instagram."},"is_stitch":{"type":"boolean","description":"Whether this video is a TikTok stitch. Always false for YouTube\/Instagram."},"publish_date":{"type":"string","nullable":true,"description":"ISO publish timestamp."},"publishDate":{"type":"string","nullable":true,"deprecated":true,"description":"Deprecated camelCase alias for `publish_date`. Removed Aug 3, 2026."},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true,"description":"Video thumbnail URL. Null when the platform did not supply one."},"duration":{"type":"number","nullable":true,"example":34,"description":"Video length in seconds. Null when unavailable."},"is_pinned":{"type":"boolean","description":"Whether the video is pinned to the top of the creator profile. TikTok only; absent\/false elsewhere."},"isPinned":{"type":"boolean","deprecated":true,"description":"Deprecated camelCase alias for `is_pinned`. Removed Aug 3, 2026."},"sound":{"nullable":true,"description":"Sound\/audio metadata associated with this video. null if no sound data is available.","allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]},"outlier_ratio":{"type":"number","example":5},"weighted_score":{"type":"number","example":26.9,"description":"Ranks videos by how far they beat their creator, giving more credit to bigger baselines. Not the Virality Score."}},"required":["id","title","description","url","views","likes","comments","is_duet","is_stitch","hashtags","outlier_ratio"]},"CreatorOutliersDto":{"type":"object","properties":{"threshold_multiplier":{"type":"number","example":2},"outlier_videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorOutlierVideoDto"}}},"required":["threshold_multiplier","outlier_videos"]},"CrossPlatformLinkDto":{"type":"object","properties":{"platform":{"type":"string","example":"instagram","enum":["youtube","tiktok","instagram","twitter","spotify"]},"username":{"type":"string","example":"creator_handle"},"url":{"type":"string","example":"https:\/\/www.instagram.com\/creator_handle"},"source":{"type":"string","example":"ai_search","enum":["bio_link","bio_text","linktree","spotify_api","ai_search"]}},"required":["platform","username","url","source"]},"CrossLinksResultDto":{"type":"object","properties":{"discovered":{"description":"Discovered cross-platform profiles. Empty if none found.","type":"array","items":{"$ref":"#\/components\/schemas\/CrossPlatformLinkDto"}},"bio_link_url":{"type":"string","nullable":true,"description":"Link-in-bio URL detected in creator profile (e.g. Linktree)."},"sources_checked":{"example":["structured_fields","bio_text","spotify_api","ai_search"],"description":"Discovery methods attempted.","type":"array","items":{"type":"string"}}},"required":["discovered","sources_checked"]},"CreatorTrendsTimeWindowDto":{"type":"object","properties":{"start_date":{"type":"string","example":"2026-04-12"},"end_date":{"type":"string","example":"2026-05-03"},"video_count":{"type":"number"},"total_views":{"type":"number","nullable":true,"description":"Sum over the videos that report views. Null when none do (Instagram photos and carousels)."},"total_likes":{"type":"number"},"total_comments":{"type":"number"},"total_shares":{"type":"number","nullable":true,"description":"Null when no video reports shares (Instagram never does)."},"avg_views":{"type":"number","nullable":true,"description":"Mean over the videos that report views. Null when none do."},"videos_with_views":{"type":"number","description":"How many of video_count report a view count."},"description":{"type":"string"}},"required":["start_date","end_date","video_count","total_views","total_likes","total_comments","total_shares","avg_views","description"]},"TrendPerformanceDto":{"type":"object","properties":{"videos_with_views":{"type":"number","description":"How many of the trend's videos report a view count."},"median_views":{"type":"number","nullable":true},"corpus_median_views":{"type":"number","nullable":true,"description":"Median views of every video in the corpus, the baseline."},"views_lift":{"type":"number","nullable":true,"example":2.4,"description":"median_views \/ corpus_median_views. Null when either side has fewer than 3 videos with views."},"median_engagement_rate":{"type":"number","nullable":true,"description":"(likes + comments + shares) \/ views, median over the trend."},"corpus_median_engagement_rate":{"type":"number","nullable":true},"engagement_lift":{"type":"number","nullable":true}},"required":["videos_with_views","median_views","corpus_median_views","views_lift","median_engagement_rate","corpus_median_engagement_rate","engagement_lift"]},"TrendRecencyDto":{"type":"object","properties":{"first_seen":{"type":"string","nullable":true,"example":"2026-03-02"},"last_seen":{"type":"string","nullable":true,"example":"2026-11-05"},"window_end":{"type":"string","nullable":true,"description":"Newest post in the corpus. 'Last 30 days' is counted back from here, not from today."},"videos_last_30d":{"type":"number"},"share_last_30d":{"type":"number","nullable":true,"description":"Share of the corpus's last-30-day posts in this trend."},"share_before":{"type":"number","nullable":true,"description":"Share of the corpus's older posts in this trend."},"direction":{"type":"string","nullable":true,"enum":["rising","steady","fading"],"description":"Rising: 5+ recent videos, 5%+ of recent posts and 1.5x its older share. Fading: half or less of an older share of 5%+. Null when either period has fewer than 10 posts."}},"required":["first_seen","last_seen","window_end","videos_last_30d","share_last_30d","share_before","direction"]},"TrendExampleDto":{"type":"object","properties":{"id":{"type":"string"},"views":{"type":"number","nullable":true},"publish_date":{"type":"string","nullable":true}},"required":["id","views","publish_date"]},"CreatorTrendItemDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"tactics":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number","description":"Evidence behind the trend, 0.35 at 3 videos up to 0.95 at 20 or more. A trend needs at least max(3, 2% of the corpus) videos to be reported."},"video_count":{"type":"number"},"evidence_video_ids":{"type":"array","items":{"type":"string"}},"time_windows":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorTrendsTimeWindowDto"}},"resurged":{"type":"boolean","description":"True iff this trend has >=2 time_windows (i.e. an era this creator returned to)."},"momentum":{"type":"string","nullable":true,"enum":["stronger","weaker","similar"],"description":"Latest vs prior window avg_views. Null for single-window trends. +\/-15% deadband."},"share_of_corpus":{"type":"number","description":"The trend's videos as a share of the corpus."},"performance":{"$ref":"#\/components\/schemas\/TrendPerformanceDto"},"recency":{"$ref":"#\/components\/schemas\/TrendRecencyDto"},"top_examples":{"description":"The trend's three most viewed videos.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendExampleDto"}}},"required":["name","description","tactics","confidence","video_count","evidence_video_ids","time_windows","resurged"]},"TrendFindingDto":{"type":"object","properties":{"kind":{"type":"string","enum":["outperforms","underperforms","rising","fading"]},"trend":{"type":"string"},"text":{"type":"string","example":"\"Live Shopping & Promotional Offers\" videos get 6.33x the median views (median 1,500,000 vs 237,000, 14 videos)."},"evidence_video_ids":{"type":"array","items":{"type":"string"}}},"required":["kind","trend","text","evidence_video_ids"]},"TrendCorpusDto":{"type":"object","properties":{"videos":{"type":"number"},"videos_with_views":{"type":"number","description":"Videos that report views. Instagram photos and carousels have none."},"median_views":{"type":"number","nullable":true},"first_date":{"type":"string","nullable":true},"last_date":{"type":"string","nullable":true}},"required":["videos","videos_with_views","median_views","first_date","last_date"]},"CreatorTrendsDto":{"type":"object","properties":{"analyzed":{"type":"boolean","description":"True iff trend_analysis was set on the request."},"summary":{"type":"string"},"trends":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorTrendItemDto"}},"status":{"type":"string","enum":["ok","insufficient_corpus","skipped"]},"key_findings":{"description":"Up to 4 plain-words findings (best and worst performing trend, rising and fading), each written from the numbers above and only when they clear the evidence bars.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendFindingDto"}},"corpus":{"$ref":"#\/components\/schemas\/TrendCorpusDto"},"method":{"type":"string","enum":["trends-v2"]}},"required":["analyzed","summary","trends","status"]},"CreatorLookupResultDto":{"type":"object","properties":{"username":{"type":"string","example":"creator_name"},"platform":{"type":"string","example":"youtube","enum":["youtube","tiktok","instagram"]},"profile":{"description":"May be omitted if unavailable","allOf":[{"$ref":"#\/components\/schemas\/CreatorProfileDto"}]},"stats":{"$ref":"#\/components\/schemas\/CreatorStatsDto"},"hashtags":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorHashtagDto"}},"content_tags":{"description":"AI-generated content tags describing the creator's specific niche (e.g. [\"asmr\", \"mukbang\", \"budget-meals\"])","type":"array","items":{"type":"string"}},"videos":{"description":"Only present when include=videos","type":"array","items":{"$ref":"#\/components\/schemas\/CreatorVideoDto"}},"outliers":{"description":"Only present when include=outliers","allOf":[{"$ref":"#\/components\/schemas\/CreatorOutliersDto"}]},"cross_links":{"description":"Only present when cross_links=true. Discovered cross-platform social profiles.","allOf":[{"$ref":"#\/components\/schemas\/CrossLinksResultDto"}]},"audience_demographics":{"description":"Only present when audience_demographics=true. Inferred audience age + gender distributions. Shape is AudienceSnapshotDto on cache hit, or AudienceProcessingPointerDto ({ status: \"processing\", job_id }) when a fresh job was dispatched.","oneOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"},{"$ref":"#\/components\/schemas\/AudienceProcessingPointerDto"}]},"audience_geography":{"description":"Only present when audience_geography=true. Inferred country + city distributions and language mix. Shape is AudienceSnapshotDto on cache hit, or AudienceProcessingPointerDto ({ status: \"processing\", job_id }) when a fresh job was dispatched.","oneOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"},{"$ref":"#\/components\/schemas\/AudienceProcessingPointerDto"}]},"trends":{"description":"Only present when trend_analysis=true. AI-derived trends across this creator's body of work, with mechanically-derived time_windows[] \/ resurged \/ momentum fields. Empty on insufficient corpus (status: \"insufficient_corpus\") or upstream failure (status: \"ok\" with empty trends[]).","allOf":[{"$ref":"#\/components\/schemas\/CreatorTrendsDto"}]},"run_id":{"type":"string","format":"uuid","description":"Durable satellite_run id for this lookup. Use it with GET \/v1\/satellite\/runs\/:run_id to re-read the full result for free at any time. Always present on completed responses."},"credits_charged":{"type":"number","description":"Credits charged for this run: base plus every surcharge it was billed (trend_analysis, audience, data_intelligence). Refunds are reported separately in `credits_refunded`; the authoritative charge is the X-Credits-Used header of the request that started the run."},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because part of the run was not delivered: the trend_analysis surcharge when no trends came out, the audience surcharge when no new snapshot was needed. Present only when a refund was made."}},"required":["username","platform","stats","hashtags"]},"CreatorStatusCompletedDto":{"type":"object","properties":{"status":{"type":"string","example":"completed"},"result":{"$ref":"#\/components\/schemas\/CreatorLookupResultDto"},"finalized":{"type":"boolean","example":false,"description":"True when this lookup will not change anymore: the main lookup is in a terminal state AND `pending_jobs` is empty. Optional for backwards compatibility."},"pending_jobs":{"description":"Secondary jobs (e.g. audience demographics \/ geography snapshots) still running after the main lookup completed. Always an array, never null. Empty when nothing is pending.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["status","result"]},"CreatorStatusFailedDto":{"type":"object","properties":{"status":{"type":"string","example":"failed"},"error":{"type":"string","example":"No TikTok account found for @username. Check the handle and try again.","description":"Human-readable reason. Free to change: branch on error_code."},"error_code":{"type":"string","enum":["creator_not_found","no_public_posts","creator_unavailable","provider_unavailable","lookup_failed"],"example":"creator_not_found","description":"Why the lookup failed, as a stable code. creator_not_found: no account under this handle, fix the handle. no_public_posts: the account exists but has no posts to analyze. creator_unavailable: the profile could not be read (private, age-restricted or region-blocked). provider_unavailable: the profile shows posts but they could not be loaded right now; retry in a few minutes. lookup_failed: any other error. Every failed lookup is refunded. New codes may be added."},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because the lookup failed (for example a handle with no public posts). Present only when a refund was made."},"finalized":{"type":"boolean","example":true,"description":"Always true when the lookup failed: no further work will happen. Included for shape uniformity with the completed variant."},"pending_jobs":{"description":"Always an empty array on failure.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["status","error"]},"VideoOutlierStatusProcessingDto":{"type":"object","properties":{"status":{"type":"string","example":"processing"},"finalized":{"type":"boolean","example":false,"description":"Always false while the analysis is still running."}},"required":["status","finalized"]},"VideoOutlierVideoDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/www.instagram.com\/reels\/abc123\/"},"title":{"type":"string","example":"Video title or caption"},"views":{"type":"number","example":61622},"likes":{"type":"number","example":11809},"comments":{"type":"number","example":84},"publish_date":{"type":"string","example":"2026-02-25T16:40:48.000Z","nullable":true,"description":"ISO publish timestamp."},"publishDate":{"type":"string","example":"2026-02-25T16:40:48.000Z","nullable":true,"deprecated":true,"description":"Deprecated camelCase alias for `publish_date`. Removed Aug 3, 2026."}},"required":["url","title","views","likes","comments"]},"VideoOutlierCreatorProfileDto":{"type":"object","properties":{"followers":{"type":"number","example":160726},"following":{"type":"number","example":12},"avatar_url":{"type":"string","nullable":true},"url":{"type":"string","example":"https:\/\/www.instagram.com\/creator\/"}},"required":["followers","following","url"]},"VideoOutlierCreatorDto":{"type":"object","properties":{"username":{"type":"string","example":"notivion.ig"},"platform":{"type":"string","example":"instagram","enum":["youtube","tiktok","instagram"]},"profile":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/VideoOutlierCreatorProfileDto"}]}},"required":["username","platform"]},"VideoOutlierAnalysisDto":{"type":"object","properties":{"videos_analyzed":{"type":"number","example":100},"median_views":{"type":"number","example":10320},"avg_views":{"type":"number","example":26935},"outlier_score":{"type":"number","example":5.97},"weighted_score":{"type":"number","example":26.9,"description":"Ranks videos by how far they beat their creator, giving more credit to bigger baselines. Not the Virality Score."},"percentile":{"type":"number","example":92},"std_deviation":{"type":"number","example":50023},"z_score":{"type":"number","example":0.69},"performance_label":{"type":"string","example":"viral","enum":["average","above_average","viral","mega_viral"]}},"required":["videos_analyzed","median_views","avg_views","outlier_score","percentile","std_deviation","z_score","performance_label"]},"VideoOutlierRankDto":{"type":"object","properties":{"position":{"type":"number","example":2,"description":"1 is their most viewed."},"of":{"type":"number","example":100}},"required":["position","of"]},"VideoOutlierEngagementComparisonDto":{"type":"object","properties":{"video":{"type":"number","example":0.089},"typical":{"type":"number","example":0.052},"lift":{"type":"number","nullable":true,"example":1.71,"description":"This video against the typical one. 1.5 is 50% above."}},"required":["video","typical","lift"]},"VideoOutlierDurationComparisonDto":{"type":"object","properties":{"video":{"type":"number","example":14},"typical":{"type":"number","example":38}},"required":["video","typical"]},"VideoOutlierTopVideoDto":{"type":"object","properties":{"url":{"type":"string"},"title":{"type":"string"},"views":{"type":"number","example":1250000},"publish_date":{"type":"string","nullable":true},"is_this_video":{"type":"boolean","example":false}},"required":["url","title","views","publish_date","is_this_video"]},"VideoOutlierFindingDto":{"type":"object","properties":{"kind":{"type":"string","enum":["rank","engagement","length","hashtags","too_new"],"example":"rank"},"text":{"type":"string","example":"Their 2nd most viewed of the 100 recent videos checked."}},"required":["kind","text"]},"VideoOutlierComparisonDto":{"type":"object","properties":{"rank":{"$ref":"#\/components\/schemas\/VideoOutlierRankDto"},"engagement_rate":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/VideoOutlierEngagementComparisonDto"}]},"duration_seconds":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/VideoOutlierDurationComparisonDto"}]},"rare_hashtags":{"example":["legday"],"description":"Hashtags on this video the creator rarely uses.","type":"array","items":{"type":"string"}},"posted_days_ago":{"type":"number","nullable":true,"example":12},"top_videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/VideoOutlierTopVideoDto"}},"key_findings":{"description":"Plain sentences on how this video differs, written only when the numbers clear a bar. Differences, not proven causes.","type":"array","items":{"$ref":"#\/components\/schemas\/VideoOutlierFindingDto"}}},"required":["rank","engagement_rate","duration_seconds","rare_hashtags","posted_days_ago","top_videos","key_findings"]},"VideoOutlierResultDto":{"type":"object","properties":{"video":{"$ref":"#\/components\/schemas\/VideoOutlierVideoDto"},"creator":{"$ref":"#\/components\/schemas\/VideoOutlierCreatorDto"},"analysis":{"$ref":"#\/components\/schemas\/VideoOutlierAnalysisDto"},"comparison":{"nullable":true,"description":"How this video differs from the creator's other recent videos. null with too few of them, and absent on checks made before Nov 2026.","allOf":[{"$ref":"#\/components\/schemas\/VideoOutlierComparisonDto"}]}},"required":["video","creator","analysis"]},"VideoOutlierStatusCompletedDto":{"type":"object","properties":{"status":{"type":"string","example":"completed"},"result":{"$ref":"#\/components\/schemas\/VideoOutlierResultDto"},"finalized":{"type":"boolean","example":true,"description":"Always true once the analysis completed: nothing else runs after it. Same done signal as the other async status replies."}},"required":["status","result","finalized"]},"VideoOutlierStatusFailedDto":{"type":"object","properties":{"status":{"type":"string","example":"failed"},"error":{"type":"string","example":"Video not found or private"},"finalized":{"type":"boolean","example":true,"description":"Always true when the analysis failed: no further work will happen."}},"required":["status","error","finalized"]},"AudienceGeoBucketDto":{"type":"object","properties":{"code":{"type":"string","example":"US","description":"ISO 3166-1 alpha-2 code (countries) or two-letter country code the city belongs to. Omitted on the trailing \"Other\" bucket that aggregates the long tail."},"name":{"type":"string","example":"United States","description":"Display name. The trailing bucket may be returned as \"Other (N countries)\" \/ \"Other (N cities)\" when low-volume tail entries are consolidated."},"pct":{"type":"number","example":0.42,"description":"Share of the resolved sample (0\u20131)"},"confidence":{"type":"number","example":0.72,"description":"Aggregate confidence the pipeline has in this bucket assignment (0\u20131). Combines per-commenter inference confidence and corroborating signals. Omitted on the trailing \"Other\" bucket."}},"required":["name","pct"]},"AudienceConfidenceDto":{"type":"object","properties":{"age":{"type":"number","example":0.72},"gender":{"type":"number","example":0.78},"country":{"type":"number","example":0.65},"city":{"type":"number","example":0.55},"language":{"type":"number","example":0.7}}},"AudienceSnapshotDto":{"type":"object","properties":{"snapshot_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"snapshot_at":{"type":"string","example":"2026-05-21T01:06:00.000Z"},"sample_size":{"type":"number","example":1500,"description":"Number of commenter samples resolved for this snapshot"},"age_distribution":{"type":"object","additionalProperties":{"type":"number"},"description":"Age band \u2192 share of resolved sample (0\u20131). Keys: \"13-17\", \"18-24\", \"25-34\", \"35-44\", \"45+\". Null when confidence is below internal floor.","nullable":true,"example":{"13-17":0.05,"18-24":0.4,"25-34":0.35,"35-44":0.15,"45+":0.05}},"gender_distribution":{"type":"object","additionalProperties":{"type":"number"},"description":"Gender \u2192 share of resolved sample (0\u20131). Keys: \"female\", \"male\", \"unknown\".","nullable":true,"example":{"female":0.62,"male":0.34,"unknown":0.04}},"country_distribution":{"nullable":true,"description":"Top countries, ordered by share descending. Low-volume tail entries (those backed by fewer than 2 underlying commenters) are consolidated into a single trailing `{ \"name\": \"Other (N countries)\", \"pct\": <sum> }` bucket so the distribution head stays readable on small samples.","type":"array","items":{"$ref":"#\/components\/schemas\/AudienceGeoBucketDto"}},"city_distribution":{"nullable":true,"description":"Top cities, ordered by share descending. Long-tail consolidation matches `country_distribution` \u2014 singletons are rolled into a trailing `{ \"name\": \"Other (N cities)\", \"pct\": <sum> }` bucket. May be null when city signal is too sparse.","type":"array","items":{"$ref":"#\/components\/schemas\/AudienceGeoBucketDto"}},"language_distribution":{"type":"object","additionalProperties":{"type":"number"},"description":"Language code \u2192 share of resolved sample (0\u20131). ISO 639-1 lowercase codes.","nullable":true,"example":{"en":0.78,"es":0.12,"pt":0.05}},"confidence_per_signal":{"description":"Per-signal confidence scores (0\u20131). Distributions are returned null when confidence is below the model floor.","allOf":[{"$ref":"#\/components\/schemas\/AudienceConfidenceDto"}]},"confidence_level":{"type":"string","enum":["low","medium","high"],"example":"medium","description":"Coarse confidence band. \"high\" = \u2265200 samples with strong signals; \"medium\" = \u2265100 or \"high\" downgraded (weak signals OR followers-only sample); \"low\" = \u226530 samples. Quick-take on snapshot reliability before reading `confidence_per_signal`."},"data_source":{"type":"string","enum":["comments","mixed","followers","comments_extended"],"example":"comments","description":"How the sample was assembled. \"comments\" \u2014 engagement-only sample (default); \"mixed\" \u2014 comments + follower list blend (TikTok Tier 1 fallback when comments are sparse); \"followers\" \u2014 follower-list only (TikTok Tier 2 fallback, indicates audience composition without active engagement); \"comments_extended\" \u2014 comments re-collected over an extended post window (IG\/YT fallback). Use to weight signals: comment-derived samples reflect active engagement; follower-derived samples reflect who chose to subscribe."},"signal_breakdown":{"type":"object","properties":{"comments":{"type":"number","example":245},"followers":{"type":"number","example":0},"coverage":{"type":"object","description":"How many sampled people each signal rests on. Every share in a distribution is a share of that signal's `n`, not of `sample_size`. A distribution resting on fewer than 25 is null, with `hidden_for_low_n: true`. Absent on snapshots built before Nov 2026.","additionalProperties":{"type":"object","properties":{"n":{"type":"number","example":124},"share_of_sample":{"type":"number","example":0.506},"margin_of_error_pts":{"type":"number","nullable":true,"example":7.7,"description":"95% margin of error, in percentage points, on the largest bucket."},"hidden_for_low_n":{"type":"boolean"}}}}},"example":{"comments":245,"followers":0,"coverage":{"age":{"n":98,"share_of_sample":0.4,"margin_of_error_pts":9.8},"gender":{"n":231,"share_of_sample":0.943,"margin_of_error_pts":6.1},"country":{"n":124,"share_of_sample":0.506,"margin_of_error_pts":7.7},"city":{"n":12,"share_of_sample":0.049,"margin_of_error_pts":27.7,"hidden_for_low_n":true},"language":{"n":240,"share_of_sample":0.98,"margin_of_error_pts":2.4}}},"description":"Per-source contribution to `sample_size`. Always sums to `sample_size`. For `data_source = \"followers\"` snapshots, `comments` is 0; for `data_source = \"comments\"` snapshots, `followers` is 0; for `mixed` both are non-zero. `coverage` gives the base of every distribution, so a share reads as \"X% of n people\"."},"evidence_summary":{"type":"string","nullable":true,"description":"Human-readable summary of how the inferences were derived. Calls out when the sample is follower-sourced rather than commenter-sourced."},"model_version":{"type":"string","example":"v1","description":"Audience inference model version."}},"required":["snapshot_id","snapshot_at","sample_size","confidence_per_signal","confidence_level","data_source","signal_breakdown","model_version"]},"AudienceProcessingPointerDto":{"type":"object","properties":{"status":{"type":"string","example":"processing"},"job_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","description":"Job ID for the dispatched audience snapshot \u2014 poll via the audience endpoints."}},"required":["status","job_id"]},"SoundStatusProcessingDto":{"type":"object","properties":{"status":{"type":"string","enum":["processing"]},"finalized":{"type":"boolean","example":false,"description":"Always false while the lookup is still running."}},"required":["status","finalized"]},"SoundLookupRequestDto":{"type":"object","properties":{"music_id":{"type":"string","example":"7570679470014532374"},"platform":{"type":"string","enum":["tiktok","instagram"],"example":"tiktok"},"trend_analysis":{"type":"boolean"},"max_videos":{"type":"number","example":50}},"required":["music_id","platform","trend_analysis","max_videos"]},"SoundMetadataDto":{"type":"object","properties":{"music_id":{"type":"string"},"platform":{"type":"string","enum":["tiktok","instagram"],"example":"tiktok"},"title":{"type":"string","nullable":true},"is_original":{"type":"boolean"},"is_commerce_music":{"type":"boolean"},"duration_seconds":{"type":"number","nullable":true},"cover_url":{"type":"string","nullable":true},"owner":{"type":"object","example":{"handle":"aubreygraham","nickname":"Drake"},"additionalProperties":true},"reported_usage_count":{"type":"number","nullable":true,"description":"Platform's reported usage count for the sound, independent of our sample (TikTok `user_count`). Null for Instagram \u2014 the IG audio feed exposes no authoritative total-usage count."}},"required":["music_id","platform","is_original","is_commerce_music","owner"]},"SoundStatsViewsDto":{"type":"object","properties":{"total":{"type":"number"},"avg":{"type":"number"},"median":{"type":"number"},"max":{"type":"number"},"min":{"type":"number"}},"required":["total","avg","median","max","min"]},"SoundStatsEngagementDto":{"type":"object","properties":{"total_likes":{"type":"number"},"total_comments":{"type":"number"},"total_shares":{"type":"number"},"total_collects":{"type":"number"},"avg_likes":{"type":"number"},"avg_comments":{"type":"number"},"avg_shares":{"type":"number"},"avg_collects":{"type":"number"},"engagement_rate":{"type":"number"}},"required":["total_likes","total_comments","total_shares","total_collects","avg_likes","avg_comments","avg_shares","avg_collects","engagement_rate"]},"SoundStatsVelocityBucketDto":{"type":"object","properties":{"iso_week":{"type":"string","example":"2026-W18"},"count":{"type":"number"}},"required":["iso_week","count"]},"SoundStatsVelocityDto":{"type":"object","properties":{"videos_per_week":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundStatsVelocityBucketDto"}},"last_4w_avg_videos_per_week":{"type":"number"},"prior_4w_avg_videos_per_week":{"type":"number"},"is_accelerating":{"type":"boolean","description":"True when last_4w_avg \u2265 prior_4w_avg * 1.15."}},"required":["videos_per_week","last_4w_avg_videos_per_week","prior_4w_avg_videos_per_week","is_accelerating"]},"SoundStatsDurationDistributionDto":{"type":"object","properties":{"under_15s":{"type":"number"},"between_15_30s":{"type":"number"},"between_30_60s":{"type":"number"},"over_60s":{"type":"number"}},"required":["under_15s","between_15_30s","between_30_60s","over_60s"]},"SoundStatsCreatorDto":{"type":"object","properties":{"unique_id":{"type":"string"},"nickname":{"type":"string","nullable":true},"is_verified":{"type":"boolean"},"follower_count":{"type":"number","nullable":true},"video_count":{"type":"number"},"total_views":{"type":"number"},"avg_views":{"type":"number"}},"required":["unique_id","is_verified","video_count","total_views","avg_views"]},"SoundStatsHashtagDto":{"type":"object","properties":{"hashtag":{"type":"string"},"used_count":{"type":"number"},"total_views":{"type":"number"},"avg_views":{"type":"number"}},"required":["hashtag","used_count","total_views","avg_views"]},"SoundCustomerVideoAuthorDto":{"type":"object","properties":{"unique_id":{"type":"string","nullable":true},"nickname":{"type":"string","nullable":true},"is_verified":{"type":"boolean"},"follower_count":{"type":"number","nullable":true}},"required":["is_verified"]},"SoundCustomerVideoDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"description":{"type":"string"},"publish_date":{"type":"string","format":"date-time","nullable":true},"duration_seconds":{"type":"number","nullable":true},"views":{"type":"number"},"likes":{"type":"number"},"comments":{"type":"number"},"shares":{"type":"number"},"collects":{"type":"number"},"hashtags":{"type":"array","items":{"type":"string"}},"is_duet":{"type":"boolean"},"is_stitch":{"type":"boolean"},"region":{"type":"string","nullable":true},"author":{"$ref":"#\/components\/schemas\/SoundCustomerVideoAuthorDto"}},"required":["id","url","description","views","likes","comments","shares","collects","hashtags","is_duet","is_stitch","author"]},"SoundStatsDto":{"type":"object","properties":{"videos_analyzed":{"type":"number"},"views":{"$ref":"#\/components\/schemas\/SoundStatsViewsDto"},"engagement":{"$ref":"#\/components\/schemas\/SoundStatsEngagementDto"},"velocity":{"$ref":"#\/components\/schemas\/SoundStatsVelocityDto"},"verified_creator_count":{"type":"number"},"verified_creator_pct":{"type":"number"},"commerce_music_pct":{"type":"number"},"duration_distribution":{"$ref":"#\/components\/schemas\/SoundStatsDurationDistributionDto"},"top_creators":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundStatsCreatorDto"}},"top_hashtags":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundStatsHashtagDto"}},"top_video":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/SoundCustomerVideoDto"}]}},"required":["videos_analyzed","views","engagement","velocity","verified_creator_count","verified_creator_pct","commerce_music_pct","duration_distribution","top_creators","top_hashtags"]},"SoundSampleQualityDto":{"type":"object","properties":{"truncated_by_cap":{"type":"boolean"},"pages_fetched":{"type":"number"},"note":{"type":"string","enum":["insufficient_corpus","small_corpus_workable","healthy_corpus","deep_corpus"]}},"required":["truncated_by_cap","pages_fetched","note"]},"SoundTrendsTimeWindowDto":{"type":"object","properties":{"start_date":{"type":"string","example":"2026-04-12"},"end_date":{"type":"string","example":"2026-05-03"},"video_count":{"type":"number"},"total_views":{"type":"number","nullable":true,"description":"Sum over the videos that report views. Null when none do (Instagram photos and carousels)."},"total_likes":{"type":"number"},"total_comments":{"type":"number"},"total_shares":{"type":"number","nullable":true,"description":"Null when no video reports shares (Instagram never does)."},"avg_views":{"type":"number","nullable":true,"description":"Mean over the videos that report views. Null when none do."},"videos_with_views":{"type":"number","description":"How many of video_count report a view count."},"description":{"type":"string"}},"required":["start_date","end_date","video_count","total_views","total_likes","total_comments","total_shares","avg_views","description"]},"SoundTrendItemDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"tactics":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number","description":"Evidence behind the trend, 0.35 at 3 videos up to 0.95 at 20 or more. A trend needs at least max(3, 2% of the corpus) videos to be reported."},"video_count":{"type":"number"},"evidence_video_ids":{"type":"array","items":{"type":"string"}},"time_windows":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundTrendsTimeWindowDto"}},"resurged":{"type":"boolean","description":"True iff this trend has \u22652 time_windows."},"momentum":{"type":"string","nullable":true,"enum":["stronger","weaker","similar"],"description":"Latest vs prior window avg_views. Null for single-window trends. \u00b115% deadband."},"share_of_corpus":{"type":"number","description":"The trend's videos as a share of the corpus."},"performance":{"$ref":"#\/components\/schemas\/TrendPerformanceDto"},"recency":{"$ref":"#\/components\/schemas\/TrendRecencyDto"},"top_examples":{"description":"The trend's three most viewed videos.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendExampleDto"}}},"required":["name","description","tactics","confidence","video_count","evidence_video_ids","time_windows","resurged"]},"SoundTrendsDto":{"type":"object","properties":{"analyzed":{"type":"boolean","description":"True iff trend_analysis was set on the request."},"summary":{"type":"string"},"trends":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundTrendItemDto"}},"status":{"type":"string","enum":["ok","insufficient_corpus","skipped"]},"key_findings":{"description":"Up to 4 plain-words findings (best and worst performing trend, rising and fading), each written from the numbers above and only when they clear the evidence bars.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendFindingDto"}},"corpus":{"$ref":"#\/components\/schemas\/TrendCorpusDto"},"method":{"type":"string","enum":["trends-v2"]}},"required":["analyzed","summary","trends","status"]},"SoundLookupResultDto":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid","description":"Durable satellite_run id for this lookup. Use it with GET \/v1\/satellite\/runs\/:run_id to re-read the result for free at any time."},"request":{"$ref":"#\/components\/schemas\/SoundLookupRequestDto"},"sound":{"$ref":"#\/components\/schemas\/SoundMetadataDto"},"data_captured_at":{"type":"string","format":"date-time"},"credits_charged":{"type":"number","description":"Credits actually charged for this lookup. 50 for a basic lookup, 100 when trend_analysis=true (50 base + 50 surcharge)."},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because part of the run was not delivered (the trend_analysis surcharge when no trends came out). Present only when a refund was made."},"stats":{"$ref":"#\/components\/schemas\/SoundStatsDto"},"sample_quality":{"$ref":"#\/components\/schemas\/SoundSampleQualityDto"},"trends":{"$ref":"#\/components\/schemas\/SoundTrendsDto"},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundCustomerVideoDto"}}},"required":["run_id","request","sound","data_captured_at","credits_charged","stats","sample_quality","trends","videos"]},"SoundStatusCompletedDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed"]},"result":{"$ref":"#\/components\/schemas\/SoundLookupResultDto"},"finalized":{"type":"boolean","example":true,"description":"Always true once the lookup completed: trends and any refund are settled before it reads completed. Same done signal as the other async status replies."}},"required":["status","result","finalized"]},"SoundStatusFailedDto":{"type":"object","properties":{"status":{"type":"string","enum":["failed"]},"error":{"type":"string"},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because the lookup failed. Present only when a refund was made."},"finalized":{"type":"boolean","example":true,"description":"Always true when the lookup failed: no further work will happen."}},"required":["status","error","finalized"]},"HashtagStatusProcessingDto":{"type":"object","properties":{"status":{"type":"string","enum":["processing"]},"finalized":{"type":"boolean","example":false,"description":"Always false while the lookup is still running."}},"required":["status","finalized"]},"HashtagLookupRequestDto":{"type":"object","properties":{"hashtag":{"type":"string","example":"cleantok","description":"Normalized tag \u2014 lowercased, leading \"#\" stripped."},"platform":{"type":"string","enum":["tiktok","instagram","youtube"],"example":"tiktok"},"trend_analysis":{"type":"boolean"},"max_videos":{"type":"number","example":50,"description":"Effective collection target: max_videos for depth=standard, 300 for deep, 500 for full."},"sort":{"type":"string","enum":["top","recent"],"example":"top","description":"Ordering of the stored videos array."},"depth":{"type":"string","enum":["standard","deep","full"],"example":"standard","description":"Collection depth tier. standard = max_videos (\u2264100), deep = ~300, full = ~500."}},"required":["hashtag","platform","trend_analysis","max_videos","sort","depth"]},"HashtagMetadataDto":{"type":"object","properties":{"name":{"type":"string","example":"cleantok"},"platform":{"type":"string","enum":["tiktok","instagram","youtube"],"example":"tiktok"},"page_url":{"type":"string","example":"https:\/\/www.tiktok.com\/tag\/cleantok","description":"The platform's public page for this tag."}},"required":["name","platform","page_url"]},"HashtagStatsViewsDto":{"type":"object","properties":{"total":{"type":"number"},"avg":{"type":"number"},"median":{"type":"number"},"max":{"type":"number"},"min":{"type":"number"}},"required":["total","avg","median","max","min"]},"HashtagStatsEngagementDto":{"type":"object","properties":{"total_likes":{"type":"number"},"total_comments":{"type":"number"},"total_shares":{"type":"number"},"total_collects":{"type":"number"},"avg_likes":{"type":"number"},"avg_comments":{"type":"number"},"avg_shares":{"type":"number"},"avg_collects":{"type":"number"},"engagement_rate":{"type":"number","description":"Engagement over views for the corpus. Compare within a platform, never across platforms \u2014 shares\/collects are structurally 0 on YouTube and Instagram."}},"required":["total_likes","total_comments","total_shares","total_collects","avg_likes","avg_comments","avg_shares","avg_collects","engagement_rate"]},"HashtagStatsVelocityBucketDto":{"type":"object","properties":{"iso_week":{"type":"string","example":"2026-W18"},"count":{"type":"number"}},"required":["iso_week","count"]},"HashtagStatsVelocityDto":{"type":"object","properties":{"videos_per_week":{"description":"Videos in the collected corpus bucketed by ISO week of publish date \u2014 the time-range view of the tag (capped at 26 weeks).","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagStatsVelocityBucketDto"}},"last_4w_avg_videos_per_week":{"type":"number"},"prior_4w_avg_videos_per_week":{"type":"number"},"is_accelerating":{"type":"boolean","description":"True when last_4w_avg \u2265 prior_4w_avg * 1.15."}},"required":["videos_per_week","last_4w_avg_videos_per_week","prior_4w_avg_videos_per_week","is_accelerating"]},"HashtagStatsDurationDistributionDto":{"type":"object","properties":{"under_15s":{"type":"number"},"between_15_30s":{"type":"number"},"between_30_60s":{"type":"number"},"over_60s":{"type":"number"}},"required":["under_15s","between_15_30s","between_30_60s","over_60s"]},"HashtagStatsCreatorDto":{"type":"object","properties":{"unique_id":{"type":"string"},"nickname":{"type":"string","nullable":true},"is_verified":{"type":"boolean"},"follower_count":{"type":"number","nullable":true},"video_count":{"type":"number"},"total_views":{"type":"number"},"avg_views":{"type":"number"}},"required":["unique_id","is_verified","video_count","total_views","avg_views"]},"RelatedHashtagDto":{"type":"object","properties":{"hashtag":{"type":"string"},"used_count":{"type":"number"},"total_views":{"type":"number"},"avg_views":{"type":"number"}},"required":["hashtag","used_count","total_views","avg_views"]},"HashtagTopSoundDto":{"type":"object","properties":{"external_id":{"type":"string"},"title":{"type":"string","nullable":true},"artist":{"type":"string","nullable":true,"description":"Artist \/ owner attribution when the platform exposes one."},"is_original":{"type":"boolean"},"used_count":{"type":"number"},"total_views":{"type":"number"},"avg_views":{"type":"number"}},"required":["external_id","is_original","used_count","total_views","avg_views"]},"HashtagCustomerVideoAuthorDto":{"type":"object","properties":{"unique_id":{"type":"string","nullable":true},"nickname":{"type":"string","nullable":true},"is_verified":{"type":"boolean"},"follower_count":{"type":"number","nullable":true}},"required":["is_verified"]},"HashtagCustomerVideoDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"description":{"type":"string"},"publish_date":{"type":"string","format":"date-time","nullable":true},"duration_seconds":{"type":"number","nullable":true},"views":{"type":"number"},"likes":{"type":"number"},"comments":{"type":"number"},"shares":{"type":"number"},"collects":{"type":"number"},"hashtags":{"type":"array","items":{"type":"string"}},"is_duet":{"type":"boolean"},"is_stitch":{"type":"boolean"},"region":{"type":"string","nullable":true},"author":{"$ref":"#\/components\/schemas\/HashtagCustomerVideoAuthorDto"}},"required":["id","url","description","views","likes","comments","shares","collects","hashtags","is_duet","is_stitch","author"]},"HashtagStatsDto":{"type":"object","properties":{"videos_analyzed":{"type":"number"},"views":{"$ref":"#\/components\/schemas\/HashtagStatsViewsDto"},"engagement":{"$ref":"#\/components\/schemas\/HashtagStatsEngagementDto"},"velocity":{"$ref":"#\/components\/schemas\/HashtagStatsVelocityDto"},"verified_creator_count":{"type":"number"},"verified_creator_pct":{"type":"number"},"duration_distribution":{"$ref":"#\/components\/schemas\/HashtagStatsDurationDistributionDto"},"top_creators":{"type":"array","items":{"$ref":"#\/components\/schemas\/HashtagStatsCreatorDto"}},"related_hashtags":{"description":"Co-occurring hashtags across the corpus, the looked-up tag itself excluded.","type":"array","items":{"$ref":"#\/components\/schemas\/RelatedHashtagDto"}},"top_sounds":{"description":"Sounds winning under this tag, by aggregate views. On YouTube this is filled via per-video detail enrichment; videos that fail enrichment contribute nothing.","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagTopSoundDto"}},"top_video":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/HashtagCustomerVideoDto"}]}},"required":["videos_analyzed","views","engagement","velocity","verified_creator_count","verified_creator_pct","duration_distribution","top_creators","related_hashtags","top_sounds"]},"HashtagSampleQualityDto":{"type":"object","properties":{"truncated_by_cap":{"type":"boolean","description":"True when the platform still had more results and collection stopped at a cap. On Instagram collection stops at about 11 pages, so deep tags truncate earlier than on TikTok\/YouTube."},"pages_fetched":{"type":"number"},"note":{"type":"string","enum":["insufficient_corpus","small_corpus_workable","healthy_corpus","deep_corpus"]}},"required":["truncated_by_cap","pages_fetched","note"]},"HashtagTrendsTimeWindowDto":{"type":"object","properties":{"start_date":{"type":"string","example":"2026-04-12"},"end_date":{"type":"string","example":"2026-05-03"},"video_count":{"type":"number"},"total_views":{"type":"number","nullable":true,"description":"Sum over the videos that report views. Null when none do (Instagram photos and carousels)."},"total_likes":{"type":"number"},"total_comments":{"type":"number"},"total_shares":{"type":"number","nullable":true,"description":"Null when no video reports shares (Instagram never does)."},"avg_views":{"type":"number","nullable":true,"description":"Mean over the videos that report views. Null when none do."},"videos_with_views":{"type":"number","description":"How many of video_count report a view count."},"description":{"type":"string"}},"required":["start_date","end_date","video_count","total_views","total_likes","total_comments","total_shares","avg_views","description"]},"HashtagTrendItemDto":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"tactics":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number","description":"Evidence behind the trend, 0.35 at 3 videos up to 0.95 at 20 or more. A trend needs at least max(3, 2% of the corpus) videos to be reported."},"video_count":{"type":"number"},"evidence_video_ids":{"type":"array","items":{"type":"string"}},"time_windows":{"type":"array","items":{"$ref":"#\/components\/schemas\/HashtagTrendsTimeWindowDto"}},"resurged":{"type":"boolean","description":"True iff this trend has \u22652 time_windows."},"momentum":{"type":"string","nullable":true,"enum":["stronger","weaker","similar"],"description":"Latest vs prior window avg_views. Null for single-window trends. \u00b115% deadband."},"share_of_corpus":{"type":"number","description":"The trend's videos as a share of the corpus."},"performance":{"$ref":"#\/components\/schemas\/TrendPerformanceDto"},"recency":{"$ref":"#\/components\/schemas\/TrendRecencyDto"},"top_examples":{"description":"The trend's three most viewed videos.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendExampleDto"}}},"required":["name","description","tactics","confidence","video_count","evidence_video_ids","time_windows","resurged"]},"HashtagTrendsDto":{"type":"object","properties":{"analyzed":{"type":"boolean","description":"True iff trend_analysis was set on the request."},"summary":{"type":"string"},"trends":{"type":"array","items":{"$ref":"#\/components\/schemas\/HashtagTrendItemDto"}},"status":{"type":"string","enum":["ok","insufficient_corpus","skipped"]},"key_findings":{"description":"Up to 4 plain-words findings (best and worst performing trend, rising and fading), each written from the numbers above and only when they clear the evidence bars.","type":"array","items":{"$ref":"#\/components\/schemas\/TrendFindingDto"}},"corpus":{"$ref":"#\/components\/schemas\/TrendCorpusDto"},"method":{"type":"string","enum":["trends-v2"]}},"required":["analyzed","summary","trends","status"]},"HashtagLookupResultDto":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid","description":"Durable satellite_run id for this lookup. Use it with GET \/v1\/satellite\/runs\/:run_id to re-read the result for free at any time."},"request":{"$ref":"#\/components\/schemas\/HashtagLookupRequestDto"},"hashtag":{"$ref":"#\/components\/schemas\/HashtagMetadataDto"},"data_captured_at":{"type":"string","format":"date-time"},"credits_charged":{"type":"number","description":"Credits charged when this run was created. 50 basic (standard depth), 100 deep or trends-only, 200 full, 250 full+trends. The deep surcharge is waived when trend_analysis=true (trends already include the 300-video fetch)."},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because part of the run was not delivered (the trend_analysis surcharge when no trends came out). Present only when a refund was made."},"stats":{"$ref":"#\/components\/schemas\/HashtagStatsDto"},"sample_quality":{"$ref":"#\/components\/schemas\/HashtagSampleQualityDto"},"trends":{"$ref":"#\/components\/schemas\/HashtagTrendsDto"},"videos":{"description":"The collected corpus in the requested sort order (top = views desc, recent = publish date desc).","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagCustomerVideoDto"}}},"required":["run_id","request","hashtag","data_captured_at","credits_charged","stats","sample_quality","trends","videos"]},"HashtagStatusCompletedDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed"]},"result":{"$ref":"#\/components\/schemas\/HashtagLookupResultDto"},"finalized":{"type":"boolean","example":true,"description":"Always true once the lookup completed: trends and any refund are settled before it reads completed. Same done signal as the other async status replies."}},"required":["status","result","finalized"]},"HashtagStatusFailedDto":{"type":"object","properties":{"status":{"type":"string","enum":["failed"]},"error":{"type":"string"},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because the lookup failed. Present only when a refund was made."},"finalized":{"type":"boolean","example":true,"description":"Always true when the lookup failed: no further work will happen."}},"required":["status","error","finalized"]},"SatelliteMetricChangeDto":{"type":"object","properties":{"before":{"type":"number"},"after":{"type":"number"},"change":{"type":"number"},"change_pct":{"type":"number","nullable":true,"description":"change \/ before. Null when before is 0."}},"required":["before","after","change","change_pct"]},"PlaceStatusProcessingDto":{"type":"object","properties":{"status":{"type":"string","enum":["processing"]},"finalized":{"type":"boolean","example":false}},"required":["status","finalized"]},"PlaceLookupRequestDto":{"type":"object","properties":{"poi_id":{"type":"string","example":"22535796480785497"},"platform":{"type":"string","enum":["tiktok"]},"max_videos":{"type":"number","example":100},"trend_analysis":{"type":"boolean","example":false}},"required":["poi_id","platform","max_videos","trend_analysis"]},"SatellitePlaceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","nullable":true,"description":"Virlo place id (the one GET \/v1\/places returns), null when Virlo has not seen this place yet."},"poi_id":{"type":"string","description":"TikTok's own place id."},"platform":{"type":"string","enum":["tiktok"]},"name":{"type":"string","nullable":true},"kind":{"type":"string","enum":["venue","area"],"nullable":true},"address":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"country_code":{"type":"string","nullable":true},"lat":{"type":"number","nullable":true},"lng":{"type":"number","nullable":true},"video_count":{"type":"number","nullable":true,"description":"How many posts TikTok shows as tagged here, read on this run. Null when TikTok gives no count for the place."},"video_count_source":{"type":"string","enum":["page","search"],"nullable":true,"description":"Where the count came from: the place's own page, or TikTok's place search when the page had none."},"url":{"type":"string","nullable":true}},"required":["poi_id","platform"]},"SatellitePlaceChangeDto":{"type":"object","properties":{"previous_run_id":{"type":"string","format":"uuid","nullable":true,"description":"Your team's previous completed lookup of this place (last 120 days). Null on a first lookup, and then every field below is null."},"previous_run_at":{"type":"string","format":"date-time","nullable":true},"days_since_previous":{"type":"number","nullable":true,"example":1},"video_count":{"type":"number","nullable":true,"example":1520},"previous_video_count":{"type":"number","nullable":true,"example":1500},"video_count_change":{"type":"number","nullable":true,"example":20,"description":"Change in TikTok's tag count since the previous lookup. Null without both counts."},"new_since_previous":{"type":"number","nullable":true,"example":4,"description":"Posts this lookup saw that the previous one did not. TikTok ranks a place's posts rather than listing them newest first, so this, with video_count_change, is how new activity shows up."},"new_since_previous_ids":{"description":"Up to 50 of those posts, as ids that match videos[].id.","type":"array","items":{"type":"string"}}},"required":["new_since_previous_ids"]},"PlaceStatsVelocityDto":{"type":"object","properties":{"videos_per_week":{"description":"The posts read from TikTok on this lookup, bucketed by ISO week of publish date (capped at 26 weeks). Posts Virlo already stored are counted in the rest of `stats`, not here. Empty when the lookup read no post from TikTok. Runs saved before Nov 12 2026 counted every returned post.","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagStatsVelocityBucketDto"}},"last_4w_avg_videos_per_week":{"type":"number","description":"Average tagged posts per week over the last four weeks in `videos_per_week`: the posts read from TikTok on this lookup. 0 when there are none."},"prior_4w_avg_videos_per_week":{"type":"number","description":"Average tagged posts per week over the four weeks before those, among the posts read from TikTok on this lookup. 0 when there are none."},"is_accelerating":{"type":"boolean","description":"Last four weeks against the four before, over the posts read from TikTok on this lookup (stored posts are left out of the comparison). Read it only when `comparable` is true; it is false whenever the two windows cannot be compared. For how a place is moving, read `change`."},"comparable":{"type":"boolean","description":"True when the posts read from TikTok on this lookup reach back eight weeks and max_videos cut no older posts off, so `is_accelerating` compares two full windows. Runs before Nov 11 2026 have no such field."}},"required":["videos_per_week","last_4w_avg_videos_per_week","prior_4w_avg_videos_per_week","is_accelerating"]},"PlaceStatsDto":{"type":"object","properties":{"videos_analyzed":{"type":"number"},"views":{"$ref":"#\/components\/schemas\/HashtagStatsViewsDto"},"engagement":{"$ref":"#\/components\/schemas\/HashtagStatsEngagementDto"},"verified_creator_count":{"type":"number"},"verified_creator_pct":{"type":"number"},"duration_distribution":{"$ref":"#\/components\/schemas\/HashtagStatsDurationDistributionDto"},"top_creators":{"type":"array","items":{"$ref":"#\/components\/schemas\/HashtagStatsCreatorDto"}},"related_hashtags":{"description":"Co-occurring hashtags across the corpus, the looked-up tag itself excluded.","type":"array","items":{"$ref":"#\/components\/schemas\/RelatedHashtagDto"}},"top_sounds":{"description":"Sounds winning under this tag, by aggregate views. On YouTube this is filled via per-video detail enrichment; videos that fail enrichment contribute nothing.","type":"array","items":{"$ref":"#\/components\/schemas\/HashtagTopSoundDto"}},"top_video":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/HashtagCustomerVideoDto"}]},"velocity":{"$ref":"#\/components\/schemas\/PlaceStatsVelocityDto"}},"required":["videos_analyzed","views","engagement","verified_creator_count","verified_creator_pct","duration_distribution","top_creators","related_hashtags","top_sounds","velocity"]},"SatellitePlaceSourcesDto":{"type":"object","properties":{"gateway":{"type":"number","description":"Posts read fresh from TikTok on this run only."},"stored":{"type":"number","description":"Posts only Virlo already had tagged at this place."},"both":{"type":"number","description":"Posts found both ways."},"stored_refreshed":{"type":"number","description":"How many of the stored posts had their views and engagement read from TikTok again on this run. Runs before Nov 11 2026 have no such field."}},"required":["gateway","stored","both"]},"SatellitePlaceWalkDto":{"type":"object","properties":{"stop":{"type":"string","enum":["end","no_new","max_pages","failed","not_found"],"description":"Why reading TikTok's post list stopped: end of list, a page with nothing new, the page cap, a failure, or TikTok does not know the place."},"pages_read":{"type":"number"},"posts_seen":{"type":"number"},"nearby_dropped":{"type":"number","description":"Posts on the list tagged at a nearby place rather than this venue, left out (a city or area keeps them)."}},"required":["stop","pages_read","posts_seen","nearby_dropped"]},"SatellitePlaceVideoDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"description":{"type":"string"},"publish_date":{"type":"string","format":"date-time","nullable":true},"duration_seconds":{"type":"number","nullable":true},"views":{"type":"number"},"likes":{"type":"number"},"comments":{"type":"number"},"shares":{"type":"number"},"collects":{"type":"number"},"hashtags":{"type":"array","items":{"type":"string"}},"is_duet":{"type":"boolean"},"is_stitch":{"type":"boolean"},"region":{"type":"string","nullable":true},"author":{"$ref":"#\/components\/schemas\/HashtagCustomerVideoAuthorDto"},"source":{"type":"string","enum":["gateway","stored","both"],"description":"gateway = read fresh from TikTok on this run, stored = Virlo already had it, both = both."},"counts_fresh":{"type":"boolean","description":"True when this post's views and engagement were read from TikTok on this run (every gateway or both post, and a stored post that was read again). False: the numbers are from the day Virlo last saw the post. Runs before Nov 11 2026 have no such field."}},"required":["id","url","description","views","likes","comments","shares","collects","hashtags","is_duet","is_stitch","author","source"]},"PlaceLookupResultDto":{"type":"object","properties":{"run_id":{"type":"string","format":"uuid"},"request":{"$ref":"#\/components\/schemas\/PlaceLookupRequestDto"},"place":{"$ref":"#\/components\/schemas\/SatellitePlaceDto"},"change":{"$ref":"#\/components\/schemas\/SatellitePlaceChangeDto"},"data_captured_at":{"type":"string","format":"date-time"},"credits_charged":{"type":"number","example":50},"credits_refunded":{"type":"number","example":50},"stats":{"$ref":"#\/components\/schemas\/PlaceStatsDto"},"sample_quality":{"$ref":"#\/components\/schemas\/HashtagSampleQualityDto"},"sources":{"$ref":"#\/components\/schemas\/SatellitePlaceSourcesDto"},"walk":{"$ref":"#\/components\/schemas\/SatellitePlaceWalkDto"},"trends":{"description":"Always skipped for places for now.","allOf":[{"$ref":"#\/components\/schemas\/HashtagTrendsDto"}]},"videos":{"description":"Posts tagged at the place, newest first.","type":"array","items":{"$ref":"#\/components\/schemas\/SatellitePlaceVideoDto"}}},"required":["run_id","request","place","change","data_captured_at","credits_charged","stats","sample_quality","sources","walk","trends","videos"]},"PlaceStatusCompletedDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed"]},"result":{"$ref":"#\/components\/schemas\/PlaceLookupResultDto"},"finalized":{"type":"boolean","example":true}},"required":["status","result","finalized"]},"PlaceStatusFailedDto":{"type":"object","properties":{"status":{"type":"string","enum":["failed"]},"error":{"type":"string"},"credits_refunded":{"type":"number","example":50},"finalized":{"type":"boolean","example":true}},"required":["status","error","finalized"]},"CreatorStatusResponseDto":{"type":"object","properties":{"data":{"description":"Job state \u2014 shape varies by status field (processing | completed | failed)","oneOf":[{"$ref":"#\/components\/schemas\/CreatorStatusProcessingDto"},{"$ref":"#\/components\/schemas\/CreatorStatusCompletedDto"},{"$ref":"#\/components\/schemas\/CreatorStatusFailedDto"}]}},"required":["data"]},"SatelliteJobQueuedDataDto":{"type":"object","properties":{"job_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"status":{"type":"string","example":"processing","description":"Usually \"processing\". On a cache hit (same lookup repeated within the 6-hour window, answered by a run that covers every option asked for) the job is already done and this is \"completed\" \u2014 poll the status endpoint once to read the result, or re-read it free via GET \/v1\/satellite\/runs\/:run_id."},"cached":{"type":"boolean","description":"Present and true when the lookup was served from the 6-hour cache. The cache only answers with a run that covers every option this request asks for; a request it does not cover (for example trend_analysis=true after a plain lookup) runs fresh and is charged. Cached responses are free \u2014 no credits are deducted (X-Credits-Used: 0)."}},"required":["job_id","status"]},"SatelliteJobQueuedResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SatelliteJobQueuedDataDto"}},"required":["data"]},"BatchCreatorItemDto":{"type":"object","properties":{"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"username":{"type":"string","example":"creator_handle","description":"Creator handle (without leading @)"}},"required":["platform","username"]},"BatchCreatorLookupDto":{"type":"object","properties":{"creators":{"description":"Array of creators to look up (max 25 per batch)","type":"array","items":{"$ref":"#\/components\/schemas\/BatchCreatorItemDto"}},"include":{"type":"string","description":"Comma-separated list of optional fields to include: \"videos\", \"outliers\"","example":"videos,outliers"},"cross_links":{"type":"boolean","description":"Enable cross-platform link discovery for all creators in the batch.","example":true,"default":false},"max_videos":{"type":"number","description":"Number of videos to fetch per creator","example":20,"minimum":1,"maximum":100,"default":20},"outlier_threshold":{"type":"number","description":"Outlier detection threshold multiplier","example":2,"default":2},"audience_demographics":{"type":"boolean","description":"Include inferred audience demographics for every creator in the batch. Cache-first; misses dispatch async snapshot jobs and add an extra 50-credit surcharge per creator on top of the 50-credit-per-creator batch cost. Cache hits are free. Off by default.","example":false,"default":false},"audience_geography":{"type":"boolean","description":"Include inferred audience geography for every creator in the batch. Same caching and 50-credit-per-creator surcharge behavior as audience_demographics; cache hits are free. Off by default.","example":false,"default":false},"freshness_days":{"type":"number","description":"Maximum age (in days) of an acceptable cached audience snapshot. Only used when audience flags are set.","example":30,"minimum":0,"maximum":365,"default":30}},"required":["creators"]},"BatchCreatorJobItemDto":{"type":"object","properties":{"platform":{"type":"string"},"username":{"type":"string"},"job_id":{"type":"string"},"status":{"type":"string","enum":["processing","completed","failed"],"description":"\"completed\" at submit time means the creator was answered from the 6-hour cache and was not billed."}},"required":["platform","username","job_id","status"]},"BatchLookupResultDto":{"type":"object","properties":{"batch_id":{"type":"string"},"status":{"type":"string","enum":["processing","completed","partial","failed"]},"total":{"type":"number"},"completed":{"type":"number"},"failed":{"type":"number"},"processing":{"type":"number"},"creators":{"type":"array","items":{"$ref":"#\/components\/schemas\/BatchCreatorJobItemDto"}}},"required":["batch_id","status","total","completed","failed","processing","creators"]},"BatchLookupResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/BatchLookupResultDto"}},"required":["data"]},"BatchLookupStatusResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/BatchLookupResultDto"}},"required":["data"]},"AnalyzeVideoDto":{"type":"object","properties":{"url":{"type":"string","description":"Full video URL. Supports YouTube, TikTok, and Instagram.","example":"https:\/\/www.instagram.com\/reels\/DVMBt9pE4ob\/"},"platform":{"type":"string","description":"The social media platform","enum":["youtube","tiktok","instagram"],"example":"instagram"}},"required":["url","platform"]},"VideoOutlierStatusResponseDto":{"type":"object","properties":{"data":{"description":"Job state \u2014 shape varies by status field (processing | completed | failed)","oneOf":[{"$ref":"#\/components\/schemas\/VideoOutlierStatusProcessingDto"},{"$ref":"#\/components\/schemas\/VideoOutlierStatusCompletedDto"},{"$ref":"#\/components\/schemas\/VideoOutlierStatusFailedDto"}]}},"required":["data"]},"SoundStatusResponseDto":{"type":"object","properties":{"data":{"oneOf":[{"$ref":"#\/components\/schemas\/SoundStatusProcessingDto"},{"$ref":"#\/components\/schemas\/SoundStatusCompletedDto"},{"$ref":"#\/components\/schemas\/SoundStatusFailedDto"}]}},"required":["data"]},"HashtagStatusResponseDto":{"type":"object","properties":{"data":{"oneOf":[{"$ref":"#\/components\/schemas\/HashtagStatusProcessingDto"},{"$ref":"#\/components\/schemas\/HashtagStatusCompletedDto"},{"$ref":"#\/components\/schemas\/HashtagStatusFailedDto"}]}},"required":["data"]},"StartCreatorLookupDto":{"type":"object","properties":{"include":{"type":"string","description":"Comma-separated list of optional fields to include: \"videos\", \"outliers\"","example":"videos,outliers"},"cross_links":{"type":"boolean","description":"Enable cross-platform link discovery. Finds the same creator on other platforms (YouTube, TikTok, Instagram, Twitter\/X, Spotify).","example":true,"default":false},"max_videos":{"type":"number","description":"Number of videos to fetch and analyze. More videos = better stats but slower response.","example":20,"minimum":1,"maximum":100,"default":20},"outlier_threshold":{"type":"number","description":"Multiplier for outlier detection. A video is an outlier if views > median_views * threshold. Only applies when include=outliers.","example":2,"default":2},"audience_demographics":{"type":"boolean","description":"Include inferred audience demographics (age + gender distributions). Returns a cached snapshot if one exists within freshness_days; otherwise dispatches an async snapshot job and returns { status: \"processing\", job_id } so you can poll via the dedicated audience endpoints, and adds an extra 50-credit surcharge on top of the base 50-credit creator-lookup cost. A cache hit within freshness_days is free. Off by default \u2014 only computed when explicitly requested.","example":true,"default":false},"audience_geography":{"type":"boolean","description":"Include inferred audience geography (country + city distributions, with languages). Same caching and 50-credit surcharge behavior as audience_demographics \u2014 a cached snapshot within freshness_days is free. Off by default.","example":true,"default":false},"freshness_days":{"type":"number","description":"Maximum age (in days) of an acceptable cached audience snapshot. Snapshots older than this trigger a new async job. Only relevant when audience_demographics or audience_geography is set.","example":30,"minimum":0,"maximum":365,"default":30},"trend_analysis":{"type":"boolean","description":"Run AI trend detection over this creator's body of work. Forces a deep fetch (max_videos is bumped to 100) so the model has enough signal, implicitly includes the videos[] payload, and adds an extra 50-credit surcharge on top of the base 50-credit creator-lookup cost. Trends are persisted with the run, so re-reading via GET \/v1\/satellite\/runs\/{run_id} is free. Returns the same trends shape as sound lookups: mechanically-derived time_windows[], resurged flag, and momentum metric.","example":false,"default":false},"data_intelligence":{"type":"boolean","description":"Run Data Intelligence on this creator's videos \u2014 the same structured content analysis Virlo runs for Content Research Agents. Each analyzed video is enriched with its hook (opening line + type), content format, and visual treatment, and the run gets a grounded \"what's working\" analysis. Implicitly includes the videos[] payload (like trend_analysis) \u2014 the enrichment hangs off the video list, so you don't need include=videos. Enrichment runs ASYNCHRONOUSLY after the base lookup completes: poll status\/:job_id for the base result, then re-read GET \/v1\/satellite\/runs\/:run_id \u2014 the `analysis` object and `intelligence_status` populate once processing finishes (typically 1-3 min). Adds an extra 25 credits on top of the base 50-credit creator-lookup cost. Off by default. A repeat lookup within 6 hours is served free from a cached run only when that run also had data_intelligence=true; otherwise it runs fresh and is charged.","example":false,"default":false},"context":{"type":"string","description":"Optional free-text statement of what you're trying to learn from this creator (max 600 chars), e.g. \"which hooks drive their most-viewed videos\". When data_intelligence is enabled it grounds the \"what's working\" analysis on your goal. Ignored without data_intelligence.","example":"which hooks and formats drive their most-viewed videos","maxLength":600},"slideshow_sort":{"type":"string","description":"Which carousels get slide-captured + OCR'd when a creator has more slideshows than the per-run cap (100). \"popular\" (default) keeps the highest-engagement carousels; \"recent\" keeps the newest by publish date, so the latest carousels are guaranteed OCR'd even before they accrue engagement. Only meaningful with data_intelligence on carousel-heavy Instagram\/TikTok creators. Note this is the CAPTURE selector; the read-side sort on GET \/v1\/satellite\/runs\/:run_id\/videos only reorders what was already captured.","enum":["recent","popular"],"example":"popular","default":"popular"},"platform":{"type":"string","enum":["tiktok","instagram","youtube"],"example":"tiktok"},"handle":{"type":"string","description":"Creator's handle, with or without a leading @.","example":"khaby.lame"}},"required":["platform","handle"]},"StartHashtagLookupDto":{"type":"object","properties":{"trend_analysis":{"type":"boolean","description":"When true, runs the LLM-based trend analysis over the hashtag corpus. Forces a deeper fetch (~300 videos) and ignores any max_videos value the caller passed. Adds a 50-credit surcharge on top of the 50-credit base. Trends are derived from real publish dates \u2014 no LLM date hallucination is possible. Set false (default) to skip trend analysis and only return stats.","example":true,"default":false},"max_videos":{"type":"number","description":"Number of videos to collect and analyze. Ignored when trend_analysis=true (we then target ~300 videos automatically). Default 50.","example":50,"minimum":1,"maximum":100,"default":50},"sort":{"type":"string","description":"Ordering of the stored videos array: \"top\" ranks by view count (default), \"recent\" ranks by publish date, newest first. Stats and weekly velocity buckets are order-independent. Note: the platforms expose no server-side sort on their hashtag feeds, so the ordering is applied to the collected corpus.","enum":["top","recent"],"default":"top"},"depth":{"type":"string","description":"Collection depth tier (same standard\/deep\/full shape as tracking's post collection). \"standard\" (default) collects `max_videos` videos (up to 100) for the 50-credit base. \"deep\" collects ~300 videos (+50 credits \u2014 waived when trend_analysis=true, which already includes a 300-video fetch). \"full\" collects ~500 videos (+150 credits). Overrides max_videos when set to deep\/full. Instagram supports standard only \u2014 its upstream feed caps at ~11 pages, so deep\/full return 400 there (never charged).","enum":["standard","deep","full"],"default":"standard"},"platform":{"type":"string","enum":["tiktok","instagram","youtube"],"example":"tiktok"},"hashtag":{"type":"string","description":"The tag, with or without a leading #.","example":"cleantok"}},"required":["platform","hashtag"]},"StartSoundLookupDto":{"type":"object","properties":{"trend_analysis":{"type":"boolean","description":"When true, runs the LLM-based trend analysis. Forces a deeper fetch (~300 videos) and ignores any max_videos value the caller passed. Adds a 50-credit surcharge on top of the 50-credit base. Trends are derived from real publish dates \u2014 no LLM date hallucination is possible. Set false (default) to skip trend analysis and only return stats.","example":true,"default":false},"max_videos":{"type":"number","description":"Number of videos to fetch and analyze. Ignored when trend_analysis=true (we then target ~300 videos automatically). Default 50.","example":50,"minimum":1,"maximum":100,"default":50},"platform":{"type":"string","enum":["tiktok","instagram","youtube"],"example":"tiktok","description":"tiktok or instagram. youtube is a 400: YouTube has no public \"videos using this sound\" feed."},"sound_id":{"type":"string","description":"The platform's sound id (TikTok music id, Instagram audio id) or a Virlo sound `id`.","example":"7016547803243022337"}},"required":["platform","sound_id"]},"StartPlaceLookupDto":{"type":"object","properties":{"place_id":{"type":"string","format":"uuid","description":"Virlo place id, from GET \/v1\/places or a video's location.id. Send exactly one of place_id, poi_id or query."},"poi_id":{"type":"string","example":"22535796480785497","description":"TikTok's own place id (the poi_id on a TikTok post)."},"query":{"type":"string","example":"Melbourne Cricket Ground","description":"A place name to look up among the places Virlo has stored, or the place\u2019s TikTok link (https:\/\/www.tiktok.com\/place\/...) or numeric id, which names it exactly. A name starts the lookup when it picks out one place: one place named exactly that and no other carrying the name. Any other match answers with the candidates and charges nothing."},"max_videos":{"type":"number","minimum":1,"maximum":200,"default":100,"description":"Most posts to return (newest first)."}}},"PlaceCandidateDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","nullable":true,"description":"Virlo place id: send it as place_id. Null for a place from TikTok\u2019s own search that Virlo has not stored; send its poi_id."},"poi_id":{"type":"string","nullable":true,"description":"TikTok\u2019s place id, on candidates from TikTok\u2019s own search (source tiktok_search). Null on candidates from Virlo\u2019s places."},"name":{"type":"string"},"kind":{"type":"string","enum":["venue","area"],"nullable":true},"locality":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"video_count":{"type":"number","description":"Virlo videos tagged here."},"tiktok_video_count":{"type":"number","nullable":true,"description":"TikTok\u2019s own count of posts tagged here, on candidates from TikTok\u2019s own search. Null otherwise."}},"required":["id","poi_id","name","video_count","tiktok_video_count"]},"PlaceCandidatesDataDto":{"type":"object","properties":{"status":{"type":"string","enum":["candidates"]},"source":{"type":"string","enum":["virlo","tiktok_search"],"description":"virlo: places Virlo has stored whose name carries the query. tiktok_search: no stored place carries the name, so these are TikTok\u2019s own place search matches."},"message":{"type":"string","example":"The name does not pick out one TikTok place. Choose from the candidates and send its id as place_id. Nothing was charged."},"total":{"type":"number","description":"All matching TikTok places."},"candidates":{"description":"Up to 20, most tagged videos first.","type":"array","items":{"$ref":"#\/components\/schemas\/PlaceCandidateDto"}}},"required":["status","source","message","total","candidates"]},"PlaceCandidatesResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/PlaceCandidatesDataDto"}},"required":["data"]},"PlaceStatusResponseDto":{"type":"object","properties":{"data":{"description":"Beta: place data is still sparse. A place is the location tag a creator chose on a TikTok post. TikTok places only; Instagram places are not available yet.","oneOf":[{"$ref":"#\/components\/schemas\/PlaceStatusProcessingDto"},{"$ref":"#\/components\/schemas\/PlaceStatusCompletedDto"},{"$ref":"#\/components\/schemas\/PlaceStatusFailedDto"}]}},"required":["data"]},"SatelliteRunDetailDto":{"type":"object","properties":{"run_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"type":{"type":"string","enum":["creator_lookup","sound_lookup","hashtag_lookup","video_outlier","batch_creator","place_lookup"],"description":"Discriminator: which kind of satellite run this is."},"platform":{"type":"string","example":"tiktok"},"status":{"type":"string","example":"processing | completed | failed"},"subject":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"credits_used":{"type":"number","nullable":true,"description":"Credits the run was charged: base plus every surcharge (trend_analysis, audience, data_intelligence). Refunds are reported separately in `credits_refunded`. Null for runs not billed through the API."},"request":{"type":"object","nullable":true,"additionalProperties":true},"result":{"type":"object","nullable":true,"description":"The persisted lookup result. For a creator_lookup started with data_intelligence=true, each entry in result.videos[] (and result.outliers.outlier_videos[]) additionally carries an `intelligence` object \u2014 the full per-video content analysis (hook, hook_type, content_format, visual_format, is_sponsored, brands_mentioned, cta_usages, sentiment, brand_safety_tier, language_detected, and ~35 more fields, identical to the CRA \/v1\/agents\/:id\/videos `intelligence` shape) \u2014 plus a per-video `intelligence_status` (ready | pending | disabled | failed | skipped). These populate once async enrichment finishes; poll the run-level `intelligence_status` for readiness.","additionalProperties":true},"analysis":{"type":"object","nullable":true,"description":"The grounded \"what's working\" analysis, present only on creator lookups started with data_intelligence=true. Null until the async enrichment + analysis finish (see intelligence_status). Structured breakdown of the hooks, formats, and patterns driving this creator's best videos.","additionalProperties":true},"intelligence_status":{"type":"string","nullable":true,"description":"Lifecycle of the Data-Intelligence enrichment for a data_intelligence=true run: \"pending\" | \"ready\" | \"failed\" | \"skipped\". \"ready\" means `analysis` and per-video intelligence are populated. Null on runs that did not opt in."},"error":{"type":"string","nullable":true},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back for this run because part of it was not delivered: the whole charge when the lookup failed, the trend_analysis surcharge when no trends came out, the audience surcharge when no new snapshot was needed. Present only when a refund was made, on failed and completed runs alike."},"pending_jobs":{"description":"Work still running after the run completed: the audience snapshot (audience_demographics \/ audience_geography) and the Data Intelligence enrichment (data_intelligence). The run is `completed` as soon as the base lookup is done; its result is readable while these finish. Empty when nothing is pending.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}},"finalized":{"type":"boolean","description":"True when the run is completed or failed and `pending_jobs` is empty: nothing on this run will change any more."}},"required":["run_id","type","platform","status","created_at","pending_jobs","finalized"]},"GetSatelliteRunResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SatelliteRunDetailDto"}},"required":["data"]},"SatelliteRunSummaryDto":{"type":"object","properties":{"run_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"type":{"type":"string","enum":["creator_lookup","sound_lookup","hashtag_lookup","video_outlier","batch_creator","place_lookup"],"description":"Discriminator: which kind of satellite run this is."},"platform":{"type":"string","example":"tiktok"},"status":{"type":"string","example":"processing | completed | failed"},"subject":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"credits_used":{"type":"number","nullable":true,"description":"Credits the run was charged: base plus every surcharge (trend_analysis, audience, data_intelligence). Refunds are reported separately in `credits_refunded`. Null for runs not billed through the API."}},"required":["run_id","type","platform","status","created_at"]},"ListSatelliteRunsResponseDataDto":{"type":"object","properties":{"runs":{"type":"array","items":{"$ref":"#\/components\/schemas\/SatelliteRunSummaryDto"}},"total":{"type":"number"},"limit":{"type":"number"},"offset":{"type":"number"}},"required":["runs","total","limit","offset"]},"ListSatelliteRunsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/ListSatelliteRunsResponseDataDto"}},"required":["data"]},"GetRunVideosResponseDataDto":{"type":"object","properties":{"videos":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"number","description":"Total matching posts AFTER the content_type filter."},"limit":{"type":"number"},"offset":{"type":"number"},"sort":{"type":"string","enum":["recent","popular"],"nullable":true,"description":"The sort that was applied, or null for original order."},"content_type":{"type":"string","enum":["all","video","slideshow"],"description":"The content_type filter that was applied."}},"required":["videos","total","limit","offset","content_type"]},"GetRunVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/GetRunVideosResponseDataDto"}},"required":["data"]},"SatellitePostGainDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","nullable":true},"views_before":{"type":"number"},"views_after":{"type":"number"},"views_gained":{"type":"number"}},"required":["id","url","views_before","views_after","views_gained"]},"SatelliteComparePostsDto":{"type":"object","properties":{"new_count":{"type":"number","description":"Posts in this run that the previous run did not have."},"new_ids":{"description":"Up to 50 of them.","type":"array","items":{"type":"string"}},"in_both":{"type":"number","description":"Posts in both runs."},"dropped_count":{"type":"number","description":"Posts the previous run had that this one does not (outside this run's window, deleted or private)."},"biggest_gains":{"description":"Up to 10 posts in both runs that gained views, most first.","type":"array","items":{"$ref":"#\/components\/schemas\/SatellitePostGainDto"}}},"required":["new_count","new_ids","in_both","dropped_count","biggest_gains"]},"SatelliteRunComparisonDto":{"type":"object","properties":{"run_id":{"type":"string"},"previous_run_id":{"type":"string"},"previous_created_at":{"type":"string"},"days_between":{"type":"number","example":7.02},"metrics":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/SatelliteMetricChangeDto"},"description":"One entry per number both runs report. Creator: followers, total_likes, total_videos, avg_views, median_views, engagement_rate, posting_frequency_days. Hashtag and sound: videos_analyzed, median_views, avg_views, total_views, engagement_rate, videos_per_week_last_4w. Video: views, likes, comments, outlier_score, percentile, creator_median_views. A number missing on either run is left out, never shown as 0."},"posts":{"nullable":true,"description":"Null when either run has no posts list (video outlier runs).","allOf":[{"$ref":"#\/components\/schemas\/SatelliteComparePostsDto"}]}},"required":["run_id","previous_run_id","previous_created_at","days_between","metrics","posts"]},"CompareSatelliteRunsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SatelliteRunComparisonDto"}},"required":["data"]},"V1TrackCreatorDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@creator","description":"Creator profile URL"},"handle":{"type":"string","example":"creator_handle","description":"Creator handle (requires platform)"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"],"description":"Platform the account or video is on."},"scrape_cadence":{"type":"string","example":"daily","enum":["six_hours","twelve_hours","daily","every_other_day","weekly","bi_weekly","monthly"],"description":"How often to collect metrics and generate an AI report (default: daily)"},"collection_depth":{"type":"string","enum":["standard","deep","full"],"description":"Optional initial post collection depth. When set, an initial deep post-collection runs alongside the first cycle to back-fill a deeper post history (and per-post sound) than the daily shallow sample: standard (up to 50 videos, +50 credits), deep (up to 200, +100 credits), full (up to 500, +200 credits). The depth cost is charged once at this request on top of the 15-credit cycle (see the X-Cost \/ X-Credits-Used headers). If omitted, only daily shallow collection runs."}},"required":["platform"]},"TrackCreatorResultDto":{"type":"object","properties":{"id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"status":{"type":"string","example":"active"},"message":{"type":"string","example":"Creator tracking started. Initial metrics and AI report are being generated."},"finalized":{"type":"boolean","example":false,"description":"Always false at creation time \u2014 the first cycle (scrape + AI report) is in-flight. Poll `GET \/v1\/tracking\/creators\/:id` and watch `finalized` flip to `true` (or subscribe to `tracking.cycle.completed`)."},"pending_jobs":{"description":"Always contains a single `tracking_report` entry pointing at the in-flight first cycle. Mirrors the same shape every other async resource exposes so a single polling helper handles Track \/ Refresh \/ Lookup uniformly.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["id","status","message"]},"TrackCreatorResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/TrackCreatorResultDto"}},"required":["data"]},"TrackedCreatorDataDto":{"type":"object","properties":{"id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"platform_handle":{"type":"string","example":"khaby.lame"},"profile_url":{"type":"string","example":"https:\/\/www.tiktok.com\/@khaby.lame","nullable":true},"display_name":{"type":"string","example":"Khabane lame","nullable":true},"avatar_url":{"type":"string","example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/avatars\/e9aa0e4c-b385-40a1-b829-9f72d07bda76.jpg","nullable":true,"description":"Creator avatar URL. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"bio":{"type":"string","example":"If u wanna laugh u r in the right place","nullable":true,"description":"Creator bio \/ description from the platform."},"is_verified":{"type":"boolean","example":true,"nullable":true,"description":"Whether the creator is verified on the platform."},"status":{"type":"string","example":"active","enum":["active","paused","deleted"]},"scrape_cadence":{"type":"string","example":"daily","enum":["six_hours","twelve_hours","daily","every_other_day","weekly","bi_weekly","monthly"]},"enrichment_status":{"type":"string","example":"completed","enum":["pending","processing","completed","failed"]},"finalized":{"type":"boolean","example":true,"description":"True when the tracked creator has no secondary jobs in flight (AI report is in a terminal state AND `pending_jobs` is empty). Optional for backwards compatibility."},"pending_jobs":{"description":"Secondary jobs still running for this tracked creator (currently just the AI report when `enrichment_status` is `pending`\/`processing`). Always an array, never null.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}},"latest_followers":{"type":"number","example":162400000,"nullable":true},"latest_following":{"type":"number","example":8200000,"nullable":true},"latest_total_likes":{"type":"number","example":2400000000,"nullable":true},"latest_total_views":{"type":"number","example":8455553979,"nullable":true,"description":"Total views. For YouTube: profile-level stat. For TikTok\/Instagram: sum of views across collected posts."},"latest_total_videos":{"type":"number","example":1203,"nullable":true},"last_scraped_at":{"type":"string","example":"2026-03-23T14:00:00.000Z","nullable":true},"growth_rate":{"type":"number","example":0.0523,"nullable":true,"description":"Growth rate since last scrape (views or followers based)"},"followers_gained":{"type":"number","example":8500,"nullable":true,"description":"Followers gained since last scrape"},"next_scrape_at":{"type":"string","example":"2026-03-24T02:00:00.000Z","nullable":true},"category":{"type":"string","nullable":true,"description":"Content category slug from the Virlo category registry (e.g. \"comedy\", \"fitness\", \"basketball\"). AI-classified after first scrape cycle."},"content_tags":{"description":"AI-generated content tags describing the creator's specific niche (e.g. [\"asmr\", \"mukbang\", \"budget-meals\"])","type":"array","items":{"type":"string"}},"profile_metadata":{"type":"object","nullable":true,"description":"Extended profile metadata including country, language, website, and external links (e.g. Spotify, YouTube channel).","example":{"country":"US","language":"en","website":"https:\/\/example.com","external_links":[]},"additionalProperties":true},"created_at":{"type":"string","example":"2026-03-20T10:30:00.000Z"},"updated_at":{"type":"string","example":"2026-03-23T14:00:00.000Z"}},"required":["id","platform","platform_handle","status","scrape_cadence","enrichment_status","created_at","updated_at"]},"TrackedCreatorsListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrackedCreatorDataDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"TrackedCreatorResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/TrackedCreatorDataDto"}},"required":["data"]},"CreatorReportDataDto":{"type":"object","properties":{"id":{"type":"string","example":"r1s2t3u4-v5w6-x7y8-z9a0-b1c2d3e4f5g6"},"tracking_account_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"analysis":{"type":"object","description":"AI-generated analysis JSON object","nullable":true,"additionalProperties":true},"collection_data":{"type":"object","description":"Summary of collected data used for the report","nullable":true,"additionalProperties":true},"created_at":{"type":"string","example":"2026-03-22T10:00:00.000Z"}},"required":["id","tracking_account_id","created_at"]},"CreatorReportInnerDataDto":{"type":"object","properties":{"account":{"$ref":"#\/components\/schemas\/TrackedCreatorDataDto"},"report":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/CreatorReportDataDto"}]}},"required":["account"]},"CreatorReportResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CreatorReportInnerDataDto"}},"required":["data"]},"CreatorSnapshotDataDto":{"type":"object","properties":{"id":{"type":"string","example":"snap-001"},"tracking_account_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"followers":{"type":"number","example":162300000,"nullable":true},"following":{"type":"number","example":512,"nullable":true},"subscribers":{"type":"number","example":8500000,"nullable":true,"description":"Subscriber count (YouTube). Null on platforms that do not expose it."},"total_likes":{"type":"number","example":2398000000,"nullable":true},"total_videos":{"type":"number","example":1201,"nullable":true},"total_views":{"type":"number","example":8455553979,"nullable":true,"description":"Total views. For YouTube this is the profile-level view count from the platform. For TikTok and Instagram this is computed from collected posts (see collected_post_count)."},"collected_post_count":{"type":"number","example":35,"description":"Number of collected posts used to compute total_views. 0 when total_views comes directly from the platform (YouTube)."},"snapshot_at":{"type":"string","example":"2026-03-22T14:00:00.000Z"},"delta_followers":{"type":"number","example":100000,"nullable":true,"description":"Change in followers since previous snapshot (null for first snapshot)"},"delta_following":{"type":"number","example":1,"nullable":true,"description":"Change in following since previous snapshot"},"delta_total_videos":{"type":"number","example":2,"nullable":true,"description":"Change in total videos since previous snapshot"},"delta_total_views":{"type":"number","example":500000,"nullable":true,"description":"Change in total views since previous snapshot"},"delta_total_likes":{"type":"number","example":200000,"nullable":true,"description":"Change in total likes since previous snapshot"},"engagement_rate":{"type":"number","example":0.2836,"nullable":true,"description":"Engagement rate at snapshot time, computed as total_likes \/ total_views. Null when total_views is 0\/unknown. Series across snapshots = engagement-rate history."},"delta_engagement_rate":{"type":"number","example":-0.0012,"nullable":true,"description":"Change in engagement_rate since previous snapshot (null for first snapshot)"}},"required":["id","tracking_account_id","collected_post_count","snapshot_at"]},"CreatorSnapshotsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorSnapshotDataDto"}}},"required":["data"]},"TrackingSignalDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["outlier_video","follower_spike","follower_decline","new_subject","creator_unreachable"],"example":"outlier_video"},"severity":{"type":"string","enum":["info","notable","critical"],"example":"notable"},"title":{"type":"string","example":"Video at 4.2x the creator median"},"payload":{"type":"object","additionalProperties":true,"description":"Signal details; the keys depend on `type` (e.g. `platform`, `platform_handle`, `subjects` for new_subject). Same payload the tracking.* webhooks deliver."},"created_at":{"type":"string","example":"2026-09-28T20:20:56.899Z"},"read":{"type":"boolean","description":"Whether the signal was marked read."}},"required":["id","type","severity","title","payload","created_at","read"]},"TrackingSignalsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrackingSignalDto"}}},"required":["data"]},"V1UpdateTrackingDto":{"type":"object","properties":{"status":{"type":"string","enum":["active","paused"]},"scrape_cadence":{"type":"string","enum":["six_hours","twelve_hours","daily","every_other_day","weekly","bi_weekly","monthly"],"description":"How often to collect metrics and generate an AI report"}}},"CreatorPostDataDto":{"type":"object","properties":{"id":{"type":"string"},"tracking_account_id":{"type":"string"},"platform":{"type":"string","enum":["tiktok","youtube","instagram"]},"platform_video_id":{"type":"string"},"url":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"thumbnail_url":{"type":"string","nullable":true,"description":"Post thumbnail URL. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"publish_date":{"type":"string","nullable":true},"views":{"type":"number","nullable":true},"likes":{"type":"number","nullable":true},"comments":{"type":"number","nullable":true},"shares":{"type":"number","nullable":true},"bookmarks":{"type":"number","nullable":true},"is_duet":{"type":"boolean","description":"Whether this post is a TikTok duet. Always false for YouTube\/Instagram."},"is_stitch":{"type":"boolean","description":"Whether this post is a TikTok stitch. Always false for YouTube\/Instagram."},"duration_seconds":{"type":"number","nullable":true},"hashtags":{"type":"array","items":{"type":"string"}},"collected_at":{"type":"string"},"is_outlier":{"type":"boolean","nullable":true,"description":"True when this post is a statistical view-count outlier for the creator (\u22653\u00d7 the creator's median). Computed each collection cycle."},"outlier_ratio":{"type":"number","nullable":true,"description":"How many times the creator's median views this post got (e.g. 4.2 = 4.2\u00d7 median). Null when not an outlier or median is unknown."},"outlier_weighted_score":{"type":"number","nullable":true,"description":"Recency-weighted outlier score used to rank breakout posts. Null when not an outlier."},"sound":{"nullable":true,"description":"Sound\/audio metadata associated with this post. Populated at collection time for TikTok and Instagram (both carry the track inline), and for YouTube on deep\/full on-demand collections. `sound.external_id` is the platform-native sound id a music catalog matches against. null when no sound is available (e.g. image posts, or a YouTube short collected on the daily cycle).","allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]}},"required":["id","tracking_account_id","platform","platform_video_id","is_duet","is_stitch","collected_at"]},"CreatorPostsListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/CreatorPostDataDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"CreatorPostResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CreatorPostDataDto"}},"required":["data"]},"V1CollectCreatorPostsDto":{"type":"object","properties":{"depth":{"type":"string","enum":["standard","deep","full"],"default":"standard","description":"Collection depth tier. Determines max videos fetched and credit cost. standard=50 videos, deep=200 videos, full=500 videos."},"force":{"type":"boolean","default":false,"description":"Run the collection even though the creator's most recent tracking cycle failed (otherwise 409). A collection that still finds no posts is refunded."}}},"CollectPostsResultDto":{"type":"object","properties":{"collection_id":{"type":"string"},"status":{"type":"string","enum":["processing","completed","failed"]},"depth":{"type":"string","enum":["standard","deep","full"]},"max_videos":{"type":"number"},"credits_reserved":{"type":"number","description":"Credits charged for this collection, billed once when the job is accepted (reflected in the X-Cost \/ X-Credits-Used response headers). Not charged when a collection is already in progress (409)."}},"required":["collection_id","status","depth","max_videos","credits_reserved"]},"CollectPostsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CollectPostsResultDto"}},"required":["data"]},"CollectPostsStatusDataDto":{"type":"object","properties":{"collection_id":{"type":"string"},"status":{"type":"string","enum":["processing","completed","failed"]},"depth":{"type":"string","enum":["standard","deep","full"]},"videos_collected":{"type":"number","nullable":true},"max_videos":{"type":"number"},"started_at":{"type":"string","nullable":true},"completed_at":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"credits_refunded":{"type":"number","example":50,"description":"Credits paid back because the collection found no posts or failed. Present only when a refund was made."}},"required":["collection_id","status","depth","max_videos"]},"CollectPostsStatusResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/CollectPostsStatusDataDto"}},"required":["data"]},"PostingCadenceDataDto":{"type":"object","properties":{"total_posts":{"type":"number","description":"Total posts in the analyzed window"},"avg_days_between_posts":{"type":"number","nullable":true,"description":"Average days between posts"},"posts_per_week":{"type":"number","nullable":true,"description":"Average posts per week"},"posts_per_month":{"type":"number","nullable":true,"description":"Average posts per month"},"day_of_week_distribution":{"type":"object","description":"Posts per day of week (0=Sun, 6=Sat)","additionalProperties":true},"earliest_post_date":{"type":"string","nullable":true,"description":"ISO 8601 date of the earliest post"},"latest_post_date":{"type":"string","nullable":true,"description":"ISO 8601 date of the most recent post"}},"required":["total_posts","day_of_week_distribution"]},"PostingCadenceResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/PostingCadenceDataDto"}},"required":["data"]},"AudienceSnapshotDataDto":{"type":"object","properties":{"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"handle":{"type":"string","example":"creator_handle"},"snapshot":{"nullable":true,"description":"The latest snapshot, or null if none has ever been generated. Trigger one via POST \/audience-refresh.","allOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"}]},"is_stale":{"type":"boolean","description":"True when the snapshot exists but is older than the requested freshness_days window. False when no freshness_days was supplied or the snapshot is within the window."},"finalized":{"type":"boolean","example":true,"description":"True when no audience-snapshot job is currently in flight for this creator and `pending_jobs` is empty (snapshot is either present and final, or genuinely missing). False when an audience-refresh job is mid-flight \u2014 see `pending_jobs[0]` for the live job_id and poll URL."},"pending_jobs":{"description":"Empty when the resource is finalized. Contains a single `audience_demographics` \/ `audience_geography` entry while a refresh job is in flight, so an agent that lost the job_id from its earlier `audience-refresh` call can still poll `\/v1\/audience\/snapshot\/:job_id` instead of triggering a duplicate refresh.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["platform","handle","is_stale"]},"AudienceSnapshotResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AudienceSnapshotDataDto"}},"required":["data"]},"AudienceRefreshDataDto":{"type":"object","properties":{"source":{"type":"string","example":"fresh","enum":["cache","fresh"],"description":"\"cache\" when the latest snapshot is reused, \"fresh\" when a new job was enqueued."},"snapshot":{"nullable":true,"description":"Present when source = \"cache\".","allOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"}]},"job_id":{"type":"string","nullable":true,"example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","description":"Present when source = \"fresh\". Poll via GET \/v1\/tracking\/creators\/:id\/audience-refresh\/:job_id."},"status":{"type":"string","nullable":true,"example":"processing","description":"Present when source = \"fresh\"."},"credits_used":{"type":"number","example":50,"description":"Credits deducted for triggering a fresh snapshot. Flat 50 credits on any platform. Zero when source = \"cache\", and zero when a snapshot job for this creator was already running (its job_id is returned). If the job ultimately fails with INSUFFICIENT_SAMPLE (even after follower \/ extended-window fallback), the 50 credits are automatically refunded; see the refund row in your usage history."},"creator_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","description":"The tracked-creator UUID the refresh was triggered for. Round-trips the path parameter so consumers that hand this response off to a downstream tool retain the identifier without re-parsing the URL."},"credit_unit":{"type":"string","example":"cent","description":"Unit for `credits_used`. Always `\"cent\"` for audience-refresh \u2014 every credit is exactly $0.01 USD, so `credits_used: 50` means $0.50. Disambiguates the number for renderers that previously displayed \"0 credits\" on cache hits."},"finalized":{"type":"boolean","example":false,"description":"True when the response carries the final snapshot (cache hit, no further work). False when `job_id` was just enqueued and `pending_jobs[0]` describes the live job."},"pending_jobs":{"description":"Empty on cache hits. On `source: \"fresh\"` contains the single `audience_demographics` entry pointing at `\/v1\/audience\/snapshot\/:job_id` \u2014 agents can drive a uniform polling loop regardless of which trigger endpoint they used.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["source","credits_used"]},"AudienceRefreshResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AudienceRefreshDataDto"}},"required":["data"]},"AudienceRefreshStatusErrorDto":{"type":"object","properties":{"code":{"type":"string","example":"INSUFFICIENT_SAMPLE"},"message":{"type":"string","example":"Only 12 unique commenters\/followers collected (min 30). Creator likely has very little public engagement or follower visibility. The customer was NOT charged for this attempt."}},"required":["code","message"]},"AudienceRefreshStatusDataDto":{"type":"object","properties":{"job_id":{"type":"string","example":"b37a7687-c5d4-4853-a7f4-d736c1fdb79a"},"status":{"type":"string","enum":["processing","completed","failed","unknown"],"example":"completed"},"snapshot":{"nullable":true,"description":"Populated when status = \"completed\".","allOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"}]},"error":{"nullable":true,"description":"Populated when status = \"failed\".","allOf":[{"$ref":"#\/components\/schemas\/AudienceRefreshStatusErrorDto"}]},"finalized":{"type":"boolean","example":true,"description":"True once the snapshot job reaches a terminal state (`completed` or `failed`). Included for shape uniformity across async resources."},"pending_jobs":{"description":"Always an empty array for this endpoint \u2014 it polls a single audience job and exposes nothing else. Included so consumers can treat every async response the same way.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["job_id","status"]},"AudienceRefreshStatusResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AudienceRefreshStatusDataDto"}},"required":["data"]},"V1TrackVideoDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@user\/video\/123","description":"Video URL"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"],"description":"Platform the account or video is on."},"tracking_account_id":{"type":"string","description":"ID of a tracked creator to associate with"},"scrape_cadence":{"type":"string","example":"daily","enum":["six_hours","twelve_hours","daily","every_other_day","weekly","bi_weekly","monthly"],"description":"How often to collect metrics and generate an AI report (default: daily)"}},"required":["url","platform"]},"TrackVideoResultDto":{"type":"object","properties":{"id":{"type":"string","example":"v1d2e3o4-f5g6-h7i8-j9k0-l1m2n3o4p5q6"},"status":{"type":"string","example":"active"},"message":{"type":"string","example":"Video tracking started. Initial metrics and AI report are being generated."}},"required":["id","status","message"]},"TrackVideoResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/TrackVideoResultDto"}},"required":["data"]},"TrackedVideoDataDto":{"type":"object","properties":{"platform_video_id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"thumbnail_url":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true,"description":"Video length in seconds."},"published_at":{"type":"string","nullable":true},"author_handle":{"type":"string","nullable":true},"author_name":{"type":"string","nullable":true},"author_avatar_url":{"type":"string","nullable":true},"latest_transcript":{"type":"string","nullable":true},"analysis":{"type":"object","nullable":true,"description":"Latest AI analysis payload for this video. `overview.engagement_rate` is a 0-1 fraction (`0.0706` means 7.06%), like every other `engagement_rate` in the API.","additionalProperties":true},"analysis_updated_at":{"type":"string","nullable":true},"id":{"type":"string","example":"v1d2e3o4-f5g6-h7i8-j9k0-l1m2n3o4p5q6"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7234567890123456789"},"tracking_account_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","nullable":true},"status":{"type":"string","example":"active","enum":["active","paused","deleted"]},"scrape_cadence":{"type":"string","example":"daily"},"enrichment_status":{"type":"string","example":"completed"},"latest_views":{"type":"number","example":85000000,"nullable":true},"latest_likes":{"type":"number","example":6200000,"nullable":true},"latest_comments":{"type":"number","example":31000,"nullable":true},"latest_shares":{"type":"number","example":450000,"nullable":true},"latest_bookmarks":{"type":"number","example":12000,"nullable":true},"growth_rate":{"type":"number","example":0.0312,"nullable":true,"description":"Growth rate since last scrape (view-based)"},"last_scraped_at":{"type":"string","example":"2026-03-23T14:00:00.000Z","nullable":true},"next_scrape_at":{"type":"string","example":"2026-03-24T14:00:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-03-20T10:30:00.000Z"},"updated_at":{"type":"string","example":"2026-03-23T14:00:00.000Z"}},"required":["id","platform","url","status","scrape_cadence","enrichment_status","created_at","updated_at"]},"TrackedVideosListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrackedVideoDataDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"TrackedVideoResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/TrackedVideoDataDto"}},"required":["data"]},"VideoReportVideoDto":{"type":"object","properties":{"platform_video_id":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"thumbnail_url":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true,"description":"Video length in seconds."},"published_at":{"type":"string","nullable":true},"author_handle":{"type":"string","nullable":true},"author_name":{"type":"string","nullable":true},"author_avatar_url":{"type":"string","nullable":true},"latest_transcript":{"type":"string","nullable":true},"id":{"type":"string","example":"v1d2e3o4-f5g6-h7i8-j9k0-l1m2n3o4p5q6"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7234567890123456789"},"tracking_account_id":{"type":"string","example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","nullable":true},"status":{"type":"string","example":"active","enum":["active","paused","deleted"]},"scrape_cadence":{"type":"string","example":"daily"},"enrichment_status":{"type":"string","example":"completed"},"latest_views":{"type":"number","example":85000000,"nullable":true},"latest_likes":{"type":"number","example":6200000,"nullable":true},"latest_comments":{"type":"number","example":31000,"nullable":true},"latest_shares":{"type":"number","example":450000,"nullable":true},"latest_bookmarks":{"type":"number","example":12000,"nullable":true},"growth_rate":{"type":"number","example":0.0312,"nullable":true,"description":"Growth rate since last scrape (view-based)"},"last_scraped_at":{"type":"string","example":"2026-03-23T14:00:00.000Z","nullable":true},"next_scrape_at":{"type":"string","example":"2026-03-24T14:00:00.000Z","nullable":true},"created_at":{"type":"string","example":"2026-03-20T10:30:00.000Z"},"updated_at":{"type":"string","example":"2026-03-23T14:00:00.000Z"}},"required":["id","platform","url","status","scrape_cadence","enrichment_status","created_at","updated_at"]},"VideoReportInnerDataDto":{"type":"object","properties":{"video":{"description":"The tracked video. `analysis` and `analysis_updated_at` are not repeated here; read them from the top level of `data`.","allOf":[{"$ref":"#\/components\/schemas\/VideoReportVideoDto"}]},"analysis":{"type":"object","nullable":true,"description":"AI analysis containing sentiment, growth metrics, audience insights. `overview.engagement_rate` is a 0-1 fraction (`0.0706` means 7.06%).","additionalProperties":true},"analysis_updated_at":{"type":"string","nullable":true}},"required":["video"]},"VideoReportResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/VideoReportInnerDataDto"}},"required":["data"]},"VideoSnapshotDataDto":{"type":"object","properties":{"id":{"type":"string","example":"snap-v01"},"tracking_video_id":{"type":"string","example":"v1d2e3o4-f5g6-h7i8-j9k0-l1m2n3o4p5q6"},"views":{"type":"number","example":84500000,"nullable":true},"likes":{"type":"number","example":6180000,"nullable":true},"comments":{"type":"number","example":30800,"nullable":true},"shares":{"type":"number","example":448000,"nullable":true},"bookmarks":{"type":"number","example":12000,"nullable":true},"snapshot_at":{"type":"string","example":"2026-03-22T14:00:00.000Z"},"delta_views":{"type":"number","example":500000,"nullable":true,"description":"Change in views since previous snapshot (null for first snapshot)"},"delta_likes":{"type":"number","example":20000,"nullable":true,"description":"Change in likes since previous snapshot"},"delta_comments":{"type":"number","example":200,"nullable":true,"description":"Change in comments since previous snapshot"},"delta_shares":{"type":"number","example":2000,"nullable":true,"description":"Change in shares since previous snapshot"},"delta_bookmarks":{"type":"number","example":1000,"nullable":true,"description":"Change in bookmarks since previous snapshot"}},"required":["id","tracking_video_id","snapshot_at"]},"VideoSnapshotsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/VideoSnapshotDataDto"}}},"required":["data"]},"AccountAutoTopUpDto":{"type":"object","properties":{"enabled":{"type":"boolean","example":true},"amount_credits":{"type":"number","nullable":true,"example":2500,"description":"Credits added (and cents charged) per refill."},"when_below_credits":{"type":"number","nullable":true,"example":500,"description":"A refill runs when the balance drops to this many credits or less."},"last_refill_at":{"type":"string","nullable":true,"example":"2026-10-29T15:04:05.000Z","description":"Most recent automatic refill."}},"required":["enabled","amount_credits","when_below_credits","last_refill_at"]},"AccountBalanceDataDto":{"type":"object","properties":{"balance":{"type":"string","example":"$74.05","description":"Dollar balance as a display string (1 credit = $0.01)."},"credits_remaining":{"type":"number","example":7405},"status":{"type":"string","enum":["active","zero_balance"]},"auto_top_up":{"nullable":true,"description":"Auto top-up for the key's team; null for keys without a team.","allOf":[{"$ref":"#\/components\/schemas\/AccountAutoTopUpDto"}]}},"required":["balance","credits_remaining","status","auto_top_up"]},"AccountBalanceResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AccountBalanceDataDto"}},"required":["data"]},"V1TopUpDto":{"type":"object","properties":{"amount_usd":{"type":"number","description":"Dollars to add to the API balance, $10 to $1,000 (1 credit = $0.01).","example":25,"minimum":10,"maximum":1000},"auto_top_up":{"type":"boolean","description":"True only when the user asked for automatic refills. Pre-selects Yes on the checkout page's \"Refill automatically when low?\" choice; the payer can still pick No. Offered only to the team owner while auto top-up is off.","example":false},"auto_top_up_amount_usd":{"type":"number","description":"Refill size if auto top-up is turned on, $10 to $500. Defaults to amount_usd.","example":25},"auto_top_up_when_below_usd":{"type":"number","description":"Refill when the balance drops to this many dollars or less. Defaults to $5.","example":5}},"required":["amount_usd"]},"AccountTopUpDataDto":{"type":"object","properties":{"checkout_url":{"type":"string","example":"https:\/\/checkout.stripe.com\/c\/pay\/cs_live_...","description":"Stripe checkout page the person opens to pay. Nothing is charged until they do."},"amount":{"type":"string","example":"$25.00"},"credits":{"type":"number","example":2500},"bonus_credits":{"type":"number","example":0,"description":"Bonus credits this top-up adds once paid, on top of `credits` (bigger top-ups earn more; milestones at dev.virlo.ai\/docs\/credits#bonus-credits). 0 below the first milestone."},"expires_at":{"type":"string","example":"2026-10-30T15:04:05.000Z"},"auto_top_up":{"type":"object","additionalProperties":true,"description":"status: already_on (terms), offered_on_checkout_page (terms, preselected), or owner_only (the opt-in is shown only to the team owner)."}},"required":["checkout_url","amount","credits","bonus_credits","expires_at","auto_top_up"]},"AccountTopUpResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AccountTopUpDataDto"}},"required":["data"]},"V1AutoTopUpDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"false turns auto top-up off at once; true turns it on or changes its terms.","example":false},"amount_usd":{"type":"number","description":"Dollars added per refill, $10 to $500.","example":25},"when_below_usd":{"type":"number","description":"Refill when the balance drops to this many dollars or less.","example":5}},"required":["enabled"]},"AccountAutoTopUpChangeDataDto":{"type":"object","properties":{"status":{"type":"string","enum":["on","off"],"description":"State after this call."},"applied":{"type":"boolean","description":"true when the change is live now."},"terms":{"type":"string","example":"add $25.00 when your balance drops to $5.00 or less"},"confirm_url":{"type":"string","description":"Turning on or making refills bigger: the team owner confirms here. Nothing changes until they do."},"confirm_expires_at":{"type":"string"},"needs_payment_method":{"type":"boolean","description":"No saved card yet."},"message":{"type":"string"}},"required":["status","applied"]},"AccountAutoTopUpChangeResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AccountAutoTopUpChangeDataDto"}},"required":["data"]},"CreateWebhookDto":{"type":"object","properties":{"url":{"type":"string","example":"https:\/\/hooks.example.com\/virlo","description":"HTTPS destination URL"},"description":{"type":"string","example":"Production webhook"},"enabled_events":{"type":"array","description":"Event types this endpoint should receive","example":["orbit.run.completed","comet.run.completed"],"items":{"type":"string","enum":["content_research_agent.run.completed","content_research_agent.event.detected","comet.run.completed","orbit.run.completed","satellite.lookup.completed","trends.daily.completed","trends.region.completed","tracking.cycle.completed","tracking.outlier_video.detected","tracking.paused","audience.snapshot.completed"]}},"headers":{"type":"object","description":"Up to 5 custom headers to include on every delivery (e.g. Authorization: Bearer \u2026)","example":{"X-MyApp-Token":"abc123"},"additionalProperties":true},"is_active":{"type":"boolean","default":true}},"required":["url","enabled_events"]},"WebhookEndpointDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"team_id":{"type":"string","format":"uuid"},"url":{"type":"string","example":"https:\/\/hooks.example.com\/virlo"},"description":{"type":"string","nullable":true},"enabled_events":{"type":"array","example":["content_research_agent.run.completed"],"items":{"type":"string","enum":["content_research_agent.run.completed","content_research_agent.event.detected","comet.run.completed","orbit.run.completed","satellite.lookup.completed","trends.daily.completed","trends.region.completed","tracking.cycle.completed","tracking.outlier_video.detected","tracking.paused","audience.snapshot.completed"]}},"headers":{"type":"object","description":"Custom headers included on every delivery (secrets redacted in docs examples).","example":{},"additionalProperties":true},"is_active":{"type":"boolean"},"status":{"type":"string","enum":["active","inactive","disabled_by_system"],"description":"Effective status: `inactive` when soft-deleted (`is_active=false`), `disabled_by_system` when the circuit breaker tripped, otherwise `active`."},"consecutive_failures":{"type":"number","example":0},"last_success_at":{"type":"string","nullable":true},"last_failure_at":{"type":"string","nullable":true},"created_by":{"type":"string","format":"uuid","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","team_id","url","enabled_events","is_active","status","consecutive_failures","created_at","updated_at"]},"UpdateWebhookDto":{"type":"object","properties":{"url":{"type":"string"},"description":{"type":"string"},"enabled_events":{"type":"array","description":"Event types this endpoint should receive. Replaces the whole list.","items":{"type":"string","enum":["content_research_agent.run.completed","content_research_agent.event.detected","comet.run.completed","orbit.run.completed","satellite.lookup.completed","trends.daily.completed","trends.region.completed","tracking.cycle.completed","tracking.outlier_video.detected","tracking.paused","audience.snapshot.completed"]}},"headers":{"type":"object","additionalProperties":true},"is_active":{"type":"boolean"}}},"TestWebhookDto":{"type":"object","properties":{"event_type":{"type":"string","description":"Event type to simulate. Defaults to orbit.run.completed.","enum":["content_research_agent.run.completed","content_research_agent.event.detected","comet.run.completed","orbit.run.completed","satellite.lookup.completed","trends.daily.completed","trends.region.completed","tracking.cycle.completed","tracking.outlier_video.detected","tracking.paused","audience.snapshot.completed"],"example":"orbit.run.completed"}}},"WebhookTestQueuedDto":{"type":"object","properties":{"delivery_id":{"type":"string","format":"uuid"},"event_type":{"type":"string","example":"orbit.run.completed"}},"required":["delivery_id","event_type"]},"WebhookDeliveryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"endpoint_id":{"type":"string","format":"uuid"},"team_id":{"type":"string","format":"uuid","nullable":true},"event_type":{"type":"string"},"source_run_id":{"type":"string","nullable":true},"source_table":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true},"payload_size_bytes":{"type":"number"},"status":{"type":"string","enum":["pending","delivering","succeeded","failed","dead"]},"attempt_count":{"type":"number"},"max_attempts":{"type":"number"},"next_attempt_at":{"type":"string","nullable":true},"last_http_status":{"type":"number","nullable":true},"last_error":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string","nullable":true}},"required":["id","endpoint_id","event_type","status","attempt_count","max_attempts","created_at"]},"WebhookDeliveriesListDto":{"type":"object","properties":{"endpoint_id":{"type":"string","format":"uuid"},"deliveries":{"type":"array","items":{"$ref":"#\/components\/schemas\/WebhookDeliveryDto"}},"limit":{"type":"number"},"next_cursor":{"type":"string","nullable":true,"description":"Pass as `cursor` for the next page (ISO timestamp)."}},"required":["endpoint_id","deliveries","limit"]},"WebhookRetryQueuedDto":{"type":"object","properties":{"queued":{"type":"boolean","example":true}},"required":["queued"]},"TrendingSoundItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"Virlo's internal sound ID (UUID). Use this for the \/v1\/sounds\/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works \u2014 it is auto-resolved to the sound's platform + external_id."},"external_id":{"type":"string","example":"7559312683885201425","nullable":true,"description":"Platform-native sound identifier (TikTok music\/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup \u2014 call GET \/v1\/satellite\/sounds\/{platform}\/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id."},"title":{"type":"string","example":"Chopin Nocturne No. 2 Piano Mono"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"duration":{"type":"number","example":246,"nullable":true,"description":"Duration in seconds. Available on TikTok only."},"cover_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/sound-covers\/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg","description":"Sound cover image URL. Available on TikTok and YouTube. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","example":"@someone","nullable":true,"description":"Sound owner handle. Partially available on TikTok (~12%)."},"owner_nickname":{"type":"string","example":"Someone","nullable":true,"description":"Sound owner display name. Available on TikTok, YouTube, Instagram."},"is_original":{"type":"boolean","nullable":true,"description":"Whether the sound is an original creation. TikTok only."},"is_commerce_music":{"type":"boolean","nullable":true,"description":"Whether the sound is cleared for commercial use. TikTok only."},"usage_count":{"type":"number","example":5999231,"nullable":true,"description":"Platform-wide usage count. TikTok only."},"video_count":{"type":"number","example":42,"description":"All-time number of videos in our dataset using this sound. Updated within a few minutes of new videos arriving."},"avg_views":{"type":"number","example":125000,"description":"Average current views across all videos in our dataset using this sound (videos without a view count count as 0). Updated within a few minutes."},"videos_in_window":{"type":"number","nullable":true,"description":"Number of videos using this sound published in the last 7 or 30 days (window depends on the `sort` parameter). Populated when `sort=videos_7d` or `sort=videos_30d`. The momentum signal behind \"real\" trending."}},"required":["id","title","platform","video_count","avg_views"]},"OpenEndedPaginationMetaDto":{"type":"object","properties":{"page":{"type":"number","example":1},"limit":{"type":"number","example":20},"total":{"type":"number","nullable":true,"example":null,"description":"Always null: the total number of matches is not computed for this ranked read. It is unknown, not zero and not small. Page with has_next_page."},"total_pages":{"type":"number","nullable":true,"example":null,"description":"Always null, for the same reason as total."},"has_next_page":{"type":"boolean","example":true,"description":"Exact: true when at least one more result exists after this page."},"has_prev_page":{"type":"boolean","example":false}},"required":["page","limit","total","total_pages","has_next_page","has_prev_page"]},"TrendingSoundsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrendingSoundItemDto"}},"pagination":{"description":"On videos_7d, videos_30d and video_count, total and total_pages are null (not computed) and has_next_page is exact. usage_count returns an exact total and total_pages.","allOf":[{"$ref":"#\/components\/schemas\/OpenEndedPaginationMetaDto"}]},"sort":{"type":"string","description":"The sort mode used for this response. Echoes the `sort` query param so callers can confirm which ordering produced the data.","example":"videos_7d"}},"required":["data","pagination"]},"BreakoutSoundItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"Virlo's internal sound ID (UUID). Use this for the \/v1\/sounds\/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works \u2014 it is auto-resolved to the sound's platform + external_id."},"external_id":{"type":"string","example":"7559312683885201425","nullable":true,"description":"Platform-native sound identifier (TikTok music\/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup \u2014 call GET \/v1\/satellite\/sounds\/{platform}\/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id."},"title":{"type":"string","example":"Chopin Nocturne No. 2 Piano Mono"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"duration":{"type":"number","example":246,"nullable":true,"description":"Duration in seconds. Available on TikTok only."},"cover_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/sound-covers\/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg","description":"Sound cover image URL. Available on TikTok and YouTube. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","example":"@someone","nullable":true,"description":"Sound owner handle. Partially available on TikTok (~12%)."},"owner_nickname":{"type":"string","example":"Someone","nullable":true,"description":"Sound owner display name. Available on TikTok, YouTube, Instagram."},"is_original":{"type":"boolean","nullable":true,"description":"Whether the sound is an original creation. TikTok only."},"is_commerce_music":{"type":"boolean","nullable":true,"description":"Whether the sound is cleared for commercial use. TikTok only."},"usage_count":{"type":"number","example":5999231,"nullable":true,"description":"Platform-wide usage count. TikTok only."},"videos_7d":{"type":"number","description":"Videos using this sound published in the last 7 days"},"videos_30d":{"type":"number","description":"Videos using this sound published in the last 30 days"},"videos_90d":{"type":"number","description":"Videos using this sound published in the last 90 days (baseline)"},"burst_ratio":{"type":"number","description":"videos_7d \/ videos_90d. 1.0 means 100% of recent activity is in the last week (true breakout). 0.1 means it is mostly old activity.","example":0.89},"breakout_score":{"type":"number","description":"Legacy composite score = videos_7d \u00d7 (videos_7d \/ videos_90d). Retained for backward compatibility; results are now ordered by `acceleration` (see below), not this field.","example":37.53},"prior_weekly":{"type":"number","nullable":true,"description":"Average videos per week over the prior 4 weeks (days 8\u201335), i.e. the baseline the sound is breaking out from. Pair with videos_7d to see the trajectory (e.g. 1.8\/wk \u2192 54 this week).","example":1.75},"acceleration":{"type":"number","nullable":true,"description":"The breakout signal and default sort key: how much faster the sound is being used this week vs its prior weekly baseline = (videos_7d + 1) \/ (prior_weekly + 1). e.g. 20.0 = posting 20\u00d7 faster than its prior-month rate. Higher = a sharper breakout off a small base.","example":20}},"required":["id","title","platform","videos_7d","videos_30d","videos_90d","burst_ratio","breakout_score"]},"BreakoutSoundsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/BreakoutSoundItemDto"}},"pagination":{"description":"total and total_pages are null (the number of breakouts is not computed); has_next_page is exact.","allOf":[{"$ref":"#\/components\/schemas\/OpenEndedPaginationMetaDto"}]}},"required":["data","pagination"]},"SoundSearchResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/V1SoundDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"},"note":{"type":"string","nullable":true,"description":"Advisory note when results are sparse"}},"required":["data","pagination"]},"CreatorSoundAggregatesDto":{"type":"object","properties":{"total_sounds":{"type":"number"},"total_ugc_videos":{"type":"number"},"total_usage_count":{"type":"number"}},"required":["total_sounds","total_ugc_videos","total_usage_count"]},"CreatorSoundsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/TrendingSoundItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"},"aggregates":{"$ref":"#\/components\/schemas\/CreatorSoundAggregatesDto"}},"required":["data","pagination","aggregates"]},"UsageHistorySnapshotDto":{"type":"object","properties":{"usage_count":{"type":"number","nullable":true},"video_count_local":{"type":"number","nullable":true},"delta_usage_count":{"type":"number","nullable":true,"description":"Change from previous snapshot"},"delta_video_count_local":{"type":"number","nullable":true,"description":"Change from previous snapshot"},"snapshot_at":{"type":"string"}},"required":["snapshot_at"]},"UsageHistoryResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/UsageHistorySnapshotDto"}}},"required":["data"]},"SoundVideoItemDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"description":{"type":"string","nullable":true},"platform":{"type":"string"},"views":{"type":"number"},"likes":{"type":"number"},"shares":{"type":"number"},"comments":{"type":"number"},"bookmarks":{"type":"number","nullable":true},"publish_date":{"type":"string","nullable":true},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/thumbnails\/d9fae321.jpg","description":"Video thumbnail URL. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"is_duet":{"type":"boolean"},"is_stitch":{"type":"boolean"},"author":{"nullable":true,"description":"Video author details","allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"location":{"nullable":true,"description":"Beta. The place the creator tagged on the post (a TikTok or Instagram location tag), or null when the post carries no tag. A tag is the location the creator chose, usually where the video was filmed. About 7% of TikTok and Instagram videos carry one; YouTube has no place tag, so YouTube videos are always null.","allOf":[{"$ref":"#\/components\/schemas\/VideoLocationDto"}]}},"required":["id","url","platform","views","likes","shares","comments","hashtags","is_duet","is_stitch","location"]},"SoundVideosResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SoundVideoItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"TrackResolutionDto":{"type":"object","properties":{"status":{"type":"string","enum":["unresolved","pending","resolved","not_found"],"example":"resolved","description":"Resolution state. `unresolved` = never attempted; `pending` = queued for background resolution; `resolved` = matched to a recording artist; `not_found` = attempted but no confident match."},"artist_name":{"type":"string","nullable":true,"example":"Fred again.."},"isrc":{"type":"string","nullable":true,"example":"GBARL2200988","description":"International Standard Recording Code"},"spotify_track_id":{"type":"string","nullable":true},"spotify_artist_id":{"type":"string","nullable":true},"apple_music_id":{"type":"string","nullable":true},"release_status":{"type":"string","nullable":true,"enum":["released","unreleased","unknown"],"example":"released","description":"`released` = a verified ISRC was found in a registry\/fingerprint source; `unreleased` = the recording was identified but is absent from every DSP\/ISRC source (a TikTok \"ID\", teaser, leak, or pre-release); `unknown` = could not determine. Resolved via a tiered fallback chain so coverage survives Spotify API changes."},"resolution_source":{"type":"string","nullable":true,"enum":["spotify","deezer","musicbrainz","acrcloud","llm_websearch"],"example":"deezer","description":"Which resolver tier produced the winning answer."},"release_date":{"type":"string","nullable":true,"format":"date","example":"2024-03-04","description":"Recording release date when a source supplies one."},"confidence":{"type":"number","nullable":true,"example":0.92,"description":"0..1 confidence of the match \/ release-status verdict."},"resolved_at":{"type":"string","nullable":true,"format":"date-time"}},"required":["status"]},"SoundDetailDataDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"Virlo's internal sound ID (UUID). Use this for the \/v1\/sounds\/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works \u2014 it is auto-resolved to the sound's platform + external_id."},"external_id":{"type":"string","example":"7559312683885201425","nullable":true,"description":"Platform-native sound identifier (TikTok music\/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup \u2014 call GET \/v1\/satellite\/sounds\/{platform}\/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id."},"title":{"type":"string","example":"Chopin Nocturne No. 2 Piano Mono"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"duration":{"type":"number","example":246,"nullable":true,"description":"Duration in seconds. Available on TikTok only."},"cover_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/sound-covers\/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg","description":"Sound cover image URL. Available on TikTok and YouTube. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","example":"@someone","nullable":true,"description":"Sound owner handle. Partially available on TikTok (~12%)."},"owner_nickname":{"type":"string","example":"Someone","nullable":true,"description":"Sound owner display name. Available on TikTok, YouTube, Instagram."},"is_original":{"type":"boolean","nullable":true,"description":"Whether the sound is an original creation. TikTok only."},"is_commerce_music":{"type":"boolean","nullable":true,"description":"Whether the sound is cleared for commercial use. TikTok only."},"usage_count":{"type":"number","example":5999231,"nullable":true,"description":"Platform-wide usage count. TikTok only."},"total_videos":{"type":"number","example":42,"description":"All-time number of videos in our dataset using this sound. Updated within a few minutes of new videos arriving."},"avg_views":{"type":"number","example":125000,"description":"Average current views across all videos in our dataset using this sound (videos without a view count count as 0)."},"top_video_url":{"type":"string","nullable":true},"track_resolution":{"description":"Resolves this sound to its canonical music recording \u2014 `isrc`, DSP track\/artist IDs, `release_status`, and the `artist_name` of that recording. Always present; `status: \"unresolved\"` until resolved. Pass `?resolve=true` to trigger resolution (metered).","allOf":[{"$ref":"#\/components\/schemas\/TrackResolutionDto"}]}},"required":["id","title","platform","total_videos","avg_views","track_resolution"]},"SoundDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SoundDetailDataDto"}},"required":["data"]},"NicheSoundItemDto":{"type":"object","properties":{"id":{"type":"string","example":"550e8400-e29b-41d4-a716-446655440000","description":"Virlo's internal sound ID (UUID). Use this for the \/v1\/sounds\/:sound_id family (details, videos, usage-history, resolve). For the satellite sound lookup prefer `external_id`, though passing this UUID also works \u2014 it is auto-resolved to the sound's platform + external_id."},"external_id":{"type":"string","example":"7559312683885201425","nullable":true,"description":"Platform-native sound identifier (TikTok music\/clip id, or Instagram audio id). This is the `music_id` accepted by the satellite sound lookup \u2014 call GET \/v1\/satellite\/sounds\/{platform}\/{external_id} for TikTok or Instagram sounds. YouTube sounds are not supported (you'll get a 400). Null for sounds without a platform id."},"title":{"type":"string","example":"Chopin Nocturne No. 2 Piano Mono"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"duration":{"type":"number","example":246,"nullable":true,"description":"Duration in seconds. Available on TikTok only."},"cover_url":{"type":"string","nullable":true,"example":"https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/sound-covers\/6e03a216-f8c8-40e9-ba9b-b79d8a287b57.jpg","description":"Sound cover image URL. Available on TikTok and YouTube. Always an absolute URL (or null). Images Virlo stores are served from https:\/\/media.virlo.ai\/<bucket>\/ (stored since Nov 18 2026; a few from that day use https:\/\/dmkfcivrrvg3x.cloudfront.net\/<bucket>\/) or https:\/\/auth.virlo.ai\/storage\/v1\/object\/public\/<bucket>\/ (stored earlier); platform CDN links are passed through. Some files are HEIC, which most non-Safari browsers cannot render, so convert before display if you need to."},"owner_handle":{"type":"string","example":"@someone","nullable":true,"description":"Sound owner handle. Partially available on TikTok (~12%)."},"owner_nickname":{"type":"string","example":"Someone","nullable":true,"description":"Sound owner display name. Available on TikTok, YouTube, Instagram."},"is_original":{"type":"boolean","nullable":true,"description":"Whether the sound is an original creation. TikTok only."},"is_commerce_music":{"type":"boolean","nullable":true,"description":"Whether the sound is cleared for commercial use. TikTok only."},"usage_count":{"type":"number","example":5999231,"nullable":true,"description":"Platform-wide usage count. TikTok only."},"video_count":{"type":"number","description":"Videos using this sound within the search\/niche"},"avg_views":{"type":"number"},"growth_video_count":{"type":"number","nullable":true,"description":"Phase 3 (Comet only): change in niche-local video_count since the previous run. null when there is no prior run snapshot yet (first observation). Populated on \/v1\/comet\/:id\/sounds."},"growth_views":{"type":"number","nullable":true,"description":"Phase 3 (Comet only): change in niche-local total views since the previous run. null on first observation."},"lifecycle":{"type":"string","enum":["new","rising","steady","fading"],"description":"Phase 3 (Comet only): run-over-run momentum label. `new` on first observation; otherwise `rising` (\u22651.25\u00d7), `fading` (\u22640.75\u00d7), or `steady`. Same thresholds as Virlo viral-insight trends."}},"required":["id","title","platform","video_count","avg_views"]},"NicheSoundsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/NicheSoundItemDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"AudienceSnapshotJobErrorDto":{"type":"object","properties":{"code":{"type":"string","example":"INSUFFICIENT_SAMPLE"},"message":{"type":"string","example":"Only 12 unique commenters collected (min 30). Creator likely has very little public engagement. The customer was NOT charged for this attempt."}},"required":["code","message"]},"AudienceSnapshotJobDataDto":{"type":"object","properties":{"job_id":{"type":"string","example":"aud_a1b2c3d4e5f6"},"status":{"type":"string","enum":["processing","completed","failed","unknown"],"example":"completed"},"snapshot":{"nullable":true,"description":"Populated when status = \"completed\".","allOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotDto"}]},"error":{"nullable":true,"description":"Populated when status = \"failed\".","allOf":[{"$ref":"#\/components\/schemas\/AudienceSnapshotJobErrorDto"}]},"finalized":{"type":"boolean","example":true,"description":"True once the snapshot job reaches a terminal state (`completed` or `failed`). Included for shape uniformity across async resources."},"pending_jobs":{"description":"Always an empty array for this endpoint \u2014 it polls a single audience job and exposes nothing else. Included so consumers can treat every async response the same way.","type":"array","items":{"$ref":"#\/components\/schemas\/PendingJobDto"}}},"required":["job_id","status"]},"AudienceSnapshotJobResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AudienceSnapshotJobDataDto"}},"required":["data"]},"HookTypeStatDto":{"type":"object","properties":{"value":{"type":"string","example":"tutorial_promise","description":"Taxonomy value. Includes 'none' (no discernible hook) for corpus accounting."},"video_count":{"type":"number","description":"Hooks in the corpus with this value for the selected slice."},"share_of_corpus":{"type":"number","nullable":true,"description":"Share of the slice corpus (0-1)."},"total_views":{"type":"number","nullable":true},"avg_views":{"type":"number","nullable":true},"median_views":{"type":"number","nullable":true},"avg_weighted_score":{"type":"number","nullable":true,"description":"Mean Virality Score. Reads negative for most types because about half of all videos get fewer views than their creator has followers; do not rank types by it. Use strong_hit_rate or median_weighted_score."},"median_weighted_score":{"type":"number","nullable":true,"description":"Median Virality Score: the typical outcome for a video using this hook type."},"p90_weighted_score":{"type":"number","nullable":true,"description":"90th-percentile Virality Score: how good the winners get."},"strong_hit_rate":{"type":"number","nullable":true,"description":"Share of videos using this hook type that scored strong or better (Virality Score >= 18), 0-1. The best single number for \"which hook types work\".","example":0.27}},"required":["value","video_count"]},"HookTypesDataDto":{"type":"object","properties":{"dimension":{"type":"string","enum":["hook_type","visual_hook_type"]},"platform":{"type":"string","description":"Platform slice ('all' when not filtered)."},"category":{"type":"string","description":"Category slice ('all' when not filtered)."},"snapshot_date":{"type":"string","nullable":true,"description":"Date of the daily snapshot the stats come from."},"types":{"type":"array","items":{"$ref":"#\/components\/schemas\/HookTypeStatDto"}}},"required":["dimension","platform","category","types"]},"HookTypesResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/HookTypesDataDto"}},"required":["data"]},"HookVideoDto":{"type":"object","properties":{"video_id":{"type":"string","description":"Virlo id of the source video\/slideshow. Interchangeable with the video ids returned by the agent content endpoints."},"url":{"type":"string","nullable":true,"description":"Platform URL of the source post."},"thumbnail_url":{"type":"string","nullable":true},"views":{"type":"number","nullable":true},"likes":{"type":"number","nullable":true},"comments":{"type":"number","nullable":true},"shares":{"type":"number","nullable":true},"duration":{"type":"number","nullable":true,"description":"Video duration in seconds. Null for slideshows."},"publish_date":{"type":"string","nullable":true},"author_handle":{"type":"string","nullable":true,"description":"Creator handle on the platform."},"author_followers":{"type":"number","nullable":true,"description":"Creator follower count at last sync."},"is_paid":{"type":"boolean","example":false,"description":"True when the post is paid distribution rather than organic reach: TikTok marked it boosted (ad spend) or a Paid partnership \/ Promotional content, Instagram marked it a paid partnership, or the caption discloses it (#ad, #sponsored, #<brand>partner, gifted). Its views reflect ad budget, so treat it as an ad, not an organic viral win."}},"required":["video_id","is_paid"]},"HookItemDto":{"type":"object","properties":{"hook_text":{"type":"string","description":"Verbatim opening line \u2014 a contiguous substring of the first ~6 seconds of speech, or the frame-1 on-screen text when there is no spoken hook. Never paraphrased.","example":"Stop doing this if you want clear skin"},"hook_type":{"type":"string","nullable":true,"description":"Spoken\/text hook classification. GET \/v1\/hooks\/types lists the values; the list grows over time.","example":"negation"},"visual_hook_type":{"type":"string","nullable":true,"description":"First-frame visual classification (12-value vocabulary). Orthogonal to hook_type. Null for slideshows.","example":"person_speaking_to_camera"},"content_type":{"type":"string","enum":["video","slideshow"]},"platform":{"type":"string","enum":["tiktok","youtube","instagram"]},"category":{"type":"string","nullable":true,"description":"AI-classified content category of the source video."},"language":{"type":"string","nullable":true,"description":"Detected ISO language code of the content.","example":"en"},"brand_safety_tier":{"type":"string","nullable":true,"description":"Brand-safety tier of the source content (safe | low_risk | medium_risk \u2014 higher-risk content is excluded from the corpus)."},"outlier_ratio":{"type":"number","nullable":true,"description":"views \/ author followers. The raw outlier signal.","example":27.3},"weighted_score":{"type":"number","nullable":true,"description":"Virality Score: how far the video outran its creator's audience, comparable across creator sizes and platforms: >=35 exceptional, 25-35 very strong, 18-25 strong, 10-18 promising.","example":37.6},"usage_count":{"type":"number","description":"How many corpus posts open with this exact hook (case- and whitespace-insensitive). Identical hooks are collapsed to their strongest source, so this is the only place the others show up. 1 = original; higher = a reused template or format.","example":1},"video":{"description":"The source post this hook was extracted from (the strongest one when several posts share the hook).","allOf":[{"$ref":"#\/components\/schemas\/HookVideoDto"}]}},"required":["hook_text","content_type","platform","usage_count","video"]},"TrendingHooksResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/HookItemDto"}},"pagination":{"description":"total and total_pages are null: the number of matches is not computed (it is not small). has_next_page is exact. Results stop at the top 1,000; page past that is a 400.","allOf":[{"$ref":"#\/components\/schemas\/OpenEndedPaginationMetaDto"}]}},"required":["data","pagination"]},"SearchHookItemDto":{"type":"object","properties":{"hook_text":{"type":"string","description":"Verbatim opening line \u2014 a contiguous substring of the first ~6 seconds of speech, or the frame-1 on-screen text when there is no spoken hook. Never paraphrased.","example":"Stop doing this if you want clear skin"},"hook_type":{"type":"string","nullable":true,"description":"Spoken\/text hook classification. GET \/v1\/hooks\/types lists the values; the list grows over time.","example":"negation"},"visual_hook_type":{"type":"string","nullable":true,"description":"First-frame visual classification (12-value vocabulary). Orthogonal to hook_type. Null for slideshows.","example":"person_speaking_to_camera"},"content_type":{"type":"string","enum":["video","slideshow"]},"platform":{"type":"string","enum":["tiktok","youtube","instagram"]},"category":{"type":"string","nullable":true,"description":"AI-classified content category of the source video."},"language":{"type":"string","nullable":true,"description":"Detected ISO language code of the content.","example":"en"},"brand_safety_tier":{"type":"string","nullable":true,"description":"Brand-safety tier of the source content (safe | low_risk | medium_risk \u2014 higher-risk content is excluded from the corpus)."},"outlier_ratio":{"type":"number","nullable":true,"description":"views \/ author followers. The raw outlier signal.","example":27.3},"weighted_score":{"type":"number","nullable":true,"description":"Virality Score: how far the video outran its creator's audience, comparable across creator sizes and platforms: >=35 exceptional, 25-35 very strong, 18-25 strong, 10-18 promising.","example":37.6},"usage_count":{"type":"number","description":"How many corpus posts open with this exact hook (case- and whitespace-insensitive). Identical hooks are collapsed to their strongest source, so this is the only place the others show up. 1 = original; higher = a reused template or format.","example":1},"video":{"description":"The source post this hook was extracted from (the strongest one when several posts share the hook).","allOf":[{"$ref":"#\/components\/schemas\/HookVideoDto"}]},"match_type":{"type":"string","enum":["exact","contains","similar"],"nullable":true,"description":"How the hook matched q. exact: the hook IS the query (reverse lookup hit). contains: the hook contains the phrase; this tier is ranked by Virality Score. similar: a near-match (typos, reworded), returned only when the first two tiers cannot fill the page. Results are ordered exact, contains, similar. Null when no q was given.","example":"contains"},"match_score":{"type":"number","nullable":true,"description":"Trigram similarity between the query and hook_text (0-1); 1 for exact matches. Informational: ordering is by match_type first. Null when no q was given.","example":0.62}},"required":["hook_text","content_type","platform","usage_count","video"]},"SearchHooksResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchHookItemDto"}},"pagination":{"description":"total and total_pages are null: the number of matches is not computed (it is not small). has_next_page is exact. Results stop at the top 1,000; page past that is a 400.","allOf":[{"$ref":"#\/components\/schemas\/OpenEndedPaginationMetaDto"}]}},"required":["data","pagination"]},"LibraryCategoryDto":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"hook_count":{"type":"number","description":"Number of templates in this category."}},"required":["slug","name","hook_count"]},"HookLibraryCategoriesResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LibraryCategoryDto"}}},"required":["data"]},"LibraryCategoryRefDto":{"type":"object","properties":{"slug":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}}},"LibraryHookDto":{"type":"object","properties":{"hook_text":{"type":"string","description":"The hook template text."},"example":{"type":"string","nullable":true,"description":"A filled-in example of the template."},"psychology":{"type":"string","nullable":true,"description":"Why this hook works \u2014 the psychology behind it."},"psychology_tags":{"nullable":true,"type":"array","items":{"type":"string"}},"tags":{"nullable":true,"type":"array","items":{"type":"string"}},"library_category":{"$ref":"#\/components\/schemas\/LibraryCategoryRefDto"}},"required":["hook_text","library_category"]},"HookLibraryResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/LibraryHookDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"AgentHooksCoverageDto":{"type":"object","properties":{"videos_collected":{"type":"number","description":"Distinct videos this agent has collected."},"videos_with_hooks":{"type":"number","description":"Distinct collected videos with a classified hook. 0 with a young agent means \"no hook data yet\", not \"no hooks in this niche\": fall back to GET \/v1\/hooks\/trending filtered to the niche."}},"required":["videos_collected","videos_with_hooks"]},"AgentHooksDataDto":{"type":"object","properties":{"agent_id":{"type":"string"},"coverage":{"$ref":"#\/components\/schemas\/AgentHooksCoverageDto"},"hooks":{"type":"array","items":{"$ref":"#\/components\/schemas\/HookItemDto"}}},"required":["agent_id","coverage","hooks"]},"AgentHooksResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/AgentHooksDataDto"},"pagination":{"description":"Exact: total is the number of distinct hooks matching the filters.","allOf":[{"$ref":"#\/components\/schemas\/PaginationMetaDto"}]}},"required":["data","pagination"]},"ContentTrendPlatformsDto":{"type":"object","properties":{"tiktok":{"type":"number","example":690},"instagram":{"type":"number","example":40},"youtube":{"type":"number","example":14}},"required":["tiktok","instagram","youtube"]},"ContentTrendClientFitDto":{"type":"object","properties":{"fit":{"type":"string","example":"yes","description":"yes | maybe | no"},"how":{"type":"string","nullable":true,"example":"Swap the punchline for a product reveal."}},"required":["fit"]},"ContentTrendClientFitMapDto":{"type":"object","properties":{"b2b_saas":{"$ref":"#\/components\/schemas\/ContentTrendClientFitDto"},"clinic_healthcare":{"$ref":"#\/components\/schemas\/ContentTrendClientFitDto"},"consumer_brand":{"$ref":"#\/components\/schemas\/ContentTrendClientFitDto"},"local_business":{"$ref":"#\/components\/schemas\/ContentTrendClientFitDto"}}},"ContentTrendSeriesPointDto":{"type":"object","properties":{"date":{"type":"string","example":"2026-10-20","description":"Posting date (UTC)."},"creators":{"type":"number","example":31,"description":"Creators who posted this format on that day."},"partial":{"type":"boolean","example":true,"description":"True for the last 7 days, which are still being counted: videos are found a few days after posting (median about 4 days), so these days rise later. Never read a partial dip as a decline."}},"required":["date","creators","partial"]},"ContentTrendExampleAuthorDto":{"type":"object","properties":{"username":{"type":"string","nullable":true,"example":"jane.creator"},"avatar_url":{"type":"string","nullable":true,"example":"https:\/\/cdn.virlo.dev\/avatars\/abc.jpg"},"verified":{"type":"boolean","nullable":true,"example":true},"followers":{"type":"number","nullable":true,"example":15400}}},"ContentTrendExampleDto":{"type":"object","properties":{"video_id":{"type":"string","example":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"},"url":{"type":"string","nullable":true,"example":"https:\/\/www.tiktok.com\/@example\/video\/12345"},"platform":{"type":"string","example":"tiktok","enum":["tiktok","youtube","instagram"]},"views":{"type":"number","example":1240000},"thumbnail_url":{"type":"string","nullable":true,"example":"https:\/\/cdn.virlo.dev\/thumbnails\/abc.jpg"},"publish_date":{"type":"string","nullable":true,"example":"2026-05-14T17:11:59Z"},"is_paid":{"type":"boolean","example":false,"description":"True when the post is paid distribution rather than organic reach: TikTok marked it boosted (ad spend) or a Paid partnership \/ Promotional content, Instagram marked it a paid partnership, or the caption discloses it (#ad, #sponsored, #<brand>partner, gifted). Its views reflect ad budget, so treat it as an ad, not an organic viral win. Paid exemplars are listed after organic ones."},"likes":{"type":"number","nullable":true,"example":89000},"comments":{"type":"number","nullable":true,"example":1200},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/ContentTrendExampleAuthorDto"}]},"verified_fit":{"type":"boolean","example":true,"description":"Passed the recipe check: the video does the format, not just uses the sound or caption."}},"required":["video_id","views","is_paid","verified_fit"]},"ContentTrendDto":{"type":"object","properties":{"id":{"type":"number","example":26},"name":{"type":"string","example":"Pov: the group chat when..."},"recipe":{"type":"string","nullable":true,"description":"How to make it, in one or two sentences."},"constant_part":{"type":"string","nullable":true,"description":"The part every video keeps the same."},"swapped_part":{"type":"string","nullable":true,"description":"The part creators swap in to make it theirs."},"lifecycle":{"type":"string","enum":["new","rising","peaking","fading","archived"],"description":"new: spotted in the last 7 days. rising: 10+ creators this week and at least 1.3x last week. fading: under 0.7x last week. peaking: in between. archived: no posts in 14 days, or under 5 creators in a week once older than 7 days."},"lifecycle_since":{"type":"string","example":"2026-10-18T04:07:12Z"},"spotted_on":{"type":"string","nullable":true,"example":"2026-10-09","description":"Day Virlo first spotted the format."},"first_seen_on":{"type":"string","nullable":true,"example":"2026-10-02"},"last_seen_on":{"type":"string","nullable":true,"example":"2026-10-20"},"peak_on":{"type":"string","nullable":true,"example":"2026-10-17"},"peak_creators":{"type":"number","nullable":true,"example":41.3,"description":"Best 3-day average of new creators per day."},"creators_3d_avg":{"type":"number","example":37},"creators_7d":{"type":"number","example":212,"description":"Creators who posted it in the last 7 days."},"creators_prev_7d":{"type":"number","example":140,"description":"Creators in the 7 days before that, as counted a week ago, so the week-over-week comparison is fair."},"creators_total":{"type":"number","example":618},"videos_total":{"type":"number","example":744},"videos_verified":{"type":"number","example":301,"description":"Videos that passed the recipe check."},"views_total":{"type":"number","example":182340000},"top_views":{"type":"number","example":9100000},"platforms":{"$ref":"#\/components\/schemas\/ContentTrendPlatformsDto"},"made_with_ai_tool":{"type":"boolean","example":false},"tool_name":{"type":"string","nullable":true},"is_sound_meme":{"type":"boolean","example":true},"sound_title":{"type":"string","nullable":true},"language":{"type":"string","nullable":true,"example":"en"},"region":{"type":"string","nullable":true,"example":"US","description":"ISO 3166-1 alpha-2 country, or MIXED."},"audience_tags":{"example":["gen z","students"],"type":"array","items":{"type":"string"}},"brand_safety":{"type":"string","nullable":true,"enum":["safe","caution"]},"effort":{"type":"string","nullable":true},"tone":{"type":"string","nullable":true},"people":{"type":"string","nullable":true},"client_fit":{"nullable":true,"description":"How well the format fits each kind of client. Keys may be added over time.","allOf":[{"$ref":"#\/components\/schemas\/ContentTrendClientFitMapDto"}]},"series":{"description":"Creators posting per day by posting date, last 30 days, oldest first.","type":"array","items":{"$ref":"#\/components\/schemas\/ContentTrendSeriesPointDto"}},"examples":{"description":"Example videos: team-pinned first, then recipe-checked recent ones, then other recipe-checked, recent, the rest; one per creator; paid posts listed after organic.","type":"array","items":{"$ref":"#\/components\/schemas\/ContentTrendExampleDto"}}},"required":["id","name","lifecycle","lifecycle_since","creators_3d_avg","creators_7d","creators_prev_7d","creators_total","videos_total","videos_verified","views_total","top_views","platforms","made_with_ai_tool","is_sound_meme","audience_tags","series","examples"]},"ContentTrendsMetaDto":{"type":"object","properties":{"updated_at":{"type":"string","nullable":true,"example":"2026-10-21T03:08:00Z","description":"When the Content Trends data was last refreshed (hourly)."}}},"ContentTrendsListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContentTrendDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"},"meta":{"$ref":"#\/components\/schemas\/ContentTrendsMetaDto"}},"required":["data","pagination","meta"]},"ContentTrendResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/ContentTrendDto"},"meta":{"$ref":"#\/components\/schemas\/ContentTrendsMetaDto"}},"required":["data","meta"]},"RawAdAdvertiserRefDto":{"type":"object","properties":{"page_id":{"type":"string","example":"15087023444","description":"Facebook page ID of the advertiser."},"name":{"type":"string","nullable":true,"example":"Nike"},"avatar_url":{"type":"string","nullable":true,"description":"Page avatar URL on the Facebook CDN. These links expire."},"url":{"type":"string","example":"https:\/\/www.facebook.com\/nike","description":"The advertiser's Facebook page."}},"required":["page_id","name","avatar_url","url"]},"RawAdVideoDto":{"type":"object","properties":{"hd_url":{"type":"string","nullable":true,"description":"HD video URL. Image and video links are Facebook CDN URLs. They expire after a few days; download what you need to keep."},"sd_url":{"type":"string","nullable":true,"description":"SD video URL. Image and video links are Facebook CDN URLs. They expire after a few days; download what you need to keep."},"preview_image_url":{"type":"string","nullable":true,"description":"Poster image URL. Image and video links are Facebook CDN URLs. They expire after a few days; download what you need to keep."}},"required":["hd_url","sd_url","preview_image_url"]},"RawAdCreativeDto":{"type":"object","properties":{"body":{"type":"string","nullable":true,"description":"Primary text of the ad."},"title":{"type":"string","nullable":true,"description":"Headline."},"description":{"type":"string","nullable":true,"description":"Link description under the headline (on catalog ads often a price)."},"caption":{"type":"string","nullable":true,"example":"nike.com","description":"Display domain or caption under the media."},"cta_text":{"type":"string","nullable":true,"example":"Shop now","description":"Button text."},"cta_type":{"type":"string","nullable":true,"example":"shop_now","description":"Button type, lowercase."},"link_url":{"type":"string","nullable":true,"description":"Where the ad links to."},"image_urls":{"description":"Image URLs. Image and video links are Facebook CDN URLs. They expire after a few days; download what you need to keep.","type":"array","items":{"type":"string"}},"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/RawAdVideoDto"}}},"required":["body","title","description","caption","cta_text","cta_type","link_url","image_urls","videos"]},"RawAdRangeDto":{"type":"object","properties":{"lower":{"type":"number","nullable":true,"example":350000,"description":"Lower bound. Null when open."},"upper":{"type":"number","nullable":true,"example":400000,"description":"Upper bound. Null when open (e.g. \">1M\")."}},"required":["lower","upper"]},"RawAdSpendDto":{"type":"object","properties":{"lower":{"type":"number","nullable":true,"example":350000,"description":"Lower bound. Null when open."},"upper":{"type":"number","nullable":true,"example":400000,"description":"Upper bound. Null when open (e.g. \">1M\")."},"currency":{"type":"string","nullable":true,"example":"USD","description":"ISO 4217 currency of the bounds."}},"required":["lower","upper","currency"]},"RawAdDto":{"type":"object","properties":{"id":{"type":"string","example":"1035817839464984","description":"Ad Library ID."},"url":{"type":"string","example":"https:\/\/www.facebook.com\/ads\/library\/?id=1035817839464984","description":"The ad in the public Ad Library."},"advertiser":{"$ref":"#\/components\/schemas\/RawAdAdvertiserRefDto"},"is_active":{"type":"boolean","nullable":true,"description":"True while the ad is running."},"started_at":{"type":"string","nullable":true,"format":"date-time","example":"2026-10-19T07:00:00.000Z","description":"First day the ad ran, ISO 8601 UTC."},"ended_at":{"type":"string","nullable":true,"format":"date-time","description":"Last day the ad ran, ISO 8601 UTC. Null while the ad is active."},"publisher_platforms":{"example":["facebook","instagram"],"description":"Where the ad runs, lowercase: facebook, instagram, messenger, audience_network, threads.","type":"array","items":{"type":"string"}},"media_type":{"type":"string","enum":["image","video","none"],"example":"video","description":"`video` when any creative has a video, else `image` when any has an image, else `none` (text only)."},"creatives":{"description":"The ad's creatives. A carousel or catalog ad has one per card. Can be empty. Image and video links are Facebook CDN URLs. They expire after a few days; download what you need to keep.","type":"array","items":{"$ref":"#\/components\/schemas\/RawAdCreativeDto"}},"variant_count":{"type":"number","nullable":true,"example":4,"description":"Ads the Ad Library groups under this one because they use the same creative. Null when not grouped."},"page_categories":{"example":["Sportswear"],"description":"Categories of the advertiser's page.","type":"array","items":{"type":"string"}},"reach":{"nullable":true,"description":"People reached. Only for ads shown in the EU or UK (exact, lower = upper) and political or issue ads (a range). Otherwise null.","allOf":[{"$ref":"#\/components\/schemas\/RawAdRangeDto"}]},"spend":{"nullable":true,"description":"Amount spent, as a range. Political and issue ads only; otherwise null.","allOf":[{"$ref":"#\/components\/schemas\/RawAdSpendDto"}]},"impressions":{"nullable":true,"description":"Impressions, as a range. Political and issue ads only; otherwise null.","allOf":[{"$ref":"#\/components\/schemas\/RawAdRangeDto"}]},"platform_data":{"type":"object","additionalProperties":true,"description":"Ad Library fields outside the shared schema, snake_case. A key is absent when the ad has no value. Keys: `display_format` (e.g. `image`, `video`, `dco`, `dpa`, `carousel`), `collation_id`, `ad_categories` (e.g. `political`), `paid_for_by` (political disclaimer), `page_like_count`, `contains_digitally_created_media`, `targeted_countries`, and for ads shown in the EU or UK `audience` ({ gender, age_min, age_max, locations }), `payer`, `beneficiary`."}},"required":["id","url","advertiser","is_active","started_at","ended_at","publisher_platforms","media_type","creatives","variant_count","page_categories","reach","spend","impressions","platform_data"]},"RawPaginationDto":{"type":"object","properties":{"next_cursor":{"type":"string","nullable":true,"description":"Pass as `cursor` to get the next page. Null on the last page."},"has_more":{"type":"boolean","description":"True when next_cursor is set."}},"required":["next_cursor","has_more"]},"RawAdPageResponseDto":{"type":"object","properties":{"data":{"description":"One Ad Library page (about 30 ads on the first page, about 10 after). Can be empty (still billed).","type":"array","items":{"$ref":"#\/components\/schemas\/RawAdDto"}},"pagination":{"$ref":"#\/components\/schemas\/RawPaginationDto"}},"required":["data","pagination"]},"RawAdResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/RawAdDto"}},"required":["data"]},"RawAdvertiserDto":{"type":"object","properties":{"page_id":{"type":"string","example":"15087023444","description":"Facebook page ID. Pass it to `\/v1\/raw\/meta\/advertisers\/{page_id}\/ads`."},"name":{"type":"string","nullable":true,"example":"Nike"},"avatar_url":{"type":"string","nullable":true,"description":"Page avatar URL on the Facebook CDN. These links expire."},"url":{"type":"string","example":"https:\/\/www.facebook.com\/nike","description":"The advertiser's Facebook page."},"verified":{"type":"boolean","nullable":true,"description":"True when the page has a verified badge."},"likes":{"type":"number","nullable":true,"example":39494133,"description":"Facebook page likes."},"category":{"type":"string","nullable":true,"example":"Sportswear Store","description":"Page category. Null on advertiser ads called by page ID."},"instagram_handle":{"type":"string","nullable":true,"example":"nike","description":"Linked Instagram account, without @."},"instagram_followers":{"type":"number","nullable":true,"example":290887065,"description":"Followers of the linked Instagram account."},"platform_data":{"type":"object","additionalProperties":true,"description":"Advertiser fields outside the shared schema, snake_case. A key is absent when there is no value. Keys: `page_alias`, `entity_type`, `verification` (e.g. `blue_verified`), `instagram_verified`, `country`, and on advertiser ads `ad_count` (ads that match the filters, as the Ad Library counts them; it stops at 50,001)."}},"required":["page_id","name","avatar_url","url","verified","likes","category","instagram_handle","instagram_followers","platform_data"]},"RawAdvertiserListResponseDto":{"type":"object","properties":{"data":{"description":"Matching advertisers in the Ad Library's own order (usually 5-15). Not paginated. Can be empty (still billed).","type":"array","items":{"$ref":"#\/components\/schemas\/RawAdvertiserDto"}}},"required":["data"]},"RawAdvertiserAdsResponseDto":{"type":"object","properties":{"data":{"description":"One Ad Library page (about 30 ads on the first page, about 10 after). Can be empty (still billed).","type":"array","items":{"$ref":"#\/components\/schemas\/RawAdDto"}},"advertiser":{"description":"The advertiser these ads belong to. With `name=`, this is the advertiser the name resolved to.","allOf":[{"$ref":"#\/components\/schemas\/RawAdvertiserDto"}]},"pagination":{"$ref":"#\/components\/schemas\/RawPaginationDto"}},"required":["data","advertiser","pagination"]},"RawAuthorRefDto":{"type":"object","properties":{"id":{"type":"string","nullable":true,"example":"6784563164518679557","description":"Platform user or channel ID."},"handle":{"type":"string","nullable":true,"example":"khaby.lame","description":"Handle without the leading @."},"display_name":{"type":"string","nullable":true,"example":"Khabane lame"},"avatar_url":{"type":"string","nullable":true,"description":"Avatar image URL on the platform CDN. These links can expire."},"verified":{"type":"boolean","nullable":true}},"required":["id","handle","display_name","avatar_url","verified"]},"RawVideoStatsDto":{"type":"object","properties":{"views":{"type":"number","nullable":true,"example":1200000},"likes":{"type":"number","nullable":true,"example":85000},"comments":{"type":"number","nullable":true,"example":1200},"shares":{"type":"number","nullable":true,"example":3400},"saves":{"type":"number","nullable":true,"example":5100}},"required":["views","likes","comments","shares","saves"]},"RawSoundDto":{"type":"object","properties":{"id":{"type":"string","nullable":true,"description":"Platform sound\/audio ID."},"title":{"type":"string","nullable":true,"example":"original sound"},"artist":{"type":"string","nullable":true}},"required":["id","title","artist"]},"RawVideoDto":{"type":"object","properties":{"id":{"type":"string","example":"7137423965982592302","description":"Platform video ID (TikTok numeric ID, YouTube video ID, Instagram shortcode)."},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok"},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@khaby.lame\/video\/7137423965982592302"},"caption":{"type":"string","nullable":true},"hashtags":{"example":["fyp","comedy"],"description":"Hashtags without #, lowercased. Empty when none.","type":"array","items":{"type":"string"}},"published_at":{"type":"string","nullable":true,"format":"date-time","example":"2026-10-01T14:03:00.000Z","description":"Publish time, ISO 8601 UTC."},"duration_seconds":{"type":"number","nullable":true,"example":21,"description":"Length in seconds."},"thumbnail_url":{"type":"string","nullable":true,"description":"Thumbnail URL on the platform CDN. These links can expire."},"author":{"$ref":"#\/components\/schemas\/RawAuthorRefDto"},"stats":{"description":"Counts at request time. A count the platform does not expose is null.","allOf":[{"$ref":"#\/components\/schemas\/RawVideoStatsDto"}]},"sound":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/RawSoundDto"}]},"platform_data":{"type":"object","additionalProperties":true,"description":"Platform-only fields, snake_case. Keys differ by platform and may be absent when the platform does not return them."}},"required":["id","platform","url","caption","hashtags","published_at","duration_seconds","thumbnail_url","author","stats","sound","platform_data"]},"RawVideoPageResponseDto":{"type":"object","properties":{"data":{"description":"One upstream page. Can be empty (still billed).","type":"array","items":{"$ref":"#\/components\/schemas\/RawVideoDto"}},"pagination":{"$ref":"#\/components\/schemas\/RawPaginationDto"}},"required":["data","pagination"]},"RawVideoResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/RawVideoDto"}},"required":["data"]},"RawCommentDto":{"type":"object","properties":{"id":{"type":"string","example":"7138000000000000000"},"text":{"type":"string"},"published_at":{"type":"string","nullable":true,"format":"date-time","description":"ISO 8601 UTC."},"likes":{"type":"number","nullable":true,"example":120},"reply_count":{"type":"number","nullable":true,"example":4},"author":{"$ref":"#\/components\/schemas\/RawAuthorRefDto"}},"required":["id","text","published_at","likes","reply_count","author"]},"RawCommentPageResponseDto":{"type":"object","properties":{"data":{"description":"One upstream page. Can be empty (still billed).","type":"array","items":{"$ref":"#\/components\/schemas\/RawCommentDto"}},"pagination":{"$ref":"#\/components\/schemas\/RawPaginationDto"}},"required":["data","pagination"]},"RawTranscriptSegmentDto":{"type":"object","properties":{"start_seconds":{"type":"number","example":0.4},"end_seconds":{"type":"number","nullable":true,"example":2.9},"text":{"type":"string"}},"required":["start_seconds","end_seconds","text"]},"RawTranscriptDto":{"type":"object","properties":{"video_id":{"type":"string","example":"7137423965982592302"},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok"},"language":{"type":"string","nullable":true,"example":"en","description":"Language code of the transcript, when known."},"has_transcript":{"type":"boolean","example":true,"description":"False when the video exists but has nothing to transcribe (no speech and no captions). `text` is then \"\" and the call is still billed. A video that does not exist is a 404 `not_found` instead."},"text":{"type":"string","description":"Full transcript as plain text. \"\" when `has_transcript` is false."},"segments":{"nullable":true,"description":"Timed segments, or null when the platform transcript has no timings.","type":"array","items":{"$ref":"#\/components\/schemas\/RawTranscriptSegmentDto"}}},"required":["video_id","platform","language","has_transcript","text","segments"]},"RawTranscriptResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/RawTranscriptDto"}},"required":["data"]},"RawCreatorStatsDto":{"type":"object","properties":{"followers":{"type":"number","nullable":true,"example":162000000},"following":{"type":"number","nullable":true,"example":80},"likes":{"type":"number","nullable":true,"example":2500000000,"description":"Total likes received across the account. Null where the platform does not expose it."},"videos":{"type":"number","nullable":true,"example":1300,"description":"Number of posts or videos on the account."}},"required":["followers","following","likes","videos"]},"RawCreatorDto":{"type":"object","properties":{"id":{"type":"string","nullable":true,"example":"6784563164518679557"},"platform":{"type":"string","enum":["tiktok","youtube","instagram"],"example":"tiktok"},"handle":{"type":"string","example":"khaby.lame","description":"Handle without the leading @."},"display_name":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"avatar_url":{"type":"string","nullable":true,"description":"Avatar image URL on the platform CDN. These links can expire."},"url":{"type":"string","example":"https:\/\/www.tiktok.com\/@khaby.lame"},"verified":{"type":"boolean","nullable":true},"external_url":{"type":"string","nullable":true,"description":"Link in bio, when set."},"stats":{"$ref":"#\/components\/schemas\/RawCreatorStatsDto"},"platform_data":{"type":"object","additionalProperties":true,"description":"Platform-only fields, snake_case. Keys differ by platform and may be absent when the platform does not return them."}},"required":["id","platform","handle","display_name","bio","avatar_url","url","verified","external_url","stats","platform_data"]},"RawCreatorResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/RawCreatorDto"}},"required":["data"]},"SearchVideosDto":{"type":"object","properties":{"scope":{"type":"string","enum":["virlo_library","my_research","agent"],"description":"Where to search. `virlo_library`: every video Virlo has analysed, plus tagged videos not analysed yet when you search by `places` or `near` with no topic or look (5 credits per page of up to 25, nothing charged for an empty page). `my_research`: the videos your team's research agents collected (free). `agent`: one of your agents' videos, named by `agent_id` (free). Required unless you pass `cursor`.","example":"virlo_library"},"cursor":{"type":"string","description":"Opaque cursor from `next_cursor` (or `cursor`) of an earlier answer: serves that page of the same search in the same order, with no repeats or gaps, without running the search again. Send it alone (add `page` to jump within the same search); other fields must be left out or match the original search. Cursors last 1 hour; an expired or unknown one is 400 `invalid_cursor` (not billed): run the search again without it. Billing per page is unchanged.","example":"sc1.4f9a0c1e2b3d4a5f6e7d8c9b0a1f2e3d.2"},"agent_id":{"type":"string","description":"The agent to search when `scope` is `agent`. Must be one of your team's agents.","example":"3f1c2a4e-1d9b-4b8e-9a51-6a0f0e2c7b11"},"topics":{"description":"What the videos are about. Each item is one idea; write alternatives for the same idea with \"|\" (\"skin barrier|barrier repair\"). Every item must match. Optional: a region- or creator-only search works too.","example":["skincare|skin care","morning routine"],"type":"array","items":{"type":"string"}},"looks_like":{"type":"string","description":"What is on screen or how the video is made, in plain words (\"faceless\", \"talking head\", \"UGC\", \"no AI\", \"girl dancing in her bedroom\"). Virlo matches it to what its video analysis can see; `applied` says what it used and `not_applied` what it could not.","example":"talking head"},"platforms":{"type":"array","description":"One platform, or all three (the default). Two of three is reported in `not_applied` and searches all.","items":{"type":"string","enum":["tiktok","youtube","instagram"]}},"posted_after":{"type":"string","description":"Posted on or after this date (ISO 8601, YYYY-MM-DD).","example":"2026-10-01"},"posted_before":{"type":"string","description":"Posted on or before this date (ISO 8601, YYYY-MM-DD)."},"creator_followers_min":{"type":"number","description":"Creator's followers, at least.","example":1000},"creator_followers_max":{"type":"number","description":"Creator's followers, at most.","example":100000},"views_min":{"type":"number","description":"Views, at least."},"views_max":{"type":"number","description":"Views, at most."},"likes_min":{"type":"number","description":"Likes, at least."},"engagement_rate_min":{"type":"number","description":"Engagement rate floor, in percent ((likes + comments + shares) \/ views x 100). 5 = 5%.","example":5},"engagement_rate_max":{"type":"number","description":"Engagement rate ceiling, in percent."},"virality_min":{"type":"number","description":"Virality Score floor (10 promising, 18 strong, 25 very strong, 35 exceptional).","example":18},"outliers_only":{"type":"boolean","description":"Only outliers: videos that far outperformed their creator's follower count."},"regions":{"description":"Where the video was posted from: ISO 3166 alpha-2 codes (US, GB, BR), any of them.","example":["US"],"type":"array","items":{"type":"string"}},"places":{"description":"Beta. Only videos whose creator TAGGED one of these places on the post (a TikTok or Instagram location tag), any of them. Each item is a venue or area name, a suburb or city, a council area or a postcode, as you would write it: `[\"chadstone\"]`, `[\"bondi\", \"manly\"]`, `[\"3000\"]`. A name matches as a phrase inside the place name (\"chadstone\" matches \"Chadstone Shopping Centre\"); a suburb, area or postcode matches exactly, case-insensitive. `[\"*\"]` = any video with a tagged place. A tag is the location the creator chose, and about 7% of TikTok and Instagram videos carry one (YouTube none), so results are tagged videos. With no topic, `looks_like` or other analysis filter, results include tagged videos Virlo has not analysed yet (`intelligence` null, `intelligence_status` skipped). For a country alone use `regions`. Find place names with `GET \/v1\/places`.","example":["melbourne"],"type":"array","items":{"type":"string"}},"near":{"description":"Beta. Only videos whose tagged place lies within a distance of a map point, any of them. Each item is `\"lat,lng,km\"`: latitude, longitude and a radius in km from 0.1 to 200, for example `[\"-37.8136,144.9631,5\"]` (5 km around central Melbourne). It reads the tagged place\u2019s own map point, so only tagged videos can match (about 7% of TikTok and Instagram videos, YouTube none), and a tag is the location the creator chose. Take a point from `GET \/v1\/places` (`lat`, `lng`) or your own geocoder. Combine with `places` to require both. With no topic, `looks_like` or other analysis filter, results include tagged videos Virlo has not analysed yet.","example":["-37.8136,144.9631,5"],"type":"array","items":{"type":"string"}},"languages":{"description":"Spoken or written language: ISO 639-1 codes (en, es, pt), any of them.","example":["en"],"type":"array","items":{"type":"string"}},"creator_type":{"type":"string","enum":["individual","brand"],"description":"Who posts: an individual person or a brand account."},"sort":{"type":"string","enum":["most_viral","most_views","newest","rising"],"default":"most_viral","description":"most_viral (Virality Score, the default), most_views, newest, rising (gaining views fastest right now)."},"content_types":{"type":"array","default":["video"],"description":"What to return: `video` (the default), `slideshow` (photo carousels, as a separate `slideshows` list beside `videos`), or both. Leave it out and the answer is exactly as before. With `slideshow`, `data.slideshows` holds up to 25 slideshows a page, in their own order, with their own `total`, the sort they were ranked by (`sort_used`) and the filters a slideshow cannot answer (`not_applied`, e.g. duration). Without `video`, `videos` is an empty list and `total` is 0. Same price: a `virlo_library` page that holds results (videos or slideshows) is 5 credits, an empty page is free, `my_research` and `agent` are free.","example":["video","slideshow"],"items":{"type":"string","enum":["video","slideshow"]}},"page":{"type":"number","default":1,"minimum":1,"maximum":40,"description":"Page number, 25 videos a page. Each library page that holds results is billed."}}},"SearchVideoItemDto":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","description":"Link to the post."},"description":{"type":"string","nullable":true,"description":"Caption or title."},"platform":{"type":"string","enum":["tiktok","youtube","instagram"]},"views":{"type":"number","nullable":true},"likes":{"type":"number","nullable":true},"shares":{"type":"number","nullable":true},"comments":{"type":"number","nullable":true},"bookmarks":{"type":"number","nullable":true},"publish_date":{"type":"string","nullable":true},"duration":{"type":"number","nullable":true,"description":"Seconds; null when unknown."},"virality_score":{"type":"number","nullable":true,"description":"Virality Score: how far the video outran its creator's audience, comparable across creator sizes and platforms (10 promising, 18 strong, 25 very strong, 35 exceptional). Null when views do not exceed followers."},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"is_duet":{"type":"boolean","nullable":true},"is_stitch":{"type":"boolean","nullable":true},"is_paid":{"type":"boolean","description":"Paid distribution (ad, paid partnership, promotional content or a caption disclosure)."},"paid_signals":{"type":"array","items":{"type":"string"}},"upload_region":{"type":"string","nullable":true,"description":"Where it was posted from (ISO 3166 alpha-2)."},"location":{"nullable":true,"description":"Beta. The place the creator tagged on the post (a TikTok or Instagram location tag), or null when the post carries no tag. A tag is the location the creator chose, usually where the video was filmed. About 7% of TikTok and Instagram videos carry one; YouTube has no place tag, so YouTube videos are always null.","allOf":[{"$ref":"#\/components\/schemas\/VideoLocationDto"}]},"intelligence":{"type":"object","nullable":true,"description":"What Virlo's video analysis read: topic, format, hook, on-screen setting, tone, summary and more, as readable values. A value the analysis was not sure of is null.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","skipped"],"description":"ready = analysed; skipped = no analysis for this video."},"sound":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1SoundDto"}]},"agent_id":{"type":"string","nullable":true,"description":"my_research and agent scopes: the agent that collected the video."}},"required":["id","url","description","platform","views","likes","shares","comments","bookmarks","publish_date","duration","virality_score","author","hashtags","thumbnail_url","is_duet","is_stitch","is_paid","paid_signals","upload_region","location","intelligence","intelligence_status","sound"]},"SearchOverviewPlatformDto":{"type":"object","properties":{"platform":{"type":"string","enum":["tiktok","youtube","instagram"]},"videos":{"type":"number","description":"Matching videos."}},"required":["platform","videos"]},"SearchOverviewCreatorDto":{"type":"object","properties":{"username":{"type":"string"},"platform":{"type":"string","nullable":true},"videos":{"type":"number","description":"Their matching videos."}},"required":["username","platform","videos"]},"SearchOverviewFormatDto":{"type":"object","properties":{"format":{"type":"string","example":"Talking head"},"videos":{"type":"number"}},"required":["format","videos"]},"SearchOverviewHookDto":{"type":"object","properties":{"hook_type":{"type":"string","example":"Bold claim"},"videos":{"type":"number"}},"required":["hook_type","videos"]},"SearchOverviewWeekDto":{"type":"object","properties":{"week_start":{"type":"string","example":"2026-10-19","description":"Monday the week starts (UTC)."},"videos":{"type":"number","description":"Matching videos posted that week."}},"required":["week_start","videos"]},"SearchOverviewDto":{"type":"object","properties":{"total":{"type":"number","description":"Every matching video."},"platforms":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchOverviewPlatformDto"}},"top_creators":{"description":"Up to 10 creators with the most matching videos.","type":"array","items":{"$ref":"#\/components\/schemas\/SearchOverviewCreatorDto"}},"formats":{"description":"Up to 6 most common video formats, in plain words.","type":"array","items":{"$ref":"#\/components\/schemas\/SearchOverviewFormatDto"}},"hook_types":{"description":"Up to 6 most common hook types, in plain words.","type":"array","items":{"$ref":"#\/components\/schemas\/SearchOverviewHookDto"}},"posted_by_week":{"description":"Matching videos per week over the last 12 weeks, oldest first.","type":"array","items":{"$ref":"#\/components\/schemas\/SearchOverviewWeekDto"}},"posted_earlier":{"type":"number","description":"Matching videos posted before the first week listed."},"median_views":{"type":"number","nullable":true},"median_virality_score":{"type":"number","nullable":true}},"required":["total","platforms","top_creators","formats","hook_types","posted_by_week","posted_earlier","median_views","median_virality_score"]},"SearchSlideshowItemDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string","description":"Link to the post."},"description":{"type":"string","nullable":true,"description":"Caption."},"platform":{"type":"string","nullable":true,"description":"Platform identifier (usually tiktok)."},"views":{"type":"number","nullable":true},"likes":{"type":"number","nullable":true},"shares":{"type":"number","nullable":true},"comments":{"type":"number","nullable":true},"bookmarks":{"type":"number","nullable":true},"publish_date":{"type":"string","nullable":true},"virality_score":{"type":"number","nullable":true,"description":"Virality Score, the same measure as on videos, from the slideshow's views and its creator's audience (10 promising, 18 strong, 25 very strong, 35 exceptional). Null when views do not exceed followers."},"relevance":{"type":"number","nullable":true,"enum":[1,2,3],"description":"How closely it matches `topics`: 3 = the topic is its primary topic, 2 = in its keywords, 1 = elsewhere (caption, summary, slide text). Null when the search had no topic."},"author":{"nullable":true,"allOf":[{"$ref":"#\/components\/schemas\/V1AuthorDto"}]},"hashtags":{"type":"array","items":{"type":"string"}},"thumbnail_url":{"type":"string","nullable":true},"images":{"description":"The slides, in order (absolute image URLs).","type":"array","items":{"$ref":"#\/components\/schemas\/AgentSlideshowImageDto"}},"is_paid":{"type":"boolean","description":"Paid distribution (ad, paid partnership, promotional content or a caption disclosure)."},"paid_signals":{"type":"array","items":{"type":"string"}},"is_eligible_for_commission":{"type":"boolean","nullable":true,"description":"Whether the slideshow is eligible for commission (e.g. TikTok Shop), when known."},"region":{"type":"string","nullable":true,"description":"Upload region (ISO 3166 alpha-2) from TikTok."},"intelligence":{"type":"object","nullable":true,"description":"What Virlo's slideshow analysis read: topic, format, hook, slide text, tone, summary and more, as readable values. A value the analysis was not sure of is null.","additionalProperties":true},"intelligence_status":{"type":"string","enum":["ready","skipped"],"description":"ready = analysed; skipped = no analysis for this slideshow."}},"required":["id","url","description","platform","views","likes","shares","comments","bookmarks","publish_date","virality_score","relevance","author","hashtags","thumbnail_url","images","is_paid","paid_signals","is_eligible_for_commission","region","intelligence","intelligence_status"]},"SearchSlideshowsDto":{"type":"object","properties":{"items":{"description":"Up to 25 slideshows a page, in their own ranked order.","type":"array","items":{"$ref":"#\/components\/schemas\/SearchSlideshowItemDto"}},"total":{"type":"number","description":"Matching slideshows in the scope."},"sort_used":{"type":"string","nullable":true,"description":"The sort the slideshows were ranked by: `most_viral` (Virality Score, the default), `most_views` or `newest`. `rising` has no slideshow score, so it ranks by `most_views` and says so in `not_applied`. Null when nothing was searched."},"not_applied":{"description":"Filters a slideshow cannot answer, in plain words (e.g. \"duration: slideshows have no duration\"). The video results still use them.","type":"array","items":{"type":"string"}}},"required":["items","total","sort_used","not_applied"]},"SearchNextStepBodyDto":{"type":"object","properties":{"is_recurring":{"type":"boolean"},"name":{"type":"string"},"intent":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"platforms":{"type":"array","items":{"type":"string"}},"english_only":{"type":"boolean","description":"false when the search named a language other than English."}},"required":["is_recurring","name","intent","keywords"]},"SearchNextStepDto":{"type":"object","properties":{"action":{"type":"string","example":"start_research_agent"},"why":{"type":"string"},"endpoint":{"type":"string","example":"POST \/v1\/agents"},"body":{"description":"A ready request body for POST \/v1\/agents.","allOf":[{"$ref":"#\/components\/schemas\/SearchNextStepBodyDto"}]},"price_credits":{"type":"number","example":50},"price":{"type":"string","example":"$0.50"},"time":{"type":"string"},"rule":{"type":"string"}},"required":["action","why","endpoint","body","price_credits","price","time","rule"]},"SearchVideosDataDto":{"type":"object","properties":{"videos":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchVideoItemDto"}},"scope":{"type":"string","enum":["virlo_library","my_research","agent"],"description":"Where this search ran (also on cursor pages, where the request may leave scope out). virlo_library pages with results cost 5 credits; my_research and agent are free."},"total":{"type":"number","description":"Matching videos in the scope (0 when `content_types` leaves out `video`)."},"page":{"type":"number"},"has_more":{"type":"boolean","description":"A next page exists (for videos, or with `content_types` holding `slideshow`, for videos or slideshows)."},"cursor":{"type":"string","nullable":true,"description":"Cursor for this page of this search (pass it back to read the page again). Null when nothing matched."},"next_cursor":{"type":"string","nullable":true,"description":"Pass as `cursor` for the next page: same order, no repeats or gaps, no new search. Null on the last page. Lasts 1 hour."},"applied":{"description":"The filters and preferences the search used, in plain words.","type":"array","items":{"type":"string"}},"not_applied":{"description":"What was asked but not used (widened for too few matches, or not recognised), in plain words.","type":"array","items":{"type":"string"}},"thin":{"type":"boolean","description":"Fewer than 10 matches."},"overview":{"nullable":true,"description":"Every match described, not just this page: platforms, top creators, formats, hook types, posting weeks and medians. Free, on every page. Use it to answer about the whole set instead of paging. Null when nothing matched or it could not be read.","allOf":[{"$ref":"#\/components\/schemas\/SearchOverviewDto"}]},"slideshows":{"nullable":true,"description":"Only when `content_types` holds `slideshow`: the matching slideshows, a separate list beside `videos` (never mixed in). Null when slideshow search could not answer (then `not_applied` says so and the videos are still served). Absent otherwise.","allOf":[{"$ref":"#\/components\/schemas\/SearchSlideshowsDto"}]},"next_step":{"description":"When thin, or on the first page when the search was widened for too few matches: a prefilled research agent to offer, with its price. Never started for you.","allOf":[{"$ref":"#\/components\/schemas\/SearchNextStepDto"}]}},"required":["videos","scope","total","page","has_more","cursor","next_cursor","applied","not_applied","thin","overview"]},"SearchVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SearchVideosDataDto"}},"required":["data"]},"SearchCreatorsDto":{"type":"object","properties":{"scope":{"type":"string","enum":["virlo_library"],"default":"virlo_library","description":"Where to search: every creator Virlo has seen (5 credits per page of up to 25, nothing charged for an empty page)."},"topics":{"description":"What their videos are about. Each item is one idea; alternatives with \"|\" (\"skincare|skin care\"). Every item must match. A search needs topics, bio_keywords or creator_type.","example":["skincare|skin care"],"type":"array","items":{"type":"string"}},"bio_keywords":{"type":"string","description":"A word the creator uses to describe themselves in their bio (\"dermatologist\", \"nurse\"). One term.","example":"dermatologist"},"platforms":{"type":"array","description":"One platform, or all three (the default).","items":{"type":"string","enum":["tiktok","youtube","instagram"]}},"creator_followers_min":{"type":"number","description":"Followers, at least.","example":1000},"creator_followers_max":{"type":"number","description":"Followers, at most.","example":100000},"creator_type":{"type":"string","enum":["individual","brand"],"description":"An individual person or a brand account."},"sort":{"type":"string","enum":["top_performing","rising","most_followers"],"default":"top_performing","description":"top_performing (their typical video against their audience size, the default), rising (only creators whose typical video beats their follower count), most_followers."},"page":{"type":"number","default":1,"minimum":1,"maximum":40,"description":"Page number, 25 creators a page. Each page that holds results is billed."}}},"SearchCreatorItemDto":{"type":"object","properties":{"author_id":{"type":"string"},"username":{"type":"string","nullable":true},"display_name":{"type":"string","nullable":true},"platform":{"type":"string","nullable":true},"profile_url":{"type":"string","nullable":true},"avatar_url":{"type":"string","nullable":true},"verified":{"type":"boolean","nullable":true},"followers":{"type":"number","nullable":true},"bio":{"type":"string","nullable":true},"account_type":{"type":"string","nullable":true,"enum":["individual","duo or group","brand","faceless"]},"videos_in_virlo":{"type":"number","description":"Their videos Virlo holds."},"recent_videos":{"type":"number","description":"Their recent videos Virlo holds."},"median_views":{"type":"number","nullable":true,"description":"Median views of their recent videos (their typical video)."},"top_video_views":{"type":"number","nullable":true},"last_posted_at":{"type":"string","nullable":true},"breakout_videos":{"type":"number","description":"Videos that broke out well past their usual views."},"main_category":{"type":"string","nullable":true},"on_topic_videos":{"type":"number","nullable":true,"description":"With topics: how many of their videos are about them."}},"required":["author_id","username","display_name","platform","profile_url","avatar_url","verified","followers","bio","account_type","videos_in_virlo","recent_videos","median_views","top_video_views","last_posted_at","breakout_videos","main_category","on_topic_videos"]},"SearchCreatorsDataDto":{"type":"object","properties":{"creators":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchCreatorItemDto"}},"total":{"type":"number"},"page":{"type":"number"},"has_more":{"type":"boolean"},"applied":{"type":"array","items":{"type":"string"}},"not_applied":{"type":"array","items":{"type":"string"}},"thin":{"type":"boolean","description":"Fewer than 10 matches."}},"required":["creators","total","page","has_more","applied","not_applied","thin"]},"SearchCreatorsResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/SearchCreatorsDataDto"}},"required":["data"]},"PlaceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Virlo place id. Pass it to `GET \/v1\/places\/:id\/videos` for other videos tagged there."},"name":{"type":"string","description":"Place name as the platform shows it.","example":"Chadstone Shopping Centre"},"kind":{"type":"string","nullable":true,"enum":["venue","area"],"description":"`venue` (a business, landmark, beach, station...) or `area` (a suburb, city, state or country). Null when the platform sent no type (Instagram)."},"category":{"type":"string","nullable":true,"description":"TikTok\u2019s top-level place category (\"Food and Drink\", \"Shopping and Retail\", \"Outdoors and Attractions\"...). Null on Instagram.","example":"Shopping and Retail"},"locality":{"type":"string","nullable":true,"description":"Suburb or town read from the place\u2019s street address (AU, NZ, US and CA formats). Null when the address does not parse; never guessed.","example":"Malvern East"},"postcode":{"type":"string","nullable":true,"description":"Postcode from the place\u2019s street address.","example":"3145"},"city":{"type":"string","nullable":true,"description":"The platform\u2019s own area name for the place. On TikTok this is usually the city or local council (St Kilda sits in \"Port Phillip\").","example":"Stonnington"},"region":{"type":"string","nullable":true,"description":"State or province code read from the place\u2019s street address (VIC, NSW, NY, ON). Null when the address does not parse.","example":"VIC"},"country":{"type":"string","nullable":true,"description":"Country, ISO 3166 alpha-2.","example":"AU"},"lat":{"type":"number","nullable":true,"description":"Latitude of the place.","example":-37.8862},"lng":{"type":"number","nullable":true,"description":"Longitude of the place.","example":145.0835},"video_count":{"type":"number","description":"Videos in the Virlo library tagged at this place.","example":12}},"required":["id","name","kind","category","locality","postcode","city","region","country","lat","lng","video_count"]},"PlacesListResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/PlaceDto"}},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"PlaceVideosDataDto":{"type":"object","properties":{"place":{"$ref":"#\/components\/schemas\/PlaceDto"},"videos":{"description":"Videos tagged at the place, in the `\/v1\/search\/videos` item shape (each carries `location`).","type":"array","items":{"$ref":"#\/components\/schemas\/SearchVideoItemDto"}}},"required":["place","videos"]},"PlaceVideosResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/PlaceVideosDataDto"},"pagination":{"$ref":"#\/components\/schemas\/PaginationMetaDto"}},"required":["data","pagination"]},"V1FeedbackDto":{"type":"object","properties":{"message":{"type":"string","description":"What the user wants or what went wrong, in a sentence or two. A short paraphrase with no personal data (no names, emails or phone numbers). Max 2,000 characters.","example":"Wants to filter search results by video length.","maxLength":2000},"category":{"type":"string","description":"What kind of feedback this is. Defaults to `other`.","enum":["feature_request","bug","data_quality","other"],"example":"feature_request"},"context":{"type":"string","description":"Which tool or endpoint the user was using, e.g. `POST \/v1\/search\/videos` or `find_videos`. Max 500 characters.","example":"POST \/v1\/search\/videos","maxLength":500},"rating":{"type":"number","description":"How happy the user is with that part of Virlo, 1 (not at all) to 5 (very).","minimum":1,"maximum":5,"example":3}},"required":["message"]},"V1FeedbackResultDto":{"type":"object","properties":{"id":{"type":"string","description":"Id of the stored feedback. Null for a duplicate.","nullable":true,"example":"b5f6e1c2-3d4a-4b8e-9f10-1a2b3c4d5e6f"},"status":{"type":"string","enum":["received"],"example":"received"},"duplicate":{"type":"boolean","description":"True when the same message from this team arrived in the last 24 hours. It was not stored again; do not resend it.","example":false}},"required":["id","status","duplicate"]},"V1FeedbackResponseDto":{"type":"object","properties":{"data":{"$ref":"#\/components\/schemas\/V1FeedbackResultDto"}},"required":["data"]},"ErrorResponse":{"type":"object","required":["statusCode","code","error","message"],"properties":{"statusCode":{"type":"integer","example":401},"code":{"type":"string","description":"Stable machine-readable error code. Branch on this, never on `message`.","enum":["validation_error","invalid_date_range","unknown_region","unknown_event_type","unsupported_platform","invalid_cursor","cursor_too_long","creator_login_required","creator_not_found","missing_api_key","invalid_api_key","insufficient_credits","forbidden","owner_only","not_found","conflict","no_team","rate_limit_exceeded","library_quota","internal_error","upstream_error","service_unavailable","top_up_unavailable","request_timeout"],"example":"invalid_api_key"},"error":{"type":"string","example":"Unauthorized"},"message":{"description":"Human-readable explanation (an array of messages for validation errors). Wording may change.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"example":"Invalid or inactive API key"}}},"RateLimitErrorResponse":{"allOf":[{"$ref":"#\/components\/schemas\/ErrorResponse"},{"type":"object","properties":{"limit":{"type":"integer","description":"Requests allowed in the window."},"remaining":{"type":"integer","description":"Requests left in the window."},"reset_at":{"type":"integer","description":"Unix time (seconds) the window resets."},"reset_at_formatted":{"type":"string","description":"reset_at as a readable UTC time."},"retry_after":{"type":"integer","description":"Seconds to wait before retrying."},"resetAt":{"type":"integer","deprecated":true,"description":"Deprecated alias of reset_at."},"resetAtFormatted":{"type":"string","deprecated":true,"description":"Deprecated alias of reset_at_formatted."},"retryAfter":{"type":"integer","deprecated":true,"description":"Deprecated alias of retry_after."}}}]}}}}