---
title: "Create Index"
method: POST
path: "/model/create_index"
tags: ["Models and Predictions"]
---

# Create Index

`POST /model/create_index`

Create indexes for files connected with a knowledge base.

## Query parameters

- `kb_id` string, uuid, required — The ID of the knowledge base for which to create the index.
- `frag_size` integer — The size of each fragment in the index.

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/versions/38b6c9a4246d/schema)
