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

# Create a scalar index on a table

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

Create a scalar index on a table

## Path parameters

- `name` string, required

## Request body

- object
  - `column` string
  - `index_type` string

## Response `200`

Scalar Index successfully created

## Other responses

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

## Changes

- **2024-07-01** `b7f1fafb7c9f` — 1 info
  - endpoint added
- **2024-06-28** `e3f83adeda47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/lancedb/apis/lancedb-cloud-api/changes/v1/table/:name/create_scalar_index/post.md)

---

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