---
title: "Create Index"
method: POST
path: "/indexes"
tags: ["📚 Managing indexes"]
---

# Create Index

`POST /indexes`

## Request body

- IndexCreationPayload — unresolved $ref

## Response `200`

A standard response from Lnx, with a simple conformation message.

- BasicResponse
  - `status` integer, required
  - `data` union, required
    - string
    - object

## Other responses

- `400` — The index already exists (and override has not been set) or has been rejected by the engine due to a bad payload.
- `401` — You lack the permissions to run this operation.
- `422` — The server was unable to deserialize the payload given.

---

[API](https://skmtc.dev/lnx-search/apis/lnx-docs.md) · [All operations](https://skmtc.dev/lnx-search/apis/lnx-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lnx-search/lnx-docs/revisions/3ff2d4054379/schema)
