POST
/
v1
/
indexes

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Body

model
string
required

The Embedding Model to use. Can be either β€œtext-embedding-ada-002”, β€œclip”, or β€œcustom”.

name
string
required

Name of the Index

datasource
string

Datasource ID to connect to the index.

indexType
string
default: "HNSW"

Type of the index. FLAT or HNSW

dimensions
integer

This is only required if you are using a β€œcustom” model.

filters
object[]
chunkConfig
object
tableChunkConfig
object

Response

data
Index Object