latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
vector_stores
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
Response
Successful Response
{"stackTrail":"paths:/v1/indexes:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}