LM-Kit OneDocs2026.8.10lm-kit.com
API Compatibility

OpenAI · Vector Stores

Lists the caller's vector stores.#

GET/v1/vector_stores

Responses

StatusTypeDescription
200

OK

curl -X GET "$LMKIT_ONE_URL/v1/vector_stores" \
  -H "Authorization: Bearer $LMKIT_API_KEY"

Creates a vector store.#

POST/v1/vector_stores

Request body

text/json ·

PropertyTypeDescription
namestring

The vector store's display name.

Responses

StatusTypeDescription
200

OK

curl -X POST "$LMKIT_ONE_URL/v1/vector_stores" \
  -H "Authorization: Bearer $LMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'

Retrieves a vector store.#

GET/v1/vector_stores/{storeId}

Parameters

NameInTypeDescription
storeIdrequiredpathstring

Responses

StatusTypeDescription
200

OK

curl -X GET "$LMKIT_ONE_URL/v1/vector_stores/$STOREID" \
  -H "Authorization: Bearer $LMKIT_API_KEY"

Deletes a vector store and everything indexed in it.#

DELETE/v1/vector_stores/{storeId}

Parameters

NameInTypeDescription
storeIdrequiredpathstring

Responses

StatusTypeDescription
200

OK

curl -X DELETE "$LMKIT_ONE_URL/v1/vector_stores/$STOREID" \
  -H "Authorization: Bearer $LMKIT_API_KEY"

Attaches an uploaded file to a vector store, indexing it for retrieval.#

POST/v1/vector_stores/{storeId}/files

The file (from POST /v1/files) is parsed, chunked, and indexed by the managed ingestion pipeline. Embedding runs in the background; a file whose status is still 'in_progress' is already full-text searchable and becomes semantically searchable when embedding completes.

Parameters

NameInTypeDescription
storeIdrequiredpathstring

Request body

text/json ·

PropertyTypeDescription
file_idstring

The id of an uploaded file (from POST /v1/files) to index into this store.

Responses

StatusTypeDescription
200

OK

curl -X POST "$LMKIT_ONE_URL/v1/vector_stores/$STOREID/files" \
  -H "Authorization: Bearer $LMKIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "file_id": "string"
}'