# Deep search

POST `/deep-search`

This endpoint lets you do a deep search with an AI-generated personalized response. Deep search is used on Agora for subjective search queries.&#x20;

**Headers**

| Header          | Type   | Description   |
| --------------- | ------ | ------------- |
| `Authorization` | string | Bearer token. |

**Request body**

```json
{
  "query": "wireless headphones"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "status": "success",
  "data": {
    "query": "wireless headphones",
    "aiResponse": "AI-generated conversational response about the products found",
    "description": "Brief description of what this search is about",
    "suggestions": [
      "Alternative search query 1",
      "Alternative search query 2",
      "Alternative search query 3",
      "Alternative search query 4"
    ],
    "otherOptions": {
      "relatedSearches": [
        "Related search 1",
        "Related search 2",
        "Related search 3"
      ],
      "filters": [
        "Filter suggestion 1",
        "Filter suggestion 2"
      ],
      "categories": [
        "Category 1",
        "Category 2"
      ]
    },
    "productCount": 150,
    "topProducts": [
      {
        "name": "Product Name",
        "brand": "Brand Name",
        "storeName": "Store Name",
        "price": 99.99,
        "averageRating": 4.5
      }
    ]
  }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.searchagora.com/search/deep-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
