Skip to content

    API reference

    Retrieval simulator and content testing

    Test a draft against selected prompts and competitor pages before publishing. Compare versions, inspect passages and try different question or market settings. These are simulations of your supplied content.

    POST /v2/passages/search

    • Search passages. Searches the brand's imported page text, or supplied asset text, and returns matching passages with the page URL and text offsets.

    POST /v2/runs

    GET /v2/runs/{run_id}

    • Read a pre-publish review. Inspect the questions covered by the draft, the passages used as evidence and the revisions in the review manifest.
    • Read benchmark results. Inspect the simulated rankings for each question. Check whether the comparison included competing pages or only pages from the brand.
    • Read regression results. Check the verdict and its reasons for each selected question before deciding whether to publish the staging revision.
    • Read passage overlap. Read the passage comparisons for the selected questions and inspect the source evidence behind a match.
    • Read question coverage. Review the subquestions for the selected prompt version and identify questions your pages leave unanswered.
    • Read position test results. Compare how often the simulated answer used the target fact and cited the right passage at each position.
    • Read persona comparisons. Compare the selected scenarios and inspect the passages that ranked for each persona and market.
    • Read comparison gaps. Read the findings and proposed documentation changes alongside the source passages for each question.
    • Read asset results. Inspect the results for each asset and the saved inputs used for the evaluation.

    Guides for retrieval simulator and content testing

    Browse all API operations