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

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

Request body

index_namestring required
index_infoobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 98 revisions of this API.