# Fusion Engine API: short-form content ideas people both watch and search for

> The lulubanana Fusion Engine API decides what short-form video to create, how to present it and who it is for, by joining social performance data with search data through the underlying audience problem, never through shared keywords. Push intelligence (social performance data) shows which topics, hooks and formats already perform unusually well on TikTok, YouTube Shorts and Instagram Reels; pull intelligence (search data) shows what people actively search for on Google and YouTube, the questions they ask and the problems they want solved. The engine pairs each audience problem with a proven creative mechanism, checks the result against the account's Audience DNA and Creator DNA, keeps opportunities supported by only one side (labelled), and returns each one with 13 outputs, a priority score, a separate evidence-confidence score and a ready-to-use short-form brief.

lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). Base address: https://lulubanana.com/api/v2. Authentication: `Authorization: Bearer lb_...`. Reads are free; collection is priced like the app.

## 13 things you can do with the Fusion Engine API

1. Get ranked short-form content opportunities for one account in one call: what to create, how to present it and who it is for
2. Join search questions and proven social formats by the audience problem they share, not by shared keywords (shared-keyword false matches are listed and rejected)
3. Start from a viral video and find the searches behind it (push to pull), or from a search question and find the proven formats that explain it (pull to push)
4. Keep opportunities supported by one side only, labelled social_led or search_led: missing evidence is never read as negative and demand is never invented
5. Read a priority score (0-100) and a separate evidence confidence, plus social, search and match confidences and five factors with plain reasons
6. Check every idea against Audience DNA and Creator DNA: strict rules reject, preferences only count as matches, drift risk is named
7. See highly viral references rejected when they do not fit the account, with the reason, however strong their numbers
8. Get a ready short-form brief per opportunity (topic, hook approach for the first 3 seconds, beats with on-screen text, audience problem, payoff, references) as JSON and Markdown
9. See every evidence gap with what resolving it costs, and buy only what fits your spending limit
10. Pick a balanced set to produce, with near-duplicates grouped and an optional labelled social-only control arm
11. Trace any recommendation back to the stored videos, searches and audits it rests on (evidence lineage)
12. Record results after publishing and read a learning report that compares Fusion picks with the control arm
13. Measure whether social posting moves before or after search interest, from stored history only

## How it works

1. Describe the account once: POST /profiles with the audience fields (Audience DNA) and creator_dna (Creator DNA: personality, presentation, content pillars, location, formats it can and will not make, what it already published, what it optimises for, strict rules, preferences).
2. Price it first (free): POST /estimate with the Fusion call shows the base price, whether a research run is needed and the most the job could spend.
3. POST /fusion/content-opportunities with profile_id, niche and market (100 credits). spend_limit (default 100, up to 600) lets the job add one research run (100 credits, only when social evidence is too thin and collect is true) and search checks (10 credits each, only for lookups not stored in the last 7 days); it never spends beyond it.
4. Poll GET /analysis/jobs/{job_id} as poll_after_seconds says (a few minutes; collecting first when a research run was needed).
5. Read GET /fusion/opportunities?job_id={job_id}: every opportunity carries the 13 outputs and a brief; GET /fusion/opportunities/{id}?format=markdown answers the brief as a document.
6. Decide: POST /fusion/portfolio-optimize picks the set to make, POST /fusion/research-escalation lists what evidence is missing and its cost, GET /fusion/opportunities/{id}/explanation shows how each one was reached.
7. After publishing, POST /fusion/outcomes with the post and its metrics; GET /fusion/learning-report shows what worked for this account.

## Example: "how to prevent hair damage": from a search question to an original short-form brief

Three real calls for a beginner makeup and hair care account. Every number comes from the stored replies.

1. Group the searches by the problem behind them: POST /fusion/problem-intent-match with 6 searches and things viewers say returned 3 audience problems. "how to prevent hair damage", "heat protectant before straightening" and "my hair feels like straw after I flat iron it" became one problem, prb_CUv1hW0iSWNv: "How do I stop my hair from getting damaged when I style it?" "how to get makeup stains out of clothes" and "makeup order of application" were kept apart: they share the word 'makeup' but one is about removing stains from clothing and the other is about the order to apply makeup on the face, so a person with one is not helped by an answer to the other.
2. Find the proven formats that explain it: POST /fusion/format-demand-match with the question returned Mistake avoidance and List (validation cross_niche: no collected video addresses hair damage yet, so they are proven on close beauty problems, for example @callieskincare at 921,869 views, 109.7x their usual). It rejected GRWM, Transition, Review, Haul and others for this problem, although their best examples reached 52.9 million views (GRWM: a get-ready-with-me routine covers the whole look and can't deliver a focused heat-habit fix without padding the answer).
3. Draft an original opportunity: POST /fusion/bidirectional-research (pull_to_push, spend_limit 0) returned fop_kinDX3RWPCec, angle "Three heat-styling habits that quietly make hair feel dry and straw-like, with a calm swap for each, so a beginner can change her routine one step at a time." It is exploratory with priority 66 and evidence confidence 19: 5 searches were worked out and 4 real questions from Google results were found, but search demand was not looked up (spend_limit 0), so search_demand is null (unknown, not zero) and no demand was invented.
4. Resolve the gap or decide: next_action is gather_evidence (too little is measured to decide: resolve the evidence gaps listed first), and next_direction names the call that resolves it, POST /search/demand for 10 credits. With a spend_limit the job buys it itself; POST /fusion/content-opportunities does the whole decision for an account and writes the short-form brief.

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/problem-intent-match" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"market":"US","profile_id":7,"items":[{"query":"how to prevent hair damage"},{"query":"heat protectant before straightening"},{"text":"my hair feels like straw after I flat iron it"},{"query":"how to get makeup stains out of clothes"},{"query":"makeup order of application"}]}'
```

The finished job (real data, trimmed):

```json
{
  "data": {
    "id": 4506,
    "kind": "fusion_match",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "items": 6,
      "labels": {
        "observed": [
          "members with relation observed (the item states the problem itself)"
        ],
        "hypotheses": [
          "problem statements, kinds and which items belong together (AI reading)"
        ]
      },
      "market": "US",
      "skipped": [],
      "problems": [
        {
          "id": "prb_CUv1hW0iSWNv",
          "kind": "instructional",
          "members": [
            {
              "ref": "how to prevent hair damage",
              "type": "query",
              "relation": "inferred",
              "similarity": 0.84
            }
          ],
          "statement": "How do I stop my hair from getting damaged when I style it?",
          "seen_before": true,
          "specificity": "topic"
        },
        {
          "id": "prb_D5EKnHzHJwg4",
          "kind": "instructional",
          "members": [
            {
              "ref": "makeup order of application",
              "type": "query",
              "relation": "inferred",
              "similarity": 0.85
            }
          ],
          "statement": "What order do I apply makeup in?",
          "seen_before": true,
          "specificity": "question"
        }
      ],
      "created_at": "2026-11-24T07:12:26.101Z",
      "profile_id": 9,
      "limitations": [],
      "false_matches_rejected": [
        {
          "a": {
            "ref": "how to get makeup stains out of clothes",
            "type": "query"
          },
          "b": {
            "ref": "makeup order of application",
            "type": "query"
          },
          "reason": "they share the word 'makeup' but one is about removing stains from clothing and the other is about the order to apply makeup on the face,...",
          "found_by": "ai",
          "similarity": 0.68,
          "shared_words": [
            "makeup"
          ]
        }
      ]
    },
    "error": null,
    "created_at": "2026-11-24T07:12:15.079Z",
    "finished_at": "2026-11-24T07:12:26.101Z",
    "poll_after_seconds": null
  }
}
```

## The 13 outputs of every Fusion opportunity

| # | Field | What it holds |
| - | - | - |
| 1 | `audience_problem` { id, statement, kind } | The need behind the opportunity, as one statement with a stable prb_ id and a kind (informational, instructional, comparison, purchase_decision, curiosity). AI-written, labelled hypothesis. |
| 2 | `search_intent` { queries [{ query, intent, volume, trend }], demand, questions, missing[] } | The searches and questions behind the problem, with measured monthly volume and trend where they exist; what could not be measured is listed in missing and shown as null, never 0. |
| 3 | `social_proof` [{ url, platform, creator, views, outlier_ratio, outlier_class, verified }] | Real videos that performed unusually well for this problem, measured against their own creator's usual views. |
| 4 | `creative_mechanism` { name, description, structure { hook, body, payoff }, validation, source_examples[] } | How the proven videos work, kept apart from what they are about; validation is direct (proven on this problem) or cross_niche (proven on neighbouring problems). |
| 5 | `mechanism_compatibility` { fits, why, risks[] } | Whether that mechanism suits this problem and this creator, why, the risks, and the mechanisms rejected for it. |
| 6 | `account_fit` { verdict, strict_checks[], preference_matches[], reasons[], drift_risk } | accept or reject against the Audience DNA and Creator DNA: each strict rule passes or fails, preferences only count as matches, drift risk is low, medium or high. |
| 7 | `signal_class` jointly_validated / social_led / search_led / exploratory | Which side supports it: both, social only, search only, or neither yet. Single-side opportunities are kept and labelled. |
| 8 | `angle` string | The original concept for this account: the search-demand topic carried by the proven structure, never a copy of a source video. |
| 9 | `scores` { priority, evidence_confidence, social_confidence, search_confidence, match_confidence, factors } | Priority (0-100) and a separate evidence confidence, three side confidences, and five factors (audience_relevance, search_demand, social_evidence, usefulness, creative_suitability), each 0-100 or null with a plain reason. |
| 10 | `evidence_refs` [{ type, id, url, collected_at }] | Every stored row the opportunity rests on: videos, creator baselines, search keywords, results audits, comment insights, the audience problem. |
| 11 | `limitations` string[] | What is missing or uncertain, in plain words. |
| 12 | `origin` push_first / pull_first / joint / exploratory | Where the research started: from social performance, from search demand, from both at once, or neither side strong yet. |
| 13 | `next_action` produce / test / monitor / gather_evidence / reject | What to do now, with next_action_why. |

Plus `brief` and `research_at`.

## Key terms

- **Push intelligence**: Social performance data: which topics, hooks and formats already perform unusually well, measured as verified organic outliers against their creator's usual views.
- **Pull intelligence**: Search data: what people actively search for on Google and YouTube, the questions they ask and the problems they want solved (Google Ads keyword data, Google Trends, Google and YouTube search results, viewer comments).
- **Audience problem (prb_...)**: The need behind a search or a video, as one statement with a kind (informational, instructional, comparison, purchase_decision, curiosity) and a specificity (topic or question). Its id is stable per account: a new statement that means the same reuses it.
- **Signal class**: jointly_validated: search demand and social performance both support it. social_led: social performance supports it, search does not yet (or was not measured). search_led: search demand supports it, social proof is thin or missing. exploratory: neither side is strong yet.
- **Priority**: How strongly to act on this opportunity now, 0-100, from the five factors below. A factor that could not be measured is shown as null and counts as neutral (neither for nor against), never as zero.
- **Evidence confidence**: How much measured evidence stands behind the opportunity, 0-95, kept separate from priority: a promising idea with thin evidence has a high priority and a low confidence.
- **Social, search and match confidence**: How solid the social evidence is (how many videos and creators, verified outliers, creator baselines). null when no social evidence is held. How solid the search evidence is (measured volumes, Google Trends, real questions people ask). null when nothing was measured. Match: How sure the engine is that the searches, the videos and the creative mechanism belong to the same audience problem.
- **The five factors**: audience_relevance: How closely the audience problem matches your Audience DNA (an AI judgement, with reasons). search_demand: Demonstrated search demand for the problem (measured searches and their trend). null when no search data was measured. social_evidence: Social performance evidence (verified outliers, independent creators, momentum). null when no social videos back it. usefulness: How useful the content would be to someone with this problem (an AI judgement, raised by real viewer and search questions). creative_suitability: How well the proven creative mechanism suits this problem and your Creator DNA (an AI judgement, checked against your strict rules).
- **Creative mechanism**: How a proven video works (for example mistake avoidance or a numbered list), kept apart from what it is about. validation direct: proven on videos about this same problem; cross_niche: proven on neighbouring problems, used when the niche has no proof of its own.
- **Account fit**: accept or reject against the profile. Strict rules (markets, formats it will not make, formats it is limited to, excluded topics, already published, no face, no voice, length) each pass or fail; preferences only count as matches; drift_risk (low, medium, high) says how far it would pull the account from what it is known for. A view count is never part of the fit.
- **Origin**: push_first, pull_first, joint, exploratory: where the opportunity was found (from social performance, from search demand, both at once, or neither side strong yet).
- **Next action**: produce, test, monitor, gather_evidence, reject, with next_action_why in plain words.
- **Spend limit**: The most a job may spend, 100-600 credits (default 100, the base price only). What does not fit becomes a gap with its cost and the call that resolves it.
- **Experiment mode**: A labelled social-only control arm next to the Fusion picks (what social evidence alone would have picked), so published results can show whether fusion beats social-only research for this account instead of assuming it.
- **Observed and hypothesis**: Measured numbers (views, ratios, volumes, trends) are observed. Audience problems, angles, hook approaches, structures and fit judgements are AI-written hypotheses and are labelled as such.

## Endpoints

### POST /api/v2/fusion/content-opportunities

The Fusion Engine: decides WHAT to create, HOW to present it and WHO it is for. It reads social performance data (verified organic outliers in your agent's videos, or the library matched to the niche: which topics, hooks and formats already perform unusually well) and search data (what people search, the questions they ask, the problems they want solved), joins them by the underlying audience problem (never by shared keywords), finds a proven creative mechanism that suits each problem, checks every candidate against the account (Audience DNA + Creator DNA: strict rules reject, preferences count as matches) and returns ranked opportunities. Each has: audience_problem (stable id prb_...), search_intent (queries with intent, volume, trend; missing[]), social_proof (real videos with outlier ratios), creative_mechanism (structure, validation direct or cross_niche, source examples), mechanism_compatibility, account_fit (accept or reject with reasons), signal_class (jointly_validated, social_led, search_led, exploratory), an original angle, scores (priority 0-100, a separate evidence_confidence, social, search and match confidences, five factors each 0-100 or null with plain reasons), evidence_refs, limitations, origin, next_action (produce, test, monitor, gather_evidence, reject) with next_action_why, and a ready brief (JSON + Markdown). Opportunities supported by one side only are kept and labelled; missing evidence is never read as negative, a number that could not be measured is null (never 0), and AI-written parts are labelled as hypotheses. The job result also carries rejected[] with reasons (including strong videos that do not fit the account), contributions { push, pull } reported separately, spend { limit, used, breakdown }, gaps[] (missing evidence with cost_to_resolve and the call that resolves it) and shortfall_reason when fewer than count. Costs 100 credits. Inside spend_limit (default 100, up to 600) it may add one research run (100 credits, only when social evidence is too thin and collect is true; a run already going is reused, never charged twice) and search checks (10 credits each, only for lookups not stored in the last 7 days): never beyond the limit. Refunded if it fails or finds nothing. Up to 30 jobs a day per account and per key. Async: poll /analysis/jobs/{job_id} (a few minutes; collecting first when a run was started); read the opportunities at /fusion/opportunities?job_id=... English-speaking markets only (US, GB, CA, AU).

Cost: 100 credits.

| Parameter | In | Type | Description |
| - | - | - | - |
| `profile_id` | body | number | A saved profile: its Audience DNA and Creator DNA are used (or send profile) |
| `profile` | body | object | An inline profile instead of profile_id: { audience_dna { niche, audience, problems, market, tone, ... }, creator_dna { personality, presentation, content_pillars, formats_can, formats_wont, published, optimise_for, strict, preferences, ... } } |
| `niche` | body | string | The niche, e.g. "makeup for beginners" (default: the profile's niche, or the agent's brief) |
| `subniche` | body | string | A sub-niche |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `mode` | body | auto, push_first, pull_first | auto (default: both sides), push_first (start from social performance) or pull_first (start from search demand) |
| `window_days` | body | number | Social evidence window, 1-90 days (default 30) |
| `count` | body | number | Opportunities wanted, 1-20 (default 10) |
| `exclude` | body | array | Up to 50 topics or links already covered (left out) |
| `spend_limit` | body | number | The most this job may spend in credits, 100-600 (default 100 = the base price only: no research run, no new search checks) |
| `collect` | body | boolean | Start a research run when social evidence is too thin and it fits spend_limit (default true) |
| `agent_id` | body | number | Use this agent's videos as the social evidence |
| `experiment` | body | boolean | true adds a labelled social-only control arm to compare against (default: the profile's experiment switch) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/content-opportunities" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile_id":7,"niche":"hair care for beginners","market":"US","mode":"auto","count":10,"spend_limit":130}'
```

First reply:

```json
{
  "data": {
    "job_id": 1001,
    "status": "queued",
    "research_job_id": null,
    "agent_id": 42,
    "profile_id": 7,
    "credits_used": 100,
    "credits": {
      "fusion_research": 100,
      "research_run": 0
    },
    "spend": {
      "limit": 130,
      "charged_now": 100,
      "left_for_search_checks": 30,
      "max_search_checks": 3,
      "search_check_credits": 10,
      "max_total": 130,
      "note": "The job charges 100 credits now. Search checks (10 credits each) are charged one at a time as the job buys them, only for lookups not stored in the last 7 days and never beyond the spending limit of 130: the result's spend lists every charge, and what did not fit is listed under gaps with its cost."
    },
    "research_run": null,
    "evidence": {
      "mode": "agent",
      "agent_id": 42,
      "window_days": 30,
      "platforms": [
        "tt",
        "ig",
        "yt"
      ],
      "videos": 397,
      "creators": 359,
      "verified_outliers": 42,
      "outlier_creators": 38,
      "newest_post": "2026-11-22",
      "needs_collection": false
    },
    "collection": "not needed: enough verified outliers are already collected",
    "excluded": {
      "sent": 0,
      "from_rejected_opportunities": 0
    },
    "market": "US",
    "mode": "auto",
    "count": 10,
    "window_days": 30,
    "experiment": true,
    "poll_url": "/api/v2/analysis/jobs/1001",
    "opportunities_url": "/api/v2/fusion/opportunities?job_id=1001",
    "poll_after_seconds": 20
  }
}
```

GET /analysis/jobs/{id} (when the job is done; real data, trimmed):

```json
{
  "data": {
    "id": 4501,
    "kind": "fusion_opps",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "arms": {
        "rule": "Publish both arms as assigned and record each result with POST /fusion/outcomes: the learning report then compares fusion picks with soci...",
        "fusion": [
          "fop_nUBD0L7yAbkC"
        ],
        "control": [
          "fop_PxwaavZnJmik"
        ],
        "control_share": 0.3
      },
      "gaps": [
        {
          "call": {
            "body": {
              "market": "US",
              "keywords": [
                "how to fix heat damaged hair"
              ]
            },
            "path": "/search/google-serp-audit",
            "method": "POST"
          },
          "what": "Google results for \"how to fix heat damaged hair\" (with the questions people also ask)",
          "why_it_matters": "Observed search questions and what the current answers miss ground the usefulness of the piece.",
          "cost_to_resolve": 10,
          "opportunity_ids": [
            "fop_eef4e2ic6n3j"
          ],
          "why_not_resolved": "Not bought: outside the spending limit of 130 credits."
        },
        {
          "call": {
            "body": {
              "market": "US",
              "keywords": [
                "how to find my skin type"
              ]
            },
            "path": "/search/google-serp-audit",
            "method": "POST"
          },
          "what": "Google results for \"how to find my skin type\" (with the questions people also ask)",
          "why_it_matters": "Observed search questions and what the current answers miss ground the usefulness of the piece.",
          "cost_to_resolve": 10,
          "opportunity_ids": [
            "fop_PxwaavZnJmik"
          ],
          "why_not_resolved": "Not bought: outside the spending limit of 130 credits."
        }
      ],
      "mode": "auto",
      "niche": "makeup for beginners",
      "spend": {
        "used": 130,
        "limit": 130,
        "breakdown": [
          {
            "item": "fusion_research",
            "credits": 100
          }
        ],
        "remaining_in_limit": 0,
        "search_checks_bought": 3
      },
      "market": "US",
      "agent_id": 1,
      "evidence": {
        "mode": "agent",
        "videos": 397,
        "agent_id": 1,
        "creators": 359,
        "platforms": [
          "tt"
        ],
        "thresholds": {
          "min_outliers": 5,
          "min_outlier_creators": 3
        },
        "newest_post": "2026-11-21",
        "window_days": 30,
        "needs_collection": false,
        "outlier_creators": 40,
        "verified_outliers": 42
      },
      "rejected": [
        {
          "stage": "strict account rule",
          "topic": "fixing cakey foundation for beginners",
          "reasons": [
            "Already made: \"how to stop foundation looking cakey\"."
          ],
          "audience_problem": "How do I stop my foundation from looking cakey?"
        },
        {
          "stage": "strict account rule",
          "topic": "drugstore makeup worth buying for beginners",
          "reasons": [
            "Already made: \"drugstore makeup starter kit\"."
          ],
          "audience_problem": "Which drugstore makeup should a beginner buy?"
        }
      ],
      "research": null,
      "subniche": "everyday drugstore makeup and basic hair care",
      "profile_id": 9,
      "limitations": [],
      "research_at": "2026-11-24T07:00:46.720Z",
      "score_notes": {
        "labels": "Measured numbers (views, ratios, volumes, trends) are observed. Audience problems, angles, hook approaches, structures and fit judgements...",
        "factors": {
          "usefulness": "How useful the content would be to someone with this problem (an AI judgement, raised by real viewer and search questions).",
          "search_demand": "Demonstrated search demand for the problem (measured searches and their trend). null when no search data was measured.",
          "social_evidence": "Social performance evidence (verified outliers, independent creators, momentum). null when no social videos back it.",
          "audience_relevance": "How closely the audience problem matches your Audience DNA (an AI judgement, with reasons).",
          "creative_suitability": "How well the proven creative mechanism suits this problem and your Creator DNA (an AI judgement, checked against your strict rules)."
        },
        "priority": "How strongly to act on this opportunity now, 0-100, from the five factors below. A factor that could not be measured is shown as null and...",
        "signal_class": "jointly_validated: search demand and social performance both support it. social_led: social performance supports it, search does not yet ...",
        "match_confidence": "How sure the engine is that the searches, the videos and the creative mechanism belong to the same audience problem.",
        "search_confidence": "How solid the search evidence is (measured volumes, Google Trends, real questions people ask). null when nothing was measured.",
        "social_confidence": "How solid the social evidence is (how many videos and creators, verified outliers, creator baselines). null when no social evidence is held.",
        "evidence_confidence": "How much measured evidence stands behind the opportunity, 0-95, kept separate from priority: a promising idea with thin evidence has a hi..."
      },
      "window_days": 30,
      "window_used": 30,
      "contributions": {
        "pull": {
          "led": 2,
          "what": "Search data: what people search, ask and want solved.",
          "by_source": {
            "profile": 3,
            "own_search": 14,
            "people_also_ask": 11
          },
          "searches_measured": 14,
          "stored_items_read": 28,
          "searches_not_measured": 3,
          "opportunities_with_search_evidence": 5
        },
        "push": {
          "led": 0,
          "what": "Social performance data: which topics, hooks and formats already perform unusually well.",
          "source": "agent 1",
          "creators": 359,
          "videos_read": 44,
          "verified_outliers": 42,
          "mechanisms_proven_directly": 5,
          "opportunities_with_social_evidence": 3
        },
        "joint": 3,
        "by_signal_class": {
          "search_led": 2,
          "exploratory": 2,
          "jointly_validated": 1
        }
      },
      "opportunities": [
        {
          "id": "fop_nUBD0L7yAbkC",
          "arm": "fusion",
          "rank": 1,
          "angle": "Beginners can use one simple order that works for most drugstore products, and it explains where each step goes.",
          "brief": {
            "topic": "makeup application order for beginners",
            "labels": {
              "observed": [
                "references (views, ratios, monthly searches)"
              ],
              "hypotheses": [
                "topic"
              ]
            },
            "payoff": "The viewer knows the order to apply makeup in and why each step goes where it does.",
            "markdown": "# Brief: makeup application order for beginners\n\n**For:** women 18-30 learning makeup on a budget - **Market:** US - **Opportunity:** fop...",
            "structure": {
              "body": [
                "Show the first step, such as skincare or primer, and say why it goes first"
              ],
              "hook": "Ask the order question on camera and give the short answer straight away.",
              "format": "on-camera tutorial",
              "payoff": "End with the full order written out in a short line the viewer can save.",
              "seconds": 75
            },
            "key_points": [
              "Give the order in the first few seconds"
            ],
            "references": [
              {
                "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
                "role": "social proof for the problem",
                "type": "video",
                "views": 1156436,
                "creator": "maddylevis",
                "platform": "tt",
                "outlier_ratio": 126.7
              }
            ],
            "short_form": {
              "beats": [
                {
                  "n": 1,
                  "beat": "Hook",
                  "what": "Ask the order question and promise the short answer.",
                  "end_s": 3,
                  "seconds": 3,
                  "start_s": 0,
                  "on_screen_text": "Makeup order, in order"
                }
              ],
              "sound": {
                "url": "https://www.tiktok.com/music/x-7179704916477380609",
                "why": "1 of the source videos use it; 2 creators in this niche use it; 1 verified outlier use it",
                "label": "a suggestion (hypothesis) from measured numbers",
                "title": "Inspirational piano and strings, post-classical 10(1373065)",
                "author": null,
                "sound_id": "7179704916477380609",
                "daily_readings": null,
                "original_sound": false,
                "in_collected_videos": {
                  "videos": 2,
                  "creators": 2,
                  "examples": [
                    {
                      "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
                      "views": 1156436,
                      "creator": "maddylevis",
                      "platform": "tt",
                      "video_id": "tt7704002378617441566",
                      "outlier_ratio": 126.7
                    }
                  ],
                  "total_views": 1815936,
                  "verified_outliers": 1,
                  "median_virality_score": 35.9,
                  "source_videos_using_it": 1
                },
                "videos_using_it_as_of": null,
                "videos_using_it_on_tiktok": 76787
              },
              "ending": {
                "how": "The question points back to the opening question about which step goes first, so the replay starts with the same tension.",
                "line": "So which step were you doing out of order?",
                "type": "loop",
                "label": "hypothesis"
              },
              "labels": {
                "measured": [
                  "target_length (unless basis default)"
                ],
                "hypotheses": [
                  "hook_options"
                ]
              },
              "caption": {
                "text": "The beginner makeup order in one simple line, using drugstore products. Save it for your next getting-ready.",
                "label": "hypothesis"
              },
              "carousel": {
                "label": "hypothesis",
                "slides": [
                  {
                    "n": 1,
                    "headline": "Still guessing which makeup goes on first?"
                  }
                ]
              },
              "cut_pace": {
                "note": "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is...",
                "basis": "default",
                "label": "default",
                "examples": [],
                "measured_on": null,
                "cuts_per_10s": 4,
                "pacing_reading": [],
                "videos_measured": 0,
                "average_shot_seconds": 2.5
              },
              "hashtags": [
                {
                  "tag": "makeup",
                  "basis": "source videos",
                  "collected": {
                    "videos": 103,
                    "creators": 97,
                    "total_views": 238897704,
                    "window_days": 90,
                    "verified_outliers": 37,
                    "median_virality_score": 25.9,
                    "source_videos_using_it": 3
                  },
                  "daily_top_rank": null,
                  "platform_totals": null
                }
              ],
              "platforms": [
                "TikTok"
              ],
              "real_hooks": [
                {
                  "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
                  "hook": "Which one is your lip combo?",
                  "views": 5653340,
                  "origin": "source video",
                  "creator": "Farakhnoz_mua",
                  "formula": "Which one is your [category]?",
                  "platform": "yt",
                  "video_id": "ytviubJrLs5Vs",
                  "hook_type": "Question",
                  "mechanisms": [
                    "question"
                  ],
                  "outlier_ratio": null,
                  "virality_score": 49.1
                }
              ],
              "limitations": [
                "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is..."
              ],
              "hook_options": [
                {
                  "line": "Still guessing which makeup goes on first? Here's the full order in under a minute.",
                  "label": "hypothesis",
                  "visual": "Bare face to camera, with a row of drugstore products lined up on the counter.",
                  "seconds": "0-3",
                  "grounded_in": [
                    {
                      "url": "https://www.tiktok.com/@angelinalovesmakeup/video/7706650840462904589",
                      "hook": "Who designed this one lol",
                      "views": 390183,
                      "origin": "source video",
                      "creator": "angelinalovesmakeup",
                      "formula": "Who designed this [product] lol",
                      "platform": "tt",
                      "video_id": "tt7706650840462904589",
                      "hook_type": "Question",
                      "mechanisms": [
                        "question"
                      ],
                      "outlier_ratio": 668.1,
                      "virality_score": 35.8
                    }
                  ],
                  "on_screen_text": "Makeup order, in order"
                }
              ],
              "sound_reason": null,
              "target_length": {
                "note": "The median length of 8 outliers in this niche (measured video lengths; longer than 3 minutes left out).",
                "basis": "measured",
                "examples": [
                  {
                    "url": "https://www.tiktok.com/@jacques.skin.tips/video/7702541831581469965",
                    "views": 473600,
                    "creator": "jacques.skin.tips",
                    "seconds": 84,
                    "platform": "tt",
                    "video_id": "tt7702541831581469965",
                    "outlier_ratio": 1149.5
                  }
                ],
                "measured_on": "outliers in this niche",
                "range_seconds": {
                  "to": 125,
                  "from": 12
                },
                "median_seconds": 80,
                "target_seconds": 80,
                "videos_measured": 8
              },
              "short_form_interest": {
                "tags": [],
                "basis": null,
                "dates": {
                  "to": "2026-11-23",
                  "from": "2026-11-21",
                  "days_held": 3
                },
                "source": "TikTok top 100 hashtags of the day (US), read daily",
                "status": "not_measured",
                "missing": [
                  "None of the topic's hashtags (#makeup, #makeuptutorial, #grwm, #beautytips) or tags naming \"makeup\", \"drugstore\", \"hair\" is in the daily ..."
                ],
                "collected": [
                  {
                    "tag": "makeup",
                    "note": "Collected videos only (what research runs gathered): a sample, not the platform's totals. Shown, never scored.",
                    "last_28_days": {
                      "videos": 177,
                      "creators": 153,
                      "median_virality_score": -5.5
                    },
                    "previous_28_days": {
                      "videos": 36,
                      "creators": 34,
                      "median_virality_score": 8.4
                    }
                  }
                ],
                "growth_pct": null,
                "rank_change": null,
                "used_in_score": false
              }
            },
            "example_hook": "Do you put primer on before or after foundation? Here is the order I use, and why it works.",
            "hook_approach": "Open with the exact question the viewer is asking, then answer it in the first line.",
            "audience_problem": "What order do I apply makeup in?",
            "questions_to_answer": [
              {
                "source": "people_also_ask",
                "question": "What is the basic order for applying makeup?"
              }
            ]
          },
          "draft": false,
          "niche": "makeup for beginners",
          "topic": "makeup application order for beginners",
          "job_id": 4501,
          "market": "US",
          "origin": "joint",
          "scores": {
            "factors": {
              "usefulness": 93,
              "search_demand": 78,
              "social_evidence": 84,
              "audience_relevance": 90,
              "creative_suitability": 85
            },
            "priority": 90,
            "factor_reasons": {
              "usefulness": "Search demand is high and rising (2400 and 480 a month), and the answer is the core of a beginner routine. Raised because real viewer or ...",
              "search_demand": "2,400 Google searches a month for \"makeup order of application\", +64% (Google Trends, 4 weeks).",
              "social_evidence": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
              "audience_relevance": "Directly matches the beginner makeup basics pillar and the question of how to apply makeup.",
              "creative_suitability": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it."
            },
            "confidence_notes": {
              "match": "Members are close in meaning to the problem; borderline members were checked one by one; the mechanism was proven on outliers in this niche.",
              "search": "3 of 3 searches measured; the largest has 2,400 Google searches a month; trend +64%; 4 real questions.",
              "social": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
              "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
            },
            "match_confidence": 85,
            "search_confidence": 95,
            "social_confidence": 75,
            "evidence_confidence": 85
          },
          "agent_id": 1,
          "subniche": "everyday drugstore makeup and basic hair care",
          "experiment": true,
          "hypotheses": [
            {
              "text": "What order should I apply my makeup in?",
              "basis": "AI reading of the videos, questions and searches",
              "field": "audience_problem"
            }
          ],
          "profile_id": 9,
          "account_fit": {
            "basis": {
              "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
              "strict_checks": "rules of the profile, checked exactly"
            },
            "reasons": [
              "Matches the beginner makeup basics pillar"
            ],
            "verdict": "accept",
            "drift_risk": "low",
            "strict_checks": [
              {
                "pass": true,
                "check": "market",
                "detail": "Researched for US, a market this account serves."
              }
            ],
            "content_pillar": "beginner makeup basics",
            "preference_matches": [
              {
                "detail": "Uses \"tutorial\", a format this creator makes.",
                "matched": true,
                "preference": "formats"
              }
            ]
          },
          "limitations": [],
          "next_action": "produce",
          "research_at": "2026-11-24T07:00:46.720Z",
          "signal_class": "jointly_validated",
          "social_proof": [
            {
              "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
              "hook": null,
              "views": 1156436,
              "posted": "2026-11-03",
              "creator": "maddylevis",
              "platform": "tt",
              "verified": true,
              "video_id": "tt7704002378617441566",
              "outlier_class": "exceptional_breakout",
              "outlier_ratio": 126.7,
              "baseline_posts": 20,
              "virality_score": 42.7
            }
          ],
          "evidence_refs": [
            {
              "id": "prb_D5EKnHzHJwg4",
              "url": null,
              "type": "audience_problem",
              "collected_at": "2026-11-24T07:00:46.720Z"
            }
          ],
          "search_intent": {
            "demand": {
              "state": "strong",
              "trend": "rising",
              "market": "US",
              "source": "Google Ads keyword data and Google Trends",
              "trend_pct": 64,
              "best_query": "makeup order of application",
              "trend_basis": "google_trends",
              "collected_at": "2026-11-24T06:14:46.819Z",
              "measured_queries": 3,
              "monthly_searches": 2400,
              "google_ads_3m_pct": 9,
              "google_trends_4w_pct": 64,
              "youtube_trends_4w_pct": null
            },
            "missing": [],
            "queries": [
              {
                "query": "makeup order of application",
                "trend": "rising",
                "intent": "informational",
                "source": "observed",
                "volume": 2400,
                "measured": true,
                "trend_pct": 64,
                "checked_at": "2026-11-23T18:16:41.418Z"
              }
            ],
            "questions": [
              {
                "source": "people_also_ask",
                "audit_id": "sau_Xg1Gx3z5cd9t",
                "question": "What is the basic order for applying makeup?"
              }
            ]
          },
          "reconciliation": {
            "why": "Search demand and social performance both support it.",
            "missing": [],
            "agreement": "agree",
            "contradictions": [],
            "evidence_state": {
              "search": "strong",
              "social": "strong"
            },
            "recommendation": "prioritize"
          },
          "next_action_why": "Search demand and social performance both support it, and a proven creative mechanism fits.",
          "audience_problem": {
            "id": "prb_D5EKnHzHJwg4",
            "kind": "instructional",
            "label": "hypothesis",
            "statement": "What order do I apply makeup in?",
            "seen_before": true,
            "specificity": "question",
            "as_found_now": "What order should I apply my makeup in?"
          },
          "creative_mechanism": {
            "name": "question",
            "label": "Question",
            "format": "on-camera tutorial",
            "proven": "on outliers in this niche",
            "pattern": {
              "body": "Answer it in order of what matters most.",
              "hook": "Ask the question directly.",
              "payoff": "A direct answer."
            },
            "evidence": {
              "videos": 3,
              "creators": 3,
              "verified_outliers": 3
            },
            "structure": {
              "body": [
                "Show the first step, such as skincare or primer, and say why it goes first"
              ],
              "hook": "Ask the order question on camera and give the short answer straight away.",
              "payoff": "End with the full order written out in a short line the viewer can save."
            },
            "validation": "direct",
            "description": "Opens with the question the viewer is already asking.",
            "source_examples": [
              {
                "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
                "hook": "Which one is your lip combo?",
                "views": 5653340,
                "format": "Tutorial",
                "posted": "2026-11-08",
                "proven": "on outliers in this niche",
                "creator": "Farakhnoz_mua",
                "formula": "Which one is your [category]?",
                "platform": "yt",
                "verified": true,
                "video_id": "ytviubJrLs5Vs",
                "outlier_class": null,
                "outlier_ratio": null,
                "baseline_posts": null,
                "virality_score": 49.1
              }
            ]
          },
          "mechanism_compatibility": {
            "why": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it.",
            "fits": true,
            "basis": "AI reading of the problem against the mechanism (a hypothesis); the mechanism's examples and counts are measured.",
            "risks": [
              "Opening with a question can feel generic unless the first line is specific"
            ],
            "rejected_mechanisms": [
              {
                "label": "Demonstration",
                "mechanism": "demonstration",
                "its_examples": {
                  "videos": 6,
                  "best_views": 2700000,
                  "verified_outliers": 6
                },
                "why_unsuitable": "Demonstration with little talk is the format of high-view routines, but this creator explains the reason for each step, so it does not su..."
              }
            ]
          }
        },
        {
          "id": "fop_EMA5ANc3kBex",
          "arm": "fusion",
          "rank": 2,
          "angle": "Two close shades on your jawline in daylight will show which one is right for you, and that test is simpler than an undertone quiz.",
          "brief": {
            "topic": "finding foundation shade and undertone",
            "labels": {
              "observed": [
                "references (views, ratios, monthly searches)"
              ],
              "hypotheses": [
                "topic"
              ]
            },
            "payoff": "The viewer knows how to test two shades and pick the one that matches their skin.",
            "markdown": "# Brief: finding foundation shade and undertone\n\n**For:** women 18-30 learning makeup on a budget - **Market:** US - **Opportunity:** fop...",
            "structure": {
              "body": [
                "Show the two shades side by side in daylight"
              ],
              "hook": "Show two close shades on the jaw and ask which one disappears.",
              "format": "on-camera side-by-side tutorial",
              "payoff": "End with a simple rule for picking a shade in a store or online.",
              "seconds": 70
            },
            "key_points": [
              "Show two options side by side in the same light"
            ],
            "references": [
              {
                "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
                "role": "example of the Comparison mechanism (on outliers in this niche)",
                "type": "video",
                "views": 5653340,
                "creator": "Farakhnoz_mua",
                "platform": "yt",
                "outlier_ratio": null
              }
            ],
            "short_form": {
              "beats": [
                {
                  "n": 1,
                  "beat": "Hook",
                  "what": "Ask which shade disappears on the jaw and set up the two-shade test.",
                  "end_s": 3,
                  "seconds": 3,
                  "start_s": 0,
                  "on_screen_text": "Which shade disappears?"
                }
              ],
              "sound": {
                "url": "https://www.tiktok.com/music/x-7179704916477380609",
                "why": "2 creators in this niche use it; 1 verified outlier use it",
                "label": "a suggestion (hypothesis) from measured numbers",
                "title": "Inspirational piano and strings, post-classical 10(1373065)",
                "author": null,
                "sound_id": "7179704916477380609",
                "daily_readings": null,
                "original_sound": false,
                "in_collected_videos": {
                  "videos": 2,
                  "creators": 2,
                  "examples": [
                    {
                      "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
                      "views": 1156436,
                      "creator": "maddylevis",
                      "platform": "tt",
                      "video_id": "tt7704002378617441566",
                      "outlier_ratio": 126.7
                    }
                  ],
                  "total_views": 1815936,
                  "verified_outliers": 1,
                  "median_virality_score": 35.9,
                  "source_videos_using_it": 0
                },
                "videos_using_it_as_of": null,
                "videos_using_it_on_tiktok": 76787
              },
              "ending": {
                "how": "The viewer swatches two shades on their own jaw in daylight before buying a foundation.",
                "line": "Test two shades on your jaw before you buy, then save this.",
                "type": "cta",
                "label": "hypothesis"
              },
              "labels": {
                "measured": [
                  "target_length (unless basis default)"
                ],
                "hypotheses": [
                  "hook_options"
                ]
              },
              "caption": {
                "text": "Two close shades on the jaw in daylight will show which one is right for you. It is a faster test than most undertone quizzes.",
                "label": "hypothesis"
              },
              "carousel": {
                "label": "hypothesis",
                "slides": [
                  {
                    "n": 1,
                    "headline": "Which shade disappears on your jaw?"
                  }
                ]
              },
              "cut_pace": {
                "note": "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is...",
                "basis": "default",
                "label": "default",
                "examples": [],
                "measured_on": null,
                "cuts_per_10s": 4,
                "pacing_reading": [],
                "videos_measured": 0,
                "average_shot_seconds": 2.5
              },
              "hashtags": [
                {
                  "tag": "makeup",
                  "basis": "source videos",
                  "collected": {
                    "videos": 103,
                    "creators": 97,
                    "total_views": 238897704,
                    "window_days": 90,
                    "verified_outliers": 37,
                    "median_virality_score": 25.9,
                    "source_videos_using_it": 1
                  },
                  "daily_top_rank": null,
                  "platform_totals": null
                }
              ],
              "platforms": [
                "TikTok"
              ],
              "real_hooks": [
                {
                  "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
                  "hook": "Which one is your lip combo?",
                  "views": 5653340,
                  "origin": "source video",
                  "creator": "Farakhnoz_mua",
                  "formula": "Which one is your [category]?",
                  "platform": "yt",
                  "video_id": "ytviubJrLs5Vs",
                  "hook_type": "Question",
                  "mechanisms": [
                    "question"
                  ],
                  "outlier_ratio": null,
                  "virality_score": 49.1
                }
              ],
              "limitations": [
                "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is..."
              ],
              "hook_options": [
                {
                  "line": "Pick the shade that vanishes on your jaw, not your hand.",
                  "label": "hypothesis",
                  "visual": "Two foundation swatches painted on the jawline in daylight by a window.",
                  "seconds": "0-3",
                  "grounded_in": [
                    {
                      "url": "https://www.tiktok.com/@eviinjzfan/video/7690233130300624142",
                      "hook": "This makeup debat is stupid",
                      "views": 14016263,
                      "origin": "outlier in this niche",
                      "creator": "eviinjzfan",
                      "formula": "This [topic] debate is stupid",
                      "platform": "tt",
                      "video_id": "tt7690233130300624142",
                      "hook_type": "Bold claim",
                      "mechanisms": [
                        "contrarian"
                      ],
                      "outlier_ratio": null,
                      "virality_score": 67.6
                    }
                  ],
                  "on_screen_text": "Which shade disappears?"
                }
              ],
              "sound_reason": null,
              "target_length": {
                "note": "The median length of 8 outliers in this niche (measured video lengths; longer than 3 minutes left out).",
                "basis": "measured",
                "examples": [
                  {
                    "url": "https://www.tiktok.com/@jacques.skin.tips/video/7702541831581469965",
                    "views": 473600,
                    "creator": "jacques.skin.tips",
                    "seconds": 84,
                    "platform": "tt",
                    "video_id": "tt7702541831581469965",
                    "outlier_ratio": 1149.5
                  }
                ],
                "measured_on": "outliers in this niche",
                "range_seconds": {
                  "to": 125,
                  "from": 12
                },
                "median_seconds": 80,
                "target_seconds": 80,
                "videos_measured": 8
              },
              "short_form_interest": {
                "tags": [],
                "basis": null,
                "dates": {
                  "to": "2026-11-23",
                  "from": "2026-11-21",
                  "days_held": 3
                },
                "source": "TikTok top 100 hashtags of the day (US), read daily",
                "status": "not_measured",
                "missing": [
                  "None of the topic's hashtags (#makeup, #makeuptutorial, #beautytok, #lipcombo) or tags naming \"makeup\", \"drugstore\", \"hair\" is in the dai..."
                ],
                "collected": [
                  {
                    "tag": "makeup",
                    "note": "Collected videos only (what research runs gathered): a sample, not the platform's totals. Shown, never scored.",
                    "last_28_days": {
                      "videos": 177,
                      "creators": 153,
                      "median_virality_score": -5.5
                    },
                    "previous_28_days": {
                      "videos": 36,
                      "creators": 34,
                      "median_virality_score": 8.4
                    }
                  }
                ],
                "growth_pct": null,
                "rank_change": null,
                "used_in_score": false
              }
            },
            "example_hook": "Two foundations look the same in the bottle, so here is a simple way to tell which one matches your skin.",
            "hook_approach": "Open with the shade problem as a choice between two options and promise a clear way to choose.",
            "audience_problem": "How do I find the foundation shade that matches my skin?",
            "questions_to_answer": []
          },
          "draft": false,
          "niche": "makeup for beginners",
          "topic": "finding foundation shade and undertone",
          "job_id": 4501,
          "market": "US",
          "origin": "pull_first",
          "scores": {
            "factors": {
              "usefulness": 80,
              "search_demand": 82,
              "social_evidence": null,
              "audience_relevance": 75,
              "creative_suitability": 75
            },
            "priority": 71,
            "factor_reasons": {
              "usefulness": "Shade search demand is high and rising (4400 and 720 a month), and beginners need a clear way to choose a shade.",
              "search_demand": "4,400 Google searches a month for \"foundation shade finder\", +157% (Google Trends, 4 weeks).",
              "social_evidence": "Not measured (null): no social videos back this problem yet.",
              "audience_relevance": "Matches the beginner makeup audience and the drugstore product picks and basics pillars, since shade matching is a first foundation problem.",
              "creative_suitability": "Shade choice is a side-by-side decision, so showing two close shades on the same skin and naming the better match answers the problem dir..."
            },
            "confidence_notes": {
              "match": "Members are fairly close in meaning to the problem; borderline members were checked one by one; the mechanism was proven on outliers in t...",
              "search": "3 of 4 searches measured; the largest has 4,400 Google searches a month; trend +157%.",
              "social": "No social videos are held for this problem.",
              "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
            },
            "match_confidence": 80,
            "search_confidence": 80,
            "social_confidence": null,
            "evidence_confidence": 48
          },
          "agent_id": 1,
          "subniche": "everyday drugstore makeup and basic hair care",
          "experiment": true,
          "hypotheses": [
            {
              "text": "How do I find the foundation shade that matches my skin?",
              "basis": "AI reading of the videos, questions and searches",
              "field": "audience_problem"
            }
          ],
          "profile_id": 9,
          "account_fit": {
            "basis": {
              "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
              "strict_checks": "rules of the profile, checked exactly"
            },
            "reasons": [
              "Matches the beginner makeup audience and the drugstore product picks pillar"
            ],
            "verdict": "accept",
            "drift_risk": "low",
            "strict_checks": [
              {
                "pass": true,
                "check": "market",
                "detail": "Researched for US, a market this account serves."
              }
            ],
            "content_pillar": "drugstore product picks",
            "preference_matches": [
              {
                "detail": "Uses \"tutorial\", a format this creator makes.",
                "matched": true,
                "preference": "formats"
              }
            ]
          },
          "limitations": [
            "No social videos are held for this problem: the social side is missing, not negative."
          ],
          "next_action": "test",
          "research_at": "2026-11-24T07:00:46.720Z",
          "signal_class": "search_led",
          "social_proof": [],
          "evidence_refs": [
            {
              "id": "prb_cNjgkdkTAOkx",
              "url": null,
              "type": "audience_problem",
              "collected_at": "2026-11-24T07:00:46.720Z"
            }
          ],
          "search_intent": {
            "demand": {
              "state": "strong",
              "trend": "rising",
              "market": "US",
              "source": "Google Ads keyword data and Google Trends",
              "trend_pct": 157,
              "best_query": "foundation shade finder",
              "trend_basis": "google_trends",
              "collected_at": "2026-11-24T07:01:13.259Z",
              "measured_queries": 3,
              "monthly_searches": 4400,
              "google_ads_3m_pct": -29,
              "google_trends_4w_pct": 157,
              "youtube_trends_4w_pct": null
            },
            "missing": [
              "1 of 4 searches have no measured volume."
            ],
            "queries": [
              {
                "query": "foundation shade finder",
                "trend": "rising",
                "intent": "informational",
                "source": "observed",
                "volume": 4400,
                "measured": true,
                "trend_pct": 157,
                "checked_at": "2026-11-23T17:35:37.528Z"
              }
            ],
            "questions": []
          },
          "reconciliation": {
            "why": "Search demand is strong; social proof is not measured: test it with a proven format.",
            "missing": [
              "social: no videos are held for this audience problem"
            ],
            "agreement": "one_sided",
            "contradictions": [],
            "evidence_state": {
              "search": "strong",
              "social": "missing"
            },
            "recommendation": "test"
          },
          "next_action_why": "One side supports it and the other does not yet: make one version and measure it.",
          "audience_problem": {
            "id": "prb_cNjgkdkTAOkx",
            "kind": "comparison",
            "label": "hypothesis",
            "statement": "How do I find the foundation shade that matches my skin?",
            "seen_before": false,
            "specificity": "question"
          },
          "creative_mechanism": {
            "name": "comparison",
            "label": "Comparison",
            "format": "on-camera side-by-side tutorial",
            "proven": "on outliers in this niche",
            "pattern": {
              "body": "Test each option on the same criteria.",
              "hook": "Pose the choice the viewer is stuck on.",
              "payoff": "A clear verdict and who each option is for."
            },
            "evidence": {
              "videos": 1,
              "creators": 1,
              "verified_outliers": 1
            },
            "structure": {
              "body": [
                "Show the two shades side by side in daylight"
              ],
              "hook": "Show two close shades on the jaw and ask which one disappears.",
              "payoff": "End with a simple rule for picking a shade in a store or online."
            },
            "validation": "direct",
            "description": "Puts two or more options side by side and names a winner.",
            "source_examples": [
              {
                "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
                "hook": "Which one is your lip combo?",
                "views": 5653340,
                "format": "Tutorial",
                "posted": "2026-11-08",
                "proven": "on outliers in this niche",
                "creator": "Farakhnoz_mua",
                "formula": "Which one is your [category]?",
                "platform": "yt",
                "verified": true,
                "video_id": "ytviubJrLs5Vs",
                "outlier_class": null,
                "outlier_ratio": null,
                "baseline_posts": null,
                "virality_score": 49.1
              }
            ]
          },
          "mechanism_compatibility": {
            "why": "Shade choice is a side-by-side decision, so showing two close shades on the same skin and naming the better match answers the problem dir...",
            "fits": true,
            "basis": "AI reading of the problem against the mechanism (a hypothesis); the mechanism's examples and counts are measured.",
            "risks": [
              "Lighting on camera can change how a shade looks, so the match may not hold"
            ],
            "rejected_mechanisms": [
              {
                "label": "Contrarian take",
                "mechanism": "contrarian",
                "its_examples": {
                  "videos": 3,
                  "best_views": 7702182,
                  "verified_outliers": 3
                },
                "why_unsuitable": "A combative take on shade advice does not suit this calm, non-shaming creator."
              }
            ]
          }
        }
      ],
      "count_returned": 5,
      "window_widened": [],
      "count_requested": 5,
      "shortfall_reason": null,
      "window_requested": 30,
      "opportunities_path": "/fusion/opportunities?job_id=4501"
    },
    "error": null,
    "created_at": "2026-11-24T06:59:48.447Z",
    "finished_at": "2026-11-24T07:04:27.549Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v2/fusion/opportunities

Your Fusion opportunities, newest job first, each job in rank order, with every field (audience problem, search intent, social proof, creative mechanism and its compatibility, account fit, signal class, angle, scores with factors and reasons, evidence references, limitations, origin, next action, brief). Filters: job_id (adds that job's status, spend, gaps and why it returned fewer than asked), profile_id, signal_class, next_action, origin, arm (fusion or control), drafts (true, false or only: drafts come from bidirectional research; hidden by default unless job_id is sent), rejected (true, false or only).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `job_id` | query | string | Only this Fusion job (content opportunities or bidirectional research) |
| `profile_id` | query | string | Only opportunities researched for this profile |
| `signal_class` | query | jointly_validated, social_led, search_led, exploratory | jointly_validated, social_led, search_led, exploratory |
| `next_action` | query | produce, test, monitor, gather_evidence, reject | produce, test, monitor, gather_evidence, reject |
| `origin` | query | push_first, pull_first, joint, exploratory | push_first, pull_first, joint, exploratory |
| `arm` | query | fusion, control | fusion or control (experiment mode) |
| `drafts` | query | true, false, only | true, false or only (default false; true when job_id is sent) |
| `rejected` | query | true, false, only | true (default), false or only |
| `limit` | query | string | 1-50 (default 20) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v2/fusion/opportunities?job_id=1001&signal_class=jointly_validated" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "fop_nUBD0L7yAbkC",
      "rank": 1,
      "job_id": 4501,
      "profile_id": 9,
      "agent_id": 1,
      "niche": "makeup for beginners",
      "subniche": "everyday drugstore makeup and basic hair care",
      "market": "US",
      "arm": "fusion",
      "experiment": true,
      "draft": false,
      "topic": "makeup application order for beginners",
      "audience_problem": {
        "id": "prb_D5EKnHzHJwg4",
        "kind": "instructional",
        "label": "hypothesis",
        "statement": "What order do I apply makeup in?",
        "seen_before": true,
        "specificity": "question",
        "as_found_now": "What order should I apply my makeup in?"
      },
      "search_intent": {
        "demand": {
          "state": "strong",
          "trend": "rising",
          "market": "US",
          "source": "Google Ads keyword data and Google Trends",
          "trend_pct": 64,
          "best_query": "makeup order of application",
          "trend_basis": "google_trends",
          "collected_at": "2026-11-24T06:14:46.819Z",
          "measured_queries": 3,
          "monthly_searches": 2400,
          "google_ads_3m_pct": 9,
          "google_trends_4w_pct": 64,
          "youtube_trends_4w_pct": null
        },
        "missing": [],
        "queries": [
          {
            "query": "makeup order of application",
            "trend": "rising",
            "intent": "informational",
            "source": "observed",
            "volume": 2400,
            "measured": true,
            "trend_pct": 64,
            "checked_at": "2026-11-23T18:16:41.418Z"
          }
        ],
        "questions": [
          {
            "source": "people_also_ask",
            "audit_id": "sau_Xg1Gx3z5cd9t",
            "question": "What is the basic order for applying makeup?"
          }
        ]
      },
      "social_proof": [
        {
          "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
          "hook": null,
          "views": 1156436,
          "posted": "2026-11-03",
          "creator": "maddylevis",
          "platform": "tt",
          "verified": true,
          "video_id": "tt7704002378617441566",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 126.7,
          "baseline_posts": 20,
          "virality_score": 42.7
        },
        {
          "url": "https://www.tiktok.com/@khushhyyy/video/7706332671810473234",
          "hook": null,
          "views": 6339769,
          "posted": "2026-11-10",
          "creator": "khushhyyy",
          "platform": "tt",
          "verified": true,
          "video_id": "tt7706332671810473234",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 114.9,
          "baseline_posts": 20,
          "virality_score": 37.1
        }
      ],
      "creative_mechanism": {
        "name": "question",
        "label": "Question",
        "format": "on-camera tutorial",
        "proven": "on outliers in this niche",
        "pattern": {
          "body": "Answer it in order of what matters most.",
          "hook": "Ask the question directly.",
          "payoff": "A direct answer."
        },
        "evidence": {
          "videos": 3,
          "creators": 3,
          "verified_outliers": 3
        },
        "structure": {
          "body": [
            "Show the first step, such as skincare or primer, and say why it goes first"
          ],
          "hook": "Ask the order question on camera and give the short answer straight away.",
          "payoff": "End with the full order written out in a short line the viewer can save."
        },
        "validation": "direct",
        "description": "Opens with the question the viewer is already asking.",
        "source_examples": [
          {
            "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
            "hook": "Which one is your lip combo?",
            "views": 5653340,
            "format": "Tutorial",
            "posted": "2026-11-08",
            "proven": "on outliers in this niche",
            "creator": "Farakhnoz_mua",
            "formula": "Which one is your [category]?",
            "platform": "yt",
            "verified": true,
            "video_id": "ytviubJrLs5Vs",
            "outlier_class": null,
            "outlier_ratio": null,
            "baseline_posts": null,
            "virality_score": 49.1
          }
        ]
      },
      "mechanism_compatibility": {
        "why": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it.",
        "fits": true,
        "basis": "AI reading of the problem against the mechanism (a hypothesis); the mechanism's examples and counts are measured.",
        "risks": [
          "Opening with a question can feel generic unless the first line is specific"
        ],
        "rejected_mechanisms": [
          {
            "label": "Demonstration",
            "mechanism": "demonstration",
            "its_examples": {
              "videos": 6,
              "best_views": 2700000,
              "verified_outliers": 6
            },
            "why_unsuitable": "Demonstration with little talk is the format of high-view routines, but this creator explains the reason for each step, so it does not su..."
          }
        ]
      },
      "account_fit": {
        "basis": {
          "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
          "strict_checks": "rules of the profile, checked exactly"
        },
        "reasons": [
          "Matches the beginner makeup basics pillar"
        ],
        "verdict": "accept",
        "drift_risk": "low",
        "strict_checks": [
          {
            "pass": true,
            "check": "market",
            "detail": "Researched for US, a market this account serves."
          }
        ],
        "content_pillar": "beginner makeup basics",
        "preference_matches": [
          {
            "detail": "Uses \"tutorial\", a format this creator makes.",
            "matched": true,
            "preference": "formats"
          }
        ]
      },
      "signal_class": "jointly_validated",
      "angle": "Beginners can use one simple order that works for most drugstore products, and it explains where each step goes.",
      "scores": {
        "factors": {
          "usefulness": 93,
          "search_demand": 78,
          "social_evidence": 84,
          "audience_relevance": 90,
          "creative_suitability": 85
        },
        "priority": 90,
        "factor_reasons": {
          "usefulness": "Search demand is high and rising (2400 and 480 a month), and the answer is the core of a beginner routine. Raised because real viewer or ...",
          "search_demand": "2,400 Google searches a month for \"makeup order of application\", +64% (Google Trends, 4 weeks).",
          "social_evidence": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
          "audience_relevance": "Directly matches the beginner makeup basics pillar and the question of how to apply makeup.",
          "creative_suitability": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it."
        },
        "confidence_notes": {
          "match": "Members are close in meaning to the problem; borderline members were checked one by one; the mechanism was proven on outliers in this niche.",
          "search": "3 of 3 searches measured; the largest has 2,400 Google searches a month; trend +64%; 4 real questions.",
          "social": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
          "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
        },
        "match_confidence": 85,
        "search_confidence": 95,
        "social_confidence": 75,
        "evidence_confidence": 85
      },
      "evidence_refs": [
        {
          "id": "prb_D5EKnHzHJwg4",
          "url": null,
          "type": "audience_problem",
          "collected_at": "2026-11-24T07:00:46.720Z"
        },
        {
          "id": "tt7704002378617441566",
          "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
          "type": "video",
          "collected_at": "2026-11-18T19:58:46.033Z"
        }
      ],
      "limitations": [],
      "origin": "joint",
      "next_action": "produce",
      "next_action_why": "Search demand and social performance both support it, and a proven creative mechanism fits.",
      "reconciliation": {
        "why": "Search demand and social performance both support it.",
        "missing": [],
        "agreement": "agree",
        "contradictions": [],
        "evidence_state": {
          "search": "strong",
          "social": "strong"
        },
        "recommendation": "prioritize"
      },
      "hypotheses": [
        {
          "text": "What order should I apply my makeup in?",
          "basis": "AI reading of the videos, questions and searches",
          "field": "audience_problem"
        },
        {
          "text": "Search phrasings marked hypothesis are AI suggestions; their volumes and trends are measured.",
          "basis": "AI",
          "field": "search_intent.queries"
        }
      ],
      "brief": {
        "topic": "makeup application order for beginners",
        "labels": {
          "observed": [
            "references (views, ratios, monthly searches)"
          ],
          "hypotheses": [
            "topic"
          ]
        },
        "payoff": "The viewer knows the order to apply makeup in and why each step goes where it does.",
        "markdown": "# Brief: makeup application order for beginners\n\n**For:** women 18-30 learning makeup on a budget - **Market:** US - **Opportunity:** fop...",
        "structure": {
          "body": [
            "Show the first step, such as skincare or primer, and say why it goes first"
          ],
          "hook": "Ask the order question on camera and give the short answer straight away.",
          "format": "on-camera tutorial",
          "payoff": "End with the full order written out in a short line the viewer can save.",
          "seconds": 75
        },
        "key_points": [
          "Give the order in the first few seconds"
        ],
        "references": [
          {
            "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
            "role": "social proof for the problem",
            "type": "video",
            "views": 1156436,
            "creator": "maddylevis",
            "platform": "tt",
            "outlier_ratio": 126.7
          }
        ],
        "short_form": {
          "beats": [
            {
              "n": 1,
              "beat": "Hook",
              "what": "Ask the order question and promise the short answer.",
              "end_s": 3,
              "seconds": 3,
              "start_s": 0,
              "on_screen_text": "Makeup order, in order"
            }
          ],
          "sound": {
            "url": "https://www.tiktok.com/music/x-7179704916477380609",
            "why": "1 of the source videos use it; 2 creators in this niche use it; 1 verified outlier use it",
            "label": "a suggestion (hypothesis) from measured numbers",
            "title": "Inspirational piano and strings, post-classical 10(1373065)",
            "author": null,
            "sound_id": "7179704916477380609",
            "daily_readings": null,
            "original_sound": false,
            "in_collected_videos": {
              "videos": 2,
              "creators": 2,
              "examples": [
                {
                  "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
                  "views": 1156436,
                  "creator": "maddylevis",
                  "platform": "tt",
                  "video_id": "tt7704002378617441566",
                  "outlier_ratio": 126.7
                }
              ],
              "total_views": 1815936,
              "verified_outliers": 1,
              "median_virality_score": 35.9,
              "source_videos_using_it": 1
            },
            "videos_using_it_as_of": null,
            "videos_using_it_on_tiktok": 76787
          },
          "ending": {
            "how": "The question points back to the opening question about which step goes first, so the replay starts with the same tension.",
            "line": "So which step were you doing out of order?",
            "type": "loop",
            "label": "hypothesis"
          },
          "labels": {
            "measured": [
              "target_length (unless basis default)"
            ],
            "hypotheses": [
              "hook_options"
            ]
          },
          "caption": {
            "text": "The beginner makeup order in one simple line, using drugstore products. Save it for your next getting-ready.",
            "label": "hypothesis"
          },
          "carousel": {
            "label": "hypothesis",
            "slides": [
              {
                "n": 1,
                "headline": "Still guessing which makeup goes on first?"
              }
            ]
          },
          "cut_pace": {
            "note": "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is...",
            "basis": "default",
            "label": "default",
            "examples": [],
            "measured_on": null,
            "cuts_per_10s": 4,
            "pacing_reading": [],
            "videos_measured": 0,
            "average_shot_seconds": 2.5
          },
          "hashtags": [
            {
              "tag": "makeup",
              "basis": "source videos",
              "collected": {
                "videos": 103,
                "creators": 97,
                "total_views": 238897704,
                "window_days": 90,
                "verified_outliers": 37,
                "median_virality_score": 25.9,
                "source_videos_using_it": 3
              },
              "daily_top_rank": null,
              "platform_totals": null
            }
          ],
          "platforms": [
            "TikTok"
          ],
          "real_hooks": [
            {
              "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
              "hook": "Which one is your lip combo?",
              "views": 5653340,
              "origin": "source video",
              "creator": "Farakhnoz_mua",
              "formula": "Which one is your [category]?",
              "platform": "yt",
              "video_id": "ytviubJrLs5Vs",
              "hook_type": "Question",
              "mechanisms": [
                "question"
              ],
              "outlier_ratio": null,
              "virality_score": 49.1
            }
          ],
          "limitations": [
            "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is..."
          ],
          "hook_options": [
            {
              "line": "Still guessing which makeup goes on first? Here's the full order in under a minute.",
              "label": "hypothesis",
              "visual": "Bare face to camera, with a row of drugstore products lined up on the counter.",
              "seconds": "0-3",
              "grounded_in": [
                {
                  "url": "https://www.tiktok.com/@angelinalovesmakeup/video/7706650840462904589",
                  "hook": "Who designed this one lol",
                  "views": 390183,
                  "origin": "source video",
                  "creator": "angelinalovesmakeup",
                  "formula": "Who designed this [product] lol",
                  "platform": "tt",
                  "video_id": "tt7706650840462904589",
                  "hook_type": "Question",
                  "mechanisms": [
                    "question"
                  ],
                  "outlier_ratio": 668.1,
                  "virality_score": 35.8
                }
              ],
              "on_screen_text": "Makeup order, in order"
            }
          ],
          "sound_reason": null,
          "target_length": {
            "note": "The median length of 8 outliers in this niche (measured video lengths; longer than 3 minutes left out).",
            "basis": "measured",
            "examples": [
              {
                "url": "https://www.tiktok.com/@jacques.skin.tips/video/7702541831581469965",
                "views": 473600,
                "creator": "jacques.skin.tips",
                "seconds": 84,
                "platform": "tt",
                "video_id": "tt7702541831581469965",
                "outlier_ratio": 1149.5
              }
            ],
            "measured_on": "outliers in this niche",
            "range_seconds": {
              "to": 125,
              "from": 12
            },
            "median_seconds": 80,
            "target_seconds": 80,
            "videos_measured": 8
          },
          "short_form_interest": {
            "tags": [],
            "basis": null,
            "dates": {
              "to": "2026-11-23",
              "from": "2026-11-21",
              "days_held": 3
            },
            "source": "TikTok top 100 hashtags of the day (US), read daily",
            "status": "not_measured",
            "missing": [
              "None of the topic's hashtags (#makeup, #makeuptutorial, #grwm, #beautytips) or tags naming \"makeup\", \"drugstore\", \"hair\" is in the daily ..."
            ],
            "collected": [
              {
                "tag": "makeup",
                "note": "Collected videos only (what research runs gathered): a sample, not the platform's totals. Shown, never scored.",
                "last_28_days": {
                  "videos": 177,
                  "creators": 153,
                  "median_virality_score": -5.5
                },
                "previous_28_days": {
                  "videos": 36,
                  "creators": 34,
                  "median_virality_score": 8.4
                }
              }
            ],
            "growth_pct": null,
            "rank_change": null,
            "used_in_score": false
          }
        },
        "example_hook": "Do you put primer on before or after foundation? Here is the order I use, and why it works.",
        "hook_approach": "Open with the exact question the viewer is asking, then answer it in the first line.",
        "audience_problem": "What order do I apply makeup in?",
        "questions_to_answer": [
          {
            "source": "people_also_ask",
            "question": "What is the basic order for applying makeup?"
          }
        ]
      },
      "research_at": "2026-11-24T07:00:46.720Z",
      "rejected_at": null,
      "reject_reason": null
    }
  ],
  "next_cursor": "MQ",
  "job": {
    "id": 4501,
    "kind": "fusion_opps",
    "status": "completed",
    "count_requested": 5,
    "count_returned": 5,
    "shortfall_reason": null,
    "spend": {
      "used": 130,
      "limit": 130,
      "breakdown": [
        {
          "item": "fusion_research",
          "credits": 100
        },
        {
          "item": "search_check",
          "what": "demand:1",
          "credits": 10
        }
      ],
      "remaining_in_limit": 0,
      "search_checks_bought": 3
    },
    "gaps": [
      {
        "call": {
          "body": {
            "market": "US",
            "keywords": [
              "how to fix heat damaged hair"
            ]
          },
          "path": "/search/google-serp-audit",
          "method": "POST"
        },
        "what": "Google results for \"how to fix heat damaged hair\" (with the questions people also ask)",
        "why_it_matters": "Observed search questions and what the current answers miss ground the usefulness of the piece.",
        "cost_to_resolve": 10,
        "opportunity_ids": [
          "fop_eef4e2ic6n3j"
        ],
        "why_not_resolved": "Not bought: outside the spending limit of 130 credits."
      },
      {
        "call": {
          "body": {
            "market": "US",
            "keywords": [
              "how to find my skin type"
            ]
          },
          "path": "/search/google-serp-audit",
          "method": "POST"
        },
        "what": "Google results for \"how to find my skin type\" (with the questions people also ask)",
        "why_it_matters": "Observed search questions and what the current answers miss ground the usefulness of the piece.",
        "cost_to_resolve": 10,
        "opportunity_ids": [
          "fop_PxwaavZnJmik"
        ],
        "why_not_resolved": "Not bought: outside the spending limit of 130 credits."
      }
    ],
    "limitations": [],
    "error": null,
    "poll_after_seconds": null
  }
}
```

### GET /api/v2/fusion/opportunities/{id}

One Fusion opportunity with all its evidence, scores, reasons and brief, plus what each score means in plain language. ?format=markdown answers its brief as a Markdown document (text/markdown).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |
| `format` | query | json, markdown | json (default) or markdown (the brief) |

```bash
curl "https://lulubanana.com/api/v2/fusion/opportunities/fop_Hd2Rk8Lw4QxN" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "fop_nUBD0L7yAbkC",
    "rank": 1,
    "job_id": 4501,
    "profile_id": 9,
    "agent_id": 1,
    "niche": "makeup for beginners",
    "subniche": "everyday drugstore makeup and basic hair care",
    "market": "US",
    "arm": "fusion",
    "experiment": true,
    "draft": false,
    "topic": "makeup application order for beginners",
    "audience_problem": {
      "id": "prb_D5EKnHzHJwg4",
      "kind": "instructional",
      "label": "hypothesis",
      "statement": "What order do I apply makeup in?",
      "seen_before": true,
      "specificity": "question",
      "as_found_now": "What order should I apply my makeup in?"
    },
    "search_intent": {
      "demand": {
        "state": "strong",
        "trend": "rising",
        "market": "US",
        "source": "Google Ads keyword data and Google Trends",
        "trend_pct": 64,
        "best_query": "makeup order of application",
        "trend_basis": "google_trends",
        "collected_at": "2026-11-24T06:14:46.819Z",
        "measured_queries": 3,
        "monthly_searches": 2400,
        "google_ads_3m_pct": 9,
        "google_trends_4w_pct": 64,
        "youtube_trends_4w_pct": null
      },
      "missing": [],
      "queries": [
        {
          "query": "makeup order of application",
          "trend": "rising",
          "intent": "informational",
          "source": "observed",
          "volume": 2400,
          "measured": true,
          "trend_pct": 64,
          "checked_at": "2026-11-23T18:16:41.418Z"
        },
        {
          "query": "what order to apply makeup",
          "trend": "rising",
          "intent": "tutorial",
          "source": "hypothesis",
          "volume": 480,
          "measured": true,
          "trend_pct": 17,
          "checked_at": "2026-11-24T06:14:46.819Z"
        }
      ],
      "questions": [
        {
          "source": "people_also_ask",
          "audit_id": "sau_Xg1Gx3z5cd9t",
          "question": "What is the basic order for applying makeup?"
        },
        {
          "source": "people_also_ask",
          "audit_id": "sau_Xg1Gx3z5cd9t",
          "question": "What are the 10 steps of makeup?"
        }
      ]
    },
    "social_proof": [
      {
        "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
        "hook": null,
        "views": 1156436,
        "posted": "2026-11-03",
        "creator": "maddylevis",
        "platform": "tt",
        "verified": true,
        "video_id": "tt7704002378617441566",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 126.7,
        "baseline_posts": 20,
        "virality_score": 42.7
      },
      {
        "url": "https://www.tiktok.com/@khushhyyy/video/7706332671810473234",
        "hook": null,
        "views": 6339769,
        "posted": "2026-11-10",
        "creator": "khushhyyy",
        "platform": "tt",
        "verified": true,
        "video_id": "tt7706332671810473234",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 114.9,
        "baseline_posts": 20,
        "virality_score": 37.1
      }
    ],
    "creative_mechanism": {
      "name": "question",
      "label": "Question",
      "format": "on-camera tutorial",
      "proven": "on outliers in this niche",
      "pattern": {
        "body": "Answer it in order of what matters most.",
        "hook": "Ask the question directly.",
        "payoff": "A direct answer."
      },
      "evidence": {
        "videos": 3,
        "creators": 3,
        "verified_outliers": 3
      },
      "structure": {
        "body": [
          "Show the first step, such as skincare or primer, and say why it goes first"
        ],
        "hook": "Ask the order question on camera and give the short answer straight away.",
        "payoff": "End with the full order written out in a short line the viewer can save."
      },
      "validation": "direct",
      "description": "Opens with the question the viewer is already asking.",
      "source_examples": [
        {
          "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
          "hook": "Which one is your lip combo?",
          "views": 5653340,
          "format": "Tutorial",
          "posted": "2026-11-08",
          "proven": "on outliers in this niche",
          "creator": "Farakhnoz_mua",
          "formula": "Which one is your [category]?",
          "platform": "yt",
          "verified": true,
          "video_id": "ytviubJrLs5Vs",
          "outlier_class": null,
          "outlier_ratio": null,
          "baseline_posts": null,
          "virality_score": 49.1
        },
        {
          "url": "https://www.tiktok.com/@angelinalovesmakeup/video/7706650840462904589",
          "hook": "Who designed this one lol",
          "views": 390183,
          "format": null,
          "posted": "2026-11-10",
          "proven": "on outliers in this niche",
          "creator": "angelinalovesmakeup",
          "formula": "Who designed this [product] lol",
          "platform": "tt",
          "verified": true,
          "video_id": "tt7706650840462904589",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 668.1,
          "baseline_posts": 20,
          "virality_score": 35.8
        }
      ]
    },
    "mechanism_compatibility": {
      "why": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it.",
      "fits": true,
      "basis": "AI reading of the problem against the mechanism (a hypothesis); the mechanism's examples and counts are measured.",
      "risks": [
        "Opening with a question can feel generic unless the first line is specific",
        "An order that is too rigid may not fit every routine"
      ],
      "rejected_mechanisms": [
        {
          "label": "Demonstration",
          "mechanism": "demonstration",
          "its_examples": {
            "videos": 6,
            "best_views": 2700000,
            "verified_outliers": 6
          },
          "why_unsuitable": "Demonstration with little talk is the format of high-view routines, but this creator explains the reason for each step, so it does not su..."
        },
        {
          "label": "Mistake avoidance",
          "mechanism": "mistake_avoidance",
          "its_examples": {
            "videos": 2,
            "best_views": 706075,
            "verified_outliers": 2
          },
          "why_unsuitable": "Order is a sequence question rather than one mistake to fix, so a mistake frame fits less well."
        }
      ]
    },
    "account_fit": {
      "basis": {
        "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
        "strict_checks": "rules of the profile, checked exactly"
      },
      "reasons": [
        "Matches the beginner makeup basics pillar",
        "Fits the audience's interest in makeup for beginners"
      ],
      "verdict": "accept",
      "drift_risk": "low",
      "strict_checks": [
        {
          "pass": true,
          "check": "market",
          "detail": "Researched for US, a market this account serves."
        },
        {
          "pass": true,
          "check": "formats_wont",
          "detail": "Does not need a format this creator will not make (dance, lip sync, prank)."
        }
      ],
      "content_pillar": "beginner makeup basics",
      "preference_matches": [
        {
          "detail": "Uses \"tutorial\", a format this creator makes.",
          "matched": true,
          "preference": "formats"
        },
        {
          "detail": "Sits in the content pillar \"beginner makeup basics\".",
          "matched": true,
          "preference": "content_pillars"
        }
      ]
    },
    "signal_class": "jointly_validated",
    "angle": "Beginners can use one simple order that works for most drugstore products, and it explains where each step goes.",
    "scores": {
      "factors": {
        "usefulness": 93,
        "search_demand": 78,
        "social_evidence": 84,
        "audience_relevance": 90,
        "creative_suitability": 85
      },
      "priority": 90,
      "factor_reasons": {
        "usefulness": "Search demand is high and rising (2400 and 480 a month), and the answer is the core of a beginner routine. Raised because real viewer or ...",
        "search_demand": "2,400 Google searches a month for \"makeup order of application\", +64% (Google Trends, 4 weeks).",
        "social_evidence": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
        "audience_relevance": "Directly matches the beginner makeup basics pillar and the question of how to apply makeup.",
        "creative_suitability": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it."
      },
      "confidence_notes": {
        "match": "Members are close in meaning to the problem; borderline members were checked one by one; the mechanism was proven on outliers in this niche.",
        "search": "3 of 3 searches measured; the largest has 2,400 Google searches a month; trend +64%; 4 real questions.",
        "social": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
        "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
      },
      "match_confidence": 85,
      "search_confidence": 95,
      "social_confidence": 75,
      "evidence_confidence": 85
    },
    "evidence_refs": [
      {
        "id": "prb_D5EKnHzHJwg4",
        "url": null,
        "type": "audience_problem",
        "collected_at": "2026-11-24T07:00:46.720Z"
      },
      {
        "id": "tt7704002378617441566",
        "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
        "type": "video",
        "collected_at": "2026-11-18T19:58:46.033Z"
      }
    ],
    "limitations": [],
    "origin": "joint",
    "next_action": "produce",
    "next_action_why": "Search demand and social performance both support it, and a proven creative mechanism fits.",
    "reconciliation": {
      "why": "Search demand and social performance both support it.",
      "missing": [],
      "agreement": "agree",
      "contradictions": [],
      "evidence_state": {
        "search": "strong",
        "social": "strong"
      },
      "recommendation": "prioritize"
    },
    "hypotheses": [
      {
        "text": "What order should I apply my makeup in?",
        "basis": "AI reading of the videos, questions and searches",
        "field": "audience_problem"
      },
      {
        "text": "Search phrasings marked hypothesis are AI suggestions; their volumes and trends are measured.",
        "basis": "AI",
        "field": "search_intent.queries"
      }
    ],
    "brief": {
      "topic": "makeup application order for beginners",
      "labels": {
        "observed": [
          "references (views, ratios, monthly searches)"
        ],
        "hypotheses": [
          "topic"
        ]
      },
      "payoff": "The viewer knows the order to apply makeup in and why each step goes where it does.",
      "markdown": "# Brief: makeup application order for beginners\n\n**For:** women 18-30 learning makeup on a budget - **Market:** US - **Opportunity:** fop...",
      "structure": {
        "body": [
          "Show the first step, such as skincare or primer, and say why it goes first"
        ],
        "hook": "Ask the order question on camera and give the short answer straight away.",
        "format": "on-camera tutorial",
        "payoff": "End with the full order written out in a short line the viewer can save.",
        "seconds": 75
      },
      "key_points": [
        "Give the order in the first few seconds",
        "Explain the reason for each step in simple words"
      ],
      "references": [
        {
          "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
          "role": "social proof for the problem",
          "type": "video",
          "views": 1156436,
          "creator": "maddylevis",
          "platform": "tt",
          "outlier_ratio": 126.7
        },
        {
          "url": "https://www.tiktok.com/@khushhyyy/video/7706332671810473234",
          "role": "social proof for the problem",
          "type": "video",
          "views": 6339769,
          "creator": "khushhyyy",
          "platform": "tt",
          "outlier_ratio": 114.9
        }
      ],
      "short_form": {
        "beats": [
          {
            "n": 1,
            "beat": "Hook",
            "what": "Ask the order question and promise the short answer.",
            "end_s": 3,
            "seconds": 3,
            "start_s": 0,
            "on_screen_text": "Makeup order, in order"
          }
        ],
        "sound": {
          "url": "https://www.tiktok.com/music/x-7179704916477380609",
          "why": "1 of the source videos use it; 2 creators in this niche use it; 1 verified outlier use it",
          "label": "a suggestion (hypothesis) from measured numbers",
          "title": "Inspirational piano and strings, post-classical 10(1373065)",
          "author": null,
          "sound_id": "7179704916477380609",
          "daily_readings": null,
          "original_sound": false,
          "in_collected_videos": {
            "videos": 2,
            "creators": 2,
            "examples": [
              {
                "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
                "views": 1156436,
                "creator": "maddylevis",
                "platform": "tt",
                "video_id": "tt7704002378617441566",
                "outlier_ratio": 126.7
              }
            ],
            "total_views": 1815936,
            "verified_outliers": 1,
            "median_virality_score": 35.9,
            "source_videos_using_it": 1
          },
          "videos_using_it_as_of": null,
          "videos_using_it_on_tiktok": 76787
        },
        "ending": {
          "how": "The question points back to the opening question about which step goes first, so the replay starts with the same tension.",
          "line": "So which step were you doing out of order?",
          "type": "loop",
          "label": "hypothesis"
        },
        "labels": {
          "measured": [
            "target_length (unless basis default)"
          ],
          "hypotheses": [
            "hook_options"
          ]
        },
        "caption": {
          "text": "The beginner makeup order in one simple line, using drugstore products. Save it for your next getting-ready.",
          "label": "hypothesis"
        },
        "carousel": {
          "label": "hypothesis",
          "slides": [
            {
              "n": 1,
              "headline": "Still guessing which makeup goes on first?"
            }
          ]
        },
        "cut_pace": {
          "note": "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is...",
          "basis": "default",
          "label": "default",
          "examples": [],
          "measured_on": null,
          "cuts_per_10s": 4,
          "pacing_reading": [],
          "videos_measured": 0,
          "average_shot_seconds": 2.5
        },
        "hashtags": [
          {
            "tag": "makeup",
            "basis": "source videos",
            "collected": {
              "videos": 103,
              "creators": 97,
              "total_views": 238897704,
              "window_days": 90,
              "verified_outliers": 37,
              "median_virality_score": 25.9,
              "source_videos_using_it": 3
            },
            "daily_top_rank": null,
            "platform_totals": null
          }
        ],
        "platforms": [
          "TikTok"
        ],
        "real_hooks": [
          {
            "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
            "hook": "Which one is your lip combo?",
            "views": 5653340,
            "origin": "source video",
            "creator": "Farakhnoz_mua",
            "formula": "Which one is your [category]?",
            "platform": "yt",
            "video_id": "ytviubJrLs5Vs",
            "hook_type": "Question",
            "mechanisms": [
              "question"
            ],
            "outlier_ratio": null,
            "virality_score": 49.1
          }
        ],
        "limitations": [
          "Not measured: none of the source videos (and fewer than 2 niche outliers) has a measured creative breakdown, so the short-form default is..."
        ],
        "hook_options": [
          {
            "line": "Still guessing which makeup goes on first? Here's the full order in under a minute.",
            "label": "hypothesis",
            "visual": "Bare face to camera, with a row of drugstore products lined up on the counter.",
            "seconds": "0-3",
            "grounded_in": [
              {
                "url": "https://www.tiktok.com/@angelinalovesmakeup/video/7706650840462904589",
                "hook": "Who designed this one lol",
                "views": 390183,
                "origin": "source video",
                "creator": "angelinalovesmakeup",
                "formula": "Who designed this [product] lol",
                "platform": "tt",
                "video_id": "tt7706650840462904589",
                "hook_type": "Question",
                "mechanisms": [
                  "question"
                ],
                "outlier_ratio": 668.1,
                "virality_score": 35.8
              }
            ],
            "on_screen_text": "Makeup order, in order"
          }
        ],
        "sound_reason": null,
        "target_length": {
          "note": "The median length of 8 outliers in this niche (measured video lengths; longer than 3 minutes left out).",
          "basis": "measured",
          "examples": [
            {
              "url": "https://www.tiktok.com/@jacques.skin.tips/video/7702541831581469965",
              "views": 473600,
              "creator": "jacques.skin.tips",
              "seconds": 84,
              "platform": "tt",
              "video_id": "tt7702541831581469965",
              "outlier_ratio": 1149.5
            }
          ],
          "measured_on": "outliers in this niche",
          "range_seconds": {
            "to": 125,
            "from": 12
          },
          "median_seconds": 80,
          "target_seconds": 80,
          "videos_measured": 8
        },
        "short_form_interest": {
          "tags": [],
          "basis": null,
          "dates": {
            "to": "2026-11-23",
            "from": "2026-11-21",
            "days_held": 3
          },
          "source": "TikTok top 100 hashtags of the day (US), read daily",
          "status": "not_measured",
          "missing": [
            "None of the topic's hashtags (#makeup, #makeuptutorial, #grwm, #beautytips) or tags naming \"makeup\", \"drugstore\", \"hair\" is in the daily ..."
          ],
          "collected": [
            {
              "tag": "makeup",
              "note": "Collected videos only (what research runs gathered): a sample, not the platform's totals. Shown, never scored.",
              "last_28_days": {
                "videos": 177,
                "creators": 153,
                "median_virality_score": -5.5
              },
              "previous_28_days": {
                "videos": 36,
                "creators": 34,
                "median_virality_score": 8.4
              }
            }
          ],
          "growth_pct": null,
          "rank_change": null,
          "used_in_score": false
        }
      },
      "example_hook": "Do you put primer on before or after foundation? Here is the order I use, and why it works.",
      "hook_approach": "Open with the exact question the viewer is asking, then answer it in the first line.",
      "audience_problem": "What order do I apply makeup in?",
      "questions_to_answer": [
        {
          "source": "people_also_ask",
          "question": "What is the basic order for applying makeup?"
        },
        {
          "source": "people_also_ask",
          "question": "What are the 10 steps of makeup?"
        }
      ]
    },
    "research_at": "2026-11-24T07:00:46.720Z",
    "rejected_at": null,
    "reject_reason": null,
    "score_notes": {
      "priority": "How strongly to act on this opportunity now, 0-100, from the five factors below. A factor that could not be measured is shown as null and...",
      "evidence_confidence": "How much measured evidence stands behind the opportunity, 0-95, kept separate from priority: a promising idea with thin evidence has a hi...",
      "social_confidence": "How solid the social evidence is (how many videos and creators, verified outliers, creator baselines). null when no social evidence is held.",
      "search_confidence": "How solid the search evidence is (measured volumes, Google Trends, real questions people ask). null when nothing was measured.",
      "match_confidence": "How sure the engine is that the searches, the videos and the creative mechanism belong to the same audience problem.",
      "factors": {
        "audience_relevance": "How closely the audience problem matches your Audience DNA (an AI judgement, with reasons).",
        "search_demand": "Demonstrated search demand for the problem (measured searches and their trend). null when no search data was measured.",
        "social_evidence": "Social performance evidence (verified outliers, independent creators, momentum). null when no social videos back it.",
        "usefulness": "How useful the content would be to someone with this problem (an AI judgement, raised by real viewer and search questions).",
        "creative_suitability": "How well the proven creative mechanism suits this problem and your Creator DNA (an AI judgement, checked against your strict rules)."
      },
      "signal_class": "jointly_validated: search demand and social performance both support it. social_led: social performance supports it, search does not yet ...",
      "labels": "Measured numbers (views, ratios, volumes, trends) are observed. Audience problems, angles, hook approaches, structures and fit judgements..."
    }
  }
}
```

### POST /api/v2/fusion/opportunities/{id}/reject

Reject a Fusion opportunity (feedback): its topic is left out of the next Fusion jobs for the same profile, and portfolios drop it.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |
| `reason` | body | string | Why (optional) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/opportunities/fop_Hd2Rk8Lw4QxN/reject" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Already covered last month"}'
```

Example reply:

```json
{
  "data": {
    "id": "fop_Hd2Rk8Lw4QxN",
    "rejected": true,
    "note": "Its topic is left out of the next Fusion jobs for the same profile and of portfolios (it stays listed, with rejected_at)."
  }
}
```

### GET /api/v2/fusion/opportunities/{id}/explanation

How one Fusion opportunity was reached, from the stored research: the steps in order (each with its direction push, pull or fusion, its inputs and outputs, and its basis: observed, inferred, or "observed and inferred" where a step joins measured rules with an AI reading), the social examples and the search queries and questions that contributed, the creative mechanism and why it fits, conflicts between the two sides and what is missing, the account-fit result, and the separate confidences (social, search, match, evidence) with notes. Explains why in plain language; observed facts and AI readings are labelled apart.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |

```bash
curl "https://lulubanana.com/api/v2/fusion/opportunities/fop_Hd2Rk8Lw4QxN/explanation" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "opportunity_id": "fop_nUBD0L7yAbkC",
    "topic": "makeup application order for beginners",
    "origin": "joint",
    "signal_class": "jointly_validated",
    "research_at": "2026-11-24T07:00:46.720Z",
    "steps": [
      {
        "name": "social evidence",
        "step": 1,
        "basis": "observed",
        "inputs": {
          "source": "agent 1",
          "videos": 397,
          "creators": 359,
          "window_days": 30,
          "verified_outliers": 42
        },
        "outputs": {
          "creators": 3,
          "verified_outliers": 2,
          "best_outlier_ratio": 126.7,
          "videos_for_this_problem": 3
        },
        "direction": "push"
      },
      {
        "name": "search evidence already held",
        "step": 2,
        "basis": "observed",
        "inputs": {
          "items": 28,
          "by_source": {
            "profile": 3,
            "own_search": 14,
            "people_also_ask": 11
          }
        },
        "outputs": {
          "items": [
            {
              "text": "makeup order of application",
              "source": "own_search"
            }
          ],
          "pull_items_for_this_problem": 4
        },
        "direction": "pull"
      }
    ],
    "social_examples": [
      {
        "url": "https://www.tiktok.com/@maddylevis/video/7704002378617441566",
        "hook": null,
        "views": 1156436,
        "posted": "2026-11-03",
        "creator": "maddylevis",
        "platform": "tt",
        "verified": true,
        "video_id": "tt7704002378617441566",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 126.7,
        "baseline_posts": 20,
        "virality_score": 42.7
      },
      {
        "url": "https://www.tiktok.com/@khushhyyy/video/7706332671810473234",
        "hook": null,
        "views": 6339769,
        "posted": "2026-11-10",
        "creator": "khushhyyy",
        "platform": "tt",
        "verified": true,
        "video_id": "tt7706332671810473234",
        "outlier_class": "exceptional_breakout",
        "outlier_ratio": 114.9,
        "baseline_posts": 20,
        "virality_score": 37.1
      }
    ],
    "search_questions": {
      "queries": [
        {
          "query": "makeup order of application",
          "trend": "rising",
          "intent": "informational",
          "source": "observed",
          "volume": 2400,
          "measured": true,
          "trend_pct": 64,
          "checked_at": "2026-11-23T18:16:41.418Z"
        },
        {
          "query": "what order to apply makeup",
          "trend": "rising",
          "intent": "tutorial",
          "source": "hypothesis",
          "volume": 480,
          "measured": true,
          "trend_pct": 17,
          "checked_at": "2026-11-24T06:14:46.819Z"
        }
      ],
      "questions": [
        {
          "source": "people_also_ask",
          "audit_id": "sau_Xg1Gx3z5cd9t",
          "question": "What is the basic order for applying makeup?"
        },
        {
          "source": "people_also_ask",
          "audit_id": "sau_Xg1Gx3z5cd9t",
          "question": "What are the 10 steps of makeup?"
        }
      ]
    },
    "mechanism": {
      "name": "question",
      "validation": "direct",
      "description": "Opens with the question the viewer is already asking.",
      "why_it_fits": "The order question is one the viewer is already asking, so opening with it sets up the answer and tells the viewer the video will solve it.",
      "risks": [
        "Opening with a question can feel generic unless the first line is specific",
        "An order that is too rigid may not fit every routine"
      ],
      "source_examples": [
        {
          "url": "https://www.youtube.com/shorts/viubJrLs5Vs",
          "hook": "Which one is your lip combo?",
          "views": 5653340,
          "format": "Tutorial",
          "posted": "2026-11-08",
          "proven": "on outliers in this niche",
          "creator": "Farakhnoz_mua",
          "formula": "Which one is your [category]?",
          "platform": "yt",
          "verified": true,
          "video_id": "ytviubJrLs5Vs",
          "outlier_class": null,
          "outlier_ratio": null,
          "baseline_posts": null,
          "virality_score": 49.1
        },
        {
          "url": "https://www.tiktok.com/@angelinalovesmakeup/video/7706650840462904589",
          "hook": "Who designed this one lol",
          "views": 390183,
          "format": null,
          "posted": "2026-11-10",
          "proven": "on outliers in this niche",
          "creator": "angelinalovesmakeup",
          "formula": "Who designed this [product] lol",
          "platform": "tt",
          "verified": true,
          "video_id": "tt7706650840462904589",
          "outlier_class": "exceptional_breakout",
          "outlier_ratio": 668.1,
          "baseline_posts": 20,
          "virality_score": 35.8
        }
      ]
    },
    "conflicts": {
      "contradictions": [],
      "missing": [],
      "agreement": "agree",
      "evidence_state": {
        "search": "strong",
        "social": "strong"
      }
    },
    "confidence": {
      "social": 75,
      "search": 95,
      "match": 85,
      "evidence": 85,
      "notes": {
        "match": "Members are close in meaning to the problem; borderline members were checked one by one; the mechanism was proven on outliers in this niche.",
        "search": "3 of 3 searches measured; the largest has 2,400 Google searches a month; trend +64%; 4 real questions.",
        "social": "3 videos from 3 creators, 2 verified outliers, 2 with a creator baseline.",
        "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
      }
    },
    "account_fit": {
      "basis": {
        "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
        "strict_checks": "rules of the profile, checked exactly"
      },
      "reasons": [
        "Matches the beginner makeup basics pillar",
        "Fits the audience's interest in makeup for beginners"
      ],
      "verdict": "accept",
      "drift_risk": "low",
      "strict_checks": [
        {
          "pass": true,
          "check": "market",
          "detail": "Researched for US, a market this account serves."
        },
        {
          "pass": true,
          "check": "formats_wont",
          "detail": "Does not need a format this creator will not make (dance, lip sync, prank)."
        }
      ],
      "content_pillar": "beginner makeup basics",
      "preference_matches": [
        {
          "detail": "Uses \"tutorial\", a format this creator makes.",
          "matched": true,
          "preference": "formats"
        },
        {
          "detail": "Sits in the content pillar \"beginner makeup basics\".",
          "matched": true,
          "preference": "content_pillars"
        }
      ]
    },
    "next_action": "produce",
    "next_action_why": "Search demand and social performance both support it, and a proven creative mechanism fits.",
    "hypotheses": [
      {
        "text": "What order should I apply my makeup in?",
        "basis": "AI reading of the videos, questions and searches",
        "field": "audience_problem"
      },
      {
        "text": "Search phrasings marked hypothesis are AI suggestions; their volumes and trends are measured.",
        "basis": "AI",
        "field": "search_intent.queries"
      }
    ],
    "limitations": [],
    "labels": "Steps marked observed rest on measured rows (videos, counts, volumes, trends). Steps marked inferred are AI readings: hypotheses, not facts."
  }
}
```

### POST /api/v2/fusion/bidirectional-research

Research in either direction between social performance (push) and search demand (pull), one seed at a time. push_to_pull: a video (video_id or video_url of a video we hold) or a topic -> its audience problem -> the searches and questions behind it. pull_to_push: a question or keyword -> its audience problem -> proven social formats that explain similar problems (neighbouring topics when the niche itself has none, said so). both: one seed of each (the result says whether they name the same problem); auto (default) picks from the seeds sent. The result keeps push_contribution and pull_contribution apart, names the audience problem (stable id prb_...), says which direction to research next and why (next_direction, decided from the missing evidence, with its cost and the call), and returns one or more opportunity drafts with the same fields as Fusion opportunities (stored with draft true: usable with the explanation, escalation, account-fit and outcome routes). Either direction works alone when the other side has too little data, and says so. The reasoning is included, up to 30 a day; spend_limit (default 0 = stored data only, up to 600) allows search checks (10 credits each) for lookups not stored in the last 7 days, never beyond it. Async: poll /analysis/jobs/{job_id} (under a minute).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `direction` | body | push_to_pull, pull_to_push, both, auto | auto (default), push_to_pull, pull_to_push or both |
| `video_id` | body | string | Push seed: a video id from your results |
| `video_url` | body | string | Push seed: a link to a video we already hold |
| `topic` | body | string | Push seed: a topic |
| `question` | body | string | Pull seed: a question people ask, e.g. "how to prevent hair damage" |
| `keyword` | body | string | Pull seed: a search phrase |
| `profile_id` | body | number | A saved profile: its Audience DNA and Creator DNA are used (or send profile) |
| `profile` | body | object | An inline profile instead of profile_id: { audience_dna { niche, audience, problems, market, tone, ... }, creator_dna { personality, presentation, content_pillars, formats_can, formats_wont, published, optimise_for, strict, preferences, ... } } |
| `niche` | body | string | The niche (default: the profile's) |
| `platform` | body | tt, yt, ig | Only social examples from tt, yt or ig |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `spend_limit` | body | number | Credits the job may spend on search checks, 0-600 (default 0 = stored data only) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/bidirectional-research" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"direction":"pull_to_push","question":"how to prevent hair damage","profile_id":7,"market":"US","spend_limit":10}'
```

First reply:

```json
{
  "data": {
    "job_id": 1002,
    "status": "queued",
    "direction": "pull_to_push",
    "video_id": null,
    "market": "US",
    "profile_id": 7,
    "spend": {
      "limit": 10,
      "note": "Nothing is charged now. Search checks (10 credits each) are charged one at a time as the job buys them, only for lookups not stored in the last 7 days and never beyond 10 credits: the result's spend lists every charge."
    },
    "poll_url": "/api/v2/analysis/jobs/1002",
    "opportunities_url": "/api/v2/fusion/opportunities?job_id=1002",
    "poll_after_seconds": 10,
    "credits_used": 0
  }
}
```

GET /analysis/jobs/{id} (when the job is done; real data, trimmed):

```json
{
  "data": {
    "id": 2661,
    "kind": "fusion_bidir",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "gaps": [
        {
          "call": {
            "body": {
              "market": "US",
              "keywords": [
                "how to prevent hair damage"
              ]
            },
            "path": "/search/demand",
            "method": "POST"
          },
          "what": "Search demand for 5 searches: \"how to prevent hair damage\", \"how to stop heat damage hair\", \"protect hair from heat styling\", \"heat prote...",
          "why_it_matters": "Without measured demand these searches count as not measured (unknown, never zero): the search side of the opportunities that rest on the...",
          "cost_to_resolve": 10,
          "opportunity_ids": [
            "fop_kinDX3RWPCec"
          ],
          "why_not_resolved": "Not looked up: outside the spending limit of 0 credits."
        }
      ],
      "spend": {
        "used": 0,
        "limit": 0,
        "breakdown": [],
        "remaining_in_limit": 0,
        "search_checks_bought": 0
      },
      "drafts": [
        {
          "id": "fop_kinDX3RWPCec",
          "arm": "fusion",
          "rank": 1,
          "angle": "Three heat-styling habits that quietly make hair feel dry and straw-like, with a calm swap for each, so a beginner can change her routine...",
          "brief": {
            "topic": "preventing heat damage when styling hair",
            "labels": {
              "observed": [
                "references (views, ratios, monthly searches)"
              ],
              "hypotheses": [
                "topic"
              ]
            },
            "payoff": "A short, saveable checklist of heat-styling habits to change, with the reason behind each one.",
            "markdown": "# Brief: preventing heat damage when styling hair\n\n**For:** women 18-30 learning makeup on a budget - **Market:** US - **Opportunity:** f...",
            "structure": {
              "body": [
                "Habit one: why it causes damage, explained plainly, with the swap shown on hair."
              ],
              "hook": "Within the first two seconds she names the habit on camera while holding the styling tool, with the hair visibly dry or frizzy.",
              "format": "on-camera tutorial with demo",
              "payoff": "She ends by saying which habit to change first and asks viewers to save the list for the next styling session.",
              "seconds": 60
            },
            "key_points": [
              "Name three specific heat-styling habits, with the why behind each."
            ],
            "references": [
              {
                "url": "https://www.tiktok.com/@callieskincare/video/7697739540609420560",
                "role": "example of the Mistake avoidance mechanism (on the nearest proven problems of the same kind)",
                "type": "video",
                "views": 921869,
                "creator": "callieskincare",
                "platform": "tt",
                "outlier_ratio": 109.7
              }
            ],
            "example_hook": "The heat styling habit I kept repeating until my ends felt like straw.",
            "hook_approach": "Open on the habit itself in first person, naming it as something the creator used to do, so the viewer recognises herself without being t...",
            "audience_problem": "How do I stop my hair from getting damaged when I style it?",
            "questions_to_answer": [
              {
                "source": "people_also_ask",
                "question": "What damages hair the most?"
              }
            ]
          },
          "draft": true,
          "niche": "makeup for beginners",
          "topic": "preventing heat damage when styling hair",
          "job_id": 2661,
          "market": "US",
          "origin": "pull_first",
          "scores": {
            "factors": {
              "usefulness": 70,
              "search_demand": null,
              "social_evidence": null,
              "audience_relevance": 84,
              "creative_suitability": 76
            },
            "priority": 66,
            "factor_reasons": {
              "usefulness": "Real searches and questions show clear demand for prevention and repair advice, but search volume is unmeasured and some questions (vitam...",
              "search_demand": "Not measured (null): no search volume or trend is known for this problem's searches.",
              "social_evidence": "Not measured (null): no social videos back this problem yet.",
              "audience_relevance": "Heat damage is a stated audience problem and hair care basics is a listed interest and content pillar, though the account's published wor...",
              "creative_suitability": "Naming a heat-styling habit the viewer is probably repeating and then showing the fix suits a damage problem that the viewer can change i..."
            },
            "confidence_notes": {
              "match": "Members are close in meaning to the problem; the mechanism was proven on the nearest proven problems of the same kind.",
              "search": "No search demand was measured for this problem (unknown, not zero).",
              "social": "No social videos are held for this problem.",
              "evidence": "A missing side lowers the evidence confidence. In the priority it counts as neutral: neither for nor against."
            },
            "match_confidence": 74,
            "search_confidence": null,
            "social_confidence": null,
            "evidence_confidence": 19
          },
          "agent_id": null,
          "subniche": null,
          "experiment": false,
          "hypotheses": [
            {
              "text": "How do I stop my hair from getting damaged, especially from heat styling?",
              "basis": "AI reading of the videos, questions and searches",
              "field": "audience_problem"
            }
          ],
          "profile_id": 9,
          "account_fit": {
            "basis": {
              "reasons": "AI reading of the Audience DNA and Creator DNA (a hypothesis)",
              "strict_checks": "rules of the profile, checked exactly"
            },
            "reasons": [
              "Matches the beginner audience's interest in hair care basics and their stated heat-damage problem."
            ],
            "verdict": "accept",
            "drift_risk": "low",
            "strict_checks": [
              {
                "pass": true,
                "check": "market",
                "detail": "Researched for US, a market this account serves."
              }
            ],
            "content_pillar": "hair care basics",
            "preference_matches": [
              {
                "detail": "Uses \"tutorial\", a format this creator makes.",
                "matched": true,
                "preference": "formats"
              }
            ]
          },
          "limitations": [
            "No collected video addresses \"preventing heat damage when styling hair\" or a neighbouring problem: the push side has too little data, so ..."
          ],
          "next_action": "gather_evidence",
          "research_at": "2026-11-23T20:26:59.258Z",
          "signal_class": "exploratory",
          "social_proof": [],
          "evidence_refs": [
            {
              "id": "prb_CUv1hW0iSWNv",
              "url": null,
              "type": "audience_problem",
              "collected_at": "2026-11-23T20:26:59.258Z"
            }
          ],
          "search_intent": {
            "demand": {
              "state": "missing",
              "trend": "unknown",
              "market": "US",
              "source": "Google Ads keyword data and Google Trends",
              "trend_pct": null,
              "best_query": null,
              "trend_basis": null,
              "collected_at": null,
              "measured_queries": 0,
              "monthly_searches": null,
              "google_ads_3m_pct": null,
              "google_trends_4w_pct": null,
              "youtube_trends_4w_pct": null
            },
            "missing": [
              "Search demand was not looked up for these searches (unknown, not zero)."
            ],
            "queries": [
              {
                "query": "how to prevent hair damage",
                "trend": "unknown",
                "intent": "informational",
                "source": "seed",
                "volume": null,
                "measured": false,
                "trend_pct": null,
                "checked_at": null
              }
            ],
            "questions": [
              {
                "source": "people_also_ask",
                "audit_id": "sau_sheGr826iN9f",
                "question": "What damages hair the most?"
              }
            ]
          },
          "reconciliation": {
            "why": "Too little is measured to decide: the missing evidence listed here would settle it.",
            "missing": [
              "social: no videos are held for this audience problem"
            ],
            "agreement": "insufficient",
            "contradictions": [],
            "evidence_state": {
              "search": "missing",
              "social": "missing"
            },
            "recommendation": "gather_evidence"
          },
          "next_action_why": "Too little is measured to decide: resolve the evidence gaps listed first.",
          "audience_problem": {
            "id": "prb_CUv1hW0iSWNv",
            "kind": "instructional",
            "label": "hypothesis",
            "statement": "How do I stop my hair from getting damaged when I style it?",
            "seen_before": true,
            "specificity": "question",
            "as_found_now": "How do I stop my hair from getting damaged, especially from heat styling?"
          },
          "creative_mechanism": {
            "name": "mistake_avoidance",
            "label": "Mistake avoidance",
            "format": "on-camera tutorial with demo",
            "proven": "on the nearest proven problems of the same kind",
            "pattern": {
              "body": "Show the mistake, why it backfires, then the right way step by step.",
              "hook": "Call out the mistake in the first line.",
              "payoff": "The corrected result next to the mistake."
            },
            "evidence": {
              "videos": 6,
              "creators": 6,
              "verified_outliers": 5
            },
            "structure": {
              "body": [
                "Habit one: why it causes damage, explained plainly, with the swap shown on hair."
              ],
              "hook": "Within the first two seconds she names the habit on camera while holding the styling tool, with the hair visibly dry or frizzy.",
              "payoff": "She ends by saying which habit to change first and asks viewers to save the list for the next styling session."
            },
            "validation": "cross_niche",
            "description": "Names a mistake the viewer is probably making, then shows the fix.",
            "source_examples": [
              {
                "url": "https://www.tiktok.com/@callieskincare/video/7697739540609420560",
                "hook": "1. Stopped washing my face in the shower with hot water",
                "views": 921869,
                "format": null,
                "posted": "2026-10-17",
                "proven": "on the nearest proven problems of the same kind",
                "creator": "callieskincare",
                "formula": "1. Stopped [habit] 2. Stopped [habit] 3. [habit]",
                "platform": "tt",
                "verified": true,
                "video_id": "tt7697739540609420560",
                "outlier_class": "exceptional_breakout",
                "outlier_ratio": 109.7,
                "baseline_posts": 20,
                "virality_score": 46.7
              }
            ]
          },
          "mechanism_compatibility": {
            "why": "Naming a heat-styling habit the viewer is probably repeating and then showing the fix suits a damage problem that the viewer can change i...",
            "fits": true,
            "basis": "AI reading of the problem against the mechanism (a hypothesis); the mechanism's examples and counts are measured.",
            "risks": [
              "Listing several habits can run past 90 seconds unless the list is capped at three."
            ],
            "rejected_mechanisms": [
              {
                "label": "Demonstration",
                "mechanism": "demonstration",
                "its_examples": {
                  "videos": 8,
                  "best_views": 2700000,
                  "verified_outliers": 6
                },
                "why_unsuitable": "Its examples are tutorial-style with little talk, but this creator explains the why in a calm, on-camera voice, so a talk-light demo woul..."
              }
            ]
          }
        }
      ],
      "market": "US",
      "rejected": [],
      "direction": "pull_to_push",
      "profile_id": 9,
      "limitations": [
        "No collected video addresses \"preventing heat damage when styling hair\" or a neighbouring problem: the push side has too little data, so ..."
      ],
      "research_at": "2026-11-23T20:26:59.258Z",
      "same_problem": null,
      "next_direction": {
        "why": "Search demand is not measured for this problem: measure it before treating it as demanded.",
        "call": {
          "body": {
            "market": "US",
            "keywords": [
              "how to prevent hair damage"
            ]
          },
          "path": "/search/demand",
          "method": "POST"
        },
        "direction": "pull",
        "cost_credits": 10,
        "missing_evidence": [
          "Search demand was not looked up for these searches (unknown, not zero)."
        ]
      },
      "audience_problem": {
        "id": "prb_CUv1hW0iSWNv",
        "kind": "instructional",
        "label": "hypothesis",
        "statement": "How do I stop my hair from getting damaged when I style it?",
        "seen_before": true,
        "specificity": "question",
        "as_found_now": "How do I stop my hair from getting damaged, especially from heat styling?"
      },
      "pull_contribution": {
        "adds": "Nothing measured yet: 5 searches were worked out for the problem but none has stored demand (spend_limit was 0, so nothing was looked up).",
        "best": null,
        "seed": {
          "text": "how to prevent hair damage"
        },
        "state": "missing",
        "measured": 0,
        "searches": 5,
        "direction": "pull",
        "observed_questions": 4
      },
      "push_contribution": {
        "adds": "Nothing direct yet: no social video is held for this exact problem. The Mistake avoidance mechanism comes from the nearest proven problem...",
        "seed": null,
        "state": "missing",
        "videos": 0,
        "direction": "push",
        "viewer_questions": 0,
        "verified_outliers": 0,
        "neighbouring_videos": 0,
        "mechanism_candidates": [
          {
            "proven": "on the nearest proven problems of the same kind",
            "videos": 8,
            "mechanism": "demonstration",
            "verified_outliers": 6
          }
        ]
      }
    },
    "error": null,
    "created_at": "2026-11-23T20:26:28.115Z",
    "finished_at": "2026-11-23T20:27:21.713Z",
    "poll_after_seconds": null
  }
}
```

### POST /api/v2/fusion/problem-intent-match

Group videos, search queries and free texts by the audience problem they share: by meaning, not by shared keywords. Send up to 50 items, each { video_id } (a video we hold), { query } or { text }. Result: problems [{ id (stable prb_...: a statement that means the same reuses its id), statement, kind (informational, instructional, comparison, purchase_decision, curiosity), specificity (topic or question), members [{ type, ref, relation observed or inferred, similarity or null }] }] and false_matches_rejected [{ a, b, reason, shared_words }]: pairs that share a keyword but mean something different. Problem statements are AI-written hypotheses; membership of a video or query you sent is observed. Included, up to 30 a day. Async: poll /analysis/jobs/{job_id} (about 15 seconds).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `items` (required) | body | array | 1-50 items, each { video_id } / { query } / { text } |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |
| `profile_id` | body | number | A saved profile: its Audience DNA and Creator DNA are used (or send profile) |
| `profile` | body | object | An inline profile instead of profile_id: { audience_dna { niche, audience, problems, market, tone, ... }, creator_dna { personality, presentation, content_pillars, formats_can, formats_wont, published, optimise_for, strict, preferences, ... } } |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/problem-intent-match" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"market":"US","profile_id":7,"items":[{"query":"how to prevent hair damage"},{"query":"heat protectant before straightening"},{"text":"my hair feels like straw after I flat iron it"},{"query":"how to get makeup stains out of clothes"},{"query":"makeup order of application"}]}'
```

First reply:

```json
{
  "data": {
    "job_id": 1003,
    "status": "queued",
    "items": 5,
    "market": "US",
    "poll_url": "/api/v2/analysis/jobs/1003",
    "poll_after_seconds": 10,
    "credits_used": 0
  }
}
```

GET /analysis/jobs/{id} (when the job is done; real data, trimmed):

```json
{
  "data": {
    "id": 4506,
    "kind": "fusion_match",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "items": 6,
      "labels": {
        "observed": [
          "members with relation observed (the item states the problem itself)"
        ],
        "hypotheses": [
          "problem statements, kinds and which items belong together (AI reading)"
        ]
      },
      "market": "US",
      "skipped": [],
      "problems": [
        {
          "id": "prb_CUv1hW0iSWNv",
          "kind": "instructional",
          "members": [
            {
              "ref": "how to prevent hair damage",
              "type": "query",
              "relation": "inferred",
              "similarity": 0.84
            }
          ],
          "statement": "How do I stop my hair from getting damaged when I style it?",
          "seen_before": true,
          "specificity": "topic"
        },
        {
          "id": "prb_D5EKnHzHJwg4",
          "kind": "instructional",
          "members": [
            {
              "ref": "makeup order of application",
              "type": "query",
              "relation": "inferred",
              "similarity": 0.85
            }
          ],
          "statement": "What order do I apply makeup in?",
          "seen_before": true,
          "specificity": "question"
        }
      ],
      "created_at": "2026-11-24T07:12:26.101Z",
      "profile_id": 9,
      "limitations": [],
      "false_matches_rejected": [
        {
          "a": {
            "ref": "how to get makeup stains out of clothes",
            "type": "query"
          },
          "b": {
            "ref": "makeup order of application",
            "type": "query"
          },
          "reason": "they share the word 'makeup' but one is about removing stains from clothing and the other is about the order to apply makeup on the face,...",
          "found_by": "ai",
          "similarity": 0.68,
          "shared_words": [
            "makeup"
          ]
        }
      ]
    },
    "error": null,
    "created_at": "2026-11-24T07:12:15.079Z",
    "finished_at": "2026-11-24T07:12:26.101Z",
    "poll_after_seconds": null
  }
}
```

### GET /api/v2/fusion/problems

The audience problems the Fusion Engine has found for your account (stable ids prb_...), most recently seen first, each with how many searches, videos, mechanisms, topics and opportunities are linked to it. Filters: kind, q (words in the statement).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `kind` | query | informational, instructional, comparison, purchase_decision, curiosity | informational, instructional, comparison, purchase_decision, curiosity |
| `q` | query | string | Words in the statement |
| `limit` | query | string | 1-100 (default 20) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v2/fusion/problems?kind=instructional" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": [
    {
      "id": "prb_224SQKH9wDoq",
      "statement": "How do I stop heat damage on my hair?",
      "kind": "instructional",
      "specificity": "question",
      "niche": "makeup for beginners",
      "market": "US",
      "times_seen": 3,
      "created_at": "2026-11-23T20:29:12.318Z",
      "updated_at": "2026-11-24T07:12:36.761Z",
      "linked": {
        "queries": 9,
        "videos": 0,
        "mechanisms": 7,
        "topics": 2,
        "opportunities": 1
      }
    },
    {
      "id": "prb_D5EKnHzHJwg4",
      "statement": "What order do I apply makeup in?",
      "kind": "instructional",
      "specificity": "question",
      "niche": "makeup for beginners",
      "market": "US",
      "times_seen": 19,
      "created_at": "2026-11-23T19:52:28.678Z",
      "updated_at": "2026-11-24T07:12:26.091Z",
      "linked": {
        "queries": 25,
        "videos": 6,
        "mechanisms": 3,
        "topics": 14,
        "opportunities": 2
      }
    }
  ],
  "next_cursor": "Mg"
}
```

### GET /api/v2/fusion/problems/{id}

One audience problem with everything linked to it: its search queries, videos, creative mechanisms, topics and opportunities, each marked observed (measured or sent by you) or inferred (an AI reading), with its similarity when known.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `id` (required) | path | string | The id in the path |

```bash
curl "https://lulubanana.com/api/v2/fusion/problems/prb_Hr4Dm6Qa1ZsP" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "id": "prb_CUv1hW0iSWNv",
    "statement": "How do I stop my hair from getting damaged when I style it?",
    "kind": "instructional",
    "specificity": "question",
    "niche": "makeup for beginners",
    "market": "US",
    "times_seen": 39,
    "created_at": "2026-11-23T20:02:30.994Z",
    "updated_at": "2026-11-24T07:12:26.088Z",
    "queries": [
      {
        "ref": "how to stop hair damage from heat styling",
        "relation": "inferred",
        "similarity": 0.96,
        "intent": "informational",
        "market": "US",
        "volume": null,
        "linked_at": "2026-11-23T20:22:44.302Z"
      },
      {
        "ref": "prevent hair damage from heat styling",
        "relation": "inferred",
        "similarity": 0.93,
        "intent": "tutorial",
        "market": "US",
        "volume": null,
        "linked_at": "2026-11-23T22:13:01.134Z"
      }
    ],
    "videos": [],
    "mechanisms": [
      {
        "ref": "mistake_avoidance",
        "relation": "inferred",
        "similarity": null,
        "fits": true,
        "validation": "cross_niche",
        "linked_at": "2026-11-24T06:13:17.663Z"
      },
      {
        "ref": "social_proof",
        "relation": "inferred",
        "similarity": null,
        "fits": false,
        "validation": "cross_niche",
        "linked_at": "2026-11-24T06:07:44.134Z"
      }
    ],
    "topics": [
      {
        "ref": "ways to stop damaging my hair with heat",
        "relation": "inferred",
        "similarity": 0.95,
        "market": "US",
        "linked_at": "2026-11-24T06:13:28.107Z"
      },
      {
        "ref": "my hair feels like straw after I flat iron it",
        "relation": "inferred",
        "similarity": 0.69,
        "market": "US",
        "linked_at": "2026-11-24T07:12:26.095Z"
      }
    ],
    "opportunities": [
      {
        "ref": "fop_kinDX3RWPCec",
        "relation": "inferred",
        "similarity": null,
        "arm": "fusion",
        "draft": true,
        "priority": 66,
        "signal_class": "exploratory",
        "linked_at": "2026-11-23T20:27:21.711Z"
      }
    ]
  }
}
```

### POST /api/v2/fusion/format-demand-match

Which proven social formats suit one audience problem. Send a question, a keyword or a problem_id. Result: the audience problem (stable id), mechanisms [{ name, description, why_fits, validation (direct: proven on this problem's own videos; cross_niche: proven on neighbouring problems, used when allow_adjacent is true and the niche itself has no proof), source_examples [{ url, creator, views, outlier }], execution (an original concept, hook approach and beats for this problem, labelled hypothesis) }] and rejected_formats [{ format, why_unsuitable }]: formats that do not suit the problem or the profile, however viral their examples are. Source examples are real videos; the execution is AI-written. Included, up to 30 a day. Async: poll /analysis/jobs/{job_id} (under a minute).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `question` | body | string | A question people ask, e.g. "how to prevent hair damage" (or keyword or problem_id) |
| `keyword` | body | string | A search phrase (or question or problem_id) |
| `problem_id` | body | string | One of your audience problems, prb_... (or question or keyword) |
| `profile_id` | body | number | A saved profile: its Audience DNA and Creator DNA are used (or send profile) |
| `profile` | body | object | An inline profile instead of profile_id: { audience_dna { niche, audience, problems, market, tone, ... }, creator_dna { personality, presentation, content_pillars, formats_can, formats_wont, published, optimise_for, strict, preferences, ... } } |
| `niche` | body | string | The niche (default: the profile's) |
| `platform` | body | tt, yt, ig | Only examples from tt, yt or ig |
| `allow_adjacent` | body | boolean | Use formats proven on neighbouring problems when this one has no proof of its own (default true) |
| `market` | body | US, GB, CA, AU | US (default), GB, CA or AU |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/format-demand-match" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question":"how to prevent hair damage","profile_id":7,"allow_adjacent":true,"market":"US"}'
```

First reply:

```json
{
  "data": {
    "job_id": 1004,
    "status": "queued",
    "problem_id": null,
    "market": "US",
    "poll_url": "/api/v2/analysis/jobs/1004",
    "poll_after_seconds": 10,
    "credits_used": 0
  }
}
```

GET /analysis/jobs/{id} (when the job is done; real data, trimmed):

```json
{
  "data": {
    "id": 4507,
    "kind": "fusion_format",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "labels": {
        "observed": [
          "source_examples (views, outlier, links)"
        ],
        "hypotheses": [
          "why_fits"
        ]
      },
      "evidence": {
        "platform": null,
        "direct_videos": 0,
        "allow_adjacent": true,
        "neighbouring_videos": 0
      },
      "created_at": "2026-11-24T07:13:04.193Z",
      "mechanisms": [
        {
          "name": "mistake_avoidance",
          "label": "Mistake avoidance",
          "proven": "on close problems in other topics",
          "evidence": {
            "videos": 3,
            "creators": 3,
            "verified_outliers": 3
          },
          "why_fits": "The viewer is probably repeating a heat habit they don't know is causing damage, such as leaving the tool on maximum or styling damp hair...",
          "execution": {
            "beats": [
              "Hook: name the default habit of cranking the heat to max and holding the tool on one section."
            ],
            "label": "hypothesis",
            "concept": "The dial on your straightener is doing more damage than the product you skipped. Walk through the default heat habit most beginners never...",
            "hook_approach": "Open on the straightener at its highest setting, then say calmly that this is the habit to change first. Name the mistake in the first tw..."
          },
          "validation": "cross_niche",
          "description": "Names a mistake the viewer is probably making, then shows the fix.",
          "source_examples": [
            {
              "url": "https://www.tiktok.com/@callieskincare/video/7697739540609420560",
              "views": 921869,
              "proven": "on close problems in other topics",
              "creator": "callieskincare",
              "outlier": true,
              "platform": "tt",
              "hook_formula": "1. Stopped [habit] 2. Stopped [habit] 3. [habit]",
              "outlier_ratio": 109.7
            }
          ]
        },
        {
          "name": "listicle",
          "label": "List",
          "proven": "on close problems in other topics",
          "evidence": {
            "videos": 2,
            "creators": 2,
            "verified_outliers": 2
          },
          "why_fits": "The problem comes from a few specific habits that can be listed and fixed one by one, so a numbered set of heat habits is a clear way to ...",
          "execution": {
            "beats": [
              "Hook: show the three habits as on-screen numbers and promise a quick swap for each."
            ],
            "label": "hypothesis",
            "concept": "3 heat habits that wear out hair faster than you'd think. A numbered list of the everyday styling moves that quietly cause damage, each w...",
            "hook_approach": "Open with the numbers on screen as a quick preview, then say that the first one is the one most beginners do every day. Keep the tone enc..."
          },
          "validation": "cross_niche",
          "description": "A numbered set of tips, products or reasons.",
          "source_examples": [
            {
              "url": "https://www.tiktok.com/@callieskincare/video/7697739540609420560",
              "views": 921869,
              "proven": "on close problems in other topics",
              "creator": "callieskincare",
              "outlier": true,
              "platform": "tt",
              "hook_formula": "1. Stopped [habit] 2. Stopped [habit] 3. [habit]",
              "outlier_ratio": 109.7
            }
          ]
        }
      ],
      "profile_id": 9,
      "limitations": [
        "No collected video addresses this problem: the mechanisms are validated in other niches only."
      ],
      "audience_problem": {
        "id": "prb_224SQKH9wDoq",
        "kind": "instructional",
        "statement": "How do I stop heat damage on my hair?",
        "seen_before": true,
        "specificity": "question"
      },
      "rejected_formats": [
        {
          "kind": "mechanism",
          "format": "Before / after",
          "decided_by": "AI reading (a hypothesis)",
          "its_examples": {
            "videos": 1,
            "best_views": 527480,
            "top_example": {
              "url": "https://www.tiktok.com/@clearskinalexa1/video/7691892427673570591",
              "views": 527480,
              "proven": "on close problems in other topics",
              "creator": "clearskinalexa1",
              "outlier": true,
              "platform": "tt",
              "hook_formula": "Stopped [habit] [detail]",
              "outlier_ratio": 100.6
            },
            "verified_outliers": 1
          },
          "why_unsuitable": "Heat damage builds over weeks, so one contrast shot cannot prove that a habit change prevented it, and a before and after mostly shows th..."
        },
        {
          "kind": "mechanism",
          "format": "Social proof",
          "decided_by": "AI reading (a hypothesis)",
          "its_examples": {
            "videos": 1,
            "best_views": 759646,
            "top_example": {
              "url": "https://www.tiktok.com/@bigbabytonkaa/video/7687062142394109214",
              "views": 759646,
              "proven": "on close problems in other topics",
              "creator": "bigbabytonkaa",
              "outlier": true,
              "platform": "tt",
              "hook_formula": "my holy grails",
              "outlier_ratio": 16.4
            },
            "verified_outliers": 1
          },
          "why_unsuitable": "The account has no stylist, expert, or real customer endorsement to point to, and social proof of a product would not explain how to chan..."
        }
      ]
    },
    "error": null,
    "created_at": "2026-11-24T07:12:30.148Z",
    "finished_at": "2026-11-24T07:13:04.193Z",
    "poll_after_seconds": null
  }
}
```

### POST /api/v2/fusion/signal-reconciliation

Reconcile the social and the search signal of up to 50 opportunities. Each item is { opportunity_id } (one of your fop_..., sop_... or opp_... opportunities) or raw numbers { social { videos, creators, verified_outliers, best_outlier_ratio, median_virality_score, baseline_videos, newer, older }, search { volume, trend_pct, measured_queries, checked } } (null or left out = unknown). Result per item: signal_class (jointly_validated, social_led, search_led, exploratory), agreement (agree, partial, conflict, one_sided, insufficient), evidence_state for each side (strong, weak, negative or missing: missing is never treated as negative), contradictions[], missing[], recommendation (prioritize, test, monitor, reject, gather_evidence) and why. Synchronous and deterministic; nothing is looked up or charged. Included, up to 300 Fusion calculations a day.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `items` (required) | body | array | 1-50 items, each { opportunity_id } or { social {...}, search {...} } |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/signal-reconciliation" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"items":[{"opportunity_id":"fop_Hd2Rk8Lw4QxN"},{"social":{"videos":6,"creators":4,"verified_outliers":3,"best_outlier_ratio":15.2},"search":{"volume":null,"trend_pct":null,"measured_queries":0,"checked":true}}]}'
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "results": [
      {
        "item": 0,
        "opportunity_id": "fop_nUBD0L7yAbkC",
        "signal_class": "jointly_validated",
        "agreement": "agree",
        "evidence_state": {
          "social": "strong",
          "search": "strong"
        },
        "contradictions": [],
        "missing": [],
        "recommendation": "prioritize",
        "why": "Search demand and social performance both support it."
      },
      {
        "item": 1,
        "opportunity_id": null,
        "signal_class": "social_led",
        "agreement": "one_sided",
        "evidence_state": {
          "social": "strong",
          "search": "missing"
        },
        "contradictions": [],
        "missing": [
          "search: Google has no volume or trend for these searches (unknown, not zero)"
        ],
        "recommendation": "test",
        "why": "Social performance is strong; search demand is not measured (measure it before treating this as proven): make one and measure."
      }
    ],
    "states": "strong: clearly supported by measured evidence. weak: some evidence, not enough to rely on. negative: measured and low. missing: not meas...",
    "note": "Deterministic: the same input always gives the same answer. Nothing was looked up, charged or stored."
  }
}
```

### POST /api/v2/fusion/account-fit

Does it fit the account? Check up to 20 items (your opportunities fop_..., sop_... or opp_..., videos we hold, topics or free texts) against one profile's Audience DNA and Creator DNA. Result per item: verdict (accept or reject), strict_checks (each hard rule of the profile with pass true, false or null when it could not be checked: market, formats the creator will not make, formats it is limited to, excluded topics, already published, no face, no voice, length), preference_matches (soft wishes, never a reason to reject), reasons, drift_risk (low, medium, high: how far it would pull the account from what it is known for), the content pillar it sits in and an AI reading of audience relevance and personality fit (labelled). Popularity is not fit: a video's view count is not part of the reading, so a highly viral reference unrelated to the profile is rejected with reasons. Included, up to 60 a day. Async: poll /analysis/jobs/{job_id} (about 10 seconds).

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `profile_id` | body | number | The saved profile to check against (or send profile) |
| `profile` | body | object | An inline profile instead of profile_id: { audience_dna { niche, audience, problems, market, tone, ... }, creator_dna { personality, presentation, content_pillars, formats_can, formats_wont, published, optimise_for, strict, preferences, ... } } |
| `items` (required) | body | array | 1-20 items, each { opportunity_id } / { video_id } / { topic } / { text } |
| `market` | body | US, GB, CA, AU | The market the items are meant for: US, GB, CA or AU (checked against the profile's markets) |
| `exclude` | body | array | Up to 50 topics or links to leave out in this check |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/account-fit" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"profile_id":7,"items":[{"opportunity_id":"fop_Hd2Rk8Lw4QxN"},{"video_id":"tt7581234567890123456"},{"topic":"3 mistakes that make drugstore concealer crease"}]}'
```

First reply:

```json
{
  "data": {
    "job_id": 1005,
    "status": "queued",
    "profile_id": 7,
    "items": 3,
    "poll_url": "/api/v2/analysis/jobs/1005",
    "poll_after_seconds": 5,
    "credits_used": 0
  }
}
```

GET /analysis/jobs/{id} (when the job is done; real data, trimmed):

```json
{
  "data": {
    "id": 2663,
    "kind": "fusion_fit",
    "status": "completed",
    "stage": null,
    "research_job_id": null,
    "result": {
      "labels": {
        "observed": [
          "strict_checks (rules of the profile, checked exactly)"
        ],
        "hypotheses": [
          "reasons, judgement and content_pillar (AI reading)"
        ]
      },
      "results": [
        {
          "item": {
            "video_id": "tt7655370387605277965"
          },
          "note": "A verified outlier, rejected because it does not fit the account: performance never overrides fit.",
          "reasons": [
            "Bouldering and climbing hashtags have no link to makeup for beginners or basic hair care."
          ],
          "verdict": "reject",
          "observed": {
            "video": {
              "url": "https://www.tiktok.com/@alexclips48/video/7655370387605277965",
              "views": 2004322,
              "creator": "alexclips48",
              "platform": "tt",
              "outlier_ratio": 3131.8,
              "verified_outlier": true
            },
            "names_niche_words": [],
            "closeness_to_profile": 0.47
          },
          "judgement": {
            "label": "AI reading (a hypothesis)",
            "personality_fit": 8,
            "audience_relevance": 2
          },
          "drift_risk": "high",
          "strict_checks": [
            {
              "pass": true,
              "check": "market",
              "detail": "Researched for US, a market this account serves."
            }
          ],
          "content_pillar": null,
          "preference_matches": [
            {
              "detail": "No format set yet.",
              "matched": null,
              "preference": "formats"
            }
          ]
        },
        {
          "item": {
            "video_id": "ytp2_sFgJm98w"
          },
          "note": "A verified outlier, rejected because it does not fit the account: performance never overrides fit.",
          "reasons": [
            "Figure 8 descender and rope descent are climbing safety topics, not drugstore makeup or hair care."
          ],
          "verdict": "reject",
          "observed": {
            "video": {
              "url": "https://www.youtube.com/shorts/p2_sFgJm98w",
              "views": 8284226,
              "creator": "artofknot",
              "platform": "yt",
              "outlier_ratio": null,
              "verified_outlier": true
            },
            "names_niche_words": [],
            "closeness_to_profile": 0.49
          },
          "judgement": {
            "label": "AI reading (a hypothesis)",
            "personality_fit": 12,
            "audience_relevance": 2
          },
          "drift_risk": "high",
          "strict_checks": [
            {
              "pass": true,
              "check": "market",
              "detail": "Researched for US, a market this account serves."
            }
          ],
          "content_pillar": null,
          "preference_matches": [
            {
              "detail": "Uses \"tutorial\", a format this creator makes.",
              "matched": true,
              "preference": "formats"
            }
          ]
        }
      ],
      "accepted": 1,
      "rejected": 2,
      "created_at": "2026-11-23T20:28:03.711Z",
      "profile_id": 9,
      "limitations": []
    },
    "error": null,
    "created_at": "2026-11-23T20:26:28.118Z",
    "finished_at": "2026-11-23T20:28:03.712Z",
    "poll_after_seconds": null
  }
}
```

### POST /api/v2/fusion/portfolio-optimize

Pick the set of Fusion opportunities to make next. Send opportunity_ids (up to 100) or the job_id of a Fusion job. Options: size (default 10), max_per_format (how many may share one creative mechanism, default 3), balance (signal_class, origin, problem_kind or mechanism, or { by, max_share }: no group takes more than that share), exclude_published (default true: topics in the profile's published list are dropped), related_profile_ids (sister accounts: what they already plan or published is dropped, so accounts do not repeat each other), experiment (default: the profile's switch). Result: selected [{ id, reason }] with a distinct reason each, dropped [{ id, reason }] (rejected, does not fit the account, already published, near-duplicate, over a limit, ranked below), groups of near-duplicates (the same audience problem, subject or main search), and with experiment on arms: the fusion picks next to a labelled social-only control arm (what social evidence alone would have picked), so the two can be compared after publishing. Synchronous and deterministic; nothing is charged. Included, up to 300 Fusion calculations a day.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `opportunity_ids` | body | array | 1-100 Fusion opportunity ids, fop_... (or send job_id) |
| `job_id` | body | number | Every opportunity of this Fusion job (or send opportunity_ids) |
| `profile_id` | body | number | The profile whose published list and experiment switch apply (default: the profile the opportunities were researched for) |
| `size` | body | number | How many to select, 1-50 (default 10) |
| `balance` | body | string,object | Spread the set: signal_class, origin, problem_kind, mechanism, or { by, max_share 0.2-1 } |
| `max_per_format` | body | number | How many selected opportunities may share one creative mechanism, 1-50 (default 3) |
| `exclude_published` | body | boolean | Drop topics the profile already published (default true) |
| `related_profile_ids` | body | array | Up to 10 other profiles of yours: topics they already plan or published are dropped |
| `experiment` | body | boolean | true adds the labelled social-only control arm (default: the profile's experiment switch) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/portfolio-optimize" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id":1001,"profile_id":7,"size":5,"max_per_format":2,"balance":"signal_class","experiment":true}'
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "profile_id": 9,
    "job_id": 4501,
    "considered": 5,
    "selected": [
      {
        "id": "fop_nUBD0L7yAbkC",
        "reason": "Highest priority of the set (90): search demand and social performance both support it.",
        "topic": "makeup application order for beginners",
        "signal_class": "jointly_validated",
        "next_action": "produce",
        "priority": 90,
        "evidence_confidence": 85,
        "mechanism": "question"
      },
      {
        "id": "fop_EMA5ANc3kBex",
        "reason": "Strongest measured search demand among the rest: 4,400 Google searches a month for \"foundation shade finder\".",
        "topic": "finding foundation shade and undertone",
        "signal_class": "search_led",
        "next_action": "test",
        "priority": 71,
        "evidence_confidence": 48,
        "mechanism": "comparison"
      }
    ],
    "dropped": [],
    "groups": [],
    "size_requested": 3,
    "size_returned": 3,
    "shortfall_reason": null,
    "arms": {
      "fusion": [
        "fop_nUBD0L7yAbkC",
        "fop_EMA5ANc3kBex"
      ],
      "control": [
        {
          "id": "fop_PxwaavZnJmik",
          "reason": "Social-only control: picked on social evidence alone (59), ignoring search demand and the fusion ranking.",
          "topic": "starter skincare and skin type basics",
          "signal_class": "exploratory",
          "next_action": "monitor",
          "priority": 65,
          "evidence_confidence": 68,
          "mechanism": "mistake_avoidance"
        }
      ],
      "control_share": 0.3,
      "rule": "Publish both arms as assigned and record each result with POST /fusion/outcomes: the learning report then compares fusion picks with soci...",
      "note": null
    },
    "note": "Deterministic: the same opportunities and options always give the same set. Nothing was looked up, charged or stored."
  }
}
```

### POST /api/v2/fusion/research-escalation

What evidence is missing behind a Fusion opportunity (opportunity_id) or every opportunity of a Fusion job (job_id), and what resolving it costs. Stored evidence is checked first (a lookup stored in the last 7 days is free). Result: gaps [{ what, why_it_matters, could_change_rank, stored_evidence_checked, cost_credits, kind (search_check, baseline_check, comments_check, research_run), executable, affordable, call { method, path, body } }] ordered by what could change the decision and then by cost, skipped [{ what, why }] (already measured, or pointless because a strict account rule rejects the opportunity), total_cost, affordable_cost inside spend_limit, and a qualified recommendation. With execute false (default) it is a free plan and nothing is bought. With execute true and a spend_limit it starts the affordable search checks as ordinary search jobs at their normal price (10 credits each; free when stored), never beyond spend_limit, and returns their job ids (a full-access key is needed). Other gaps (creator baselines, comments, a research run) are listed with the call that resolves them. Included, up to 300 Fusion calculations a day.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `opportunity_id` | body | string | A Fusion opportunity id, fop_... (or send job_id) |
| `job_id` | body | number | Every opportunity of this Fusion job (or send opportunity_id) |
| `spend_limit` | body | number | The most to spend on search checks, 0-600 credits (required with execute: true; for a plan it marks what is affordable) |
| `execute` | body | boolean | true starts the affordable search checks within spend_limit (default false: a free plan) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/research-escalation" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"opportunity_id":"fop_Hd2Rk8Lw4QxN","spend_limit":30,"execute":false}'
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "opportunity_id": "fop_nUBD0L7yAbkC",
    "opportunities": [
      {
        "opportunity_id": "fop_nUBD0L7yAbkC",
        "topic": "makeup application order for beginners",
        "recommendation": "The open lookups would add detail but are unlikely to change the decision."
      }
    ],
    "gaps": [
      {
        "what": "YouTube results for \"makeup order of application\"",
        "why_it_matters": "Shows how old and how complete the current videos are: it tells whether a new video has room.",
        "could_change_rank": false,
        "stored_evidence_checked": "No results stored in the last 7 days.",
        "cost_credits": 10,
        "kind": "search_check",
        "executable": true,
        "call": {
          "method": "POST",
          "path": "/search/youtube-serp-audit",
          "body": {
            "keywords": [
              "makeup order of application"
            ],
            "market": "US"
          }
        },
        "affordable": true,
        "opportunity_ids": [
          "fop_nUBD0L7yAbkC"
        ]
      },
      {
        "what": "Viewer comments on the strongest source video (https://www.tiktok.com/@maddylevis/video/7704002378617441566)",
        "why_it_matters": "Real viewer questions show what the audience still wants answered: they ground the usefulness of the piece.",
        "could_change_rank": false,
        "stored_evidence_checked": "No viewer question from comments is attached to this opportunity.",
        "cost_credits": 10,
        "kind": "comments_check",
        "executable": false,
        "call": {
          "method": "POST",
          "path": "/videos/tt7704002378617441566/comments/collect",
          "body": {}
        },
        "affordable": true,
        "opportunity_ids": [
          "fop_nUBD0L7yAbkC"
        ]
      }
    ],
    "skipped": [
      {
        "what": "Search demand",
        "why": "Already measured for all 3 searches.",
        "opportunity_id": "fop_nUBD0L7yAbkC"
      },
      {
        "what": "Google results for \"makeup order of application\"",
        "why": "Already part of this opportunity's evidence.",
        "opportunity_id": "fop_nUBD0L7yAbkC"
      }
    ],
    "total_cost": 35,
    "affordable_cost": 10,
    "spend_limit": 30,
    "recommendation": "The open lookups would add detail but are unlikely to change the decision.",
    "executed": false,
    "note": "A plan only: nothing was looked up or charged. Send execute: true with a spend_limit to start the affordable search checks, or make the c..."
  }
}
```

### POST /api/v2/fusion/outcomes

Record what happened after publishing: send the opportunity it came from (fop_..., sop_..., opp_... or a mirror draft mdr_...), the post (post_url or post_id + platform), when it was published and the metrics you have (views, likes, comments, shares, saves, retention_pct, avg_view_seconds, profile_visits, link_clicks, leads, customers). The outcome is judged against the destination account's own baseline (its usual views when the creator is tracked, else the profile's earlier outcomes), on the metric the profile optimises for: verdict win, neutral, miss or pending (never a guess when nothing can be compared), with vs_baseline and what the engine expected. Sending the same opportunity and post again updates it. track: true also starts the existing video tracking for the post at its normal price (10 credits per daily check). The learning report reads these outcomes. Included.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `opportunity_id` (required) | body | string | The opportunity that was produced: fop_..., sop_..., opp_... or mdr_... |
| `post_url` | body | string | Link to the published post (or post_id) |
| `post_id` | body | string | The post id on its platform (with platform; or post_url) |
| `platform` | body | tt, yt, ig | tt, yt or ig (read from post_url when left out) |
| `published_at` | body | string | When it was published (ISO date and time) |
| `metrics` | body | object | What you measured: views, likes, comments, shares, saves, retention_pct, avg_view_seconds, profile_visits, link_clicks, leads, customers |
| `profile_id` | body | number | The destination profile (default: the opportunity's profile) |
| `track` | body | boolean | true also starts video tracking for the post (10 credits per daily check; default false) |

```bash
curl -X POST "https://lulubanana.com/api/v2/fusion/outcomes" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"opportunity_id":"fop_Hd2Rk8Lw4QxN","post_url":"https://www.tiktok.com/@yourhandle/video/7590000000000000000","platform":"tt","published_at":"2026-11-20T17:00:00Z","metrics":{"views":48200,"likes":3100,"saves":940,"shares":210,"retention_pct":41}}'
```

Example reply:

```json
{
  "data": {
    "outcome": {
      "id": 28,
      "opportunity_id": "fop_Hd2Rk8Lw4QxN",
      "opportunity_kind": "fop",
      "profile_id": 7,
      "post_url": "https://www.tiktok.com/@yourhandle/video/7590000000000000000",
      "post_id": "7590000000000000000",
      "platform": "tt",
      "published_at": "2026-11-20T17:00:00.000Z",
      "metrics": {
        "views": 48200,
        "likes": 3100,
        "saves": 940,
        "shares": 210,
        "retention_pct": 41
      },
      "expected": {
        "basis": "Recommended to produce: expected at least the account's usual result.",
        "vs_expected": "met",
        "min_vs_baseline": 1
      },
      "vs_baseline": {
        "metric": "saves",
        "unit": "saves",
        "value": 940,
        "baseline": 310,
        "ratio": 3.03,
        "baseline_n": 12,
        "baseline_source": "earlier outcomes of this profile",
        "baseline_confidence": "medium"
      },
      "verdict": "win",
      "arm": "fusion",
      "experiment": true,
      "tracked": false,
      "video_id": null,
      "created_at": "2026-11-24T09:15:00.000Z",
      "updated_at": "2026-11-24T09:15:00.000Z"
    },
    "judgement": {
      "vs_expected": {
        "expected_min_ratio": 1,
        "result": "met"
      },
      "limitations": []
    },
    "updated": false,
    "learning_report_url": "/api/v2/fusion/learning-report?profile_id=7"
  }
}
```

### GET /api/v2/fusion/outcomes

The outcomes you recorded, newest first: the opportunity, the post, the metrics you sent, what was expected, the comparison with the destination baseline and the verdict (win, neutral, miss, pending). Filters: opportunity_id, profile_id, verdict.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `opportunity_id` | query | string | Only outcomes of this opportunity |
| `profile_id` | query | string | Only outcomes of this profile |
| `verdict` | query | win, neutral, miss, pending | win, neutral, miss, pending |
| `limit` | query | string | 1-100 (default 20) |
| `cursor` | query | string | next_cursor from the previous page |

```bash
curl "https://lulubanana.com/api/v2/fusion/outcomes?profile_id=7" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply:

```json
{
  "data": [
    {
      "id": 28,
      "opportunity_id": "fop_Hd2Rk8Lw4QxN",
      "opportunity_kind": "fop",
      "profile_id": 7,
      "post_url": "https://www.tiktok.com/@yourhandle/video/7590000000000000000",
      "platform": "tt",
      "published_at": "2026-11-20T17:00:00.000Z",
      "metrics": {
        "views": 48200,
        "saves": 940
      },
      "vs_baseline": {
        "metric": "saves",
        "value": 940,
        "baseline": 310,
        "ratio": 3.03,
        "baseline_source": "earlier outcomes of this profile"
      },
      "verdict": "win",
      "arm": "fusion",
      "experiment": true
    }
  ],
  "next_cursor": null
}
```

### GET /api/v2/fusion/learning-report

What worked after publishing, for one profile (profile_id) or the whole account: results by origin (push_first, pull_first, joint, exploratory), by signal class, by creative mechanism x the kind of audience problem, by opportunity kind, the winners and the misses, actual against expected and against the destination baseline, and the fusion picks against the labelled social-only control arm with the number of outcomes in each and a 95% range for the difference. The comparison is called an experiment only when both arms were published as assigned, otherwise it is flagged as a correlation; it never assumes Fusion beats social-only research. Learned ranking adjustments are shown only when the profile opted in (creator_dna.learning.enabled) and has at least 20 judged outcomes, and they are bounded. Rates on few outcomes are marked low_sample.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `profile_id` | query | string | One profile (default: the whole account) |

```bash
curl "https://lulubanana.com/api/v2/fusion/learning-report?profile_id=7" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "profile_id": 9,
    "totals": {
      "outcomes": 0,
      "judged": 0,
      "pending": 0,
      "wins": 0,
      "neutral": 0,
      "misses": 0,
      "win_rate_pct": null,
      "win_rate_range_95": null,
      "median_vs_baseline": null,
      "low_sample": true
    },
    "by_origin": [],
    "by_signal_class": [],
    "by_mechanism_and_intent": [],
    "by_opportunity_kind": [],
    "winners": [],
    "misses": [],
    "actual_vs_expected": {
      "with_expectation": 0,
      "met": 0,
      "below": 0,
      "met_pct": null
    },
    "arms": {
      "fusion": {
        "outcomes": 0,
        "judged": 0,
        "pending": 0,
        "wins": 0,
        "neutral": 0,
        "misses": 0,
        "win_rate_pct": null,
        "win_rate_range_95": null,
        "median_vs_baseline": null,
        "low_sample": true
      },
      "control": {
        "outcomes": 0,
        "judged": 0,
        "pending": 0,
        "wins": 0,
        "neutral": 0,
        "misses": 0,
        "win_rate_pct": null,
        "win_rate_range_95": null,
        "median_vs_baseline": null,
        "low_sample": true
      },
      "difference_win_rate": null,
      "basis": "correlation",
      "assigned": {
        "fusion": 3,
        "control": 2
      },
      "note": "No comparison yet: outcomes are needed for both arms. Turn the experiment on (creator_dna.experiment or experiment: true on the job) and ..."
    },
    "creator_matches": [],
    "learned_adjustments": {
      "enabled": false,
      "n": 0,
      "min_outcomes": 20,
      "adjustments": {},
      "note": "Learning starts at 20 judged outcomes: this profile has 0."
    },
    "limitations": [
      "No outcomes are recorded yet: send results with POST /fusion/outcomes after publishing."
    ],
    "note": "win = 1.5x the destination account's usual result or more; miss = under 0.75x. Ranges are 95% intervals. Results are observed; why they h..."
  }
}
```

### GET /api/v2/fusion/lead-lag-analysis

Does social posting move before search interest, or after? For one keyword you researched, one of your audience problems (problem_id) or a niche: the two daily series from stored history (videos posted per day that match the subject; Google Trends interest), aligned on the days they share, and the lag between them. Result: status (measured, insufficient_history or no_consistent_relationship), direction (social_leads, search_leads, coincident, no_consistent_relationship), lag_days, correlation with a 95% confidence range, and the series themselves. A direction is given only when enough aligned history exists; otherwise status is insufficient_history and missing[] says exactly what is needed. Past data only: an observed pattern, never a forecast. Stored search history is shown only for searches your account researched. Included, up to 300 Fusion calculations a day.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `keyword` | query | string | A search phrase you looked up (or problem_id or niche) |
| `problem_id` | query | string | One of your audience problems, prb_... (or keyword or niche) |
| `niche` | query | string | A niche you researched (or keyword or problem_id) |
| `market` | query | US, GB, CA, AU | US (default), GB, CA or AU |

```bash
curl "https://lulubanana.com/api/v2/fusion/lead-lag-analysis?keyword=how%20to%20prevent%20hair%20damage&market=US" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "subject": {
      "keyword": "how to care for heat damaged hair",
      "problem_id": null,
      "niche": null,
      "market": "US",
      "searches_considered": 1
    },
    "status": "insufficient_history",
    "direction": null,
    "lag_days": null,
    "correlation": null,
    "confidence_range_95": null,
    "missing": [
      "search: no daily Google Trends history is stored for this search (look its demand up first; each lookup adds to the history)",
      "history: 0 aligned days are stored; 42 are needed"
    ],
    "aligned_days": 0,
    "social_posts_in_span": 0,
    "span": null,
    "method": "Daily posts and daily Google Trends interest, 7-day trailing means, week-over-week changes, compared at lags of -14 to +14 days. Past dat...",
    "series": {
      "social": [
        {
          "date": "2026-06-12",
          "value": 1
        },
        {
          "date": "2026-06-24",
          "value": 1
        }
      ],
      "search": [],
      "social_unit": "videos posted that day (English, organic, matched to the subject)",
      "search_unit": "Google Trends relative interest, 0-100"
    },
    "social_match": {
      "rule": "words",
      "words": [
        "heat",
        "damaged"
      ],
      "how": "meaning search was not available: a video names 2+ of the niche's distinctive words, or one in its opening line, first 150 characters or ..."
    }
  }
}
```

### GET /api/v2/fusion/limits

The Fusion Engine's limits and what is left today: paid research jobs (per account and per API key), the included AI jobs (bidirectional research, problem-intent match, format-demand match, account fit), the calculations that answer at once, the spending limit range, the prices involved and the most items per request.

Cost: free.

```bash
curl "https://lulubanana.com/api/v2/fusion/limits" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply (real data, trimmed):

```json
{
  "data": {
    "paid_jobs": {
      "limit": 30,
      "used_today": 2,
      "left": 28,
      "this_key_used_today": 0,
      "this_key_left": 30,
      "route": "POST /fusion/content-opportunities",
      "per": "account and API key, a rolling 24 hours"
    },
    "included": {
      "bidirectional_research": {
        "limit": 30,
        "used_today": 4,
        "left": 26
      },
      "problem_intent_match": {
        "limit": 30,
        "used_today": 1,
        "left": 29
      },
      "format_demand_match": {
        "limit": 30,
        "used_today": 1,
        "left": 29
      },
      "account_fit": {
        "limit": 60,
        "used_today": 1,
        "left": 59
      }
    },
    "calculations": {
      "limit": 300,
      "used_today": 49,
      "left": 251,
      "routes": [
        "POST /fusion/signal-reconciliation",
        "POST /fusion/portfolio-optimize"
      ]
    },
    "spend_limit": {
      "default": 100,
      "max": 600,
      "note": "A job never spends beyond its spend_limit: what does not fit becomes an evidence gap with its cost."
    },
    "prices": {
      "fusion_research": 100,
      "research_run": 100,
      "search_check": 10,
      "track_video": 10
    },
    "items_per_request": {
      "problem_intent_match": 50,
      "account_fit": 20,
      "signal_reconciliation": 50,
      "portfolio_optimize": 100
    }
  }
}
```

## FAQ

**What is the Fusion Engine?**
The central decision engine of lulubanana. Search data says what people want to learn, social data says how to make it engaging, and the Fusion Engine decides what to create, how to present it and who it is for, matched to one account's Audience DNA and Creator DNA.

**How is it different from social intelligence alone?**
Social intelligence alone says "this video about skincare mistakes performed 15x better than the creator's usual videos". Fusion intelligence says "your target audience is searching for answers about skincare mistakes; this proven mistake-avoidance format suits those questions; here is an original brief matching your audience, personality and geography".

**How are search and social data connected?**
By the underlying audience problem, never by shared keywords. Searches, videos and texts are grouped by what the person needs; pairs that share a word but not a need (for example makeup stains on clothes and the order to apply makeup) are rejected and listed.

**How much does the Fusion Engine cost?**
A Fusion job is 100 credits. Inside spend_limit (default 100, up to 600) it may add one research run (100 credits, only when social evidence is too thin and collect is true) and search checks (10 credits each, only for lookups not stored in the last 7 days). It is returned if the job fails or finds nothing, and capped at 30 jobs a day per account and per key. Everything else is included under daily fair use: 30 bidirectional researches, 30 problem matches, 30 format matches, 60 account-fit checks and 300 calculations (reconciliation, portfolio, escalation, lead-lag).

**What happens when search data is missing?**
The opportunity is kept and labelled social_led (or exploratory), the search factor is null rather than 0, the evidence confidence is lowered, the gap is named with the cost of resolving it, and no demand is invented. Missing evidence is never treated as negative evidence.

**Does a viral video always make a good opportunity?**
No. Popularity is not fit. A highly viral reference unrelated to the profile is rejected with reasons however strong its numbers; in a real check, 2 climbing videos with 2 million and 8.3 million views were rejected for a beginner makeup account.

**What is the difference between priority and evidence confidence?**
Priority says how strongly to act now; evidence confidence says how much measured evidence stands behind it. A promising idea with thin evidence has a high priority and a low confidence: test it, do not treat it as proven.

**Does Fusion research always beat social-only research?**
It is not assumed. Experiment mode keeps a labelled social-only control arm, and the learning report compares the two arms after publishing, with the number of outcomes and a 95% range. It is called an experiment only when both arms were published as assigned; otherwise it is flagged as a correlation.

**What format do opportunities recommend?**
Short-form first: a short vertical video for TikTok, Instagram Reels and YouTube Shorts (typically 20-60 seconds, with the target length taken from measured source outliers) or a photo carousel. A long video or an article appears only as a secondary "also works as" note with its reason.

**Does lulubanana make or publish the videos?**
No. It delivers decisions and production-ready briefs. You, your team or your own tools film, generate, edit and publish.

**Is the scoring recipe published?**
Each opportunity explains its numbers in plain language: five factors with a reason each, separate confidences with notes, the evidence it rests on and the steps that led to it (GET /fusion/opportunities/{id}/explanation). The weights behind the priority are not published.

**Which markets are covered?**
English-speaking markets: US, GB, CA, AU.

More: https://lulubanana.com/developers/ - all endpoints https://lulubanana.com/developers/endpoints/ - research guide https://lulubanana.com/ai-guide.txt
