OpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

Index Create

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

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

Request body

index_namestring required
index_infoobject nullable

Response

Successful Response

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