> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hypermodel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Query

> Submit a new query for processing. Supports both synchronous and asynchronous modes.

## Authentication

<ParamField header="X-API-Key" type="string" required>
  Your API key for authentication
</ParamField>

<ParamField header="Content-Type" type="string" default="application/json">
  Content type header
</ParamField>

## Body Parameters

<ParamField body="query" type="string" required>
  Natural language query describing the data you want
</ParamField>

<ParamField body="schema" type="object" required>
  JSON Schema defining the structure of the response data
</ParamField>

<ParamField body="destination" type="object">
  Required when `async` is true. Defines where to send results

  <Expandable title="Destination Properties">
    <ParamField body="type" type="string" required>
      Destination type: `URL`, `Snowflake`, `Sheets`, or `Clay`
    </ParamField>

    <ParamField body="config" type="object" required>
      Destination-specific configuration
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="columns" type="array">
  Optional list of specific columns to include
</ParamField>

<ParamField body="async" type="boolean" default="false">
  If true, process asynchronously and send to destination
</ParamField>

<ParamField body="accuracyMode" type="string" default="low">
  Accuracy mode: `low` or `high`
</ParamField>

## Accuracy Modes

<Tabs>
  <Tab title="Low Accuracy (Default)">
    Uses Hypermodel search first, falls back to web search only if data is not found.

    **Characteristics:**

    * ⚡ Faster processing
    * 💰 Lower cost
    * 📊 Good for well-indexed company data

    ```json theme={null}
    {
      "accuracyMode": "low"
    }
    ```
  </Tab>

  <Tab title="High Accuracy">
    Uses both Hypermodel and web search in parallel using subagents.

    **Characteristics:**

    * 🎯 More comprehensive results
    * ✅ Higher accuracy
    * ⏱️ Slower processing and higher cost

    ```json theme={null}
    {
      "accuracyMode": "high"
    }
    ```
  </Tab>
</Tabs>
