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

Changed in 2 of the 42 revisions of this API.4

    • ○

      api tag vector_stores added

      api-tag-added

    • ○

      api tag vector_stores removed

      api-tag-removed

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog