---
title: "Regenerate index definition"
method: POST
path: "/api/v11/definition"
tags: ["Definition"]
---

# Regenerate index definition

`POST /api/v11/definition`

## Request

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

Triggers re-generating index definition file on demand

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- string

## Response `200`

OK

- object

---

[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)
