---
title: "Create vector index on a Table"
method: POST
path: "/v1/table/{name}/create_index/"
tags: ["Tables"]
---

# Create vector index on a Table

`POST /v1/table/{name}/create_index/`

Create vector index on a Table

## Path parameters

- `name` string, required

## Request body

- object
  - `column` string
  - `metric_type` string — The metric type to use for the index. l2, Cosine, Dot are supported.
  - `index_type` string
  - `custom_stop_words` string[], nullable — The custom stop-word list for an FTS index. A non-null array replaces the language's built-in stop-word list and is only applied when remove_stop_words is enabled. Null uses the built-in language list, while an empty array explicitly replaces it with no stop words.

## Response `200`

Index successfully created

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Not found

---

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