---
title: "Create Search History"
method: POST
path: "/api/search-history"
tags: ["Search History"]
---

# Create Search History

`POST /api/search-history`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/search-history`
- Auth: HTTP bearer

Save a search history record.

## Request body

- SearchHistoryCreate
  - `keyword` string, required
  - `data_source` string
  - `result_count` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
