compute_content_gaps
Work out which topics rivals cover that this site's own ranking pages do not, and store the answer. Free of money but metered against the plan's monthly content-gap allowance (free 25, pro 150, agency 500), one unit per page+keyword analysed. Deliberately on-demand — nothing computes gaps on a schedule, so call this when the user actually wants the answer. It picks the neediest pages itself: ones ranking 4-30 where we hold rival pages we have read, preferring pages that rank on page one but earn almost no clicks. Use dry_run first to show the user what would be analysed and how many units it costs. If the allowance runs out part-way the finished gaps are kept and cap_reached is true — report that honestly rather than presenting a partial list as complete. Read results later for free via get_competitive_landscape (content_gaps).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum page+keyword pairs to analyse (default 10, max 50). Each one consumes a unit. | |
| dry_run | No | List what would be analysed and the unit cost without spending any | |
| site_id | Yes | The site ID |