vector_stores

Index Create

Create an index. Just writes the index to the database.

curl -L -X POST 'http://0.0.0.0:4000/v1/indexes'         -H 'Content-Type: application/json'         -H 'Authorization: Bearer sk-1234'         -d '{
        "index_name": "dall-e-3",
        "litellm_params": {
            "vector_store_index": "real-index-name",
            "vector_store_name": "azure-ai-search"
        }
    }'
post/v1/indexes

Request body

index_infoobject nullable
index_namestring required

Response

Successful Response

{"stackTrail":"paths:/v1/indexes:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes