π Indexes
Add Index
This endpoint creates an index for an app.
POST
/
v1
/
indexes
Auth Headers
An API key for your org.
A Client ID for your org.
Body
The Embedding Model to use. Can be either βtext-embedding-ada-002β, βclipβ, or βcustomβ.
Name of the Index
Datasource ID to connect to the index.
Type of the index. FLAT
or HNSW
This is only required if you are using a βcustomβ model.