> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/actions/workflow-concepts/workflow-steps/aeo-research/query-versus-report.md). Agents can also search and read this documentation through its [MCP server](https://docs.airops.com/~gitbook/mcp).

# Query Versus Report

Compare Google results and AI citations for a target prompt with Query Versus Report.

Query Versus Report analyzes the pages competing for a target prompt across Google results and AI citations. Use it to research a content opportunity before you have an owned page to compare.

## Overview

Provide a Brand Kit and the question you want to analyze. The report gathers competing pages and related research to help you assess the content covering that question. A target prompt is required; a keyword alone is not enough.

## How to Configure

1. Add a **Query Versus Report** Step to your Workflow.
2. Set the **Brand Kit ID** and **Target prompt**.
3. Optionally set a content type to focus the competing pages.
4. Review the Google region, language, and AI platforms.
5. Run the Step and inspect its report before passing it to a drafting or planning Step.

## Parameters

| Parameter       | Required | Description                                                                                         |
| --------------- | -------- | --------------------------------------------------------------------------------------------------- |
| `brand_kit_id`  | Yes      | Brand Kit used for the analysis.                                                                    |
| `target_prompt` | Yes      | The question or prompt to research.                                                                 |
| `content_type`  | No       | Freeform content type used to filter competing pages.                                               |
| `gl`            | No       | Google region code. Defaults to `us`.                                                               |
| `hl`            | No       | Google language code. Defaults to `en`.                                                             |
| `ai_platforms`  | No       | Comma-separated values: `chatgpt`, `gemini`, `perplexity`, `google_ai_mode`. Defaults to `chatgpt`. |
| `soft_fail`     | No       | Let the Workflow continue if this Step fails.                                                       |

## Example

Use a prompt such as “Which project management tools work well for distributed teams?” with your Brand Kit. Set `content_type` to `comparison` if you want to focus on comparison pages.

```json
{
  "brand_kit_id": 123,
  "target_prompt": "Which project management tools work well for distributed teams?",
  "content_type": "comparison",
  "gl": "us",
  "hl": "en",
  "ai_platforms": "chatgpt,perplexity"
}
```

Replace `123` with your Brand Kit ID. Review the returned pages and supporting research before deciding what to create.

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-f0952f7848bbf175eda611d6cfe958f336e5b135%2Fquery-versus-01-step-config.png?alt=media" alt="Query Versus Report step comparing Google and AI results for a rideshare launch booking prompt"><figcaption><p>Set the target prompt, content type, region, language, and AI platforms for the report.</p></figcaption></figure>

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-c8f3f5465378f4fafd3fc4c91cea65984bba32a2%2Fquery-versus-02-report.png?alt=media" alt="Query Versus Report output comparing Google results with AI-cited pages for a rideshare launch prompt"><figcaption><p>The report shows where Google results and AI citations differ.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/actions/workflow-concepts/workflow-steps/aeo-research/query-versus-report.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
