vs_indexes_create
Create a Vector Search index on Databricks by specifying the index name, endpoint, primary key, and index type. Supports DELTA_SYNC and DIRECT_ACCESS indexes.
Instructions
Create a Vector Search index
(POST /api/2.0/vector-search/indexes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Fully-qualified index name (catalog.schema.index) | |
| endpoint_name | Yes | Vector Search endpoint name | |
| primary_key | Yes | Primary key column of the source table | |
| index_type | Yes | DELTA_SYNC | DIRECT_ACCESS | |
| delta_sync_index_spec | No | Required for DELTA_SYNC: source_table, embedding_source_columns, etc. | |
| managed_index_config | No | Required for MANAGED indexes (catalog.schema.table, primary_key, etc.) | |
| external_index_config | No | Required for DIRECT_ACCESS external indexes | |
| columns | No | ||
| embedding_dimension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |