Data Operations
Upload
Upload or replace items by id (text or vector store).
POST
Overview
Upload or replace items keyed by id. Re-uploading an existing id updates the embedding and does not consume additional quota. On the first upload to an empty store,store_mode is required. Dimension and mode are locked afterward.
Required when the store is empty:
"text" or "vector".Optional for text stores. Defaults to
BAAI/bge-base-en-v1.5.Non-empty array of item objects.
Item id. Alias:
item_id.Float embedding matching the store dimension (768 for text mode).
Optional text stored with the item and returned in search results.