---
title: "Index Create"
method: POST
path: "/v1/indexes"
---

# Index Create

`POST /v1/indexes`

Create an index. Just writes the index to the database.

```bash
curl -L -X POST 'http://0.0.0.0:4000/indexes/create'         -H 'Content-Type: application/json'         -H 'Authorization: Bearer sk-1234'         -H 'LiteLLM-Beta: indexes_beta=v1'         -d '{ 
        "index_name": "dall-e-3",
        "vector_store_index": "real-index-name",
        "vector_store_name": "azure-ai-search"
    }'
```

## Request body

- IndexCreateRequest
  - `index_name` string, required
  - `litellm_params` IndexCreateLiteLLMParams, required
    - `vector_store_index` string, required
    - `vector_store_name` string, required
  - `index_info` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
