---
title: "Get recommendations report data"
method: POST
path: "/api/v11/reports/recommendation"
tags: ["Report"]
---

# Get recommendations report data

`POST /api/v11/reports/recommendation`

## Request

- Base URL: `https://indexing-dev.hawksearch.net`
- URL: `https://indexing-dev.hawksearch.net/api/v11/reports/recommendation`
- Auth: none declared. Required headers: `X-HawkSearch-ApiKey`
- TypeScript: <https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/docs/api/v11/reports/recommendation/post.ts> (a function with typed inputs; its response is checked against the schema)

Gets Recommendations report data

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- ReportParamsBase: Basic report parameters with FromDate and ToDate.
  - `FromDate` string, date-time: Begining of report's period.
  - `ToDate` string, date-time: Ending of report's period.

## Response `200`

OK

- RecommendationReportData[]
  - `CreateDate` string, date-time
  - `DatabaseId` integer
  - `SearchDate` string, date-time
  - `ClicksCount` integer
  - `ImpressionsCount` integer
  - `WidgetGuid` string, uuid

---

[API](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) - [All operations](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468?raw)
