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 $LITELLM_MASTER_KEY"         -d '{
        "index_name": "dall-e-3",
        "litellm_params": {
            "vector_store_index": "real-index-name",
            "vector_store_name": "azure-ai-search"
        }
    }'
post/v1/indexes

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/v1/indexes
  • Auth: API key in header x-litellm-api-key

Request body

index_infoobject nullable
index_namestring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.